Global Objects listFiles log logJson logTable parseJson print printJson printTable require toJson action_wheel animations avatar client config data events figuraMetatables file host json keybinds matrices models nameplate net particles pings player raycast renderer resources sounds textures type user vanilla_model vec vectors world
Types action_wheel Action ActionWheelAPI Page animations Animation AnimationAPI avatar AvatarAPI world Biome BlockState ItemStack WorldAPI models BlockTask EntityTask ItemTask ModelPart RenderTask SpriteTask TextTask Vertex data Buffer DataAPI Future InputStream OutputStream client ClientAPI config ConfigAPI player EntityAPI LivingEntityAPI PlayerAPI ViewerAPI nameplate EntityNameplateCustomization NameplateAPI NameplateCustomization NameplateCustomizationGroup events Event EventsAPI file FileAPI host HostAPI net HttpAPI HttpRequestBuilder HttpResponse NetworkingAPI json JsonAPI JsonArray JsonBuilder JsonObject JsonSerializer keybinds Keybind KeybindAPI matrices MatricesAPI Matrix2 Matrix3 Matrix4 particles Particle ParticleAPI pings PingAPI PingFunction raycast RaycastAPI renderer RendererAPI resources ResourcesAPI sounds Sound SoundAPI textures Texture TextureAPI TextureAtlas vanilla_model VanillaModelAPI VanillaModelGroup VanillaModelPart VanillaPart vectors Vector2 Vector3 Vector4 VectorsAPI Uncategorized globals math
Enums BlockRaycastTypes Colors EntityPoses FluidRaycastTypes HeightmapTypes ItemDisplayModes KeyIDs Keybinds LoopModes ParentTypes PlayStates PlayerModelParts PostEffects Registries RenderModes RenderTypes StringEncodings TextureTypes UseActions
ItemStack.copy Returns a copy of this item stack overload 1:ItemStack.copy(): ItemStack Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-148280555
ItemStack.getBlockstate Returns the blockstate representation of this item stackIf this item has no block representation, returns nil overload 1:ItemStack.getBlockstate(): BlockState Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1026048988
ItemStack.getCount Gets the number of items in this stack overload 1:ItemStack.getCount(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.getDamage Gets the damage value of the item in this stackWorks on things like tools, or other things with a durability bar overload 1:ItemStack.getDamage(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.getEquipmentSlot Returns the slot name of where this item is used overload 1:ItemStack.getEquipmentSlot(): String Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1808118735
ItemStack.getID Gets the ID of this stack overload 1:ItemStack.getID(): String Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1808118735
ItemStack.getMaxCount Gets the maximum stack size of this item overload 1:ItemStack.getMaxCount(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.getMaxDamage Gets the maximum durability of this item stack overload 1:ItemStack.getMaxDamage(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.getName Gets the name of the item overload 1:ItemStack.getName(): String Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1808118735
ItemStack.getPopTime Gets the item's animation bobbing time, in ticks. This value is used to move an item to the player when it is picked up overload 1:ItemStack.getPopTime(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.getRarity Gets the rarity of this item stackCOMMON = white, UNCOMMON = yellow, RARE = aqua, EPIC = light purple overload 1:ItemStack.getRarity(): String Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1808118735
ItemStack.getRepairCost Gets the repair cost modifier, in an anvil, for this item stack overload 1:ItemStack.getRepairCost(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.getTag Gets a table of the NBT tags of this stack overload 1:ItemStack.getTag(): Table Method PropertyFluent DescriptionRepresentationReturn Valuetypings.80563118
ItemStack.getTags Gets all the tags of this item as strings in a table overload 1:ItemStack.getTags(): Table Method PropertyFluent DescriptionRepresentationReturn Valuetypings.80563118
ItemStack.getUseAction Returns the name of the animation that plays when using this item overload 1:ItemStack.getUseAction(): String Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1808118735
ItemStack.getUseDuration Gets the number of ticks needed to "use" this itemCurrently only has a use for food itemsAlways 32 for food items except kelp, which is 16 overload 1:ItemStack.getUseDuration(): Integer Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-672261858
ItemStack.hasGlint Returns true if this item glows with enchantment glint overload 1:ItemStack.hasGlint(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isArmor Checks if this item is Armor overload 1:ItemStack.isArmor(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isBlockItem Returns true if this item represents a block overload 1:ItemStack.isBlockItem(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isDamageable Returns true if this item stack has durability overload 1:ItemStack.isDamageable(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isEnchantable Returns true if this item stack can be put in an enchanting table overload 1:ItemStack.isEnchantable(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isFood Returns true if this item is edible overload 1:ItemStack.isFood(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isStackable Returns true if the item is stackable overload 1:ItemStack.isStackable(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.isTool Check if this item is a Tool (Axe, Shovel, Pickaxe, …) overload 1:ItemStack.isTool(): Boolean Method PropertyFluent DescriptionRepresentationReturn Valuetypings.1729365000
ItemStack.toStackString Converts this ItemStack to a string, as you'd see in a command overload 1:ItemStack.toStackString(): String Method PropertyFluent DescriptionRepresentationReturn Valuetypings.-1808118735
ItemStack.id Contains the id of the item this ItemStack refers to field signature:ItemStack.id: String Method PropertyFluent DescriptionRepresentationField Typetypings.-1808118735
ItemStack.tag A table containing the NBT tag of this ItemStackIf this ItemStack has nothing in its tag, it is nil field signature:ItemStack.tag: Table Method PropertyFluent DescriptionRepresentationField Typetypings.80563118