Class FabricPlatformHelper
java.lang.Object
com.mrbysco.telepass.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.CreativeModeTabBuild the creative tab for the mod.createCompass(net.minecraft.world.item.Item.Properties properties, CompassMaterial material) Build the creative tab for the mod.booleannotFakePlayer(net.minecraft.world.entity.player.Player player) Check if the player is not a fake player.
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
buildCreativeTab
public net.minecraft.world.item.CreativeModeTab buildCreativeTab()Description copied from interface:IPlatformHelperBuild the creative tab for the mod.- Specified by:
buildCreativeTabin interfaceIPlatformHelper- Returns:
- the creative tab
-
createCompass
public TeleCompass createCompass(net.minecraft.world.item.Item.Properties properties, CompassMaterial material) Description copied from interface:IPlatformHelperBuild the creative tab for the mod.- Specified by:
createCompassin interfaceIPlatformHelper- Returns:
- the creative tab
-
notFakePlayer
public boolean notFakePlayer(net.minecraft.world.entity.player.Player player) Description copied from interface:IPlatformHelperCheck if the player is not a fake player.- Specified by:
notFakePlayerin interfaceIPlatformHelper- Parameters:
player- The player to check- Returns:
- true if the player is not a fake player
-