Package net.minecraft.nbt
Class NbtShort
java.lang.Object
net.minecraft.nbt.AbstractNbtNumber
net.minecraft.nbt.NbtShort
- All Implemented Interfaces:
class_4373
- Mappings:
Namespace Name official hmintermediary net/minecraft/class_552named net/minecraft/nbt/NbtShort
-
Field Summary
FieldsFields inherited from interface net.minecraft.class_4373
field_21488, field_21489, field_21490, field_21491, field_21492 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteGets the value as an 8-bit integer.doubleGets the value as a 64-bit floating-point number.booleanfloatGets the value as a 32-bit floating-point number.inthashCode()intintValue()Gets the value as a 32-bit integer.longGets the value as a 64-bit integer.bytevoidmethod_1649(DataInput dataInput, int int2, PositionTracker positionTracker) voidmethod_1650(DataOutput dataOutput) method_20146(String string, int int2) Gets the value as a generic number.shortGets the value as a 16-bit integer.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_4373
method_20147, method_7370
-
Field Details
-
value
private short value- Mappings:
Namespace Name Mixin selector official fLhm;f:Sintermediary field_2115Lnet/minecraft/class_552;field_2115:Snamed valueLnet/minecraft/nbt/NbtShort;value:S
-
-
Constructor Details
-
NbtShort
public NbtShort() -
NbtShort
public NbtShort(short value) - Mappings:
Namespace Name Mixin selector official <init>Lhm;<init>(S)Vintermediary <init>Lnet/minecraft/class_552;<init>(S)Vnamed <init>Lnet/minecraft/nbt/NbtShort;<init>(S)V
-
-
Method Details
-
method_1650
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLho;a(Ljava/io/DataOutput;)Vintermediary method_1650Lnet/minecraft/class_4373;method_1650(Ljava/io/DataOutput;)Vnamed method_1650Lnet/minecraft/class_4373;method_1650(Ljava/io/DataOutput;)V
-
method_1649
public void method_1649(DataInput dataInput, int int2, PositionTracker positionTracker) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLho;a(Ljava/io/DataInput;ILhh;)Vintermediary method_1649Lnet/minecraft/class_4373;method_1649(Ljava/io/DataInput;ILnet/minecraft/class_1944;)Vnamed method_1649Lnet/minecraft/class_4373;method_1649(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
-
method_1645
public byte method_1645()- Mappings:
Namespace Name Mixin selector official aLho;a()Bintermediary method_1645Lnet/minecraft/class_4373;method_1645()Bnamed method_1645Lnet/minecraft/class_4373;method_1645()B
-
toString
- Specified by:
toStringin interfaceclass_4373- Overrides:
toStringin classObject- Mappings:
Namespace Name Mixin selector official toStringLho;toString()Ljava/lang/String;intermediary toStringLnet/minecraft/class_4373;toString()Ljava/lang/String;named toStringLnet/minecraft/class_4373;toString()Ljava/lang/String;
-
method_1651
- Mappings:
Namespace Name Mixin selector official cLhm;c()Lhm;intermediary method_13482Lnet/minecraft/class_552;method_13482()Lnet/minecraft/class_552;named method_1651Lnet/minecraft/nbt/NbtShort;method_1651()Lnet/minecraft/nbt/NbtShort;
-
equals
-
hashCode
public int hashCode() -
method_20146
- Mappings:
Namespace Name Mixin selector official aLho;a(Ljava/lang/String;I)Lij;intermediary method_20146Lnet/minecraft/class_4373;method_20146(Ljava/lang/String;I)Lnet/minecraft/class_1982;named method_20146Lnet/minecraft/class_4373;method_20146(Ljava/lang/String;I)Lnet/minecraft/text/Text;
-
longValue
public long longValue()Gets the value as a 64-bit integer.- Specified by:
longValuein classAbstractNbtNumber- Returns:
- the value as a long
- Mappings:
Namespace Name Mixin selector official dLhl;d()Jintermediary method_7371Lnet/minecraft/class_1947;method_7371()Jnamed longValueLnet/minecraft/nbt/AbstractNbtNumber;longValue()J
-
intValue
public int intValue()Gets the value as a 32-bit integer.- Specified by:
intValuein classAbstractNbtNumber- Returns:
- the value as an int
- Mappings:
Namespace Name Mixin selector official eLhl;e()Iintermediary method_7372Lnet/minecraft/class_1947;method_7372()Inamed intValueLnet/minecraft/nbt/AbstractNbtNumber;intValue()I
-
shortValue
public short shortValue()Gets the value as a 16-bit integer.- Specified by:
shortValuein classAbstractNbtNumber- Returns:
- the value as a short
- Mappings:
Namespace Name Mixin selector official fLhl;f()Sintermediary method_7373Lnet/minecraft/class_1947;method_7373()Snamed shortValueLnet/minecraft/nbt/AbstractNbtNumber;shortValue()S
-
byteValue
public byte byteValue()Gets the value as an 8-bit integer.- Specified by:
byteValuein classAbstractNbtNumber- Returns:
- the value as a byte
- Mappings:
Namespace Name Mixin selector official gLhl;g()Bintermediary method_7374Lnet/minecraft/class_1947;method_7374()Bnamed byteValueLnet/minecraft/nbt/AbstractNbtNumber;byteValue()B
-
doubleValue
public double doubleValue()Gets the value as a 64-bit floating-point number.- Specified by:
doubleValuein classAbstractNbtNumber- Returns:
- the value as a double
- Mappings:
Namespace Name Mixin selector official hLhl;h()Dintermediary method_7375Lnet/minecraft/class_1947;method_7375()Dnamed doubleValueLnet/minecraft/nbt/AbstractNbtNumber;doubleValue()D
-
floatValue
public float floatValue()Gets the value as a 32-bit floating-point number.- Specified by:
floatValuein classAbstractNbtNumber- Returns:
- the value as a float
- Mappings:
Namespace Name Mixin selector official iLhl;i()Fintermediary method_7376Lnet/minecraft/class_1947;method_7376()Fnamed floatValueLnet/minecraft/nbt/AbstractNbtNumber;floatValue()F
-
numberValue
Gets the value as a generic number.- Specified by:
numberValuein classAbstractNbtNumber- Returns:
- the value as a
Number - Mappings:
Namespace Name Mixin selector official jLhl;j()Ljava/lang/Number;intermediary method_20143Lnet/minecraft/class_1947;method_20143()Ljava/lang/Number;named numberValueLnet/minecraft/nbt/AbstractNbtNumber;numberValue()Ljava/lang/Number;
-