Skip to content

On Land

Mechanic Type.

A Mechanic that is activated when an entity falls onto the block

Type ID: ccpacks:on_land

Fields

Field Type Default Description
damage_multiplier Float 1.0 Specifies how and if the stat bar is displayed with a bar on the HUD.
block_action Block Action Type optional The action to execute on the block when it is landed on.
block_condition Block Condition Type optional The condition to checked on the block in order to run the block action.
entity_action Entity Action Type optional The action to execute on an entity when they land on the block.

Example

{
  "type": "ccpacks:on_land",
    "damage_multiplier": 0.0
}

This example will create a block that negates all fall damage.