Class EquipmentAssetManager
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<Identifier, 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 PreparableReloadListener
PreparableReloadListener.PreparationBarrier, PreparableReloadListener.SharedState, PreparableReloadListener.StateKey<T> -
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<Identifier, EquipmentClientInfo> preparations, ResourceManager manager, ProfilerFiller profiler) get(ResourceKey<EquipmentAsset> id) Methods inherited from class SimpleJsonResourceReloadListener
getPreparedPath, prepare, scanDirectory, scanDirectory, scanDirectoryWithOptionalValuesMethods inherited from class SimplePreparableReloadListener
reloadMethods inherited from class ContextAwareReloadListener
getContext, getRegistryLookup, injectContext, makeConditionalOps, makeConditionalOpsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PreparableReloadListener
getName, prepareSharedState
-
Field Details
-
MISSING
-
ASSET_LISTER
-
equipmentAssets
-
-
Constructor Details
-
EquipmentAssetManager
public EquipmentAssetManager()
-
-
Method Details
-
apply
protected void apply(Map<Identifier, EquipmentClientInfo> preparations, ResourceManager manager, ProfilerFiller profiler) - Specified by:
applyin classSimplePreparableReloadListener<Map<Identifier, EquipmentClientInfo>>
-
get
-