Jump to content

Block Holding Liquid?


drok0920

Recommended Posts

Hi,

I have been making a mod and i need one of the blocks in it to hold liquid(custom and vanilla) and i know i have to implement IFluidTank but i dont know what do do from there to get it to both display and store the liquid/liquids(yes i need multiple liquids in the same block).

 

Please help!

Link to comment
Share on other sites

So like this?

 

 

package com.drok0920.alchemy.block.tileentity;

import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidTankInfo;
import net.minecraftforge.fluids.IFluidHandler;

public class TileEntitySmallGlassBeaker extends TileEntity implements IFluidHandler {

@Override
public boolean canDrain(ForgeDirection arg0, Fluid arg1) {
	// TODO Auto-generated method stub
	return false;
}

@Override
public boolean canFill(ForgeDirection arg0, Fluid arg1) {
	// TODO Auto-generated method stub
	return false;
}

@Override
public FluidStack drain(ForgeDirection arg0, FluidStack arg1, boolean arg2) {
	// TODO Auto-generated method stub
	return null;
}

@Override
public FluidStack drain(ForgeDirection arg0, int arg1, boolean arg2) {
	// TODO Auto-generated method stub
	return null;
}

@Override
public int fill(ForgeDirection arg0, FluidStack arg1, boolean arg2) {
	// TODO Auto-generated method stub
	return 0;
}

@Override
public FluidTankInfo[] getTankInfo(ForgeDirection arg0) {
	// TODO Auto-generated method stub
	return null;
}

}

 

 

It doesnt seem to allow me to put liquid into my block.  Am i doing something wrong.  Also i would look at cauldron and similar blocks but for some reason eclipse says there is no source.

Link to comment
Share on other sites

Why not extend TileFluidHandler insteand of implementing IFluidHandler yourself?

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

i dont think you understand what i mean.  I know how to call a method.  But when i use this :

 

public boolean onBlockActivated(World world, int p_149727_2_, int p_149727_3_, int p_149727_4_, EntityPlayer p_149727_5_, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_)
    {
	tileEntity = world.getTileEntity(p_149727_2_, p_149727_3_, p_149727_4_);
        return true;
    }

 

There is no option to use the fill method.  If you could give me an example that would be very helpful.

Link to comment
Share on other sites

Ok so i got it to render but i cant seem to get it to render the amount of liquid in it.  I tried using tank.getCapacity but i get an error when it renders.

 

[spoiler=Render]

package com.drok0920.alchemy.renderer;

import org.lwjgl.opengl.GL11;

import com.drok0920.alchemy.Alchemy;
import com.drok0920.alchemy.block.model.ModelCauldron;
import com.drok0920.alchemy.block.model.ModelSmallGlassBeaker;
import com.drok0920.alchemy.block.tileentity.TileEntitySmallGlassBeaker;
import com.drok0920.alchemy.block.tileentity.TileEntityStoneCauldron;

import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;

public class RenderStoneCauldron extends TileEntitySpecialRenderer {

ResourceLocation texture = new ResourceLocation(Alchemy.MODID + ":" + "textures/models/StoneCauldron.png");
ResourceLocation watertexture = new ResourceLocation(Alchemy.MODID + ":" + "textures/models/water.png");

private ModelCauldron cauldronModel;

public static TileEntityStoneCauldron tileEntity;
public static World world;

private double waterSize = 0.428;
private double waterLevel1 = 0.55;

public RenderStoneCauldron() {

	this.cauldronModel = new ModelCauldron();
}

@Override
public void renderTileEntityAt(TileEntity entity, double x, double y, double z, float f) {
	tileEntity = (TileEntityStoneCauldron) world.getTileEntity(entity.xCoord, entity.yCoord, entity.zCoord);

	GL11.glPushMatrix();
		GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float)z + 0.5F);
		GL11.glRotatef(180, 0F, 0F, 1F);

		this.bindTexture(watertexture);

		Tessellator tes = Tessellator.instance;

	if(tileEntity.tank.getCapacity() > 0) {
	tes.startDrawingQuads();

		tes.addVertexWithUV(-waterSize, waterLevel1, -waterSize, 0, 0);
		tes.addVertexWithUV(waterSize, waterLevel1, -waterSize, 1, 0);
		tes.addVertexWithUV(waterSize, waterLevel1, waterSize, 1, 1);
		tes.addVertexWithUV(-waterSize, waterLevel1, waterSize, 0, 1);

	tes.draw();
	}

		this.bindTexture(texture);
		GL11.glPushMatrix();
			this.cauldronModel.renderModel(0.0625F);

		GL11.glPopMatrix();	
	GL11.glPopMatrix();
}

}

 

[spoiler=TileEntity]

package com.drok0920.alchemy.block.tileentity;

import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidContainerRegistry;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.FluidTank;
import net.minecraftforge.fluids.FluidTankInfo;
import net.minecraftforge.fluids.IFluidHandler;

public class TileEntityStoneCauldron extends TileEntity implements IFluidHandler
{
    public FluidTank tank = new FluidTank(FluidContainerRegistry.BUCKET_VOLUME * 3);
    
    public static int tankCap = 0;
    
    @Override
    public void readFromNBT(NBTTagCompound tag)
    {
        super.readFromNBT(tag);
        tank.readFromNBT(tag);
        
        tankCap = tank.getCapacity();
        
    }

    @Override
    public void writeToNBT(NBTTagCompound tag)
    {
        super.writeToNBT(tag);
        tank.writeToNBT(tag);
    }

@Override
public int fill(ForgeDirection from, FluidStack resource, boolean doFill) {
	// TODO Auto-generated method stub
	return 0;
}

@Override
public FluidStack drain(ForgeDirection from, FluidStack resource,
		boolean doDrain) {
	// TODO Auto-generated method stub
	return null;
}

@Override
public FluidStack drain(ForgeDirection from, int maxDrain, boolean doDrain) {
	// TODO Auto-generated method stub
	return null;
}

@Override
public boolean canFill(ForgeDirection from, Fluid fluid) {
	// TODO Auto-generated method stub
	return false;
}

@Override
public boolean canDrain(ForgeDirection from, Fluid fluid) {
	// TODO Auto-generated method stub
	return false;
}

@Override
public FluidTankInfo[] getTankInfo(ForgeDirection from) {
	// TODO Auto-generated method stub
	return null;
}
}

 

[spoiler=Error][16:56:15] [main/INFO] [GradleStart]: userProperties: {}

[16:56:15] [main/INFO] [GradleStart]: username: drok0920

[16:56:15] [main/INFO] [GradleStart]: accessToken: modstest

[16:56:15] [main/INFO] [GradleStart]: version: 1.7

[16:56:15] [main/INFO] [GradleStart]: Extra: [--tweakClass, cpw.mods.fml.common.launcher.FMLTweaker]

[16:56:15] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --username, drok0920, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Jack_Losi/.gradle/caches/minecraft/assets, --version, 1.7, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]

[16:56:15] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[16:56:15] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[16:56:15] [main/WARN] [LaunchWrapper]: Tweak class name cpw.mods.fml.common.launcher.FMLTweaker has already been visited -- skipping

[16:56:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker

[16:56:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[16:56:15] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading

[16:56:15] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_51, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7

[16:56:15] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[16:56:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker

[16:56:15] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin

[16:56:15] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[16:56:15] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[16:56:15] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[16:56:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[16:56:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[16:56:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[16:56:15] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[16:56:17] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[16:56:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[16:56:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[16:56:17] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

[16:56:17] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

[16:56:17] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[16:56:19] [main/INFO]: Setting user: drok0920

[16:56:20] [Client thread/INFO]: LWJGL Version: 2.9.1

[16:56:21] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[16:56:21] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized

[16:56:21] [Client thread/INFO] [FML]: Replaced 182 ore recipies

[16:56:21] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[16:56:21] [Client thread/INFO] [FML]: Searching C:\Users\Jack_Losi\Desktop\Dev\Eclipse\My Mods\Alchemy\eclipse\mods for mods

[16:56:24] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[16:56:24] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, alchemy] at CLIENT

[16:56:24] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, alchemy] at SERVER

[16:56:25] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Alchemy

[16:56:25] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[16:56:25] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

[16:56:25] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[16:56:25] [Client thread/INFO] [FML]: Applying holder lookups

[16:56:25] [Client thread/INFO] [FML]: Holder lookups applied

[16:56:25] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[16:56:25] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[16:56:25] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[16:56:25] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[16:56:25] [Thread-6/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[16:56:26] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[16:56:26] [sound Library Loader/INFO]: Sound engine started

[16:56:27] [Client thread/ERROR]: Using missing texture, unable to load alchemy:textures/blocks/smallGlassBeaker.png

java.io.FileNotFoundException: alchemy:textures/blocks/smallGlassBeaker.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:582) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

[16:56:27] [Client thread/ERROR]: Using missing texture, unable to load alchemy:textures/blocks/rune_0.png

java.io.FileNotFoundException: alchemy:textures/blocks/rune_0.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:582) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

[16:56:27] [Client thread/ERROR]: Using missing texture, unable to load alchemy:textures/blocks/stoneCauldron.png

java.io.FileNotFoundException: alchemy:textures/blocks/stoneCauldron.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:582) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

[16:56:27] [Client thread/INFO]: Created: 1024x512 textures/blocks-atlas

[16:56:27] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[16:56:28] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[16:56:28] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Alchemy

[16:56:28] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[16:56:28] [Client thread/ERROR]: Using missing texture, unable to load alchemy:textures/blocks/smallGlassBeaker.png

java.io.FileNotFoundException: alchemy:textures/blocks/smallGlassBeaker.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?]

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

[16:56:28] [Client thread/ERROR]: Using missing texture, unable to load alchemy:textures/blocks/rune_0.png

java.io.FileNotFoundException: alchemy:textures/blocks/rune_0.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?]

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

[16:56:28] [Client thread/ERROR]: Using missing texture, unable to load alchemy:textures/blocks/stoneCauldron.png

java.io.FileNotFoundException: alchemy:textures/blocks/stoneCauldron.png

at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?]

at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]

at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?]

at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:643) [Minecraft.class:?]

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:586) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

[16:56:28] [Client thread/INFO]: Created: 1024x512 textures/blocks-atlas

[16:56:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[16:56:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

[16:56:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

[16:56:28] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[16:56:28] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[16:56:28] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

[16:56:29] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

[16:56:29] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[16:56:29] [Thread-8/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

[16:56:29] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

[16:56:29] [sound Library Loader/INFO]: Sound engine started

[16:56:34] [server thread/INFO]: Starting integrated minecraft server version 1.7.10

[16:56:34] [server thread/INFO]: Generating keypair

[16:56:34] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[16:56:34] [server thread/INFO] [FML]: Applying holder lookups

[16:56:34] [server thread/INFO] [FML]: Holder lookups applied

[16:56:34] [server thread/INFO] [FML]: Loading dimension 0 (Test) (net.minecraft.server.integrated.IntegratedServer@3ef5c978)

[16:56:34] [server thread/INFO] [FML]: Loading dimension 1 (Test) (net.minecraft.server.integrated.IntegratedServer@3ef5c978)

[16:56:34] [server thread/INFO] [FML]: Loading dimension -1 (Test) (net.minecraft.server.integrated.IntegratedServer@3ef5c978)

[16:56:34] [server thread/INFO]: Preparing start region for level 0

[16:56:35] [server thread/INFO]: Changing view distance to 6, from 10

[16:56:35] [Netty Client IO #0/INFO] [FML]: Server protocol version 1

[16:56:35] [Netty IO #1/INFO] [FML]: Client protocol version 1

[16:56:35] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]

[16:56:35] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

[16:56:35] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

[16:56:35] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[16:56:35] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

[16:56:35] [server thread/INFO]: drok0920[local:E:e22a2849] logged in with entity id 329 at (194.39342203133435, 4.0, 467.4294862797538)

[16:56:35] [server thread/INFO]: drok0920 joined the game

[16:56:37] [server thread/INFO]: Stopping server

[16:56:37] [server thread/INFO]: Saving players

[16:56:37] [server thread/INFO]: Saving worlds

[16:56:37] [server thread/INFO]: Saving chunks for level 'Test'/Overworld

[16:56:37] [server thread/INFO]: Saving chunks for level 'Test'/Nether

[16:56:37] [server thread/INFO]: Saving chunks for level 'Test'/The End

[16:56:38] [server thread/INFO] [FML]: Unloading dimension 0

[16:56:38] [server thread/INFO] [FML]: Unloading dimension -1

[16:56:38] [server thread/INFO] [FML]: Unloading dimension 1

[16:56:38] [server thread/INFO] [FML]: Applying holder lookups

[16:56:38] [server thread/INFO] [FML]: Holder lookups applied

[16:56:38] [Client thread/FATAL]: Reported exception thrown!

net.minecraft.util.ReportedException: Rendering Block Entity

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:148) ~[TileEntityRendererDispatcher.class:?]

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:126) ~[TileEntityRendererDispatcher.class:?]

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:539) ~[RenderGlobal.class:?]

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1300) ~[EntityRenderer.class:?]

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1087) ~[EntityRenderer.class:?]

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:951) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78) [start/:?]

at GradleStart.main(GradleStart.java:45) [start/:?]

Caused by: java.lang.NullPointerException

at com.drok0920.alchemy.renderer.RenderStoneCauldron.renderTileEntityAt(RenderStoneCauldron.java:40) ~[RenderStoneCauldron.class:?]

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:141) ~[TileEntityRendererDispatcher.class:?]

... 15 more

[16:56:38] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----

// I blame Dinnerbone.

 

Time: 1/12/15 4:56 PM

Description: Rendering Block Entity

 

java.lang.NullPointerException: Rendering Block Entity

at com.drok0920.alchemy.renderer.RenderStoneCauldron.renderTileEntityAt(RenderStoneCauldron.java:40)

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:141)

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:126)

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:539)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1300)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1087)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1056)

at net.minecraft.client.Minecraft.run(Minecraft.java:951)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)

at GradleStart.main(GradleStart.java:45)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at com.drok0920.alchemy.renderer.RenderStoneCauldron.renderTileEntityAt(RenderStoneCauldron.java:40)

 

-- Block Entity Details --

Details:

Name: null // com.drok0920.alchemy.block.tileentity.TileEntityStoneCauldron

Block type: ID #168 (tile.stoneCauldron // com.drok0920.alchemy.block.StoneCauldronBlock)

Block data value: 0 / 0x0 / 0b0000

Block location: World: (196,4,467), Chunk: (at 4,0,3 in 12,29; contains blocks 192,0,464 to 207,255,479), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Actual block type: ID #168 (tile.stoneCauldron // com.drok0920.alchemy.block.StoneCauldronBlock)

Actual block data value: 0 / 0x0 / 0b0000

Stacktrace:

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:141)

at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:126)

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:539)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1300)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['drok0920'/329, l='MpServer', x=194.39, y=5.62, z=467.43]]

Chunk stats: MultiplayerChunkCache: 20, 20

Level seed: 0

Level generator: ID 01 - flat, ver 0. Features enabled: false

Level generator options:

Level spawn location: World: (191,4,475), Chunk: (at 15,0,11 in 11,29; contains blocks 176,0,464 to 191,255,479), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 82893 game time, 82893 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 12 total; [EntityPig['Pig'/103, l='MpServer', x=160.75, y=4.00, z=482.31], EntityItem['item.item.slimeball'/173, l='MpServer', x=193.63, y=4.13, z=462.75], EntityClientPlayerMP['drok0920'/329, l='MpServer', x=194.39, y=5.62, z=467.43], EntitySlime['Slime'/232, l='MpServer', x=228.57, y=4.00, z=503.31], EntityPig['Pig'/231, l='MpServer', x=229.97, y=4.00, z=510.09], EntityChicken['Chicken'/106, l='MpServer', x=166.97, y=4.00, z=504.63], EntitySlime['Slime'/133, l='MpServer', x=181.01, y=4.00, z=458.20], EntityItem['item.item.slimeball'/209, l='MpServer', x=210.06, y=4.13, z=477.47], EntityPig['Pig'/104, l='MpServer', x=175.84, y=4.00, z=505.69], EntitySheep['Sheep'/210, l='MpServer', x=218.69, y=4.00, z=503.16], EntityChicken['Chicken'/105, l='MpServer', x=165.77, y=4.00, z=509.32], EntityPig['Pig'/134, l='MpServer', x=177.88, y=4.00, z=504.13]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2555)

at net.minecraft.client.Minecraft.run(Minecraft.java:973)

at net.minecraft.client.main.Main.main(Main.java:164)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)

at GradleStart.main(GradleStart.java:45)

 

-- System Details --

Details:

Minecraft Version: 1.7.10

Operating System: Windows 8 (amd64) version 6.2

Java Version: 1.7.0_51, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 835950344 bytes (797 MB) / 1038876672 bytes (990 MB) up to 4260102144 bytes (4062 MB)

JVM Flags: 3 total; -Xincgc -Xmx4G -Xms1G

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active

mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{7.10.85.1230} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.13.2.1230} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

alchemy{0.0.1} [Alchemy] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Launched Version: 1.7

LWJGL: 2.9.1

OpenGL: Intel® HD Graphics 2500 GL version 4.0.0 - Build 10.18.10.3316, Intel

GL Caps: Using GL 1.3 multitexturing.

Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.

Anisotropic filtering is supported and maximum anisotropy is 16.

Shaders are available because OpenGL 2.1 is supported.

 

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: []

Current Language: English (US)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Anisotropic Filtering: On (16)

[16:56:38] [Client thread/INFO] [sTDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jack_Losi\Desktop\Dev\Eclipse\My Mods\Alchemy\eclipse\.\crash-reports\crash-2015-01-12_16.56.38-client.txt

AL lib: (EE) alc_cleanup: 1 device not closed

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.