Class ExpandTrimPattern
java.lang.Object
com.blamejared.crafttweaker.natives.item.armortrim.ExpandTrimPattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceLocationassetId(net.minecraft.world.item.armortrim.TrimPattern internal) Gets the asset ID of the trim pattern.static net.minecraft.network.chat.ComponentcopyWithStyle(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 booleandecal(net.minecraft.world.item.armortrim.TrimPattern internal) Gets whether the trim pattern is a decal.static net.minecraft.network.chat.Componentdescription(net.minecraft.world.item.armortrim.TrimPattern internal) Gets the description of the trim pattern.static StringgetCommandString(net.minecraft.world.item.armortrim.TrimPattern internal) Gets the command string of the trim pattern.static net.minecraft.resources.ResourceLocationgetRegistryName(net.minecraft.world.item.armortrim.TrimPattern internal) Gets the registry name of the trim pattern.static net.minecraft.world.item.ItemtemplateItem(net.minecraft.world.item.armortrim.TrimPattern internal) Gets the template item of the trim pattern.
-
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
Gets the command string of the trim pattern.- Parameters:
internal- The trim pattern.- Returns:
- The command string of the trim pattern.
-