mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 21:20:04 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
250edf099c
commit
6815f579a7
1192 files changed
+60344
-62167
No files matched your search
@@ -7,22 +7,21 @@ import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
||||
public class ItemPlaceholder extends ItemBlock{
|
||||
public class ItemPlaceholder extends ItemBlock {
|
||||
|
||||
public ItemPlaceholder(Block p_i45328_1_) {
|
||||
super(p_i45328_1_);
|
||||
setHasSubtypes(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack par1ItemStack){
|
||||
public ItemPlaceholder(Block p_i45328_1_) {
|
||||
super(p_i45328_1_);
|
||||
setHasSubtypes(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack par1ItemStack) {
|
||||
return super.getUnlocalizedName(par1ItemStack) + "_" + par1ItemStack.getItemDamage();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIconFromDamage(int par1)
|
||||
{
|
||||
public IIcon getIconFromDamage(int par1) {
|
||||
return this.field_150939_a.getIcon(0, par1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user