Skip to main content

Types Reference

This section documents all available types in Origins that can be used in data pack JSON files.

Basic Concepts

Before reading this section, familiarize yourself with the Basic Concepts page which defines fundamental data types like Identifier, String, Integer, Boolean, Float, and List used throughout all type definitions.

Power Types

Power types are split by category:

CategoryDescriptionPage
ActionExecute actions in response to eventsAction Powers
ModifyModify game mechanics like attributes, damage, and speedModify Powers
PreventPrevent certain actions like using items or sleepingPrevent Powers
RegularStandalone powers like flight, invisibility, phasing, etc.Regular Powers

See the Power Types index for an overview and shared data types.

Condition Types

Condition types are used to filter when powers activate or when actions execute:

Condition CategoryReference
Entity ConditionEntity Condition Types
Bi-entity ConditionBi-entity Condition Types
Block ConditionBlock Condition Types
Item ConditionItem Condition Types
Biome ConditionBiome Condition Types
Damage ConditionDamage Condition Types
Fluid ConditionFluid Condition Types

All condition categories support meta conditions (and, or, not, chance, constant) documented within each type page.

Action Types

Action types execute effects on entities, blocks, or items:

Action CategoryReference
Entity ActionEntity Action Types
Bi-entity ActionBi-entity Action Types
Block ActionBlock Action Types
Item ActionItem Action Types

All action categories support meta actions (and, chance, choice, delay, if_else, if_else_list, side) documented within each type page.

Shared Data Types

Complex data types used across multiple power, action, and condition types. See Shared Data Types for full details:

  • HudRender — HUD bar display settings
  • Key — Key binding settings
  • Modifier — Mathematical value modifier
  • AttributeEntry — Attribute modifier entry
  • PositionedItemStack — Item with optional slot position
  • ColorSettings — RGBA color settings

Minecraft Data Types

Minecraft's built-in data types used in Origins JSON. See Minecraft Data Types for full details:

  • Item Stack — JSON representation of an item
  • Damage Type — Registry-based damage type identifier
  • Equipment Slot Group — Equipment slot categories
  • Text Component — Rich text format for messages
  • MobEffectInstance — Status effect configuration
  • EffectEntry — Simplified status effect definition