Class BlockStateSmith<T extends net.minecraft.world.level.block.Block>
java.lang.Object
team.lodestar.lodestone.systems.datagen.statesmith.AbstractBlockStateSmith<T>
team.lodestar.lodestone.systems.datagen.statesmith.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.systems.datagen.statesmith.AbstractBlockStateSmith
AbstractBlockStateSmith.StateFunction<T extends net.minecraft.world.level.block.Block>, AbstractBlockStateSmith.StateSmithData -
Field Summary
FieldsFields inherited from class team.lodestar.lodestone.systems.datagen.statesmith.AbstractBlockStateSmith
blockClass -
Constructor Summary
ConstructorsConstructorDescriptionBlockStateSmith(Class<T> blockClass, ItemModelSmith itemModelSmith, BlockStateSmith.SmithStateSupplier<T> stateSupplier) BlockStateSmith(Class<T> blockClass, BlockStateSmith.SmithStateSupplier<T> stateSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidact(AbstractBlockStateSmith.StateSmithData data, Collection<Supplier<? extends net.minecraft.world.level.block.Block>> blocks) final voidact(AbstractBlockStateSmith.StateSmithData data, Supplier<? extends net.minecraft.world.level.block.Block>... blocks)
-
Field Details
-
stateSupplier
public final BlockStateSmith.SmithStateSupplier<T extends net.minecraft.world.level.block.Block> stateSupplier -
itemModelSmith
-
-
Constructor Details
-
BlockStateSmith
-
BlockStateSmith
public BlockStateSmith(Class<T> blockClass, ItemModelSmith itemModelSmith, BlockStateSmith.SmithStateSupplier<T> stateSupplier)
-
-
Method Details
-
act
@SafeVarargs public final void act(AbstractBlockStateSmith.StateSmithData data, Supplier<? extends net.minecraft.world.level.block.Block>... blocks) -
act
public void act(AbstractBlockStateSmith.StateSmithData data, Collection<Supplier<? extends net.minecraft.world.level.block.Block>> blocks)
-