Interface IPlatformHelper


public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.CreativeModeTab
    Build the creative tab for the mod.
    createCompass(net.minecraft.world.item.Item.Properties properties, CompassMaterial material)
    Build the creative tab for the mod.
    boolean
    notFakePlayer(net.minecraft.world.entity.player.Player player)
    Check if the player is not a fake player.
  • Method Details

    • buildCreativeTab

      net.minecraft.world.item.CreativeModeTab buildCreativeTab()
      Build the creative tab for the mod.
      Returns:
      the creative tab
    • createCompass

      TeleCompass createCompass(net.minecraft.world.item.Item.Properties properties, CompassMaterial material)
      Build the creative tab for the mod.
      Returns:
      the creative tab
    • notFakePlayer

      boolean notFakePlayer(net.minecraft.world.entity.player.Player player)
      Check if the player is not a fake player.
      Parameters:
      player - The player to check
      Returns:
      true if the player is not a fake player