Class TrimHelper
java.lang.Object
net.minecraft.world.item.armortrim.ArmorTrim
com.beansgalaxy.backpacks.client.renderer.TrimHelper
public class TrimHelper
extends net.minecraft.world.item.armortrim.ArmorTrim
-
Field Summary
FieldsFields inherited from class net.minecraft.world.item.armortrim.ArmorTrim
TAG_TRIM_ID -
Constructor Summary
ConstructorsConstructorDescriptionTrimHelper(net.minecraft.core.Holder<net.minecraft.world.item.armortrim.TrimMaterial> material, net.minecraft.core.Holder<net.minecraft.world.item.armortrim.TrimPattern> pattern) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationbackpackTexture(net.minecraft.world.item.ArmorMaterial p_268143_) static Optional<TrimHelper>getBackpackTrim(net.minecraft.core.RegistryAccess registryManager, net.minecraft.nbt.CompoundTag tag) Methods inherited from class net.minecraft.world.item.armortrim.ArmorTrim
appendUpgradeHoverText, equals, getTrim, hasPatternAndMaterial, innerTexture, material, outerTexture, pattern, setTrim
-
Field Details
-
CODEC
-
-
Constructor Details
-
TrimHelper
public TrimHelper(net.minecraft.core.Holder<net.minecraft.world.item.armortrim.TrimMaterial> material, net.minecraft.core.Holder<net.minecraft.world.item.armortrim.TrimPattern> pattern)
-
-
Method Details
-
getBackpackTrim
public static Optional<TrimHelper> getBackpackTrim(net.minecraft.core.RegistryAccess registryManager, net.minecraft.nbt.CompoundTag tag) -
backpackTexture
public net.minecraft.resources.ResourceLocation backpackTexture(net.minecraft.world.item.ArmorMaterial p_268143_)
-