Skip to content

Mob spawners request. #1590

@Parozzz

Description

@Parozzz

What I am asking here are two things:

  1. A few time ago, precisely on September 9, this was added in the pre-1.13 branch Allow chests to be placed with NBT #1425 . Change the nbt filtering mob spawner has, through a Paper.yml option or having it directly bypassed as in the pull request above.

  2. Change the modifier to public for the "mobs" and the "spawnData" field inside the MobSpawnerAbstract. The first is a List of MobSpawnerData and manager multiple spawn type of the same spawner, the second one is just the actual MobSpawnerData of the mob is being spawned. I would like them changed so they could be reached without needed to use nms or having to use save/load through NBTTagCompounds every time. This is already been done for every other field except those two. (I know there is an API for setting the "spawnData" field, but every extra configuration that can be done to the spawning entity are impossible without hacky ways or through events, like setting a different loottable to the mob or having it spawn with low health)
    2,1. I'll list this as a sub suggestion, would be cool though to have an actual API for adding spawn type to this potential list.

Is this something that might be too difficult to maintain for future releases or is something manageable?.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: featureRequest for a new Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions