Class ExpandArmorTrim
java.lang.Object
com.blamejared.crafttweaker.natives.item.armortrim.ExpandArmorTrim
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhasPatternAndMaterial(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.ResourceLocationinnerTexture(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.TrimMaterialmaterial(net.minecraft.world.item.armortrim.ArmorTrim internal) Gets the material of the armor trim.static net.minecraft.world.item.armortrim.ArmorTrimof(net.minecraft.world.item.armortrim.TrimMaterial material, net.minecraft.world.item.armortrim.TrimPattern pattern, boolean showInTooltip) Creates a new ArmorTrim.static net.minecraft.resources.ResourceLocationouterTexture(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.TrimPatternpattern(net.minecraft.world.item.armortrim.ArmorTrim internal) Gets the pattern of the armor trim.static net.minecraft.world.item.armortrim.ArmorTrimwithTooltip(net.minecraft.world.item.armortrim.ArmorTrim internal, boolean withTooltip) Sets whether the armor trim should show in the tooltip.
-
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.
-