Help Request

I need some help to finish the contest refund system. It will allow everyone to get their contest entry back in the form of blocks into their deposit. To do that, I need to convert the blocks in everyone’s build into blocks people can hold and move them into the deposit of each person. For that, I need a list of all blocks that people cannot normally obtain in-game and the block the unavailable block should be converted to. Someone needs to go to the Minecraft wiki and make a list of all blocks that are listed in red there and find out what the appropriate conversion would be. Example format:

8=>0, 9=>0, 55=>331, …

this cannot be done in haste. For example, pistons and doors are two blocks in-game but have to convert into one air block and one door ITEM. 0 would be air so all blocks that would convert into nothing should be 0.

thanks!

13 thoughts on “Help Request

  1. Here goes:

    8 => 0,
    9 => 0,
    10 => 0,
    11 => 0,
    18 => 18, // Leaves: Treat data as data mod 4
    19 => 0,
    26 => 355, // Bed: If data > 7, treat as air.
    29 => “29:0”,
    30 => 0,
    33 => “33:0”,
    34 => 0,
    43 => 44, // Double slab: Treat as 2x single slabs.
    51 => 0,
    52 => 0,
    53 => “53:0”,
    55 => 331,
    59 => 295,
    60 => 3,
    62 => 61,
    63 => 323,
    64 => 324, // Wood door: If data > 7, treat as air.
    65 => “65:0”,
    67 => “67:0”,
    68 => 323,
    71 => 330, // Iron door: If data > 7, treat as air.
    74 => 73,
    76 => 75,
    78 => 332,
    83 => 338,
    90 => 0,
    92 => 0,
    93 => 356,
    94 => 356,
    95 => 0,
    97 => 0,
    104 => 361,
    105 => 362,
    108 => “108:0”,
    109 => “109:0”,
    114 => “114:0”,
    115 => 372,
    117 => 379,
    118 => 380,
    119 => 0,
    120 => 0,
    122 => 0,
    124 => 123,
    125 => 126,
    127 => “351:3”,
    128 => “128:0”,
    132 => 287,
    134 => “134:0”,
    135 => “135:0”,
    136 => “136:0”,
    137 => 0,

    Note that where you need a specific data value, I set it as, e.g., “134:0”. This does stuff like clear the stair and piston orientation so they’re all the same block in inventory.

    Also note there are a couple of special cases. Double slabs need to be treated as single slabs, but of course double the number of items returned. For beds and doors, look for data values greater than 7 and ignore those to get just the one block and not both.

    Lastly, for leaves, I think you need to treat the data as data mod 4 to get plain leaves that will stack without the sticky/decay bits, but I’m not 100% sure on that one. I can’t remember how leaves appear in shop, for example.

      • These should be all the blocks that become something else when in inventory (e.g., doors, repeaters). There are a great many more blocks in the game, but all of those are the same in inventory (e.g. stone, wool), so no mapping is needed.

      • I think the numbers stand for block ID’s, but i am not sure…

        • They do. All the blocks in Minecraft has a data value that translates as a number.
          Uncovery is asking for a list of all the blocks that are technical blocks or blocks you can’t normally get. He needs this because when refunding materials for the contest builds, he doesn’t want to give back the player 20,000 air blocks, 8 extended piston arm blocks and so forth.
          It looks like Azkedar is on the case, so no worries.

  2. Would it be easier to give people a week to tear down their creations? What is left after that is open for a week for who ever wants to take down and keep the blocks. Then any thing left gets wiped.

    • It is not even if they did that. History shows that if you tell users that they should do [whatever] in [whatever] time that they do not. If I can push a button and everyone has everything in their deposit it is much easier for me. No need to wait, not need to ask people, no reminders, nothing. Just push a button.

Comments are closed.