Blocks .java

net.minecraft.init.Blocks (class, 457 lines): members: heavy_weighted_pressure_plate, light_weighted_pressure_plate, daylight_detector_inverted, log, dirt.

net.minecraft.initclass457 linescommon23.1 KB

API Surface (0)

No public/protected methods detected (fields or constants only).

Fields & Constants (198)

air
stone
grass
dirt
cobblestone
planks
sapling
bedrock
flowing_water
water
flowing_lava
lava
sand
gravel
gold_ore
iron_ore
coal_ore
log
log2
leaves
leaves2
sponge
glass
lapis_ore
lapis_block
dispenser
sandstone
noteblock
bed
golden_rail
detector_rail
sticky_piston
web
tallgrass
deadbush
piston
piston_head
wool
piston_extension
yellow_flower
red_flower
brown_mushroom
red_mushroom
gold_block
iron_block
double_stone_slab
stone_slab
brick_block
tnt
bookshelf
mossy_cobblestone
obsidian
torch
fire
mob_spawner
oak_stairs
chest
redstone_wire
diamond_ore
diamond_block
crafting_table
wheat
farmland
furnace
lit_furnace
standing_sign
oak_door
spruce_door
birch_door
jungle_door
acacia_door
dark_oak_door
ladder
rail
stone_stairs
wall_sign
lever
stone_pressure_plate
iron_door
wooden_pressure_plate
redstone_ore
lit_redstone_ore
unlit_redstone_torch
redstone_torch
stone_button
snow_layer
ice
snow
cactus
clay
reeds
jukebox
oak_fence
spruce_fence
birch_fence
jungle_fence
dark_oak_fence
acacia_fence
pumpkin
netherrack
soul_sand
glowstone
portal
lit_pumpkin
cake
unpowered_repeater
powered_repeater
trapdoor
monster_egg
stonebrick
brown_mushroom_block
red_mushroom_block
iron_bars
glass_pane
melon_block
pumpkin_stem
melon_stem
vine
oak_fence_gate
spruce_fence_gate
birch_fence_gate
jungle_fence_gate
dark_oak_fence_gate
acacia_fence_gate
brick_stairs
stone_brick_stairs
mycelium
waterlily
nether_brick
nether_brick_fence
nether_brick_stairs
nether_wart
enchanting_table
brewing_stand
cauldron
end_portal
end_portal_frame
end_stone
dragon_egg
redstone_lamp
lit_redstone_lamp
double_wooden_slab
wooden_slab
cocoa
sandstone_stairs
emerald_ore
ender_chest
tripwire_hook
tripwire
emerald_block
spruce_stairs
birch_stairs
jungle_stairs
command_block
beacon
cobblestone_wall
flower_pot
carrots
potatoes
wooden_button
skull
anvil
trapped_chest
light_weighted_pressure_plate
heavy_weighted_pressure_plate
unpowered_comparator
powered_comparator
daylight_detector
daylight_detector_inverted
redstone_block
quartz_ore
hopper
quartz_block
quartz_stairs
activator_rail
dropper
stained_hardened_clay
barrier
iron_trapdoor
hay_block
carpet
hardened_clay
coal_block
packed_ice
acacia_stairs
dark_oak_stairs
slime_block
double_plant
stained_glass
stained_glass_pane
prismarine
sea_lantern
standing_banner
wall_banner
red_sandstone
red_sandstone_stairs
double_stone_slab2
stone_slab2

String literals (193)

"Accessed Blocks before Bootstrap!"
"stone"
"grass"
"dirt"
"cobblestone"
"planks"
"sapling"
"bedrock"
"flowing_water"
"water"
"flowing_lava"
"lava"
"sand"
"gravel"
"gold_ore"
"iron_ore"
"coal_ore"
"log2"
"leaves"
"leaves2"
"sponge"
"glass"
"lapis_ore"
"lapis_block"

Same Package (2)

Full Source

Blocks.java457 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.init;
2
3
import net.minecraft.block.Block;
4
import net.minecraft.block.BlockBeacon;
5
import net.minecraft.block.BlockBush;
6
import net.minecraft.block.BlockCactus;
7
import net.minecraft.block.BlockCauldron;
8
import net.minecraft.block.BlockChest;
9
import net.minecraft.block.BlockDaylightDetector;
10
import net.minecraft.block.BlockDeadBush;
11
import net.minecraft.block.BlockDoublePlant;
12
import net.minecraft.block.BlockDynamicLiquid;
13
import net.minecraft.block.BlockFire;
14
import net.minecraft.block.BlockFlower;
15
import net.minecraft.block.BlockGrass;
16
import net.minecraft.block.BlockHopper;
17
import net.minecraft.block.BlockLeaves;
18
import net.minecraft.block.BlockMycelium;
19
import net.minecraft.block.BlockPistonBase;
20
import net.minecraft.block.BlockPistonExtension;
21
import net.minecraft.block.BlockPistonMoving;
22
import net.minecraft.block.BlockPortal;
23
import net.minecraft.block.BlockRedstoneComparator;
24
import net.minecraft.block.BlockRedstoneRepeater;
25
import net.minecraft.block.BlockRedstoneWire;
26
import net.minecraft.block.BlockReed;
27
import net.minecraft.block.BlockSand;
28
import net.minecraft.block.BlockSkull;
29
import net.minecraft.block.BlockSlab;
30
import net.minecraft.block.BlockStainedGlass;
31
import net.minecraft.block.BlockStainedGlassPane;
32
import net.minecraft.block.BlockStaticLiquid;
33
import net.minecraft.block.BlockTallGrass;
34
import net.minecraft.block.BlockTripWireHook;
35
import net.minecraft.util.ResourceLocation;
36
37
public class Blocks
38
{
39
    public static final Block air;
40
    public static final Block stone;
41
    public static final BlockGrass grass;
42
    public static final Block dirt;
43
    public static final Block cobblestone;
44
    public static final Block planks;
45
    public static final Block sapling;
46
    public static final Block bedrock;
47
    public static final BlockDynamicLiquid flowing_water;
48
    public static final BlockStaticLiquid water;
49
    public static final BlockDynamicLiquid flowing_lava;
50
    public static final BlockStaticLiquid lava;
51
    public static final BlockSand sand;
52
    public static final Block gravel;
53
    public static final Block gold_ore;
54
    public static final Block iron_ore;
55
    public static final Block coal_ore;
56
    public static final Block log;
57
    public static final Block log2;
58
    public static final BlockLeaves leaves;
59
    public static final BlockLeaves leaves2;
60
    public static final Block sponge;
61
    public static final Block glass;
62
    public static final Block lapis_ore;
63
    public static final Block lapis_block;
64
    public static final Block dispenser;
65
    public static final Block sandstone;
66
    public static final Block noteblock;
67
    public static final Block bed;
68
    public static final Block golden_rail;
69
    public static final Block detector_rail;
70
    public static final BlockPistonBase sticky_piston;
71
    public static final Block web;
72
    public static final BlockTallGrass tallgrass;
73
    public static final BlockDeadBush deadbush;
74
    public static final BlockPistonBase piston;
75
    public static final BlockPistonExtension piston_head;
76
    public static final Block wool;
77
    public static final BlockPistonMoving piston_extension;
78
    public static final BlockFlower yellow_flower;
79
    public static final BlockFlower red_flower;
80
    public static final BlockBush brown_mushroom;
81
    public static final BlockBush red_mushroom;
82
    public static final Block gold_block;
83
    public static final Block iron_block;
84
    public static final BlockSlab double_stone_slab;
85
    public static final BlockSlab stone_slab;
86
    public static final Block brick_block;
87
    public static final Block tnt;
88
    public static final Block bookshelf;
89
    public static final Block mossy_cobblestone;
90
    public static final Block obsidian;
91
    public static final Block torch;
92
    public static final BlockFire fire;
93
    public static final Block mob_spawner;
94
    public static final Block oak_stairs;
95
    public static final BlockChest chest;
96
    public static final BlockRedstoneWire redstone_wire;
97
    public static final Block diamond_ore;
98
    public static final Block diamond_block;
99
    public static final Block crafting_table;
100
    public static final Block wheat;
101
    public static final Block farmland;
102
    public static final Block furnace;
103
    public static final Block lit_furnace;
104
    public static final Block standing_sign;
105
    public static final Block oak_door;
106
    public static final Block spruce_door;
107
    public static final Block birch_door;
108
    public static final Block jungle_door;
109
    public static final Block acacia_door;
110
    public static final Block dark_oak_door;
111
    public static final Block ladder;
112
    public static final Block rail;
113
    public static final Block stone_stairs;
114
    public static final Block wall_sign;
115
    public static final Block lever;
116
    public static final Block stone_pressure_plate;
117
    public static final Block iron_door;
118
    public static final Block wooden_pressure_plate;
119
    public static final Block redstone_ore;
120
    public static final Block lit_redstone_ore;
121
    public static final Block unlit_redstone_torch;
122
    public static final Block redstone_torch;
123
    public static final Block stone_button;
124
    public static final Block snow_layer;
125
    public static final Block ice;
126
    public static final Block snow;
127
    public static final BlockCactus cactus;
128
    public static final Block clay;
129
    public static final BlockReed reeds;
130
    public static final Block jukebox;
131
    public static final Block oak_fence;
132
    public static final Block spruce_fence;
133
    public static final Block birch_fence;
134
    public static final Block jungle_fence;
135
    public static final Block dark_oak_fence;
136
    public static final Block acacia_fence;
137
    public static final Block pumpkin;
138
    public static final Block netherrack;
139
    public static final Block soul_sand;
140
    public static final Block glowstone;
141
    public static final BlockPortal portal;
142
    public static final Block lit_pumpkin;
143
    public static final Block cake;
144
    public static final BlockRedstoneRepeater unpowered_repeater;
145
    public static final BlockRedstoneRepeater powered_repeater;
146
    public static final Block trapdoor;
147
    public static final Block monster_egg;
148
    public static final Block stonebrick;
149
    public static final Block brown_mushroom_block;
150
    public static final Block red_mushroom_block;
151
    public static final Block iron_bars;
152
    public static final Block glass_pane;
153
    public static final Block melon_block;
154
    public static final Block pumpkin_stem;
155
    public static final Block melon_stem;
156
    public static final Block vine;
157
    public static final Block oak_fence_gate;
158
    public static final Block spruce_fence_gate;
159
    public static final Block birch_fence_gate;
160
    public static final Block jungle_fence_gate;
161
    public static final Block dark_oak_fence_gate;
162
    public static final Block acacia_fence_gate;
163
    public static final Block brick_stairs;
164
    public static final Block stone_brick_stairs;
165
    public static final BlockMycelium mycelium;
166
    public static final Block waterlily;
167
    public static final Block nether_brick;
168
    public static final Block nether_brick_fence;
169
    public static final Block nether_brick_stairs;
170
    public static final Block nether_wart;
171
    public static final Block enchanting_table;
172
    public static final Block brewing_stand;
173
    public static final BlockCauldron cauldron;
174
    public static final Block end_portal;
175
    public static final Block end_portal_frame;
176
    public static final Block end_stone;
177
    public static final Block dragon_egg;
178
    public static final Block redstone_lamp;
179
    public static final Block lit_redstone_lamp;
180
    public static final BlockSlab double_wooden_slab;
181
    public static final BlockSlab wooden_slab;
182
    public static final Block cocoa;
183
    public static final Block sandstone_stairs;
184
    public static final Block emerald_ore;
185
    public static final Block ender_chest;
186
    public static final BlockTripWireHook tripwire_hook;
187
    public static final Block tripwire;
188
    public static final Block emerald_block;
189
    public static final Block spruce_stairs;
190
    public static final Block birch_stairs;
191
    public static final Block jungle_stairs;
192
    public static final Block command_block;
193
    public static final BlockBeacon beacon;
194
    public static final Block cobblestone_wall;
195
    public static final Block flower_pot;
196
    public static final Block carrots;
197
    public static final Block potatoes;
198
    public static final Block wooden_button;
199
    public static final BlockSkull skull;
200
    public static final Block anvil;
201
    public static final Block trapped_chest;
202
    public static final Block light_weighted_pressure_plate;
203
    public static final Block heavy_weighted_pressure_plate;
204
    public static final BlockRedstoneComparator unpowered_comparator;
205
    public static final BlockRedstoneComparator powered_comparator;
206
    public static final BlockDaylightDetector daylight_detector;
207
    public static final BlockDaylightDetector daylight_detector_inverted;
208
    public static final Block redstone_block;
209
    public static final Block quartz_ore;
210
    public static final BlockHopper hopper;
211
    public static final Block quartz_block;
212
    public static final Block quartz_stairs;
213
    public static final Block activator_rail;
214
    public static final Block dropper;
215
    public static final Block stained_hardened_clay;
216
    public static final Block barrier;
217
    public static final Block iron_trapdoor;
218
    public static final Block hay_block;
219
    public static final Block carpet;
220
    public static final Block hardened_clay;
221
    public static final Block coal_block;
222
    public static final Block packed_ice;
223
    public static final Block acacia_stairs;
224
    public static final Block dark_oak_stairs;
225
    public static final Block slime_block;
226
    public static final BlockDoublePlant double_plant;
227
    public static final BlockStainedGlass stained_glass;
228
    public static final BlockStainedGlassPane stained_glass_pane;
229
    public static final Block prismarine;
230
    public static final Block sea_lantern;
231
    public static final Block standing_banner;
232
    public static final Block wall_banner;
233
    public static final Block red_sandstone;
234
    public static final Block red_sandstone_stairs;
235
    public static final BlockSlab double_stone_slab2;
236
    public static final BlockSlab stone_slab2;
237
238
    /**
239
     * Returns the Block in the blockRegistry with the specified name.
240
     *  
241
     * @param blockName The block's name to register
242
     */
243
    private static Block getRegisteredBlock(String blockName)
244
    {
245
        return (Block)Block.blockRegistry.getObject(new ResourceLocation(blockName));
246
    }
247
248
    static
249
    {
250
        if (!Bootstrap.isRegistered())
251
        {
252
            throw new RuntimeException("Accessed Blocks before Bootstrap!");
253
        }
254
        else
255
        {
256
            air = getRegisteredBlock("air");
257
            stone = getRegisteredBlock("stone");
258
            grass = (BlockGrass)getRegisteredBlock("grass");
259
            dirt = getRegisteredBlock("dirt");
260
            cobblestone = getRegisteredBlock("cobblestone");
261
            planks = getRegisteredBlock("planks");
262
            sapling = getRegisteredBlock("sapling");
263
            bedrock = getRegisteredBlock("bedrock");
264
            flowing_water = (BlockDynamicLiquid)getRegisteredBlock("flowing_water");
265
            water = (BlockStaticLiquid)getRegisteredBlock("water");
266
            flowing_lava = (BlockDynamicLiquid)getRegisteredBlock("flowing_lava");
267
            lava = (BlockStaticLiquid)getRegisteredBlock("lava");
268
            sand = (BlockSand)getRegisteredBlock("sand");
269
            gravel = getRegisteredBlock("gravel");
270
            gold_ore = getRegisteredBlock("gold_ore");
271
            iron_ore = getRegisteredBlock("iron_ore");
272
            coal_ore = getRegisteredBlock("coal_ore");
273
            log = getRegisteredBlock("log");
274
            log2 = getRegisteredBlock("log2");
275
            leaves = (BlockLeaves)getRegisteredBlock("leaves");
276
            leaves2 = (BlockLeaves)getRegisteredBlock("leaves2");
277
            sponge = getRegisteredBlock("sponge");
278
            glass = getRegisteredBlock("glass");
279
            lapis_ore = getRegisteredBlock("lapis_ore");
280
            lapis_block = getRegisteredBlock("lapis_block");
281
            dispenser = getRegisteredBlock("dispenser");
282
            sandstone = getRegisteredBlock("sandstone");
283
            noteblock = getRegisteredBlock("noteblock");
284
            bed = getRegisteredBlock("bed");
285
            golden_rail = getRegisteredBlock("golden_rail");
286
            detector_rail = getRegisteredBlock("detector_rail");
287
            sticky_piston = (BlockPistonBase)getRegisteredBlock("sticky_piston");
288
            web = getRegisteredBlock("web");
289
            tallgrass = (BlockTallGrass)getRegisteredBlock("tallgrass");
290
            deadbush = (BlockDeadBush)getRegisteredBlock("deadbush");
291
            piston = (BlockPistonBase)getRegisteredBlock("piston");
292
            piston_head = (BlockPistonExtension)getRegisteredBlock("piston_head");
293
            wool = getRegisteredBlock("wool");
294
            piston_extension = (BlockPistonMoving)getRegisteredBlock("piston_extension");
295
            yellow_flower = (BlockFlower)getRegisteredBlock("yellow_flower");
296
            red_flower = (BlockFlower)getRegisteredBlock("red_flower");
297
            brown_mushroom = (BlockBush)getRegisteredBlock("brown_mushroom");
298
            red_mushroom = (BlockBush)getRegisteredBlock("red_mushroom");
299
            gold_block = getRegisteredBlock("gold_block");
300
            iron_block = getRegisteredBlock("iron_block");
301
            double_stone_slab = (BlockSlab)getRegisteredBlock("double_stone_slab");
302
            stone_slab = (BlockSlab)getRegisteredBlock("stone_slab");
303
            brick_block = getRegisteredBlock("brick_block");
304
            tnt = getRegisteredBlock("tnt");
305
            bookshelf = getRegisteredBlock("bookshelf");
306
            mossy_cobblestone = getRegisteredBlock("mossy_cobblestone");
307
            obsidian = getRegisteredBlock("obsidian");
308
            torch = getRegisteredBlock("torch");
309
            fire = (BlockFire)getRegisteredBlock("fire");
310
            mob_spawner = getRegisteredBlock("mob_spawner");
311
            oak_stairs = getRegisteredBlock("oak_stairs");
312
            chest = (BlockChest)getRegisteredBlock("chest");
313
            redstone_wire = (BlockRedstoneWire)getRegisteredBlock("redstone_wire");
314
            diamond_ore = getRegisteredBlock("diamond_ore");
315
            diamond_block = getRegisteredBlock("diamond_block");
316
            crafting_table = getRegisteredBlock("crafting_table");
317
            wheat = getRegisteredBlock("wheat");
318
            farmland = getRegisteredBlock("farmland");
319
            furnace = getRegisteredBlock("furnace");
320
            lit_furnace = getRegisteredBlock("lit_furnace");
321
            standing_sign = getRegisteredBlock("standing_sign");
322
            oak_door = getRegisteredBlock("wooden_door");
323
            spruce_door = getRegisteredBlock("spruce_door");
324
            birch_door = getRegisteredBlock("birch_door");
325
            jungle_door = getRegisteredBlock("jungle_door");
326
            acacia_door = getRegisteredBlock("acacia_door");
327
            dark_oak_door = getRegisteredBlock("dark_oak_door");
328
            ladder = getRegisteredBlock("ladder");
329
            rail = getRegisteredBlock("rail");
330
            stone_stairs = getRegisteredBlock("stone_stairs");
331
            wall_sign = getRegisteredBlock("wall_sign");
332
            lever = getRegisteredBlock("lever");
333
            stone_pressure_plate = getRegisteredBlock("stone_pressure_plate");
334
            iron_door = getRegisteredBlock("iron_door");
335
            wooden_pressure_plate = getRegisteredBlock("wooden_pressure_plate");
336
            redstone_ore = getRegisteredBlock("redstone_ore");
337
            lit_redstone_ore = getRegisteredBlock("lit_redstone_ore");
338
            unlit_redstone_torch = getRegisteredBlock("unlit_redstone_torch");
339
            redstone_torch = getRegisteredBlock("redstone_torch");
340
            stone_button = getRegisteredBlock("stone_button");
341
            snow_layer = getRegisteredBlock("snow_layer");
342
            ice = getRegisteredBlock("ice");
343
            snow = getRegisteredBlock("snow");
344
            cactus = (BlockCactus)getRegisteredBlock("cactus");
345
            clay = getRegisteredBlock("clay");
346
            reeds = (BlockReed)getRegisteredBlock("reeds");
347
            jukebox = getRegisteredBlock("jukebox");
348
            oak_fence = getRegisteredBlock("fence");
349
            spruce_fence = getRegisteredBlock("spruce_fence");
350
            birch_fence = getRegisteredBlock("birch_fence");
351
            jungle_fence = getRegisteredBlock("jungle_fence");
352
            dark_oak_fence = getRegisteredBlock("dark_oak_fence");
353
            acacia_fence = getRegisteredBlock("acacia_fence");
354
            pumpkin = getRegisteredBlock("pumpkin");
355
            netherrack = getRegisteredBlock("netherrack");
356
            soul_sand = getRegisteredBlock("soul_sand");
357
            glowstone = getRegisteredBlock("glowstone");
358
            portal = (BlockPortal)getRegisteredBlock("portal");
359
            lit_pumpkin = getRegisteredBlock("lit_pumpkin");
360
            cake = getRegisteredBlock("cake");
361
            unpowered_repeater = (BlockRedstoneRepeater)getRegisteredBlock("unpowered_repeater");
362
            powered_repeater = (BlockRedstoneRepeater)getRegisteredBlock("powered_repeater");
363
            trapdoor = getRegisteredBlock("trapdoor");
364
            monster_egg = getRegisteredBlock("monster_egg");
365
            stonebrick = getRegisteredBlock("stonebrick");
366
            brown_mushroom_block = getRegisteredBlock("brown_mushroom_block");
367
            red_mushroom_block = getRegisteredBlock("red_mushroom_block");
368
            iron_bars = getRegisteredBlock("iron_bars");
369
            glass_pane = getRegisteredBlock("glass_pane");
370
            melon_block = getRegisteredBlock("melon_block");
371
            pumpkin_stem = getRegisteredBlock("pumpkin_stem");
372
            melon_stem = getRegisteredBlock("melon_stem");
373
            vine = getRegisteredBlock("vine");
374
            oak_fence_gate = getRegisteredBlock("fence_gate");
375
            spruce_fence_gate = getRegisteredBlock("spruce_fence_gate");
376
            birch_fence_gate = getRegisteredBlock("birch_fence_gate");
377
            jungle_fence_gate = getRegisteredBlock("jungle_fence_gate");
378
            dark_oak_fence_gate = getRegisteredBlock("dark_oak_fence_gate");
379
            acacia_fence_gate = getRegisteredBlock("acacia_fence_gate");
380
            brick_stairs = getRegisteredBlock("brick_stairs");
381
            stone_brick_stairs = getRegisteredBlock("stone_brick_stairs");
382
            mycelium = (BlockMycelium)getRegisteredBlock("mycelium");
383
            waterlily = getRegisteredBlock("waterlily");
384
            nether_brick = getRegisteredBlock("nether_brick");
385
            nether_brick_fence = getRegisteredBlock("nether_brick_fence");
386
            nether_brick_stairs = getRegisteredBlock("nether_brick_stairs");
387
            nether_wart = getRegisteredBlock("nether_wart");
388
            enchanting_table = getRegisteredBlock("enchanting_table");
389
            brewing_stand = getRegisteredBlock("brewing_stand");
390
            cauldron = (BlockCauldron)getRegisteredBlock("cauldron");
391
            end_portal = getRegisteredBlock("end_portal");
392
            end_portal_frame = getRegisteredBlock("end_portal_frame");
393
            end_stone = getRegisteredBlock("end_stone");
394
            dragon_egg = getRegisteredBlock("dragon_egg");
395
            redstone_lamp = getRegisteredBlock("redstone_lamp");
396
            lit_redstone_lamp = getRegisteredBlock("lit_redstone_lamp");
397
            double_wooden_slab = (BlockSlab)getRegisteredBlock("double_wooden_slab");
398
            wooden_slab = (BlockSlab)getRegisteredBlock("wooden_slab");
399
            cocoa = getRegisteredBlock("cocoa");
400
            sandstone_stairs = getRegisteredBlock("sandstone_stairs");
401
            emerald_ore = getRegisteredBlock("emerald_ore");
402
            ender_chest = getRegisteredBlock("ender_chest");
403
            tripwire_hook = (BlockTripWireHook)getRegisteredBlock("tripwire_hook");
404
            tripwire = getRegisteredBlock("tripwire");
405
            emerald_block = getRegisteredBlock("emerald_block");
406
            spruce_stairs = getRegisteredBlock("spruce_stairs");
407
            birch_stairs = getRegisteredBlock("birch_stairs");
408
            jungle_stairs = getRegisteredBlock("jungle_stairs");
409
            command_block = getRegisteredBlock("command_block");
410
            beacon = (BlockBeacon)getRegisteredBlock("beacon");
411
            cobblestone_wall = getRegisteredBlock("cobblestone_wall");
412
            flower_pot = getRegisteredBlock("flower_pot");
413
            carrots = getRegisteredBlock("carrots");
414
            potatoes = getRegisteredBlock("potatoes");
415
            wooden_button = getRegisteredBlock("wooden_button");
416
            skull = (BlockSkull)getRegisteredBlock("skull");
417
            anvil = getRegisteredBlock("anvil");
418
            trapped_chest = getRegisteredBlock("trapped_chest");
419
            light_weighted_pressure_plate = getRegisteredBlock("light_weighted_pressure_plate");
420
            heavy_weighted_pressure_plate = getRegisteredBlock("heavy_weighted_pressure_plate");
421
            unpowered_comparator = (BlockRedstoneComparator)getRegisteredBlock("unpowered_comparator");
422
            powered_comparator = (BlockRedstoneComparator)getRegisteredBlock("powered_comparator");
423
            daylight_detector = (BlockDaylightDetector)getRegisteredBlock("daylight_detector");
424
            daylight_detector_inverted = (BlockDaylightDetector)getRegisteredBlock("daylight_detector_inverted");
425
            redstone_block = getRegisteredBlock("redstone_block");
426
            quartz_ore = getRegisteredBlock("quartz_ore");
427
            hopper = (BlockHopper)getRegisteredBlock("hopper");
428
            quartz_block = getRegisteredBlock("quartz_block");
429
            quartz_stairs = getRegisteredBlock("quartz_stairs");
430
            activator_rail = getRegisteredBlock("activator_rail");
431
            dropper = getRegisteredBlock("dropper");
432
            stained_hardened_clay = getRegisteredBlock("stained_hardened_clay");
433
            barrier = getRegisteredBlock("barrier");
434
            iron_trapdoor = getRegisteredBlock("iron_trapdoor");
435
            hay_block = getRegisteredBlock("hay_block");
436
            carpet = getRegisteredBlock("carpet");
437
            hardened_clay = getRegisteredBlock("hardened_clay");
438
            coal_block = getRegisteredBlock("coal_block");
439
            packed_ice = getRegisteredBlock("packed_ice");
440
            acacia_stairs = getRegisteredBlock("acacia_stairs");
441
            dark_oak_stairs = getRegisteredBlock("dark_oak_stairs");
442
            slime_block = getRegisteredBlock("slime");
443
            double_plant = (BlockDoublePlant)getRegisteredBlock("double_plant");
444
            stained_glass = (BlockStainedGlass)getRegisteredBlock("stained_glass");
445
            stained_glass_pane = (BlockStainedGlassPane)getRegisteredBlock("stained_glass_pane");
446
            prismarine = getRegisteredBlock("prismarine");
447
            sea_lantern = getRegisteredBlock("sea_lantern");
448
            standing_banner = getRegisteredBlock("standing_banner");
449
            wall_banner = getRegisteredBlock("wall_banner");
450
            red_sandstone = getRegisteredBlock("red_sandstone");
451
            red_sandstone_stairs = getRegisteredBlock("red_sandstone_stairs");
452
            double_stone_slab2 = (BlockSlab)getRegisteredBlock("double_stone_slab2");
453
            stone_slab2 = (BlockSlab)getRegisteredBlock("stone_slab2");
454
        }
455
    }
456
}
457

Deobfuscated MCP 1.8.9 source of Blocks from Marcelektro/MavenMCP-1.8.9 (net/minecraft/init/Blocks.java), stored verbatim.