Package dhyces.waxablecoral.services
Class FabricPlatformHelper
java.lang.Object
dhyces.waxablecoral.services.FabricPlatformHelper
- All Implemented Interfaces:
PlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.BaseCoralFanBlockcreateCoralFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) net.minecraft.world.level.block.BaseCoralPlantBlockcreateCoralPlantBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) net.minecraft.world.level.block.BaseCoralWallFanBlockcreateCoralWallFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) com.google.common.collect.BiMap<net.minecraft.world.level.block.Block, net.minecraft.world.level.block.Block> net.minecraft.core.Holder<net.minecraft.world.level.block.Block> registerBlock(String id, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.Block> blockFunction) net.minecraft.core.Holder<net.minecraft.world.level.block.Block> registerBlock(String id, net.minecraft.world.level.block.Block copyPropertiesOf, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.Block> blockFunction) net.minecraft.core.Holder<net.minecraft.world.item.Item> registerItem(String id, Function<net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item> itemFunction)
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
registerBlock
public net.minecraft.core.Holder<net.minecraft.world.level.block.Block> registerBlock(String id, net.minecraft.world.level.block.Block copyPropertiesOf, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.Block> blockFunction) - Specified by:
registerBlockin interfacePlatformHelper
-
registerBlock
public net.minecraft.core.Holder<net.minecraft.world.level.block.Block> registerBlock(String id, Function<net.minecraft.world.level.block.state.BlockBehaviour.Properties, net.minecraft.world.level.block.Block> blockFunction) - Specified by:
registerBlockin interfacePlatformHelper
-
registerItem
public net.minecraft.core.Holder<net.minecraft.world.item.Item> registerItem(String id, Function<net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item> itemFunction) - Specified by:
registerItemin interfacePlatformHelper
-
createCoralPlantBlock
public net.minecraft.world.level.block.BaseCoralPlantBlock createCoralPlantBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) - Specified by:
createCoralPlantBlockin interfacePlatformHelper
-
createCoralFanBlock
public net.minecraft.world.level.block.BaseCoralFanBlock createCoralFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) - Specified by:
createCoralFanBlockin interfacePlatformHelper
-
createCoralWallFanBlock
public net.minecraft.world.level.block.BaseCoralWallFanBlock createCoralWallFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) - Specified by:
createCoralWallFanBlockin interfacePlatformHelper
-
getWaxMap
public com.google.common.collect.BiMap<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> getWaxMap()- Specified by:
getWaxMapin interfacePlatformHelper
-