Example #1
0
    static {
      BlockTallGrass.EnumType[] var0 = values();
      int var1 = var0.length;

      for (int var2 = 0; var2 < var1; ++var2) {
        BlockTallGrass.EnumType var3 = var0[var2];
        field_177048_d[var3.func_177044_a()] = var3;
      }
    }
Example #2
0
 /** Convert the given metadata into a BlockState for this Block */
 public IBlockState getStateFromMeta(int meta) {
   return this.getDefaultState()
       .withProperty(field_176497_a, BlockTallGrass.EnumType.func_177045_a(meta));
 }