Class LeafLoader
java.lang.Object
de.cheaterpaul.fallingleaves.data.LeafLoader
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final net.minecraft.resources.ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LeafSettingsEntrygetLeafSetting(net.minecraft.resources.ResourceLocation location) getSpriteForLeafType(net.minecraft.resources.ResourceLocation leafType) static voidonReload(net.neoforged.neoforge.client.event.TextureAtlasStitchedEvent event) static voidregisterReloadListeners(net.neoforged.neoforge.client.event.AddClientReloadListenersEvent event)
-
Field Details
-
LEAF_TYPE_LISTENER
public static final net.minecraft.resources.ResourceLocation LEAF_TYPE_LISTENER -
TREE_VALUELISTENER
public static final net.minecraft.resources.ResourceLocation TREE_VALUELISTENER
-
-
Constructor Details
-
LeafLoader
public LeafLoader()
-
-
Method Details
-
registerReloadListeners
public static void registerReloadListeners(net.neoforged.neoforge.client.event.AddClientReloadListenersEvent event) -
onReload
public static void onReload(net.neoforged.neoforge.client.event.TextureAtlasStitchedEvent event) -
getSpriteForLeafType
public static LeafTypeLoader.LeafTypeSettings getSpriteForLeafType(net.minecraft.resources.ResourceLocation leafType) -
getSnowParticleProvider
public static LeafTypeLoader.ParticleProvider getSnowParticleProvider(LeafTypeLoader.LeafTypeSettings settings) -
getLeafSetting
-