Class TComponent

java.lang.Object
com.thecsdev.commonmc.resource.TComponent

public final class TComponent extends Object
Utility methods for creating Component instances, primarily for Component.object(ObjectInfo).
  • Method Summary

    Modifier and Type
    Method
    Description
    static final net.minecraft.network.chat.MutableComponent
    air()
     
    static final net.minecraft.network.chat.MutableComponent
    block(@NotNull String texId)
     
    static final net.minecraft.network.chat.MutableComponent
    block(@NotNull net.minecraft.resources.Identifier texId)
     
    static final net.minecraft.network.chat.MutableComponent
    gui(@NotNull String texId)
     
    static final net.minecraft.network.chat.MutableComponent
    gui(@NotNull net.minecraft.resources.Identifier texId)
     
    static final net.minecraft.network.chat.MutableComponent
    head(@NotNull String username)
     
    static final net.minecraft.network.chat.MutableComponent
    head(@NotNull UUID uuid)
     
    static final net.minecraft.network.chat.MutableComponent
    item(@NotNull String texId)
     
    static final net.minecraft.network.chat.MutableComponent
    item(@NotNull net.minecraft.resources.Identifier texId)
     
    static final net.minecraft.network.chat.MutableComponent
     
    static final net.minecraft.network.chat.MutableComponent
    painting(@NotNull String texId)
     
    static final net.minecraft.network.chat.MutableComponent
    painting(@NotNull net.minecraft.resources.Identifier texId)
     
    static final net.minecraft.network.chat.MutableComponent
    particle(@NotNull String texId)
     
    static final net.minecraft.network.chat.MutableComponent
    particle(@NotNull net.minecraft.resources.Identifier texId)
     

    Methods inherited from class Object

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

    • air

      public static final net.minecraft.network.chat.MutableComponent air()
    • missingNo

      public static final net.minecraft.network.chat.MutableComponent missingNo()
    • head

      public static final net.minecraft.network.chat.MutableComponent head(@NotNull @NotNull UUID uuid)
    • head

      public static final net.minecraft.network.chat.MutableComponent head(@NotNull @NotNull String username)
    • block

      public static final net.minecraft.network.chat.MutableComponent block(@NotNull @NotNull String texId)
    • block

      public static final net.minecraft.network.chat.MutableComponent block(@NotNull @NotNull net.minecraft.resources.Identifier texId)
    • item

      public static final net.minecraft.network.chat.MutableComponent item(@NotNull @NotNull String texId)
    • item

      public static final net.minecraft.network.chat.MutableComponent item(@NotNull @NotNull net.minecraft.resources.Identifier texId)
    • gui

      public static final net.minecraft.network.chat.MutableComponent gui(@NotNull @NotNull String texId)
    • gui

      public static final net.minecraft.network.chat.MutableComponent gui(@NotNull @NotNull net.minecraft.resources.Identifier texId)
    • painting

      public static final net.minecraft.network.chat.MutableComponent painting(@NotNull @NotNull String texId)
    • painting

      public static final net.minecraft.network.chat.MutableComponent painting(@NotNull @NotNull net.minecraft.resources.Identifier texId)
    • particle

      public static final net.minecraft.network.chat.MutableComponent particle(@NotNull @NotNull String texId)
    • particle

      public static final net.minecraft.network.chat.MutableComponent particle(@NotNull @NotNull net.minecraft.resources.Identifier texId)