// Path: src/main/java/net/boatcake/MyWorldGen/blocks/BlockAnchorMaterial.java
// public enum AnchorType implements IStringSerializable {
// 	GROUND(0, "ground", null), AIR(1, "air", null), STONE(2, "stone", Material.rock), WATER(3, "water",
// 			Material.water), LAVA(4, "lava", Material.lava), DIRT(5, "dirt", Material.ground), WOOD(6, "wood",
// 					Material.wood), LEAVES(7, "leaves", Material.leaves), SAND(8, "sand", Material.sand);
// 
// 	public static AnchorType get(int id) {
// 		for (AnchorType a : AnchorType.values()) {
// 			if (a.id == id) {
// 				return a;
// 			}
// 		}
// 		return null;
// 	}
// 
// 	public final int id;
// 	public final Material material;
// 	public final String name;
// 
// 	private AnchorType(int id, String name, Material mat) {
// 		this.id = id;
// 		this.name = name;
// 		this.material = mat;
// 	}
// 
// 	@Override
// 	public String getName() {
// 		return name;
// 	}
// }


import net.boatcake.MyWorldGen.blocks.BlockAnchorMaterial.AnchorType;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
package net.boatcake.MyWorldGen.blocks;


public class BlockPlacementMaterialAnchor extends BlockPlacementLogic {

	public BlockPlacementMaterialAnchor(String blockName) {
		super(blockName);
	}

	@Override
	public void affectWorld(int myMeta, TileEntity myTileEntity, World world, BlockPos pos, boolean matchTerrain) {
		if (matchTerrain) {
// Path: src/main/java/net/boatcake/MyWorldGen/blocks/BlockAnchorMaterial.java
// public enum AnchorType implements IStringSerializable {
// 	GROUND(0, "ground", null), AIR(1, "air", null), STONE(2, "stone", Material.rock), WATER(3, "water",
// 			Material.water), LAVA(4, "lava", Material.lava), DIRT(5, "dirt", Material.ground), WOOD(6, "wood",
// 					Material.wood), LEAVES(7, "leaves", Material.leaves), SAND(8, "sand", Material.sand);
// 
// 	public static AnchorType get(int id) {
// 		for (AnchorType a : AnchorType.values()) {
// 			if (a.id == id) {
// 				return a;
// 			}
// 		}
// 		return null;
// 	}
// 
// 	public final int id;
// 	public final Material material;
// 	public final String name;
// 
// 	private AnchorType(int id, String name, Material mat) {
// 		this.id = id;
// 		this.name = name;
// 		this.material = mat;
// 	}
// 
// 	@Override
// 	public String getName() {
// 		return name;
// 	}
// }


// Path: src/main/java/net/boatcake/MyWorldGen/blocks/BlockPlacementMaterialAnchor.java
import net.boatcake.MyWorldGen.blocks.BlockAnchorMaterial.AnchorType;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;

package net.boatcake.MyWorldGen.blocks;


public class BlockPlacementMaterialAnchor extends BlockPlacementLogic {

	public BlockPlacementMaterialAnchor(String blockName) {
		super(blockName);
	}

	@Override
	public void affectWorld(int myMeta, TileEntity myTileEntity, World world, BlockPos pos, boolean matchTerrain) {
		if (matchTerrain) {
			switch (AnchorType.get(myMeta)) {