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

@ZenRegister public class ExpandArmorTrim extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    hasPatternAndMaterial(net.minecraft.world.item.armortrim.ArmorTrim internal, net.minecraft.world.item.armortrim.TrimPattern pattern, net.minecraft.world.item.armortrim.TrimMaterial material)
    Checks if the armor trim has a pattern and material.
    static net.minecraft.resources.ResourceLocation
    innerTexture(net.minecraft.world.item.armortrim.ArmorTrim internal, net.minecraft.world.item.ArmorMaterial material)
    Gets the inner texture of the armor trim.
    static net.minecraft.world.item.armortrim.TrimMaterial
    material(net.minecraft.world.item.armortrim.ArmorTrim internal)
    Gets the material of the armor trim.
    static net.minecraft.world.item.armortrim.ArmorTrim
    of(net.minecraft.world.item.armortrim.TrimMaterial material, net.minecraft.world.item.armortrim.TrimPattern pattern, boolean showInTooltip)
    Creates a new ArmorTrim.
    static net.minecraft.resources.ResourceLocation
    outerTexture(net.minecraft.world.item.armortrim.ArmorTrim internal, net.minecraft.world.item.ArmorMaterial material)
    Gets the outer texture of the armor trim.
    static net.minecraft.world.item.armortrim.TrimPattern
    pattern(net.minecraft.world.item.armortrim.ArmorTrim internal)
    Gets the pattern of the armor trim.
    static net.minecraft.world.item.armortrim.ArmorTrim
    withTooltip(net.minecraft.world.item.armortrim.ArmorTrim internal, boolean withTooltip)
    Sets whether the armor trim should show in the tooltip.

    Methods inherited from class java.lang.Object

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

    • ExpandArmorTrim

      public ExpandArmorTrim()
  • Method Details

    • of

      public static net.minecraft.world.item.armortrim.ArmorTrim of(net.minecraft.world.item.armortrim.TrimMaterial material, net.minecraft.world.item.armortrim.TrimPattern pattern, boolean showInTooltip)
      Creates a new ArmorTrim.
      Parameters:
      material - The material of the armor trim.
      pattern - The pattern of the armor trim.
      showInTooltip - Whether the armor trim should show in the tooltip.
      Returns:
      The new ArmorTrim.
    • hasPatternAndMaterial

      public static boolean hasPatternAndMaterial(net.minecraft.world.item.armortrim.ArmorTrim internal, net.minecraft.world.item.armortrim.TrimPattern pattern, net.minecraft.world.item.armortrim.TrimMaterial material)
      Checks if the armor trim has a pattern and material.
      Parameters:
      pattern - The pattern of the armor trim.
      material - The material of the armor trim.
      Returns:
      Whether the armor trim has a pattern and material.
    • withTooltip

      public static net.minecraft.world.item.armortrim.ArmorTrim withTooltip(net.minecraft.world.item.armortrim.ArmorTrim internal, boolean withTooltip)
      Sets whether the armor trim should show in the tooltip.
      Parameters:
      withTooltip - Whether the armor trim should show in the tooltip.
      Returns:
      The new ArmorTrim.
    • innerTexture

      public static net.minecraft.resources.ResourceLocation innerTexture(net.minecraft.world.item.armortrim.ArmorTrim internal, net.minecraft.world.item.ArmorMaterial material)
      Gets the inner texture of the armor trim.
      Parameters:
      material - The material of the armor trim.
      Returns:
      The inner texture of the armor trim.
    • material

      public static net.minecraft.world.item.armortrim.TrimMaterial material(net.minecraft.world.item.armortrim.ArmorTrim internal)
      Gets the material of the armor trim.
      Returns:
      The material of the armor trim.
    • outerTexture

      public static net.minecraft.resources.ResourceLocation outerTexture(net.minecraft.world.item.armortrim.ArmorTrim internal, net.minecraft.world.item.ArmorMaterial material)
      Gets the outer texture of the armor trim.
      Parameters:
      material - The material of the armor trim.
      Returns:
      The outer texture of the armor trim.
    • pattern

      public static net.minecraft.world.item.armortrim.TrimPattern pattern(net.minecraft.world.item.armortrim.ArmorTrim internal)
      Gets the pattern of the armor trim.
      Returns:
      The pattern of the armor trim.