mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Removed calls of addRenderVariant, because apparently it didn't change anything
This commit is contained in:
parent
96c9e1895c
commit
e693486544
8 changed files with 0 additions and 25 deletions
|
@ -56,7 +56,6 @@ public class ItemAllToolAA extends ItemToolAA implements IColorProvidingItem{
|
|||
protected void registerRendering(){
|
||||
ResourceLocation resLoc = new ResourceLocation(ModUtil.MOD_ID, "itemPaxel");
|
||||
ActuallyAdditions.proxy.addRenderRegister(new ItemStack(this), new ModelResourceLocation(resLoc, "inventory"));
|
||||
ActuallyAdditions.proxy.addRenderVariant(this, resLoc);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -58,12 +58,9 @@ public class ItemCrystal extends ItemBase{
|
|||
|
||||
@Override
|
||||
protected void registerRendering(){
|
||||
ResourceLocation[] resLocs = new ResourceLocation[BlockCrystal.allCrystals.length];
|
||||
for(int i = 0; i < BlockCrystal.allCrystals.length; i++){
|
||||
String name = this.getRegistryName()+BlockCrystal.allCrystals[i].name;
|
||||
resLocs[i] = new ResourceLocation(name);
|
||||
ActuallyAdditions.proxy.addRenderRegister(new ItemStack(this, 1, i), new ModelResourceLocation(name, "inventory"));
|
||||
}
|
||||
ActuallyAdditions.proxy.addRenderVariant(this, resLocs);
|
||||
}
|
||||
}
|
|
@ -335,13 +335,10 @@ public class ItemDrill extends ItemEnergy{
|
|||
|
||||
@Override
|
||||
protected void registerRendering(){
|
||||
ResourceLocation[] resLocs = new ResourceLocation[16];
|
||||
for(int i = 0; i < 16; i++){
|
||||
String name = this.getRegistryName()+TheColoredLampColors.values()[i].name;
|
||||
resLocs[i] = new ResourceLocation(name);
|
||||
ActuallyAdditions.proxy.addRenderRegister(new ItemStack(this, 1, i), new ModelResourceLocation(name, "inventory"));
|
||||
}
|
||||
ActuallyAdditions.proxy.addRenderVariant(this, resLocs);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -102,12 +102,9 @@ public class ItemFoods extends ItemFoodBase{
|
|||
|
||||
@Override
|
||||
protected void registerRendering(){
|
||||
ResourceLocation[] resLocs = new ResourceLocation[allFoods.length];
|
||||
for(int i = 0; i < allFoods.length; i++){
|
||||
String name = this.getRegistryName()+allFoods[i].name;
|
||||
resLocs[i] = new ResourceLocation(name);
|
||||
ActuallyAdditions.proxy.addRenderRegister(new ItemStack(this, 1, i), new ModelResourceLocation(name, "inventory"));
|
||||
}
|
||||
ActuallyAdditions.proxy.addRenderVariant(this, resLocs);
|
||||
}
|
||||
}
|
|
@ -59,12 +59,9 @@ public class ItemMisc extends ItemBase{
|
|||
|
||||
@Override
|
||||
protected void registerRendering(){
|
||||
ResourceLocation[] resLocs = new ResourceLocation[allMiscItems.length];
|
||||
for(int i = 0; i < allMiscItems.length; i++){
|
||||
String name = this.getRegistryName()+allMiscItems[i].name;
|
||||
resLocs[i] = new ResourceLocation(name);
|
||||
ActuallyAdditions.proxy.addRenderRegister(new ItemStack(this, 1, i), new ModelResourceLocation(name, "inventory"));
|
||||
}
|
||||
ActuallyAdditions.proxy.addRenderVariant(this, resLocs);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -164,11 +164,6 @@ public class ClientProxy implements IProxy{
|
|||
modelLocationsForRegistering.put(stack, location);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addRenderVariant(Item item, ResourceLocation... location){
|
||||
modelVariantsForRegistering.put(item, location);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addColoredItem(Item item){
|
||||
colorProdividingItemsForRegistering.add(item);
|
||||
|
|
|
@ -28,7 +28,5 @@ public interface IProxy{
|
|||
|
||||
void addRenderRegister(ItemStack stack, ModelResourceLocation location);
|
||||
|
||||
void addRenderVariant(Item item, ResourceLocation... location);
|
||||
|
||||
void addColoredItem(Item item);
|
||||
}
|
||||
|
|
|
@ -42,11 +42,6 @@ public class ServerProxy implements IProxy{
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addRenderVariant(Item item, ResourceLocation... location){
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addColoredItem(Item item){
|
||||
|
||||
|
|
Loading…
Reference in a new issue