Class GameValue

Hierarchy

Constructors

Properties

Methods

Constructors

  • Create a new game value.

    Parameters

    • value: "�cCurrent Health" | "�cMaximum Health" | "�cAbsorption Health" | "�cFood Level" | "�cFood Saturation" | "�cFood Exhaustion" | "�cAttack Damage" | "�cAttack Speed" | "�cArmor Points" | "�cArmor Toughness" | "�cInvulnerability Ticks" | "�cExperience Level" | "�cExperience Progress" | "�cFire Ticks" | "�cFreeze Ticks" | "�cRemaining Air" | "�cFall Distance" | "�cHeld Slot" | "�cPing" | "�cSteer Sideways Movement" | "�cSteer Forward Movement" | "�cItem Usage Progress" | "�aLocation" | "�aTarget Block Location" | "�x�2�a�f�f�a�aTarget Block Side" | "�aTarget Fluid Location" | "�aEye Location" | "�cX-Coordinate" | "�cY-Coordinate" | "�cZ-Coordinate" | "�cPitch" | "�cYaw" | "�bCardinal Direction" | "�aSpawn Location" | "�x�2�a�f�f�a�aVelocity" | "�x�2�a�f�f�a�aDirection" | "�6Main Hand Item" | "�6Off Hand Item" | "�2Armor Items" | "�2Hotbar Items" | "�2Inventory Items" | "�6Cursor Item" | "�2Inventory Menu Items" | "�6Saddle Item" | "�6Entity Item" | "�bName" | "�bUUID" | "�bEntity Type" | "�bOpen Inventory Title" | "�2Potion Effects" | "�bVehicle" | "�2Passengers" | "�bLead Holder" | "�2Attached Leads" | "�aEvent Block Location" | "�x�2�a�f�f�a�aEvent Block Side" | "Event Block Face" | "�cEvent Damage" | "�bDamage Event Cause" | "�bEvent Death Message" | "�cEvent Heal Amount" | "�bHeal Event Cause" | "�cEvent Power" | "�bEvent Command" | "�2Event Command Arguments" | "�6Event Item" | "�cEvent Hotbar Slot" | "�cEvent Clicked Slot Index" | "�6Event Clicked Slot Item" | "�6Event Clicked Slot New Item" | "�bClose Inventory Event Cause" | "�bInventory Event Click Type" | "�bFish Event Cause" | "�cPlayer Count" | "�cCPU Usage" | "�cServer TPS" | "�cTimestamp" | "�cSelection Size" | "�2Selection Target Names" | "�2Selection Target UUIDs"

      The value.

    • target: DFTarget = "Default"

      The target of the value, "Default" is the default target.

    • Optional slot: number

    Returns GameValue

Properties

_componentName: string = "serializable"

The component's name

data: DataStorage<"g_val", Ig_val>
slot?: number

Specific slot number.

target: DFTarget = "Default"

The target of the value, "Default" is the default target.

type: "g_val"

Type of the value.

value: "�cCurrent Health" | "�cMaximum Health" | "�cAbsorption Health" | "�cFood Level" | "�cFood Saturation" | "�cFood Exhaustion" | "�cAttack Damage" | "�cAttack Speed" | "�cArmor Points" | "�cArmor Toughness" | "�cInvulnerability Ticks" | "�cExperience Level" | "�cExperience Progress" | "�cFire Ticks" | "�cFreeze Ticks" | "�cRemaining Air" | "�cFall Distance" | "�cHeld Slot" | "�cPing" | "�cSteer Sideways Movement" | "�cSteer Forward Movement" | "�cItem Usage Progress" | "�aLocation" | "�aTarget Block Location" | "�x�2�a�f�f�a�aTarget Block Side" | "�aTarget Fluid Location" | "�aEye Location" | "�cX-Coordinate" | "�cY-Coordinate" | "�cZ-Coordinate" | "�cPitch" | "�cYaw" | "�bCardinal Direction" | "�aSpawn Location" | "�x�2�a�f�f�a�aVelocity" | "�x�2�a�f�f�a�aDirection" | "�6Main Hand Item" | "�6Off Hand Item" | "�2Armor Items" | "�2Hotbar Items" | "�2Inventory Items" | "�6Cursor Item" | "�2Inventory Menu Items" | "�6Saddle Item" | "�6Entity Item" | "�bName" | "�bUUID" | "�bEntity Type" | "�bOpen Inventory Title" | "�2Potion Effects" | "�bVehicle" | "�2Passengers" | "�bLead Holder" | "�2Attached Leads" | "�aEvent Block Location" | "�x�2�a�f�f�a�aEvent Block Side" | "Event Block Face" | "�cEvent Damage" | "�bDamage Event Cause" | "�bEvent Death Message" | "�cEvent Heal Amount" | "�bHeal Event Cause" | "�cEvent Power" | "�bEvent Command" | "�2Event Command Arguments" | "�6Event Item" | "�cEvent Hotbar Slot" | "�cEvent Clicked Slot Index" | "�6Event Clicked Slot Item" | "�6Event Clicked Slot New Item" | "�bClose Inventory Event Cause" | "�bInventory Event Click Type" | "�bFish Event Cause" | "�cPlayer Count" | "�cCPU Usage" | "�cServer TPS" | "�cTimestamp" | "�cSelection Size" | "�2Selection Target Names" | "�2Selection Target UUIDs"

The value.

Methods

Generated using TypeDoc