Class NeoForgePlatformHelper

java.lang.Object
com.mrbysco.doaflip.platform.NeoForgePlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class NeoForgePlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • NeoForgePlatformHelper

      public NeoForgePlatformHelper()
  • Method Details

    • getPersistentData

      public net.minecraft.nbt.CompoundTag getPersistentData(net.minecraft.world.entity.LivingEntity livingEntity)
      Description copied from interface: IPlatformHelper
      Get the persistent data for a living entity.
      Specified by:
      getPersistentData in interface IPlatformHelper
      Returns:
      The persistent data for the living entity.
    • getMinimumFallDistance

      public int getMinimumFallDistance()
      Description copied from interface: IPlatformHelper
      Gets the minimum fall distance required for a mob to flip.
      Specified by:
      getMinimumFallDistance in interface IPlatformHelper
      Returns:
      the configured minimum fall distance.