Changed TEBelljar to TEBellJar
This commit is contained in:
parent
d4a2bff7c2
commit
d5dc5bf328
7 changed files with 21 additions and 21 deletions
|
@ -256,7 +256,7 @@ import WayofTime.alchemicalWizardry.common.summoning.meteor.MeteorRegistry;
|
||||||
import WayofTime.alchemicalWizardry.common.thread.CommandDownloadGAPI;
|
import WayofTime.alchemicalWizardry.common.thread.CommandDownloadGAPI;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEConduit;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEConduit;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TECrucible;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TECrucible;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEHomHeart;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEHomHeart;
|
||||||
|
@ -855,7 +855,7 @@ public class AlchemicalWizardry
|
||||||
GameRegistry.registerTileEntity(TESchematicSaver.class, "containerSchematicSaver");
|
GameRegistry.registerTileEntity(TESchematicSaver.class, "containerSchematicSaver");
|
||||||
GameRegistry.registerTileEntity(TESpectralBlock.class, "containerSpectralBlock");
|
GameRegistry.registerTileEntity(TESpectralBlock.class, "containerSpectralBlock");
|
||||||
GameRegistry.registerTileEntity(TEReagentConduit.class, "containerReagentConduit");
|
GameRegistry.registerTileEntity(TEReagentConduit.class, "containerReagentConduit");
|
||||||
GameRegistry.registerTileEntity(TEBelljar.class, "containerBellJar");
|
GameRegistry.registerTileEntity(TEBellJar.class, "containerBellJar");
|
||||||
GameRegistry.registerTileEntity(TEAlchemicCalcinator.class, "containerAlchemicCalcinator");
|
GameRegistry.registerTileEntity(TEAlchemicCalcinator.class, "containerAlchemicCalcinator");
|
||||||
GameRegistry.registerTileEntity(TEDemonChest.class, "containerDemonChest");
|
GameRegistry.registerTileEntity(TEDemonChest.class, "containerDemonChest");
|
||||||
GameRegistry.registerTileEntity(TEMimicBlock.class, "containerMimic");
|
GameRegistry.registerTileEntity(TEMimicBlock.class, "containerMimic");
|
||||||
|
|
|
@ -87,7 +87,7 @@ import WayofTime.alchemicalWizardry.common.renderer.projectile.RenderMeteor;
|
||||||
import WayofTime.alchemicalWizardry.common.thread.GAPIChecker;
|
import WayofTime.alchemicalWizardry.common.thread.GAPIChecker;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEAlchemicCalcinator;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEConduit;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEConduit;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEPedestal;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEPedestal;
|
||||||
|
@ -164,7 +164,7 @@ public class ClientProxy extends CommonProxy
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEMasterStone.class, new RenderMasterStone());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEMasterStone.class, new RenderMasterStone());
|
||||||
}
|
}
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEAlchemicCalcinator.class, new RenderAlchemicCalcinator());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEAlchemicCalcinator.class, new RenderAlchemicCalcinator());
|
||||||
ClientRegistry.bindTileEntitySpecialRenderer(TEBelljar.class, new RenderCrystalBelljar());
|
ClientRegistry.bindTileEntitySpecialRenderer(TEBellJar.class, new RenderCrystalBelljar());
|
||||||
|
|
||||||
//Item Renderer stuff
|
//Item Renderer stuff
|
||||||
MinecraftForgeClient.registerItemRenderer(ItemBlock.getItemFromBlock(ModBlocks.blockConduit), new TEConduitItemRenderer());
|
MinecraftForgeClient.registerItemRenderer(ItemBlock.getItemFromBlock(ModBlocks.blockConduit), new TEConduitItemRenderer());
|
||||||
|
|
|
@ -19,7 +19,7 @@ import WayofTime.alchemicalWizardry.ModBlocks;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainer;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainer;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentRegistry;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentRegistry;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
|
@ -77,12 +77,12 @@ public class BlockBelljar extends BlockContainer
|
||||||
{
|
{
|
||||||
TileEntity tile = world.getTileEntity(x, y, z);
|
TileEntity tile = world.getTileEntity(x, y, z);
|
||||||
|
|
||||||
if (tile instanceof TEBelljar)
|
if (tile instanceof TEBellJar)
|
||||||
{
|
{
|
||||||
NBTTagCompound tag = stack.getTagCompound();
|
NBTTagCompound tag = stack.getTagCompound();
|
||||||
if (tag != null)
|
if (tag != null)
|
||||||
{
|
{
|
||||||
((TEBelljar) tile).readTankNBTOnPlace(tag);
|
((TEBellJar) tile).readTankNBTOnPlace(tag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@ public class BlockBelljar extends BlockContainer
|
||||||
@Override
|
@Override
|
||||||
public TileEntity createNewTileEntity(World world, int meta)
|
public TileEntity createNewTileEntity(World world, int meta)
|
||||||
{
|
{
|
||||||
return new TEBelljar();
|
return new TEBellJar();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -127,9 +127,9 @@ public class BlockBelljar extends BlockContainer
|
||||||
public int getComparatorInputOverride(World world, int x, int y, int z, int meta)
|
public int getComparatorInputOverride(World world, int x, int y, int z, int meta)
|
||||||
{
|
{
|
||||||
TileEntity tile = world.getTileEntity(x, y, z);
|
TileEntity tile = world.getTileEntity(x, y, z);
|
||||||
if (tile instanceof TEBelljar)
|
if (tile instanceof TEBellJar)
|
||||||
{
|
{
|
||||||
return ((TEBelljar) tile).getRSPowerOutput();
|
return ((TEBellJar) tile).getRSPowerOutput();
|
||||||
}
|
}
|
||||||
return 15;
|
return 15;
|
||||||
}
|
}
|
||||||
|
@ -148,11 +148,11 @@ public class BlockBelljar extends BlockContainer
|
||||||
|
|
||||||
TileEntity tile = world.getTileEntity(x, y, z);
|
TileEntity tile = world.getTileEntity(x, y, z);
|
||||||
|
|
||||||
if (tile instanceof TEBelljar)
|
if (tile instanceof TEBellJar)
|
||||||
{
|
{
|
||||||
ItemStack drop = new ItemStack(this);
|
ItemStack drop = new ItemStack(this);
|
||||||
NBTTagCompound tag = new NBTTagCompound();
|
NBTTagCompound tag = new NBTTagCompound();
|
||||||
((TEBelljar) tile).writeTankNBT(tag);
|
((TEBellJar) tile).writeTankNBT(tag);
|
||||||
drop.setTagCompound(tag);
|
drop.setTagCompound(tag);
|
||||||
|
|
||||||
list.add(drop);
|
list.add(drop);
|
||||||
|
|
|
@ -4,7 +4,7 @@ import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainerInfo;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainerInfo;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentStack;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentStack;
|
||||||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelCrystalBelljar;
|
import WayofTime.alchemicalWizardry.common.renderer.model.ModelCrystalBelljar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
import cpw.mods.fml.client.FMLClientHandler;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||||
|
@ -24,9 +24,9 @@ public class RenderCrystalBelljar extends TileEntitySpecialRenderer
|
||||||
@Override
|
@Override
|
||||||
public void renderTileEntityAt(TileEntity tileEntity, double d0, double d1, double d2, float f)
|
public void renderTileEntityAt(TileEntity tileEntity, double d0, double d1, double d2, float f)
|
||||||
{
|
{
|
||||||
if (tileEntity instanceof TEBelljar)
|
if (tileEntity instanceof TEBellJar)
|
||||||
{
|
{
|
||||||
TEBelljar tileAltar = (TEBelljar) tileEntity;
|
TEBellJar tileAltar = (TEBellJar) tileEntity;
|
||||||
GL11.glPushMatrix();
|
GL11.glPushMatrix();
|
||||||
GL11.glTranslatef((float) d0 + 0.5F, (float) d1 + 1.5F, (float) d2 + 0.5F);
|
GL11.glTranslatef((float) d0 + 0.5F, (float) d1 + 1.5F, (float) d2 + 0.5F);
|
||||||
ResourceLocation test = new ResourceLocation("alchemicalwizardry:textures/models/CrystalBelljar.png");
|
ResourceLocation test = new ResourceLocation("alchemicalwizardry:textures/models/CrystalBelljar.png");
|
||||||
|
|
|
@ -14,7 +14,7 @@ import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainerInfo;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainerInfo;
|
||||||
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentStack;
|
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentStack;
|
||||||
import WayofTime.alchemicalWizardry.common.renderer.model.ModelCrystalBelljar;
|
import WayofTime.alchemicalWizardry.common.renderer.model.ModelCrystalBelljar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
import cpw.mods.fml.client.FMLClientHandler;
|
||||||
|
|
||||||
public class TEBellJarItemRenderer implements IItemRenderer
|
public class TEBellJarItemRenderer implements IItemRenderer
|
||||||
|
@ -35,7 +35,7 @@ public class TEBellJarItemRenderer implements IItemRenderer
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
|
|
||||||
ReagentContainerInfo[] info = TEBelljar.getContainerInfoFromItem(item);
|
ReagentContainerInfo[] info = TEBellJar.getContainerInfoFromItem(item);
|
||||||
if (info.length >= 1 && info[0] != null)
|
if (info.length >= 1 && info[0] != null)
|
||||||
{
|
{
|
||||||
ReagentStack reagentStack = info[0].reagent;
|
ReagentStack reagentStack = info[0].reagent;
|
||||||
|
|
|
@ -21,7 +21,7 @@ import WayofTime.alchemicalWizardry.api.rituals.RitualEffect;
|
||||||
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
||||||
import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.TEDemonPortal;
|
import WayofTime.alchemicalWizardry.common.demonVillage.tileEntity.TEDemonPortal;
|
||||||
import WayofTime.alchemicalWizardry.api.tile.IBloodAltar;
|
import WayofTime.alchemicalWizardry.api.tile.IBloodAltar;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
|
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
|
||||||
|
|
||||||
public class RitualEffectDemonPortal extends RitualEffect
|
public class RitualEffectDemonPortal extends RitualEffect
|
||||||
{
|
{
|
||||||
|
@ -139,7 +139,7 @@ public class RitualEffectDemonPortal extends RitualEffect
|
||||||
|
|
||||||
for(Int3 pos : jarLocations)
|
for(Int3 pos : jarLocations)
|
||||||
{
|
{
|
||||||
if(!(ritualStone.getWorld().getTileEntity(x + pos.xCoord, y + pos.yCoord, z + pos.zCoord) instanceof TEBelljar))
|
if(!(ritualStone.getWorld().getTileEntity(x + pos.xCoord, y + pos.yCoord, z + pos.zCoord) instanceof TEBellJar))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +11,9 @@ import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraft.nbt.NBTTagList;
|
import net.minecraft.nbt.NBTTagList;
|
||||||
import net.minecraftforge.common.util.Constants;
|
import net.minecraftforge.common.util.Constants;
|
||||||
|
|
||||||
public class TEBelljar extends TEReagentConduit
|
public class TEBellJar extends TEReagentConduit
|
||||||
{
|
{
|
||||||
public TEBelljar()
|
public TEBellJar()
|
||||||
{
|
{
|
||||||
super(1, 16000);
|
super(1, 16000);
|
||||||
this.maxConnextions = 1;
|
this.maxConnextions = 1;
|
Loading…
Add table
Add a link
Reference in a new issue