BleachDev / BleachHack

block game utility mod that makes you a cool kid
https://bleachhack.org
GNU General Public License v3.0
740 stars 132 forks source link

[Suggestion] Add $export command #277

Closed SolsticeSpectrum closed 3 years ago

SolsticeSpectrum commented 3 years ago

It would have few sub commands. One of them could be $export items name.txt which would export all ids of all items and blocks in Minecraft. Here is example code for that https://github.com/BleachDrinker420/BleachHack/pull/241/commits/7fb5902e32253f7768599982bd8060f595ae4d7a#diff-c18f02632e0184843cca86ae9b449aea4c869beba0be876a31449f73c5654f29

Second sub command could be $export nbt name.txt which would export all nbt data for specific item. Now this could be even better and it could save actual summon command with all the valid nbt data co you could copy it and paste it into command block. It could also have feature of saving nbt data of entities around you. Like $export nbt X Y Z

Would be really cool for getting nbt data from Origin Realms for example when you wanna play with the resource pack in single player.

SolsticeSpectrum commented 3 years ago

Yeah nbt command is good enough and I added itemlist in my fork anyway so basically all features are met