Official Everybody Edits Forums

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.

#1 2017-02-22 04:54:17

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

[Question] List of FG blocks and backgrounds respectively?

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

#2 2017-02-22 09:07:10

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [Question] List of FG blocks and backgrounds respectively?

x >= 500 && x <= 999 //Background
x < 500 || x >= 1001 //Foreground

Offline

#3 2017-02-22 09:23:33

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Question] List of FG blocks and backgrounds respectively?

@Capasha
I think he means what foreground/background duo's exist (9fg = 500bg).

Offline

#4 2017-02-22 09:37:01

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,835

Re: [Question] List of FG blocks and backgrounds respectively?

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

#5 2017-02-22 16:19:15

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: [Question] List of FG blocks and backgrounds respectively?

Tomahawk wrote:

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.

capasha wrote:

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

#6 2017-02-22 16:27:55

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,206

Re: [Question] List of FG blocks and backgrounds respectively?

Nobody created this because it's not very useful.

Go ahead make this list yourself

Offline

#7 2017-02-22 18:02:25

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [Question] List of FG blocks and backgrounds respectively?

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

#8 2017-02-22 18:08:11

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: [Question] List of FG blocks and backgrounds respectively?

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

#9 2017-02-22 18:23:31

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,206

Re: [Question] List of FG blocks and backgrounds respectively?

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

Gosha1487784211648604

Board footer

Powered by FluxBB

[ Started around 1714055799.7763 - Generated in 0.036 seconds, 10 queries executed - Memory usage: 1.43 MiB (Peak: 1.55 MiB) ]