Package com.petrolpark.util
Class Lang
java.lang.Object
com.petrolpark.util.Lang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.network.chat.Componentaction(net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.Action action, net.minecraft.core.BlockPos pos) static Stringstatic net.minecraft.network.chat.ComponentclickType(net.minecraft.world.inventory.ClickType clickType, int slot) static net.minecraft.network.chat.Componentdirection(net.minecraft.core.Direction direction) static net.minecraft.network.chat.Componentenabled(boolean enabled) protected static net.minecraft.network.chat.Componentstatic net.minecraft.network.chat.Componenthand(net.minecraft.world.InteractionHand hand) static net.minecraft.network.chat.Componentnone()static Stringstatic net.minecraft.network.chat.ComponentshortList(List<? extends net.minecraft.network.chat.Component> elements, int maxTextWidth, net.minecraft.client.gui.Font font)
-
Constructor Details
-
Lang
public Lang()
-
-
Method Details
-
asId
-
shortList
public static net.minecraft.network.chat.Component shortList(List<? extends net.minecraft.network.chat.Component> elements, int maxTextWidth, net.minecraft.client.gui.Font font) -
shortList
-
generic
-
none
public static net.minecraft.network.chat.Component none() -
direction
public static net.minecraft.network.chat.Component direction(net.minecraft.core.Direction direction) -
clickType
public static net.minecraft.network.chat.Component clickType(net.minecraft.world.inventory.ClickType clickType, int slot) -
hand
public static net.minecraft.network.chat.Component hand(net.minecraft.world.InteractionHand hand) -
action
public static net.minecraft.network.chat.Component action(net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.Action action, net.minecraft.core.BlockPos pos) -
enabled
public static net.minecraft.network.chat.Component enabled(boolean enabled)
-