SPGoding / spu

SPU Performs Updating, an npm package that provides method to update Minecraft commands. No longer maintained; use https://github.com/SPGoding/datapack-language-server to update newer datapacks instead.
https://npmjs.com/package/spu
MIT License
49 stars 5 forks source link

TileEntityData is not updated. #68

Closed SPGoding closed 5 years ago

SPGoding commented 5 years ago

TileEntityData of minecraft:falling_block is not updated.

Possible solution: Append following code to ./src/utils/wheel_chief/updater.ts:361.

/* TileEntityData */ {
    let tileEntityData = input.get('TileEntityData') 
    if (tileEntityData instanceof NbtCompound) { 
        tileEntityData = this.upSpgodingBlockNbt(tileEntityData)
        input.set('TileEntityData', tileEntityData)
    }
}