Interface IPlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptionbooleancancelMobGriefing(net.minecraft.world.level.Level level, 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 blockbooleanIf the cow needs to be called 'ghast'
-
Method Details
-
cancelMobGriefing
boolean cancelMobGriefing(net.minecraft.world.level.Level level, 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 -
requiresName
boolean requiresName()If the cow needs to be called 'ghast'- Returns:
- the configured option for `requireNamed`
-