Class GenderArmorResourceManager
java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.Identifier, IGenderArmor>>
net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<IGenderArmor>
com.wildfire.client.resources.GenderArmorResourceManager
- All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener
public final class GenderArmorResourceManager
extends net.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<IGenderArmor>
- API Note:
- Only use this on the client side
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier, net.minecraft.server.packs.resources.PreparableReloadListener.SharedState, net.minecraft.server.packs.resources.PreparableReloadListener.StateKey<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.Identifierstatic final GenderArmorResourceManager -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(Map<net.minecraft.resources.Identifier, IGenderArmor> prepared, net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler) static @Nullable IGenderArmorget(net.minecraft.resources.Identifier model) static Optional<IGenderArmor> get(net.minecraft.world.item.ItemStack item) protected Map<net.minecraft.resources.Identifier, IGenderArmor> prepare(net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler) Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
reloadMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName, prepareSharedState
-
Field Details
-
ID
public static final net.minecraft.resources.Identifier ID -
INSTANCE
-
-
Method Details
-
prepare
protected Map<net.minecraft.resources.Identifier, IGenderArmor> prepare(net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler) - Overrides:
preparein classnet.minecraft.server.packs.resources.SimpleJsonResourceReloadListener<IGenderArmor>
-
apply
protected void apply(Map<net.minecraft.resources.Identifier, IGenderArmor> prepared, net.minecraft.server.packs.resources.ResourceManager manager, net.minecraft.util.profiling.ProfilerFiller profiler) - Specified by:
applyin classnet.minecraft.server.packs.resources.SimplePreparableReloadListener<Map<net.minecraft.resources.Identifier, IGenderArmor>>
-
get
-
get
-