// Path: scripting/wrapper/world/ScriptBlock.java
// public class ScriptBlock {
// 	
// 	public final Block block;
// 	public int blockData;
// 	
// 	private ScriptBlock(Block b) {
// 		this(b, 0);
// 	}
// 	
// 	private ScriptBlock(Block block, int blockData) {
// 		this.block = block;
// 		this.blockData = blockData;
// 	}
// 	
// 	public String getBlockName() {
// 		return Block.blockRegistry.getNameForObject(block);
// 	}
// 	
// 	public boolean equalsIgnoreMetadata(ScriptBlock otherBlock) {
// 		return otherBlock != null && this.block == otherBlock.block;
// 	}
// 	
// 	public boolean equals(Object obj) {
// 		if (!(obj instanceof ScriptBlock)) 
// 			return false;
// 		ScriptBlock otherBlock = (ScriptBlock)obj;
// 		return otherBlock != null && this.block == otherBlock.block && this.blockData == otherBlock.blockData;
// 	}
// 	
// 	public static ScriptBlock atLocation(World world, int x, int y, int z) {
// 		Block b = world.getBlock(x, y, z);
// 		return (b == null) ? null : new ScriptBlock(b, world.getBlockMetadata(x, y, z));
// 	}
// 	
// 	public static ScriptBlock forName(String name) {
// 		return fromBlock(Block.getBlockFromName(name));
// 	}
// 	
// 	public static ScriptBlock fromBlock(Block b) {
// 		return (b == null) ? null : new ScriptBlock(b);
// 	}
// 	
// 	public static ScriptBlock fromBlock(Block b, int data) {
// 		return (b == null) ? null : new ScriptBlock(b, data);
// 	}
// }


import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.block.Block;
import scripting.wrapper.world.ScriptBlock;
package scripting.wrapper.settings;



public class SettingBlock extends Setting {
	
	public int blockID;
	public int blockData;
	
	protected SettingBlock() { }

	/**
	 * 
	 * @param display Name of this setting
	 * @deprecated As of v1.1.0, block IDs are deprecated. Do NOT rely on them. Use {@link SettingBlock#SettingBlock(String, ScriptBlock)} instead.
	 */
	@Deprecated
	public SettingBlock(String display) {
		this(display, 0, 0);
	}
	
	/**
	 * 
	 * @param display Name of this setting
	 * @deprecated As of v1.1.0, block IDs are deprecated. Do NOT rely on them. Use {@link SettingBlock#SettingBlock(String, ScriptBlock)} instead.
	 */
	@Deprecated 
	public SettingBlock(String display, int blockID) {
		this(display, blockID, 0);
	}
	
	/**
	 * 
	 * @param display Name of this setting
	 * @deprecated As of v1.1.0, block IDs are deprecated. Do NOT rely on them. Use {@link SettingBlock#SettingBlock(String, ScriptBlock, int)} instead.
	 */
	@Deprecated 
	public SettingBlock(String display, int blockID, int blockData) {
		super(display);
		
		this.blockID = blockID;
		this.blockData = blockData;
	}
	
// Path: scripting/wrapper/world/ScriptBlock.java
// public class ScriptBlock {
// 	
// 	public final Block block;
// 	public int blockData;
// 	
// 	private ScriptBlock(Block b) {
// 		this(b, 0);
// 	}
// 	
// 	private ScriptBlock(Block block, int blockData) {
// 		this.block = block;
// 		this.blockData = blockData;
// 	}
// 	
// 	public String getBlockName() {
// 		return Block.blockRegistry.getNameForObject(block);
// 	}
// 	
// 	public boolean equalsIgnoreMetadata(ScriptBlock otherBlock) {
// 		return otherBlock != null && this.block == otherBlock.block;
// 	}
// 	
// 	public boolean equals(Object obj) {
// 		if (!(obj instanceof ScriptBlock)) 
// 			return false;
// 		ScriptBlock otherBlock = (ScriptBlock)obj;
// 		return otherBlock != null && this.block == otherBlock.block && this.blockData == otherBlock.blockData;
// 	}
// 	
// 	public static ScriptBlock atLocation(World world, int x, int y, int z) {
// 		Block b = world.getBlock(x, y, z);
// 		return (b == null) ? null : new ScriptBlock(b, world.getBlockMetadata(x, y, z));
// 	}
// 	
// 	public static ScriptBlock forName(String name) {
// 		return fromBlock(Block.getBlockFromName(name));
// 	}
// 	
// 	public static ScriptBlock fromBlock(Block b) {
// 		return (b == null) ? null : new ScriptBlock(b);
// 	}
// 	
// 	public static ScriptBlock fromBlock(Block b, int data) {
// 		return (b == null) ? null : new ScriptBlock(b, data);
// 	}
// }


// Path: scripting/wrapper/settings/SettingBlock.java
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.block.Block;
import scripting.wrapper.world.ScriptBlock;

package scripting.wrapper.settings;



public class SettingBlock extends Setting {
	
	public int blockID;
	public int blockData;
	
	protected SettingBlock() { }

	/**
	 * 
	 * @param display Name of this setting
	 * @deprecated As of v1.1.0, block IDs are deprecated. Do NOT rely on them. Use {@link SettingBlock#SettingBlock(String, ScriptBlock)} instead.
	 */
	@Deprecated
	public SettingBlock(String display) {
		this(display, 0, 0);
	}
	
	/**
	 * 
	 * @param display Name of this setting
	 * @deprecated As of v1.1.0, block IDs are deprecated. Do NOT rely on them. Use {@link SettingBlock#SettingBlock(String, ScriptBlock)} instead.
	 */
	@Deprecated 
	public SettingBlock(String display, int blockID) {
		this(display, blockID, 0);
	}
	
	/**
	 * 
	 * @param display Name of this setting
	 * @deprecated As of v1.1.0, block IDs are deprecated. Do NOT rely on them. Use {@link SettingBlock#SettingBlock(String, ScriptBlock, int)} instead.
	 */
	@Deprecated 
	public SettingBlock(String display, int blockID, int blockData) {
		super(display);
		
		this.blockID = blockID;
		this.blockData = blockData;
	}
	
	public SettingBlock(String display, ScriptBlock block) {