Interface IPlatformHelper
- All Known Implementing Classes:
FabricPlatformHelper
public interface IPlatformHelper
-
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
-
Method Details
-
cancelMobGriefing
boolean cancelMobGriefing(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity entity) If mob griefing should be canceled -
getBlockFriction
float getBlockFriction(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos ground, net.minecraft.world.entity.Entity entity) Get the friction of the block
-