UndoList handles adding and removing the same entity
Avoid throwing an NPE when failing to set NBT data
Add UndoList.getModifiedTime
Always register an undo list, even if empty.