Interface IPlatformHelper

All Known Implementing Classes:
FabricPlatformHelper

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
  • 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