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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<TrimHelper>
     

    Fields inherited from class net.minecraft.world.item.armortrim.ArmorTrim

    TAG_TRIM_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrimHelper(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 Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
    backpackTexture(net.minecraft.world.item.ArmorMaterial p_268143_)
     
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TrimHelper> 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_)