Class ExpandTrimMaterial
java.lang.Object
com.blamejared.crafttweaker.natives.item.armortrim.ExpandTrimMaterial
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringassetName(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the asset name of the trim material.static net.minecraft.network.chat.Componentdescription(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the description of the trim material.static StringgetCommandString(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the command string of the trim material.static net.minecraft.world.item.Itemingredient(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the ingredient of the trim material.static floatitemModelIndex(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the item model index of the trim material.overrideArmorMaterials(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the override armor materials of the trim material.
-
Constructor Details
-
ExpandTrimMaterial
public ExpandTrimMaterial()
-
-
Method Details
-
ingredient
public static net.minecraft.world.item.Item ingredient(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the ingredient of the trim material.- Returns:
- The ingredient of the trim material.
-
description
public static net.minecraft.network.chat.Component description(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the description of the trim material.- Returns:
- The description of the trim material.
-
overrideArmorMaterials
public static Map<net.minecraft.world.item.ArmorMaterial,String> overrideArmorMaterials(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the override armor materials of the trim material.- Returns:
- The override armor materials of the trim material.
-
assetName
Gets the asset name of the trim material.- Returns:
- The asset name of the trim material.
-
itemModelIndex
public static float itemModelIndex(net.minecraft.world.item.armortrim.TrimMaterial internal) Gets the item model index of the trim material.- Returns:
- The item model index of the trim material.
-
getCommandString
Gets the command string of the trim material.- Parameters:
internal- The trim material.- Returns:
- The command string of the trim material.
-