Interface FabricBlockEntityType
- All Known Implementing Classes:
BlockEntityTypeMixin
public interface FabricBlockEntityType
General-purpose Fabric-provided extensions for
BlockEntityType.
Note: This interface is automatically implemented on BlockEntityType via Mixin and interface injection.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddValidBlock(net.minecraft.world.level.block.Block block) Adds a block to the list of blocks that this block entity type can be used with.
-
Method Details
-
addValidBlock
default void addValidBlock(net.minecraft.world.level.block.Block block) Adds a block to the list of blocks that this block entity type can be used with.- Parameters:
block- theBlockto add
-