Mojira Archive
MCPE-171178

minecraft:entity_placer cannot place entities on liquid blocks.

When using an item with the minecraft:entity_placer component in a liquid block, it does not perform the action of spawning the entity in this block.
This problem occurs when we define or not the liquid blocks in the use_on field.

Item Behavior

{
  "format_version": "1.20.10",
  "minecraft:item": {
    "description": {
      "identifier": "namespace:identifier"
    },
    "components": {
      "minecraft:max_stack_size": 1,
      "minecraft:display_name": {
        "value": "Custom Item"
      },
      "minecraft:icon": {
        "texture": "my_texture"
      },
      "minecraft:entity_placer": {
        "use_on": ["water", "flowing_water", "lava", "flowing_lava"],
        "entity": "minecraft:squid"
      }
    }
  }
}

Expected Behavior

By leaving the use_on field blank: Allow placement of entity in liquids.
Defining use_on field with liquid blocks id: Allow placement of entity in defined liquids.

Tested format versions

(non-experimental)

Format Version 1.20.0 1.20.10
It is working correctly?

Fixed

llgava

2023-06-04, 05:02 PM

2024-08-19, 12:49 AM

2024-08-19, 12:49 AM

4

4

Confirmed

1050690

1.20.10.21 Preview, 1.19.83 Hotfix

-