Interface IPlatformHelper

All Known Implementing Classes:
FabricPlatformHelper

public interface IPlatformHelper
  • Method Details

    • getGameProfileSerializer

      net.minecraft.network.syncher.EntityDataSerializer<Optional<com.mojang.authlib.GameProfile>> getGameProfileSerializer()
      Gets the Game Profile Serializer
      Returns:
      The Game Profile Serializer
    • getFriends

      List<? extends String> getFriends()
      Get configured friends
      Returns:
      A list of users who can be chosen when it spawns a distant friend
    • addWhitelistPlayers

      boolean addWhitelistPlayers()
      Get configured value for addWhitelistPlayers
      Returns:
      Add the players from the whitelist to the Friends list
    • playerMobsCompat

      boolean playerMobsCompat()
      Get configured value for playerMobsCompat
      Returns:
      Add players from a Player Mobs whitelist to the Friends list
    • getPlayerMobsNameLinks

      List<? extends String> getPlayerMobsNameLinks()
      Get configured playerMobsNameLinks
      Returns:
      The player mobs Name Links
    • getServer

      net.minecraft.server.MinecraftServer getServer()
      Get the server instance
      Returns:
      The server instance