Rev - Schematic
Easy | 284 points
Last updated
Easy | 284 points
Last updated
A quick google search revealed that .schematic
files are in the NBT
file format.
Open the file using NBTExplorer
.
At the start I thought the dispenser
will be one of the TileEntities
so I tried to find it using the following python code:
As it turns out, TileEntities
only contain either minecraft:tnt
item or a Minecraft Comparator
.
I then proceeded to search up on Minecraft dispenser to find out what exactly it is since it is not in TileEntities
.
It seems like a Dispenser
is a block. I then edited the python script to print out all the blocks.
The output is as follows:
The output is an array of numbers which suggests that every block is stored as a unique number that determines which block type it is. Previously from the Minecraft wiki page, we can also see the number 23 under the dispenser's Numeric ID. Now we just need to count the number of dispensers with the following code:
Flag: bucket{2238}
NBTExplorer
GUI