Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Lets say I delete block id '9', a gray basic block. I want to place the background as '500', a gray basic block bg block. Does anybody know of a list that contains foreground blocks and background blocks? No specific order is needed, just as long as I can parse the results with a bot.
Offline
x >= 500 && x <= 999 //Background
x < 500 || x >= 1001 //Foreground
Offline
@Capasha
I think he means what foreground/background duo's exist (9fg = 500bg).
Offline
There's not that many. Just get the block list and pair them up.
One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.
Offline
There's not that many. Just get the block list and pair them up.
I wish not to reinvent the wheel, for I know it has been done.
x >= 500 && x <= 999 //Background
x < 500 || x >= 1001 //Foreground
Not what I wanted, but this code could come in handy in other places. Thanks!
For example guys:
9|500
10|501
11|502
12|503
16|507
The first block is the foreground, the one after the | is the background.
Any format will do as long as it's parseable, e.g.
9
500
10
501
11
502
12
503
16
507
Offline
Nobody created this because it's not very useful.
Go ahead make this list yourself
Offline
Also if this is needed someone would create it. You are the only one that want this. One more note store the data as JSON instead.
If you think it's hard to edit JSON then make a tool that create the data in JSON.
In EEditor and the tool replace you can search for "basic" and the tool will show both background and foreground that have the word "basic" inside package.
Make a parser for ItemManager store all blocks and pack names, then search through the packnames or tags.
Offline
Wow, nobody made this? really? I'm very suprised. I could've sworn I've seen one of these in the past. Oh well, I'll just make one and report back here.
Offline
Why would anybody need it?
If you are making digbot you need like 5-6 blocks with foreground&background
no need to make huge lists of all blocks
Offline
[ Started around 1745239537.8067 - Generated in 0.061 seconds, 10 queries executed - Memory usage: 1.44 MiB (Peak: 1.56 MiB) ]