Types
Registered types in the type system. Primitive types map to Java primitives while object types participate in the type hierarchy.
21 types
intprimitive
numeric
32-bit signed integer. Holds up to about 2.1 billion. Max digits: 10.
Type Info
Java type
intUsage
5Accepted names
intintegerlongprimitive
numeric
64-bit signed integer. Holds up to about 9.22 quintillion. Max digits: 19.
Type Info
Java type
longUsage
9999999999Accepted names
longdoubleprimitive
numeric
64-bit floating point decimal. Supports up to 15 to 17 significant decimal digits.
Type Info
Java type
doubleUsage
25.5Accepted names
doublenumbernumdecimalfloatprimitive
numeric
32-bit floating point decimal. Supports up to 6 to 9 significant decimal digits.
Type Info
Java type
floatUsage
1.5Accepted names
floatbooleanprimitive
A true or false value.
Type Info
Java type
booleanUsage
trueAccepted names
booleanboolstringprimitive
A sequence of characters.
Type Info
Java type
java.lang.StringUsage
"hello"Accepted names
stringtextstrlocationobject
Type Info
Java type
org.bukkit.Locationsenderobject
Type Info
Java type
org.bukkit.command.CommandSenderoffline_playerobject
Type Info
Java type
org.bukkit.OfflinePlayeritemstackobject
Type Info
Java type
org.bukkit.inventory.ItemStackblockobject
Type Info
Java type
org.bukkit.block.Blockentity_typeobject
Type Info
Java type
org.bukkit.entity.EntityTypevectorobject
Type Info
Java type
org.bukkit.util.Vectorplayerobject
Type Info
Java type
org.bukkit.entity.PlayerSuper types
LIVING_ENTITYentityobject
Type Info
Java type
org.bukkit.entity.Entity