Skip to content

heldItemId2

uniform int heldItemId2;

This uniform stores the id (from item.properties) of the item currently held in the off hand. Value is 0 if no item.properties is present. Value is -1 if item.properties is present and the player holds an item not in the file (this includes holding nothing).