mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 04:09:57 +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,27 +7,28 @@ import noppes.npcs.CustomItems;
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
public class ItemNpcWeaponInterface extends ItemSword implements ItemRenderInterface{
|
||||
public class ItemNpcWeaponInterface extends ItemSword implements ItemRenderInterface {
|
||||
|
||||
|
||||
public ItemNpcWeaponInterface(int par1, ToolMaterial material) {
|
||||
this(material);
|
||||
}
|
||||
public ItemNpcWeaponInterface(ToolMaterial material) {
|
||||
super(material);
|
||||
setCreativeTab(CustomItems.tab);
|
||||
CustomNpcs.proxy.registerItem(this);
|
||||
setCreativeTab(CustomItems.tabWeapon);
|
||||
}
|
||||
|
||||
public void renderSpecial(){
|
||||
GL11.glScalef(0.66f, 0.66f,0.66f);
|
||||
|
||||
public ItemNpcWeaponInterface(int par1, ToolMaterial material) {
|
||||
this(material);
|
||||
}
|
||||
|
||||
public ItemNpcWeaponInterface(ToolMaterial material) {
|
||||
super(material);
|
||||
setCreativeTab(CustomItems.tab);
|
||||
CustomNpcs.proxy.registerItem(this);
|
||||
setCreativeTab(CustomItems.tabWeapon);
|
||||
}
|
||||
|
||||
public void renderSpecial() {
|
||||
GL11.glScalef(0.66f, 0.66f, 0.66f);
|
||||
GL11.glTranslatef(0.16f, 0.26f, 0.06f);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Item setUnlocalizedName(String name){
|
||||
GameRegistry.registerItem(this, name);
|
||||
return super.setUnlocalizedName(name);
|
||||
public Item setUnlocalizedName(String name) {
|
||||
GameRegistry.registerItem(this, name);
|
||||
return super.setUnlocalizedName(name);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user