Class Lang

java.lang.Object
com.petrolpark.util.Lang

public class Lang extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.network.chat.Component
    action(net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.Action action, net.minecraft.core.BlockPos pos)
     
    static String
    asId(String string)
     
    static net.minecraft.network.chat.Component
    clickType(net.minecraft.world.inventory.ClickType clickType, int slot)
     
    static net.minecraft.network.chat.Component
    direction(net.minecraft.core.Direction direction)
     
    static net.minecraft.network.chat.Component
    enabled(boolean enabled)
     
    protected static net.minecraft.network.chat.Component
    generic(String keyEnd, Object... translationArgs)
     
    static net.minecraft.network.chat.Component
    hand(net.minecraft.world.InteractionHand hand)
     
    static net.minecraft.network.chat.Component
     
    static String
    shortList(String[] elements)
     
    static net.minecraft.network.chat.Component
    shortList(List<? extends net.minecraft.network.chat.Component> elements, int maxTextWidth, net.minecraft.client.gui.Font font)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Lang

      public Lang()
  • Method Details

    • asId

      public static String asId(String string)
    • 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

      public static String shortList(String[] elements)
    • generic

      protected static net.minecraft.network.chat.Component generic(String keyEnd, Object... translationArgs)
    • 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)