mojira.dev
MC-275851

diameter in teleport_randomly consume effect is ignored

Summary
diameter in minecraft:teleport_randomly consume effect (specified with consumable item component's on_consume_effects is ignored. No matter which value is provided, the game always uses the default of 16 blocks.

Steps to Reproduce

  1. Run the following command:

    /give @s stick[minecraft:consumable={on_consume_effects:[{type:"minecraft:teleport_randomly",diameter:1.0f}]}] 64
  2. Eat the stick

Expected Result
You teleport within 1 block radius.

Actual Result
You teleport within 16 block radius.

Attachments

Comments 0

No comments.

apple502j

kingbdogz

1287154

Confirmed

Expansion B

Normal

Commands, Items

24w34a

24w35a

Retrieved