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

Ominous Trial Spawner spawns different projectiles from Java Edition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.0.22 Preview, 1.21.0.21 Preview, 1.21.0.23 Preview
    • None
    • Confirmed
    • Multiple

      When an ominous trial spawner spawns projectiles using an ominous item spawner, the specific item spawned will differ from that of Java Edition.

      In Bedrock Edition, ominous item spawners have the following loot table:

      • Splash Potion of Wind Charging, Oozing, Weaving, or Infested
      • Splash Potion of Strength, Fire Resistance, Weakness, or Slow Falling
      • Arrow, Snowball, or Egg (fixed 1.21.0.23)
      • Lingering Potion of Wind Charging, Oozing, Weaving, Infested, Strength, Speed, or Slow Falling
      • Arrow, Arrow of Instant Harming II, Arrow of Slow Falling (extended), Fire Charge, Wind Charge, or Bottle o' Enchanting
        • Arrow of Harming II due to data & aux value of 25 being used, instead of 26 for Arrow of Poison
        • Arrow of Slow Falling (extended) due to data & aux value of 42 being used, instead of 43 for Arrow of Slowness IV

      In Java Edition, ominous item spawners have the following loot table:

      • Lingering Potion of Wind Charging, Oozing, Weaving, Infested, Strength, Speed, or Slow Falling
      • Arrow, Arrow of Poison (0:05), Arrow of Slowness IV, Fire Charge, Wind Charge, or Bottle o' Enchanting

      As can be seen, the differences are that, in Bedrock Edition, instead of Arrows of Poison and Arrows of Slowness IV, instead Arrows of Harming II and Arrow of Slow Falling (extended) are selected.

      The loot table files for the ominous item spawner in Bedrock Edition can be found here: https://github.com/Mojang/bedrock-samples/releases with the relevant loot table file being items_to_drop_when_ominous.json, in the "behavior_pack/loot_tables/spawners/trial_chamber/" directory.

      The loot table files for the ominous item spawner in Java Edition can be found in this directory in the game JAR file: "data/minecraft/datapacks/update_1_21/data/minecraft/loot_tables/spawners/trial_chamber/", with the relevant loot table file being items_to_drop_when_ominous.json.

      Steps to Reproduce:

      In both editions:

      1. Place a trial spawner and use any spawn egg on it to activate it. Ideally, use a passive mob spawn egg so you don't have to fight.
      2. Give yourself the Bad Omen or Trial Omen effect.
      3. Be in Survival mode and turn the trial spawner into an ominous trial spawner using the Trial Omen effect.
      4. Watch the item spawners appear in the air and observe the item they drop.
      5. To reproduce the loot table easier, you can instead run the following command repeatedly (or in a repeating command block): /loot give @s loot "spawners/trial_chamber/items_to_drop_when_ominous"

      Observed Results:

      The ominous trial spawner will spawn slightly different projectiles than Java Edition, such as arrows of harming II and arrows of slow falling.

      Expected Results:

      The ominous trial spawners spawns the same set of projectiles in both editions.

            kmb600 kmb
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: