Class EquipmentAssetManager
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<ResourceLocation,EquipmentClientInfo>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<EquipmentClientInfo>
net.minecraft.client.resources.model.EquipmentAssetManager
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final FileToIdConverterprivate Map<ResourceKey<EquipmentAsset>, EquipmentClientInfo> static final EquipmentClientInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(Map<ResourceLocation, EquipmentClientInfo> pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) get(ResourceKey<EquipmentAsset> pKey) Methods inherited from class net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener
getPreparedPath, prepare, scanDirectory, scanDirectory, scanDirectoryWithOptionalValuesMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
reloadMethods inherited from class net.neoforged.neoforge.resource.ContextAwareReloadListener
getContext, getRegistryLookup, injectContext, makeConditionalOps, makeConditionalOpsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
MISSING
-
ASSET_LISTER
-
equipmentAssets
-
-
Constructor Details
-
EquipmentAssetManager
public EquipmentAssetManager()
-
-
Method Details
-
apply
protected void apply(Map<ResourceLocation, EquipmentClientInfo> pObject, ResourceManager pResourceManager, ProfilerFiller pProfiler) - Specified by:
applyin classSimplePreparableReloadListener<Map<ResourceLocation,EquipmentClientInfo>>
-
get
-