Class BlockStateSmith<T extends net.minecraft.world.level.block.Block>
java.lang.Object
team.lodestar.lodestone.modules.datagen.smith.blockstate.AbstractBlockStateSmith<T>
team.lodestar.lodestone.modules.datagen.smith.blockstate.BlockStateSmith<T>
public class BlockStateSmith<T extends net.minecraft.world.level.block.Block>
extends AbstractBlockStateSmith<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBlockStateSmith.SmithStateSupplier<T extends net.minecraft.world.level.block.Block>Nested classes/interfaces inherited from class team.lodestar.lodestone.modules.datagen.smith.blockstate.AbstractBlockStateSmith
AbstractBlockStateSmith.StateFunction<T extends net.minecraft.world.level.block.Block> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ItemModelSmithprotected final BlockStateSmith.SmithStateSupplier<T> Fields inherited from class team.lodestar.lodestone.modules.datagen.smith.blockstate.AbstractBlockStateSmith
blockClass -
Constructor Summary
ConstructorsConstructorDescriptionBlockStateSmith(Class<T> blockClass, BlockStateSmith.SmithStateSupplier<T> stateSupplier) BlockStateSmith(Class<T> blockClass, ItemModelSmith defaultItemModelSmith, BlockStateSmith.SmithStateSupplier<T> stateSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidact(BlockStateSystemData<?> data, Collection<Supplier<? extends net.minecraft.world.level.block.Block>> blocks) final voidact(BlockStateSystemData<?> data, Supplier<? extends net.minecraft.world.level.block.Block>... blocks) voidact(BlockStateSystemData<?> data, ItemModelSmith smith, Collection<Supplier<? extends net.minecraft.world.level.block.Block>> blocks) final voidact(BlockStateSystemData<?> data, ItemModelSmith smith, Supplier<? extends net.minecraft.world.level.block.Block>... blocks) Methods inherited from class team.lodestar.lodestone.modules.datagen.smith.blockstate.AbstractBlockStateSmith
makeItemModel, tryAct
-
Field Details
-
stateSupplier
protected final BlockStateSmith.SmithStateSupplier<T extends net.minecraft.world.level.block.Block> stateSupplier -
defaultItemModelSmith
-
-
Constructor Details
-
BlockStateSmith
-
BlockStateSmith
public BlockStateSmith(Class<T> blockClass, ItemModelSmith defaultItemModelSmith, BlockStateSmith.SmithStateSupplier<T> stateSupplier)
-
-
Method Details
-
act
@SafeVarargs public final void act(BlockStateSystemData<?> data, Supplier<? extends net.minecraft.world.level.block.Block>... blocks) -
act
@SafeVarargs public final void act(BlockStateSystemData<?> data, ItemModelSmith smith, Supplier<? extends net.minecraft.world.level.block.Block>... blocks) -
act
public void act(BlockStateSystemData<?> data, Collection<Supplier<? extends net.minecraft.world.level.block.Block>> blocks) -
act
public void act(BlockStateSystemData<?> data, ItemModelSmith smith, Collection<Supplier<? extends net.minecraft.world.level.block.Block>> blocks)
-