Class ItemModelSmith
java.lang.Object
team.lodestar.lodestone.systems.datagen.itemsmith.ItemModelSmith
- Direct Known Subclasses:
EmptyItemModelSmith,ItemModelSmithConfiguration
A class responsible for generating item models when used with an ItemModelProvider
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<ItemModelSmithResult> act(ItemModelSmithData data, Collection<Supplier<? extends net.minecraft.world.item.Item>> items) act(ItemModelSmithData data, Supplier<? extends net.minecraft.world.item.Item> itemSupplier) final List<ItemModelSmithResult> act(ItemModelSmithData data, Supplier<? extends net.minecraft.world.item.Item>... items) act(LodestoneItemModelProvider provider, Supplier<? extends net.minecraft.world.item.Item> itemSupplier) addModelNameAffix(String affix) addTextureNameAffix(String affix) protected ItemModelSmithConfigurationmodifyModelName(Function<String, String> modelNameModifier) modifyResult(Consumer<ItemModelSmithResult> modifier) modifyTextureName(Function<String, String> textureNameModifier) protected voidpostDatagen(ItemModelSmithResult result) protected voidpreDatagen(LodestoneItemModelProvider provider, net.minecraft.world.item.Item item)
-
Constructor Details
-
ItemModelSmith
-
-
Method Details
-
modifyResult
-
addModelNameAffix
-
modifyModelName
-
addTextureNameAffix
-
modifyTextureName
-
configure
-
act
@SafeVarargs public final List<ItemModelSmithResult> act(ItemModelSmithData data, Supplier<? extends net.minecraft.world.item.Item>... items) -
act
public final List<ItemModelSmithResult> act(ItemModelSmithData data, Collection<Supplier<? extends net.minecraft.world.item.Item>> items) -
act
public ItemModelSmithResult act(ItemModelSmithData data, Supplier<? extends net.minecraft.world.item.Item> itemSupplier) -
act
public ItemModelSmithResult act(LodestoneItemModelProvider provider, Supplier<? extends net.minecraft.world.item.Item> itemSupplier) -
preDatagen
-
postDatagen
-