Class FabricPlatformHelper

java.lang.Object
com.mrbysco.telepass.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • buildCreativeTab

      public net.minecraft.world.item.CreativeModeTab buildCreativeTab()
      Description copied from interface: IPlatformHelper
      Build the creative tab for the mod.
      Specified by:
      buildCreativeTab in interface IPlatformHelper
      Returns:
      the creative tab
    • createCompass

      public TeleCompass createCompass(net.minecraft.world.item.Item.Properties properties, CompassMaterial material)
      Description copied from interface: IPlatformHelper
      Build the creative tab for the mod.
      Specified by:
      createCompass in interface IPlatformHelper
      Returns:
      the creative tab
    • notFakePlayer

      public boolean notFakePlayer(net.minecraft.world.entity.player.Player player)
      Description copied from interface: IPlatformHelper
      Check if the player is not a fake player.
      Specified by:
      notFakePlayer in interface IPlatformHelper
      Parameters:
      player - The player to check
      Returns:
      true if the player is not a fake player