Skip to content

Add /core hatch #140

@riddle

Description

@riddle

We need this to spawn horses for now, but the command could be expanded in the future to work on more mobs / entities.

/core hatch horse|donkey|mule [owner <player>] [speed <speed>] [jump <jump>] [health <health>] [silent]
/core hatch horse
/core hatch horse speed 14
/core hatch horse owner ridddle
/core hatch horse owner ridddle speed 14
/core hatch donkey speed 14 jump 1.2 health 28
/core hatch donkey speed 14.1 jump 1 health 28.0
/core hatch mule silent
  1. Owner should work with UUIDs, not sure how it’s done now. It’s also optional.
  2. When speed, jump and health aren’t provided, randomize from vanilla values
  3. All attributes can be integers or floats (14 vs 14.51)

Please test the command with Zyin’s HUD to confirm all stats on creatures. Especially jump – from my limited tests in game it seems that the attribute isn’t linear like speed and health are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions