Class ExpandGameType
java.lang.Object
com.blamejared.crafttweaker.natives.world.ExpandGameType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetId(net.minecraft.world.level.GameType internal) static net.minecraft.network.chat.ComponentgetLongDisplayName(net.minecraft.world.level.GameType internal) static StringgetName(net.minecraft.world.level.GameType internal) static net.minecraft.network.chat.ComponentgetShortDisplayName(net.minecraft.world.level.GameType internal) static booleanisBlockPlacingRestricted(net.minecraft.world.level.GameType internal) static booleanisCreative(net.minecraft.world.level.GameType internal) static booleanisSurvival(net.minecraft.world.level.GameType internal) static voidupdatePlayerAbilities(net.minecraft.world.level.GameType internal, net.minecraft.world.entity.player.Abilities abilities)
-
Constructor Details
-
ExpandGameType
public ExpandGameType()
-
-
Method Details
-
getId
public static int getId(net.minecraft.world.level.GameType internal) -
getName
-
getLongDisplayName
public static net.minecraft.network.chat.Component getLongDisplayName(net.minecraft.world.level.GameType internal) -
getShortDisplayName
public static net.minecraft.network.chat.Component getShortDisplayName(net.minecraft.world.level.GameType internal) -
updatePlayerAbilities
public static void updatePlayerAbilities(net.minecraft.world.level.GameType internal, net.minecraft.world.entity.player.Abilities abilities) -
isBlockPlacingRestricted
public static boolean isBlockPlacingRestricted(net.minecraft.world.level.GameType internal) -
isCreative
public static boolean isCreative(net.minecraft.world.level.GameType internal) -
isSurvival
public static boolean isSurvival(net.minecraft.world.level.GameType internal)
-