Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-124703

ItemMonsterPlacer Not Reseting SpawnPotentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12.2
    • None
    • Vanilla
    • Unconfirmed

      Issue: egging spawner doesn't remove spawndata and doesn't reset spawn potentials then reverts after initial spawn under specified conditions.

      Steps to reproduce:
      1. /difficulty peaceful
      2. Use this Command https://pastebin.com/qra8U1db (pastebin since this messed up the one line of command code)
      3. use blaze egg
      4. /difficulty normal
      5. wait for them to spawn
      6. observe wither skeletons popping up next spawn

      Video: https://youtu.be/0kKz-NMOAog

      Issue In code for monster placer only specifies to change the id of spawndata not resetting spawn potentials as well
      mobspawnerbaselogic.setEntityId(getNamedIdFrom(itemstack));

      This causes massive issues. Like say you have the properties tag of a skeleton and it's set to have items then you change it to a blaze and it still has those items . The passengers of the mob spawner also do not change

      It causes massive errors Here is an example use the same steps just with passenger tag or custom skeletons for testing. It should remove the entire spawnDataTag:{} first instead it just modifies a single tag:

            Unassigned Unassigned
            dragonofthelakeabcd jredfox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: