Package dhyces.waxablecoral.services
Class ForgePlatformHelper
java.lang.Object
dhyces.waxablecoral.services.ForgePlatformHelper
- All Implemented Interfaces:
dhyces.waxablecoral.services.helpers.PlatformHelper
public class ForgePlatformHelper
extends Object
implements dhyces.waxablecoral.services.helpers.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> <T> dhyces.waxablecoral.registryutil.CommonRegistryObject<T>register(String id, net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> registryKey, Supplier<T> objectSupplier)
-
Constructor Details
-
ForgePlatformHelper
public ForgePlatformHelper()
-
-
Method Details
-
register
public <T> dhyces.waxablecoral.registryutil.CommonRegistryObject<T> register(String id, net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<T>> registryKey, Supplier<T> objectSupplier) - Specified by:
registerin interfacedhyces.waxablecoral.services.helpers.PlatformHelper
-
createCoralPlantBlock
public net.minecraft.world.level.block.BaseCoralPlantBlock createCoralPlantBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) - Specified by:
createCoralPlantBlockin interfacedhyces.waxablecoral.services.helpers.PlatformHelper
-
createCoralFanBlock
public net.minecraft.world.level.block.BaseCoralFanBlock createCoralFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) - Specified by:
createCoralFanBlockin interfacedhyces.waxablecoral.services.helpers.PlatformHelper
-
createCoralWallFanBlock
public net.minecraft.world.level.block.BaseCoralWallFanBlock createCoralWallFanBlock(net.minecraft.world.level.block.state.BlockBehaviour.Properties properties) - Specified by:
createCoralWallFanBlockin interfacedhyces.waxablecoral.services.helpers.PlatformHelper
-
getWaxMap
public com.google.common.collect.BiMap<net.minecraft.world.level.block.Block,net.minecraft.world.level.block.Block> getWaxMap()- Specified by:
getWaxMapin interfacedhyces.waxablecoral.services.helpers.PlatformHelper
-