- All Superinterfaces:
BinaryTag,BinaryTagLike,NumberBinaryTag
A binary tag holding an
int value.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntBinaryTagintBinaryTag(int value) Creates a binary tag holding anintvalue.default BinaryTagType<IntBinaryTag> type()Gets the tag type.intvalue()Gets the value.Methods inherited from interface net.kyori.adventure.nbt.BinaryTag
asBinaryTagMethods inherited from interface net.kyori.adventure.nbt.NumberBinaryTag
byteValue, doubleValue, floatValue, intValue, longValue, numberValue, shortValue
-
Method Details
-
intBinaryTag
Creates a binary tag holding anintvalue.- Parameters:
value- the value- Returns:
- a binary tag
- Since:
- 4.14.0
-
type
Description copied from interface:BinaryTagGets the tag type.- Specified by:
typein interfaceBinaryTag- Specified by:
typein interfaceNumberBinaryTag- Returns:
- the tag type
-
value
int value()Gets the value.- Returns:
- the value
- Since:
- 4.0.0
-