java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.core.component.TypedDataComponent<Number>>
mods.thecomputerizer.theimpossiblelibrary.api.tag.BaseTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.m6.tag.component.PrimitiveComponent1_20_6
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.core.component.TypedDataComponent<Number>>, ComponentWrapper

public class PrimitiveComponent1_20_6 extends mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>> 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
     
    byte
     
    double
     
    float
     
    int
     
    long
     
    short
     

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

    asCompoundTag, asListTag, asPrimitiveTag, asStringTag, isCompound, isList, isPrimitive, isString

    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

    • PrimitiveComponent1_20_6

      public PrimitiveComponent1_20_6(Object component)
  • Method Details

    • asBoolean

      public boolean asBoolean()
      Overrides:
      asBoolean in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
    • asByte

      public byte asByte()
      Specified by:
      asByte in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
    • asDouble

      public double asDouble()
      Specified by:
      asDouble in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
    • asFloat

      public float asFloat()
      Specified by:
      asFloat in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
    • asInt

      public int asInt()
      Specified by:
      asInt in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
    • asLong

      public long asLong()
      Specified by:
      asLong in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>
    • asShort

      public short asShort()
      Specified by:
      asShort in class mods.thecomputerizer.theimpossiblelibrary.api.tag.PrimitiveTagAPI<net.minecraft.core.component.TypedDataComponent<Number>>