Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-171178

minecraft:entity_placer cannot place entities on liquid blocks.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.10.21 Preview, 1.19.83 Hotfix
    • None
    • Confirmed
    • Multiple
    • 1050690

      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?

            llgava llgava
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: