Class FabricPlatformHelper
java.lang.Object
com.mrbysco.ghastcow.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelMobGriefing(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity entity) If mob griefing should be canceledfloatgetBlockFriction(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos ground, net.minecraft.world.entity.Entity entity) Get the friction of the block
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
cancelMobGriefing
public boolean cancelMobGriefing(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity entity) Description copied from interface:IPlatformHelperIf mob griefing should be canceled- Specified by:
cancelMobGriefingin interfaceIPlatformHelper
-
getBlockFriction
public float getBlockFriction(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos ground, net.minecraft.world.entity.Entity entity) Description copied from interface:IPlatformHelperGet the friction of the block- Specified by:
getBlockFrictionin interfaceIPlatformHelper
-