Class FabricPlatformHelper

java.lang.Object
dhyces.waxablecoral.services.FabricPlatformHelper
All Implemented Interfaces:
PlatformHelper

public class FabricPlatformHelper extends Object implements PlatformHelper
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.BaseCoralFanBlock
    createCoralFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
     
    net.minecraft.world.level.block.BaseCoralPlantBlock
    createCoralPlantBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
     
    net.minecraft.world.level.block.BaseCoralWallFanBlock
    createCoralWallFanBlock(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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      registerBlock in interface PlatformHelper
    • 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:
      registerBlock in interface PlatformHelper
    • 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:
      registerItem in interface PlatformHelper
    • createCoralPlantBlock

      public net.minecraft.world.level.block.BaseCoralPlantBlock createCoralPlantBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
      Specified by:
      createCoralPlantBlock in interface PlatformHelper
    • createCoralFanBlock

      public net.minecraft.world.level.block.BaseCoralFanBlock createCoralFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
      Specified by:
      createCoralFanBlock in interface PlatformHelper
    • createCoralWallFanBlock

      public net.minecraft.world.level.block.BaseCoralWallFanBlock createCoralWallFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties)
      Specified by:
      createCoralWallFanBlock in interface PlatformHelper
    • getWaxMap

      public com.google.common.collect.BiMap<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> getWaxMap()
      Specified by:
      getWaxMap in interface PlatformHelper