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

Right-Clicking a spawn egg on a spawner doesn't always overwrite SpawnPotentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 15w39c
    • None
    • Mac OS X
      Java 8u45
    • Unconfirmed

      While working on a Soul Forge command block module a while back, I had need for an empty spawner (so that players could create one). I achieved this by creating a spawner with the following BlockEntityTag:
      {SpawnData:

      {id:"null"}

      ,SpawnPotentials:[{Weight:1,Entity:{id:"null"}}],Delay:400s}
      (I know that Minecraft doesn't serialize nulls, but I needed to put a nonempty string).
      Several snapshots back, when placed, that spawner was indeed visually empty, and when right-clicked with a spawn egg, would change to a spawner of the egg type correctly. However, in the most recent snapshot, when placed and right-clicked, ONLY SpawnData is changed. SpawnPotentials remains with the null entity, and after a spawn cycle resets the spawner back to fully null.
      This behavior is not seen with valid entity types in SpawnData, only invalid ones. Unfortunately, invalid types are useful as placeholders, so please do fix this, as it used to work fine.

            Unassigned Unassigned
            Ozonified Ozone Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: