All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minecraft.server.ItemCloth Maven / Gradle / Ivy

package net.minecraft.server;

public class ItemCloth extends ItemBlock {
	
	public ItemCloth(Block block) {
		super(block);
		this.setMaxDurability(0);
		this.a(true);
	}
	
	public int filterData(int i) {
		return i;
	}
	
	public String e_(ItemStack itemstack) {
		return super.getName() + "." + EnumColor.fromColorIndex(itemstack.getData()).d();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy