Interface IPlatformHelper


public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    cancelMobGriefing(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity entity)
    If mob griefing should be canceled
    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
    boolean
    If the cow needs to be called 'ghast'
  • 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
    • requiresName

      boolean requiresName()
      If the cow needs to be called 'ghast'
      Returns:
      the configured option for `requireNamed`