java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.world.item.component.CustomData>
mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.world.item.component.CustomData>
mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.m6.tag.component.CompoundComponent1_20_6
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.item.component.CustomData>, ComponentWrapper

public class CompoundComponent1_20_6 extends mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData> implements ComponentWrapper
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    boolean
     
    The tag needs to be modifiable without being required to get modified
     
    mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?>
    The tag needs to be modifiable without being required to get modified
    boolean
     
    void
    putTag(String key, mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?> api)
     
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI

    getListTag, getPrimitiveTag, isCompound, isList, isPrimitive, isString, putBoolean, putByte, putDouble, putFloat, putInt, putLong, putShort, putString

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI

    write

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    equals, getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Constructor Details

    • CompoundComponent1_20_6

      public CompoundComponent1_20_6(Object data)
  • Method Details

    • asCompoundTag

      public CompoundComponent1_20_6 asCompoundTag()
      Overrides:
      asCompoundTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • asListTag

      public ListComponent1_20_6 asListTag()
      Overrides:
      asListTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • asPrimitiveTag

      public PrimitiveComponent1_20_6 asPrimitiveTag()
      Overrides:
      asPrimitiveTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • asStringTag

      public StringComponent1_20_6 asStringTag()
      Overrides:
      asStringTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • contains

      public boolean contains(String key)
      Specified by:
      contains in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • getCompoundTag

      public CompoundComponent1_20_6 getCompoundTag(String key)
      The tag needs to be modifiable without being required to get modified
      Overrides:
      getCompoundTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • getString

      public String getString(String key)
      Overrides:
      getString in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • getTag

      public mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?> getTag(String key)
      The tag needs to be modifiable without being required to get modified
      Specified by:
      getTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • putTag

      public void putTag(String key, mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<?> api)
      Specified by:
      putTag in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>
    • toPrettyString

      public String toPrettyString()
      Specified by:
      toPrettyString in class mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<net.minecraft.world.item.component.CustomData>