Class StagedRegistries.StagedBlocks
java.lang.Object
net.rebel459.unified.impl.core.StagedRegistries.StagedBlocks
- All Implemented Interfaces:
UnifiedRegistries.Blocks
- Enclosing class:
StagedRegistries
public static final class StagedRegistries.StagedBlocks
extends Object
implements UnifiedRegistries.Blocks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlias(net.minecraft.resources.Identifier from, net.minecraft.resources.Identifier to) modId()<T extends net.minecraft.world.level.block.Block>
SuppliedBlockregister(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties) <T extends net.minecraft.world.level.block.Block, Y extends net.minecraft.world.level.block.entity.BlockEntity>
SuppliedBlockregister(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<Y>> type) <T extends net.minecraft.world.level.block.Block>
SuppliedBlockregisterWithoutItem(String blockPath, String itemPath, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties) <T extends net.minecraft.world.level.block.Block, Y extends net.minecraft.world.level.block.entity.BlockEntity>
SuppliedBlockregisterWithoutItem(String blockPath, String itemPath, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<Y>> type) <T extends net.minecraft.world.level.block.Block>
SuppliedBlockregisterWithoutItem(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties) <T extends net.minecraft.world.level.block.Block, Y extends net.minecraft.world.level.block.entity.BlockEntity>
SuppliedBlockregisterWithoutItem(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<Y>> type)
-
Constructor Details
-
StagedBlocks
-
-
Method Details
-
modId
- Specified by:
modIdin interfaceUnifiedRegistries.Blocks
-
register
public <T extends net.minecraft.world.level.block.Block> SuppliedBlock register(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties) - Specified by:
registerin interfaceUnifiedRegistries.Blocks
-
register
public <T extends net.minecraft.world.level.block.Block, Y extends net.minecraft.world.level.block.entity.BlockEntity> SuppliedBlock register(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<Y>> type) - Specified by:
registerin interfaceUnifiedRegistries.Blocks
-
registerWithoutItem
public <T extends net.minecraft.world.level.block.Block> SuppliedBlock registerWithoutItem(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties) - Specified by:
registerWithoutItemin interfaceUnifiedRegistries.Blocks
-
registerWithoutItem
public <T extends net.minecraft.world.level.block.Block, Y extends net.minecraft.world.level.block.entity.BlockEntity> SuppliedBlock registerWithoutItem(String path, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<Y>> type) - Specified by:
registerWithoutItemin interfaceUnifiedRegistries.Blocks
-
registerWithoutItem
public <T extends net.minecraft.world.level.block.Block> SuppliedBlock registerWithoutItem(String blockPath, String itemPath, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties) - Specified by:
registerWithoutItemin interfaceUnifiedRegistries.Blocks
-
registerWithoutItem
public <T extends net.minecraft.world.level.block.Block, Y extends net.minecraft.world.level.block.entity.BlockEntity> SuppliedBlock registerWithoutItem(String blockPath, String itemPath, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory, Supplier<net.minecraft.world.level.block.state.BlockBehaviour.Properties> properties, Supplier<net.minecraft.world.level.block.entity.BlockEntityType<Y>> type) - Specified by:
registerWithoutItemin interfaceUnifiedRegistries.Blocks
-
addAlias
public void addAlias(net.minecraft.resources.Identifier from, net.minecraft.resources.Identifier to) - Specified by:
addAliasin interfaceUnifiedRegistries.Blocks
-