Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement

Who authored this page, so credit can go where due?

Blocks.java

This file is out of date, any chance someone could update it with the current block types?

Actually i have worked it out myself, BUT i cant remember how to do a code block in media wiki!

   public class Blocks 
   {
   	public static final byte air 				= (byte)0;
   	public static final byte rock 				= (byte)1;
   	public static final byte grass 				= (byte)2;
   	public static final byte dirt 				= (byte)3;
   	public static final byte stone 				= (byte)4;
   	public static final byte wood 				= (byte)5;
   	public static final byte shrub 				= (byte)6;
   	public static final byte blackrock 			= (byte)7;
   	public static final byte water 				= (byte)8;
   	public static final byte waterstill 			= (byte)9;
   	public static final byte lava 				= (byte)10;
   	public static final byte lavastill 			= (byte)11;
   	public static final byte sand 				= (byte)12;
   	public static final byte gravel 			= (byte)13;
   	public static final byte goldrock 			= (byte)14;
   	public static final byte iron 				= (byte)15;
   	public static final byte coal 				= (byte)16;
   	public static final byte trunk 				= (byte)17;
   	public static final byte leaf 				= (byte)18;
   	public static final byte sponge 			= (byte)19;
   	public static final byte glass 				= (byte)20;
   	public static final byte red 				= (byte)21;
   	public static final byte orange 			= (byte)22;
   	public static final byte yellow 			= (byte)23;
   	public static final byte lightgreen 			= (byte)24;
   	public static final byte green 				= (byte)25;
   	public static final byte aquagreen 			= (byte)26;
   	public static final byte cyan 				= (byte)27;
   	public static final byte lightblue 			= (byte)28;
   	public static final byte blue 				= (byte)29;
   	public static final byte purple 			= (byte)30;
   	public static final byte lightpurple 			= (byte)31;
   	public static final byte pink 				= (byte)32;
   	public static final byte darkpink 			= (byte)33;
   	public static final byte darkgrey 			= (byte)34;
   	public static final byte lightgrey 			= (byte)35;
   	public static final byte white 				= (byte)36;
   	public static final byte yellowflower 			= (byte)37;
   	public static final byte redflower 			= (byte)38;
   	public static final byte mushroom 			= (byte)39;
   	public static final byte redflowerdotted 		= (byte)40;
   	public static final byte goldsolid 			= (byte)41;
   }

58.104.6.192 04:37, 1 July 2009 (UTC)


Like this?--Quatroking - Row! Row! Fight the power! 06:32, 1 July 2009 (UTC)

Information

Info on how this works would be helpfull.

This information is mostly for people who have knowledge of programming and programming Java in particular since the code is in Java. You use this information by reading and understanding the code, then apply or copy and past the code to your own programming project.

Advertisement