Proper Reformating

This commit is contained in:
Kam committed 2025-03-13 17:14:45 -04:00
1 parent ce75880aba
commit 180d257024
1179 files changed
+59847 -61583

No files matched your search

@@ -4,15 +4,16 @@ import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
public class ItemNpcBlock extends ItemBlock{
public String[] names;
public ItemNpcBlock(Block block) {
super(block);
}
public String getUnlocalizedName(ItemStack par1ItemStack){
if(names != null && par1ItemStack.getItemDamage() < names.length)
return names[par1ItemStack.getItemDamage()];
public class ItemNpcBlock extends ItemBlock {
public String[] names;
public ItemNpcBlock(Block block) {
super(block);
}
public String getUnlocalizedName(ItemStack par1ItemStack) {
if (names != null && par1ItemStack.getItemDamage() < names.length)
return names[par1ItemStack.getItemDamage()];
return this.field_150939_a.getUnlocalizedName();
}
}