Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local stone = "stone"
- local cobblestone = "cobblestone"
- local dirt = "dirt"
- local grass = "grass"
- local planks = "planks"
- local sapling = "sapling"
- local sand = "sand"
- local gravel = "gravel"
- local goldore = "gold ore"
- local ironore = "iron ore"
- local air = "air"
- local bedrock = "bedrock"
- local water = "water"
- local lava = "lava"
- local coalore = "coal ore"
- local wood = "wood"
- local leaves = "leaves"
- local sponge = "sponge"
- local glass = "glass"
- local lapizore = "lapiz lazuli ore"
- local lapizblock = "lapiz lazuli block"
- local dispenser = "dispenser"
- local sandstone = "sandstone"
- local noteblock = "note block"
- local powerrail = "powered rail"
- local detectrail = "detector rail"
- local stickypiston = "sticky piston"
- local web = "cobweb"
- local wool = "wool"
- local wool1 = "orange wool"
- local wool2 = "magenta wool"
- local wool3 = "light blue wool"
- local wool4 = "yellow wool"
- local wool5 = "light green wool"
- local wool6 = "pink wool"
- local wool7 = "gray wool"
- local wool8 = "light gray wool"
- local wool9 = "cyan wool"
- local wool10 = "purple wool"
- local wool11 = "blue wool"
- local wool12 = "brown wool"
- local wool13 = "dark green wool"
- local wool14 = "red wool"
- local wool15 = "black wool"
- local input = read()
- if input == stone then
- print("ID of Stone: 1")
- else if
- input == cobblestone then
- print("ID of Cobblestone: 4")
- else if
- input == dirt then
- print("ID of Dirt: 3")
- else if
- input == grass then
- print("ID of Grass: 2")
- else if
- input == planks then
- print("ID of Planks: 5")
- else if
- input == sapling then
- print("ID of Sapling(s): 6")
- else if
- input == sand then
- print("ID of Sand: 12")
- else if
- input == gravel then
- print("ID of Gravel: 13")
- else if
- input == goldore then
- print("ID of Gold Ore: 14")
- else if
- input == ironore then
- print("ID of Iron Ore: 15")
- else if
- input == air then
- print("ID of Air: 0")
- else if
- input == bedrock then
- print("ID of Bedrock: 7")
- else if
- input == water then
- print("ID of Water: 8")
- else if
- input == lava then
- print("ID of Lava: 10")
- else if
- input == coalore then
- print("ID of Coal Ore: 16")
- else if
- input == wood then
- print("ID of Wood: 17")
- else if
- input == leaves then
- print("ID of Leaves: 18")
- else if
- input == sponge then
- print("ID of Sponge: 19")
- else if
- input == glass then
- print("ID of Glass: 20")
- else if
- input == lapizore then
- print("ID of Lapiz Lazuli Ore: 21")
- else if
- input == lapizblock then
- print("ID of Lapiz Lazuli Ore: 22")
- else if
- input == dispenser then
- print("ID of Dispenser: 23")
- else if
- input == sandstone then
- print("ID of Sandstone: 24")
- else if
- input == noteblock then
- print("ID of Note Block: 25")
- else if
- input == powerrail then
- print("ID of Powered Rail: 27")
- else if
- input == detectrail then
- print("ID of Detector Rail: 28")
- else if
- input == stickypiston then
- print("ID of Sticky Piston: 29")
- else if
- input == web then
- print("ID of Cobweb: 30")
- else if
- input == wool then
- print("ID of Wool: 35")
- else if
- input == wool1 then
- print("ID of Orange wool: 35:1")
- else if
- input == wool2 then
- print("ID of Magenta wool: 35:2")
- else if
- input == wool3 then
- print("ID of Light Blue wool: 35:3")
- else if
- input == wool4 then
- print("ID of Yellow wool: 35:4")
- else if
- input == wool5 then
- print("ID of Light Green wool: 35:5")
- else if
- input == wool6 then
- print("ID of Pink wool: 35:6")
- else if
- input == wool7 then
- print("ID of Gray wool: 35:7")
- else if
- input == wool8 then
- print("ID of Light Gray wool: 35:8")
- else if
- input == wool9 then
- print("ID of Cyan wool: 35:9")
- else if
- input == wool10 then
- print("ID of Purple wool: 35:10")
- else if
- input == wool11 then
- print("ID of Blue wool: 35:11")
- else if
- input == wool12 then
- print("ID of Brown wool: 35:12")
- else if
- input == wool13 then
- print("ID of Dark Green wool: 35:13")
- else if
- input == wool14 then
- print("ID of Red wool: 35:14")
- else if
- input == wool15 then
- print("ID of Black wool: 35:15")
- else
- print("Can't understand")
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement