Class ExpandTrimPattern

java.lang.Object
com.blamejared.crafttweaker.natives.item.armortrim.ExpandTrimPattern

@ZenRegister public class ExpandTrimPattern extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.resources.ResourceLocation
    assetId(net.minecraft.world.item.armortrim.TrimPattern internal)
    Gets the asset ID of the trim pattern.
    static net.minecraft.network.chat.Component
    copyWithStyle(net.minecraft.world.item.armortrim.TrimPattern internal, net.minecraft.world.item.armortrim.TrimMaterial material)
    Copies the trim pattern's description with a given material's style.
    static boolean
    decal(net.minecraft.world.item.armortrim.TrimPattern internal)
    Gets whether the trim pattern is a decal.
    static net.minecraft.network.chat.Component
    description(net.minecraft.world.item.armortrim.TrimPattern internal)
    Gets the description of the trim pattern.
    static String
    getCommandString(net.minecraft.world.item.armortrim.TrimPattern internal)
    Gets the command string of the trim pattern.
    static net.minecraft.resources.ResourceLocation
    getRegistryName(net.minecraft.world.item.armortrim.TrimPattern internal)
    Gets the registry name of the trim pattern.
    static net.minecraft.world.item.Item
    templateItem(net.minecraft.world.item.armortrim.TrimPattern internal)
    Gets the template item of the trim pattern.

    Methods inherited from class java.lang.Object

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

    • ExpandTrimPattern

      public ExpandTrimPattern()
  • Method Details

    • copyWithStyle

      public static net.minecraft.network.chat.Component copyWithStyle(net.minecraft.world.item.armortrim.TrimPattern internal, net.minecraft.world.item.armortrim.TrimMaterial material)
      Copies the trim pattern's description with a given material's style.
      Parameters:
      material - The material.
      Returns:
      The new trim pattern.
    • description

      public static net.minecraft.network.chat.Component description(net.minecraft.world.item.armortrim.TrimPattern internal)
      Gets the description of the trim pattern.
      Returns:
      The description of the trim pattern.
    • templateItem

      public static net.minecraft.world.item.Item templateItem(net.minecraft.world.item.armortrim.TrimPattern internal)
      Gets the template item of the trim pattern.
      Returns:
      The template item of the trim pattern.
    • assetId

      public static net.minecraft.resources.ResourceLocation assetId(net.minecraft.world.item.armortrim.TrimPattern internal)
      Gets the asset ID of the trim pattern.
      Returns:
      The asset ID of the trim pattern.
    • decal

      public static boolean decal(net.minecraft.world.item.armortrim.TrimPattern internal)
      Gets whether the trim pattern is a decal.
      Returns:
      Whether the trim pattern is a decal.
    • getRegistryName

      public static net.minecraft.resources.ResourceLocation getRegistryName(net.minecraft.world.item.armortrim.TrimPattern internal)
      Gets the registry name of the trim pattern.
      Returns:
      The registry name of the trim pattern.
    • getCommandString

      public static String getCommandString(net.minecraft.world.item.armortrim.TrimPattern internal)
      Gets the command string of the trim pattern.
      Parameters:
      internal - The trim pattern.
      Returns:
      The command string of the trim pattern.