Jump to content

[Resolved][1.7.2] Custom Log causing crash when rendered


Recommended Posts

Posted

Hi all, sorry for appearing so often with these questions.

I'm trying to make a custom log that will replace an oak log and keep it's orientation (right click an oak tree with an axe, the bark is stripped off and will regrow over time) but so far, although eclipse isn't throwing up any errors with the code, I've clearly buggered up somewhere. The texture icon fails to load and if the block is displayed in a creative tab, search tab or such, the client crashes out immediately.

 

Block Class:

 

package minothor.bab.blocks;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.util.IIcon;
import net.minecraft.block.Block;
import net.minecraft.block.BlockRotatedPillar;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.world.World;

public class blockStrippedOak extends BlockRotatedPillar
{


public blockStrippedOak(int orientation) {
	super(Material.wood);
	setBlockName("BlockStrippedOak");
	setHarvestLevel("axe",0);
	setHardness(0.5F);
	setStepSound(Block.soundTypeWood);
	// TODO Auto-generated constructor stub
}

public boolean canSustainLeaves(World world, int x, int y, int z)
{
	return true;
}

public boolean isWood(World world, int x, int y, int z)
{
	return true;
}
@SideOnly(Side.CLIENT)
private IIcon[] icons;

@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister par1IconRegister)
{
	icons = new IIcon[2];

	icons[0] = par1IconRegister.registerIcon("oakTop");

	icons[1] = par1IconRegister.registerIcon("bigassbarrels" + ":" + "StrippedLog");
}

@SideOnly(Side.CLIENT)
public IIcon getSideIcon(int par1)
{
	switch(par1)
	{
	case 0:
		return icons[0];
	case 1:
		return icons[0];
	default:
		return icons[1];

	}
}

}

 

 

Main Class:

 

package minothor.bab;

import java.util.logging.Logger;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.oredict.OreDictionary;
import net.minecraftforge.oredict.ShapedOreRecipe;
import minothor.bab.proxy.*;
import minothor.bab.items.*;
import minothor.bab.blocks.*;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;


@Mod(modid="BigAssBarrels", name="Big Ass Barrels", version="1.7.2 - Alpha 0.0.1")

public class bab {
public static final String modid = "BigAssBarrels";
public static final String name = "Bigass Barrels";
public static final String version = "1.7.2 - Alpha 0.0.1";

@Instance(value = "BigAssBarrels")
public static bab instance;
@SidedProxy(clientSide="minothor.bab.proxy.clientProxy", serverSide="minothor.bab.proxy.commonProxy")
public static commonProxy proxy;


//Declare Tab
//Set Creative Tab Icon
public static CreativeTabs tabBAB;
//public static CreativeTabs tabBAB;

//Declare Items
public static Item itemBark;
public static Item itemCork;

//Declare Blocks
public static Block blockCork;
public static Block blockStrippedOak;

//Declare Tools
public static Item itemMallet;

//Declare Recipes


//public static logger;
@EventHandler
public void preInit(FMLPreInitializationEvent event) {

	tabBAB = new CreativeTabs("tabBAB"){
		public Item getTabIconItem() {
			return itemCork;
		}
	};

	itemBark = new Item().setUnlocalizedName("StrippedBark").setCreativeTab(tabBAB).setTextureName(modid + ":" + "StrippedBark");
	GameRegistry.registerItem(itemBark, "StrippedBark");

	itemCork= new Item().setUnlocalizedName("BottleCork").setCreativeTab(tabBAB).setTextureName(modid + ":" + "BottleCork");
	GameRegistry.registerItem(itemCork, "BottleCork");

	itemMallet = new itemMallet().setCreativeTab(tabBAB).setTextureName(modid + ":" + "WoodenMallet");
	GameRegistry.registerItem(itemMallet, "WoodenMallet");

	blockCork = new blockCork().setCreativeTab(tabBAB).setBlockTextureName(modid + ":" + "BlockCork");
	GameRegistry.registerBlock(blockCork, "BlockCork");

	blockStrippedOak = new blockStrippedOak(1).setCreativeTab(tabBAB);
	GameRegistry.registerBlock(blockStrippedOak, "BlockStrippedOak");

	GameRegistry.addRecipe(new ItemStack(Item.getItemFromBlock(blockCork)), "XXX", "XYX", "XXX", 'X', new ItemStack(itemBark), 'Y', new ItemStack(itemCork));

	GameRegistry.addRecipe(new ShapedOreRecipe( new ItemStack(itemMallet), "X", "Y",  'X', "logWood", 'Y', new ItemStack(itemCork)));

	OreDictionary.registerOre("logWood", blockStrippedOak);

	GameRegistry.addRecipe(new ItemStack(itemCork), "X", "X", 'X', new ItemStack(itemBark));



}
@EventHandler
public void load(FMLInitializationEvent event) {

	proxy.registerRenderers();

	//MinecraftForge.EVENT_BUS.register(new StripTree());


	//GameRegistry.addRecipe(new ItemStack(itemCork), "X", "X", 'X', new ItemStack(itemBark));

}
@EventHandler
public void postInit(FMLPostInitializationEvent event) {
	// Stub Method
}


}

 

 

Console Log:

 

[14:02:05] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[14:02:05] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[14:02:05] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[14:02:05] [main/INFO]: Forge Mod Loader version 7.2.116.1024 for Minecraft 1.7.2 loading

[14:02:05] [main/INFO]: Java is Java HotSpot 64-Bit Server VM, version 1.6.0_33, running on Windows NT (unknown):amd64:6.2, installed at E:\Program Files\eclipse\jre

[14:02:05] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[14:02:05] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:02:05] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[14:02:05] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:02:05] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:02:05] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

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

[14:02:05] [main/ERROR]: The minecraft jar file:/C:/Users/NJB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[14:02:05] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[14:02:05] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/NJB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[14:02:05] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing

[14:02:05] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[14:02:05] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[14:02:05] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[14:02:06] [main/INFO]: Setting user: Player109

[14:02:07] [Client thread/INFO]: LWJGL Version: 2.9.0

[14:02:07] [Client thread/INFO]: Attempting early MinecraftForge initialization

[14:02:07] [Client thread/INFO]: MinecraftForge v10.12.0.1024 Initialized

[14:02:07] [Client thread/INFO]: Replaced 128 ore recipies

[14:02:07] [Client thread/INFO]: Completed early MinecraftForge initialization

[14:02:07] [Client thread/INFO]: Searching G:\Coding\Minecraft\Forge\BigAssBarrels\eclipse\mods for mods

[14:02:08] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[14:02:08] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.Start. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[14:02:09] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load

[14:02:09] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Big Ass Barrels

[14:02:09] [Client thread/INFO]: Configured a dormant chunk cache size of 0

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

[14:02:10] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_166_BlockStrippedOak.png

java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_166_BlockStrippedOak.png

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

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:55) ~[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:72) [TextureManager.class:?]

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_33]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_33]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_33]

at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_33]

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

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

 

[14:02:10] [sound Library Loader/INFO]: Sound engine started

[14:02:10] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[14:02:10] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[14:02:10] [Client thread/INFO]: Forge Mod Loader has successfully loaded 4 mods

[14:02:11] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms

[14:02:28] [server thread/INFO]: Starting integrated minecraft server version 1.7.2

[14:02:28] [server thread/INFO]: Generating keypair

[14:02:28] [server thread/INFO]: Injecting new block and item data into this server instance

[14:02:29] [server thread/INFO]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@3b08b003)

[14:02:29] [server thread/INFO]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@3b08b003)

[14:02:29] [server thread/INFO]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@3b08b003)

[14:02:29] [server thread/INFO]: Preparing start region for level 0

[14:02:29] [Netty Client IO #0/INFO]: Server protocol version 1

[14:02:29] [Netty IO #1/INFO]: Client protocol version 1

[14:02:29] [Netty IO #1/INFO]: Client attempting to join with 4 mods : [email protected] - Alpha 0.0.1,[email protected],[email protected],[email protected]

[14:02:29] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT

[14:02:29] [Netty Client IO #0/INFO]: Attempting connection with missing mods [] at SERVER

[14:02:29] [server thread/INFO]: [server thread] Server side modded connection established

[14:02:29] [server thread/INFO]: Player109[local:E:10491a91] logged in with entity id 141 at (42.92779731246127, 71.0, 182.41890360162955)

[14:02:29] [Client thread/INFO]: [Client thread] Client side modded connection established

[14:02:29] [server thread/INFO]: Player109 joined the game

[14:02:37] [Client thread/FATAL]: Reported exception thrown!

net.minecraft.util.ReportedException: Rendering item

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_33]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_33]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_33]

at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_33]

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

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

Caused by: java.lang.NullPointerException

at minothor.bab.blocks.blockStrippedOak.getSideIcon(blockStrippedOak.java:54) ~[blockStrippedOak.class:?]

at net.minecraft.block.BlockRotatedPillar.getIcon(BlockRotatedPillar.java:65) ~[blockRotatedPillar.class:?]

at net.minecraft.client.renderer.RenderBlocks.getBlockIconFromSideAndMetadata(RenderBlocks.java:8321) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8273) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:438) ~[RenderItem.class:?]

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:548) ~[RenderItem.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:281) ~[GuiContainer.class:?]

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:110) ~[GuiContainer.class:?]

at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:30) ~[inventoryEffectRenderer.class:?]

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:649) ~[GuiContainerCreative.class:?]

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

... 9 more

---- Minecraft Crash Report ----

// Daisy, daisy...

 

Time: 14/03/14 14:02

Description: Rendering item

 

java.lang.NullPointerException: Rendering item

at minothor.bab.blocks.blockStrippedOak.getSideIcon(blockStrippedOak.java:54)

at net.minecraft.block.BlockRotatedPillar.getIcon(BlockRotatedPillar.java:65)

at net.minecraft.client.renderer.RenderBlocks.getBlockIconFromSideAndMetadata(RenderBlocks.java:8321)

at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8273)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:438)

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:548)

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:281)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:110)

at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:30)

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:649)

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

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

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

 

 

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

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

 

-- Head --

Stacktrace:

at minothor.bab.blocks.blockStrippedOak.getSideIcon(blockStrippedOak.java:54)

at net.minecraft.block.BlockRotatedPillar.getIcon(BlockRotatedPillar.java:65)

at net.minecraft.client.renderer.RenderBlocks.getBlockIconFromSideAndMetadata(RenderBlocks.java:8321)

at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8273)

at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:438)

 

-- Item being rendered --

Details:

Item Type: net.minecraft.item.ItemBlock@3261efdd

Item Aux: 0

Item NBT: null

Item Foil: false

Stacktrace:

at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:548)

at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:281)

at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:110)

at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:30)

at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:649)

 

-- Screen render details --

Details:

Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative

Mouse location: Scaled: (262, 68). Absolute: (524, 342)

Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player109'/141, l='MpServer', x=42.93, y=72.62, z=182.42]]

Chunk stats: MultiplayerChunkCache: 225, 225

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (52,64,176), Chunk: (at 4,4,0 in 3,11; contains blocks 48,0,176 to 63,255,191), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 149937 game time, 149937 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: 104 total; [EntityCreeper['Creeper'/10, l='MpServer', x=-17.59, y=31.00, z=111.00], EntitySpider['Spider'/11, l='MpServer', x=-16.50, y=8.00, z=130.50], EntitySquid['Squid'/13, l='MpServer', x=-22.03, y=47.38, z=176.09], EntitySquid['Squid'/14, l='MpServer', x=-18.50, y=42.34, z=192.09], EntitySquid['Squid'/15, l='MpServer', x=-12.69, y=43.78, z=227.31], EntityZombie['Zombie'/17, l='MpServer', x=-4.93, y=17.92, z=108.25], EntitySkeleton['Skeleton'/16, l='MpServer', x=-4.30, y=17.00, z=108.70], EntityZombie['Zombie'/19, l='MpServer', x=-13.50, y=34.00, z=109.97], EntityBat['Bat'/18, l='MpServer', x=-8.38, y=21.10, z=111.41], EntityBat['Bat'/21, l='MpServer', x=-5.50, y=14.90, z=120.25], EntitySkeleton['Skeleton'/20, l='MpServer', x=-8.94, y=14.00, z=123.78], EntityZombie['Zombie'/23, l='MpServer', x=2.38, y=25.00, z=119.97], EntityZombie['Zombie'/22, l='MpServer', x=-0.41, y=25.00, z=122.63], EntityCreeper['Creeper'/25, l='MpServer', x=-9.72, y=13.00, z=143.66], EntityMinecartChest['entity.MinecartChest.name'/24, l='MpServer', x=-4.50, y=14.50, z=141.50], EntitySquid['Squid'/27, l='MpServer', x=-16.56, y=48.34, z=149.56], EntityCreeper['Creeper'/26, l='MpServer', x=-5.50, y=28.00, z=147.50], EntitySquid['Squid'/29, l='MpServer', x=-9.09, y=44.34, z=233.78], EntitySquid['Squid'/28, l='MpServer', x=-7.69, y=37.00, z=199.53], EntitySpider['Spider'/31, l='MpServer', x=5.50, y=15.00, z=108.50], EntitySkeleton['Skeleton'/34, l='MpServer', x=0.50, y=25.00, z=127.66], EntitySquid['Squid'/35, l='MpServer', x=11.84, y=42.34, z=133.47], EntityZombie['Zombie'/32, l='MpServer', x=4.41, y=13.00, z=127.22], EntityBat['Bat'/33, l='MpServer', x=1.59, y=27.10, z=126.25], EntitySpider['Spider'/38, l='MpServer', x=1.16, y=11.00, z=145.03], EntityZombie['Zombie'/39, l='MpServer', x=2.91, y=12.00, z=151.41], EntitySquid['Squid'/36, l='MpServer', x=14.03, y=39.31, z=144.34], EntitySquid['Squid'/37, l='MpServer', x=19.03, y=39.31, z=145.06], EntityXPOrb['Experience Orb'/42, l='MpServer', x=14.75, y=45.25, z=166.75], EntityXPOrb['Experience Orb'/43, l='MpServer', x=11.25, y=53.25, z=170.56], EntitySquid['Squid'/40, l='MpServer', x=7.66, y=38.28, z=147.97], EntityItem['item.item.string'/41, l='MpServer', x=15.75, y=42.13, z=163.91], EntityXPOrb['Experience Orb'/46, l='MpServer', x=16.88, y=47.25, z=167.19], EntityBat['Bat'/47, l='MpServer', x=28.75, y=24.09, z=180.54], EntitySquid['Squid'/44, l='MpServer', x=17.03, y=42.28, z=123.31], EntitySquid['Squid'/45, l='MpServer', x=18.88, y=41.00, z=153.28], EntityBat['Bat'/51, l='MpServer', x=30.25, y=47.10, z=182.25], EntityBat['Bat'/50, l='MpServer', x=28.75, y=45.10, z=178.25], EntityBat['Bat'/49, l='MpServer', x=27.75, y=46.10, z=177.25], EntityBat['Bat'/48, l='MpServer', x=28.72, y=45.10, z=178.44], EntitySquid['Squid'/55, l='MpServer', x=27.56, y=52.31, z=223.13], EntitySquid['Squid'/54, l='MpServer', x=16.47, y=51.38, z=207.16], EntityBat['Bat'/53, l='MpServer', x=26.75, y=48.10, z=178.25], EntityBat['Bat'/52, l='MpServer', x=31.28, y=47.10, z=180.28], EntityBat['Bat'/59, l='MpServer', x=34.75, y=47.10, z=182.41], EntityBat['Bat'/58, l='MpServer', x=34.22, y=47.10, z=179.00], EntityBat['Bat'/57, l='MpServer', x=41.56, y=29.53, z=163.69], EntityCreeper['Creeper'/56, l='MpServer', x=42.31, y=24.00, z=134.50], EntitySlime['Slime'/63, l='MpServer', x=39.69, y=14.00, z=253.69], EntitySquid['Squid'/62, l='MpServer', x=46.72, y=47.34, z=224.75], EntitySquid['Squid'/61, l='MpServer', x=29.38, y=36.34, z=220.03], EntitySquid['Squid'/60, l='MpServer', x=40.25, y=41.13, z=222.34], EntityCow['Cow'/71, l='MpServer', x=57.53, y=68.00, z=151.47], EntitySquid['Squid'/65, l='MpServer', x=39.16, y=53.22, z=240.72], EntitySkeleton['Skeleton'/76, l='MpServer', x=62.50, y=18.00, z=247.00], EntitySkeleton['Skeleton'/72, l='MpServer', x=54.47, y=28.00, z=165.47], EntitySpider['Spider'/73, l='MpServer', x=58.16, y=26.00, z=167.25], EntitySpider['Spider'/74, l='MpServer', x=60.72, y=26.00, z=165.66], EntityCow['Cow'/75, l='MpServer', x=54.63, y=66.00, z=173.52], EntityZombie['Zombie'/85, l='MpServer', x=79.50, y=33.00, z=148.50], EntityCreeper['Creeper'/84, l='MpServer', x=70.24, y=25.00, z=120.25], EntityZombie['Zombie'/87, l='MpServer', x=67.84, y=26.00, z=163.69], EntityPig['Pig'/86, l='MpServer', x=77.50, y=67.00, z=155.69], EntityChicken['Chicken'/93, l='MpServer', x=72.74, y=67.00, z=166.36], EntityCow['Cow'/92, l='MpServer', x=80.47, y=65.00, z=159.34], EntitySlime['Slime'/95, l='MpServer', x=74.31, y=14.00, z=220.69], EntitySlime['Slime'/94, l='MpServer', x=75.31, y=33.00, z=194.69], EntitySpider['Spider'/89, l='MpServer', x=63.25, y=25.00, z=164.22], EntitySkeleton['Skeleton'/88, l='MpServer', x=66.69, y=27.00, z=165.53], EntityZombie['Zombie'/91, l='MpServer', x=70.31, y=29.00, z=166.41], EntityZombie['Zombie'/90, l='MpServer', x=64.59, y=26.00, z=172.91], EntitySkeleton['Skeleton'/102, l='MpServer', x=96.50, y=38.00, z=114.87], EntitySkeleton['Skeleton'/103, l='MpServer', x=93.69, y=39.00, z=115.78], EntityCreeper['Creeper'/100, l='MpServer', x=91.00, y=30.00, z=119.44], EntityCreeper['Creeper'/101, l='MpServer', x=95.50, y=27.00, z=117.44], EntityZombie['Zombie'/110, l='MpServer', x=81.75, y=33.00, z=146.50], EntitySheep['Sheep'/111, l='MpServer', x=80.34, y=66.00, z=156.50], EntitySkeleton['Skeleton'/108, l='MpServer', x=99.10, y=30.00, z=157.59], EntitySpider['Spider'/109, l='MpServer', x=97.22, y=34.00, z=147.19], EntitySkeleton['Skeleton'/106, l='MpServer', x=95.47, y=33.00, z=141.72], EntityZombie['Zombie'/107, l='MpServer', x=95.16, y=33.00, z=152.22], EntityBat['Bat'/104, l='MpServer', x=89.63, y=31.10, z=132.25], EntityBat['Bat'/105, l='MpServer', x=89.66, y=34.10, z=142.25], EntityCreeper['Creeper'/119, l='MpServer', x=97.50, y=22.00, z=134.66], EntityCreeper['Creeper'/118, l='MpServer', x=96.47, y=21.00, z=136.66], EntityCreeper['Creeper'/117, l='MpServer', x=109.38, y=21.00, z=144.59], EntityBat['Bat'/116, l='MpServer', x=91.51, y=29.17, z=192.48], EntityBat['Bat'/115, l='MpServer', x=94.14, y=27.78, z=191.97], EntityPig['Pig'/114, l='MpServer', x=81.47, y=63.00, z=163.72], EntitySpider['Spider'/113, l='MpServer', x=83.53, y=19.00, z=160.28], EntityZombie['Zombie'/112, l='MpServer', x=80.28, y=14.00, z=166.34], EntitySkeleton['Skeleton'/127, l='MpServer', x=107.47, y=25.00, z=157.84], EntitySlime['Slime'/126, l='MpServer', x=96.46, y=26.00, z=162.69], EntitySkeleton['Skeleton'/125, l='MpServer', x=96.72, y=31.00, z=153.31], EntitySlime['Slime'/124, l='MpServer', x=104.69, y=31.00, z=144.69], EntitySkeleton['Skeleton'/123, l='MpServer', x=95.47, y=24.02, z=159.85], EntityZombie['Zombie'/122, l='MpServer', x=96.34, y=31.00, z=158.22], EntityZombie['Zombie'/121, l='MpServer', x=96.16, y=33.00, z=149.36], EntitySkeleton['Skeleton'/120, l='MpServer', x=110.78, y=24.00, z=156.63], EntityClientPlayerMP['Player109'/141, l='MpServer', x=42.93, y=72.62, z=182.42], EntitySquid['Squid'/129, l='MpServer', x=103.84, y=46.91, z=200.97], EntityEnderman['Enderman'/128, l='MpServer', x=96.97, y=35.00, z=171.09], EntitySkeleton['Skeleton'/131, l='MpServer', x=113.66, y=27.00, z=174.69], EntityCreeper['Creeper'/130, l='MpServer', x=112.84, y=27.00, z=174.00]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

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

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

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows NT (unknown) (amd64) version 6.2

Java Version: 1.6.0_33, Sun Microsystems Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Sun Microsystems Inc.

Memory: 867116120 bytes (826 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 14243 (797608 bytes; 0 MB) allocated, 1480 (82880 bytes; 0 MB) used

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

FML: MCP v9.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 4 mods loaded, 4 mods active

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

FML{7.2.116.1024} [Forge Mod Loader] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.12.0.1024} [Minecraft Forge] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BigAssBarrels{1.7.2 - Alpha 0.0.1} [big Ass Barrels] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: GeForce GTX 670/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation

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: 13543 (758408 bytes; 0 MB) allocated, 2058 (115248 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

#@!@# Game crashed! Crash report saved to: #@!@# G:\Coding\Minecraft\Forge\BigAssBarrels\eclipse\.\crash-reports\crash-2014-03-14_14.02.37-client.txt

[14:02:37] [Client Shutdown Thread/INFO]: Stopping server

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

 

 

Image:

<assets.bigassbarrels.textures.blocks>

StrippedLog.png

 

Cheers again for any help offered, Modding is proving frustrating, but bloody fun too!

Posted

Cheers Link, the trouble I'm getting there though, is that Eclipse screams at me that BlockRotatedPillar must implement getSideIcon() (I was looking at the wood log source code to try and make this function in an identical manner, just without the metadata subblocks. :/

 

This people, is why you use @Override.

I did originally have @Override on each method originally, I majorly derped a bit then, I made the assumption that the client side annotation would override as well.

Posted

Everybody using eclipse and others like it should know this. The @Override annotation is put there as an error catcher!!! if you remove it, then you are ignoring some serious error you might be creating. Obviously any attempt to subclass a class and override methods (usually what you want) will be caught and signalled as errors only if the annotation is left in place. If it is removed, fine. Just beware that you are not actually overriding any method (you are creating a similar method). And your method may never be called. Worse, the original method will still be called. So, don't remove @Override!!!

Posted

Cheers for explaining @Override's functionality in greater depth Sequiturian.

I've tried extending blockLog instead of blockRotatedPillar,  but I get all kinds of issues with methods not accepting overrides unless they're made final,  usually happens with the protected ones.  I think I'll have to try and transplant over more code than I first thought.  I'll update this thread if I can get it working.  Cheers to everyone who has taken the time to reply so far though!

Posted

I have the same problem when using getSideIcon in any class. I've tried using @Override and also tried changing it to getIcon instead, as suggested, but as you've said, it still doesn't work. I doesn't work even if you do a direct copy of the vanilla code. Have you found any solution yet?

Posted

Hi Silas, Not Yet I'm afraid, assigning text name is working if I have it instead of any GetIcon/GetSideIcon code.

At the moment that best I've managed is to isolate it down to a NullPointer exception in the getIcon return so for some reason, the icons array is getting filled with Null Objects. I can't say if this is the same problem for you, we could both be missing something completely obvious.

Posted

getSideIcon is not a method in block or BlockFire. Why would expect to implement a nonexistent method? Did you mean GetIcon(side,meta) or GetFireIcon(index)?

 

Let me speak plainer Ingrish, @Override is used for methods you are wanting/expecting/desiring/needing to override. There is nothing that says you cannot implement your own private or public methods in your extended class.

Posted

In my case, I'm using getSideIcon when extendind BlockRotatedPillar and getIcon with plain old Block. Neither one is working and it appears to be when I'm calling RegisterIcon()

 

Here's the class as it currently stands, commenting out the fuctions was the only way to stop it auto-crashing the game until I can work out what's up when I try to register the icons.

 

package minothor.bab.blocks;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.util.IIcon;
import net.minecraft.block.*;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.world.World;

public class blockStrippedOak extends Block{


public blockStrippedOak() {
	super(Material.wood);
	setBlockName("BlockStrippedOak");
	setHarvestLevel("axe",0);
	setHardness(0.5F);
	setStepSound(Block.soundTypeWood);
	// TODO Auto-generated constructor stub

}

@SideOnly(Side.CLIENT)
protected IIcon[] icons;


@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister par1IconRegister)
{
	this.icons = new IIcon[2];
	System.out.println("Icon Array Length: "+ icons.length);
	this.icons[0] = par1IconRegister.registerIcon("bigassbarrels" + ":" + "StrippedLog");
	System.out.println("icons 0 :" + icons[0]);
	this.icons[1] = par1IconRegister.registerIcon("bigassbarrels" + ":" + "StrippedLog");
	System.out.println("icons 1 :" + icons[1]);
}

/*@SideOnly(Side.CLIENT)
@Override
public IIcon getIcon(int side, int meta)
{
	switch(side)
	{
	case 0:
		return this.icons[0];
	case 1:
		return this.icons[0];
	default:
		return this.icons[1];

	}
}
 */
public int onBlockPlaced (World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metaD)
{
	// This metadata code comes from Natura's Darkwood Log, pasted here as a reminder and notepad of sorts.
	/*int j1 = par9 & 3;
        byte b0 = 0;

        switch (par5)
        {
        case 0:
        case 1:
            b0 = 0;
            break;
        case 2:
        case 3:
            b0 = 8;
            break;
        case 4:
        case 5:
            b0 = 4;
        }

        return j1 | b0;
	 */
	System.out.println("Placed against side: " + side);
	System.out.println("Side / 2: " + (side/2));
	System.out.println("Side % 2: " + (side%2));
	return metaD;
}

}

Posted

Here's the Latest run:

 

package minothor.bab.blocks;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.util.IIcon;
import net.minecraft.block.*;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.world.World;

public class blockStrippedOak extends BlockRotatedPillar{


public blockStrippedOak() {
	super(Material.wood);
	setBlockName("BlockStrippedOak");
	setHarvestLevel("axe",0);
	setHardness(0.5F);
	setStepSound(Block.soundTypeWood);
	// TODO Auto-generated constructor stub

}

@SideOnly(Side.CLIENT)
protected IIcon[] icons;


@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IIconRegister par1IconRegister)
{
	this.icons = new IIcon[2];
	System.out.println("Icon Array Length: "+ icons.length);
	this.icons[0] = par1IconRegister.registerIcon("bigassbarrels" + ":" + "StrippedLog");
	System.out.println("icons 0 :" + icons[0]);
	this.icons[1] = par1IconRegister.registerIcon("bigassbarrels" + ":" + "StrippedLog");
	System.out.println("icons 1 :" + icons[1]);
}

@SideOnly(Side.CLIENT)
@Override
public IIcon getSideIcon(int side)
{
	switch(side)
	{
	case 0:
		return this.icons[0];
	case 1:
		return this.icons[0];
	default:
		return this.icons[1];

	}
}
public int onBlockPlaced (World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metaD)
{
	/*int j1 = par9 & 3;
        byte b0 = 0;

        switch (par5)
        {
        case 0:
        case 1:
            b0 = 0;
            break;
        case 2:
        case 3:
            b0 = 8;
            break;
        case 4:
        case 5:
            b0 = 4;
        }

        return j1 | b0;
	 */
	System.out.println("Placed against side: " + side);
	System.out.println("Side / 2: " + (side/2));
	System.out.println("Side % 2: " + (side%2));
	return metaD;
}

}

 

and the console output:

 

[11:08:17] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[11:08:17] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[11:08:17] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[11:08:17] [main/INFO]: Forge Mod Loader version 7.2.116.1024 for Minecraft 1.7.2 loading

[11:08:17] [main/INFO]: Java is Java HotSpot 64-Bit Server VM, version 1.6.0_33, running on Windows NT (unknown):amd64:6.2, installed at E:\Program Files\eclipse\jre

[11:08:17] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[11:08:17] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[11:08:17] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[11:08:17] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[11:08:17] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[11:08:17] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

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

[11:08:18] [main/ERROR]: The minecraft jar file:/C:/Users/NJB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[11:08:18] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[11:08:18] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/NJB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[11:08:18] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing

[11:08:18] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[11:08:18] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[11:08:18] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[11:08:19] [main/INFO]: Setting user: Minothor

[11:08:19] [Client thread/INFO]: LWJGL Version: 2.9.0

[11:08:21] [Client thread/INFO]: Attempting early MinecraftForge initialization

[11:08:21] [Client thread/INFO]: MinecraftForge v10.12.0.1024 Initialized

[11:08:21] [Client thread/INFO]: Replaced 128 ore recipies

[11:08:21] [Client thread/INFO]: Completed early MinecraftForge initialization

[11:08:21] [Client thread/INFO]: Searching G:\Coding\Minecraft\Forge\BigAssBarrels\eclipse\mods for mods

[11:08:21] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[11:08:21] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.Start. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[11:08:23] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load

[11:08:23] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Big Ass Barrels

[11:08:23] [Client thread/INFO]: Configured a dormant chunk cache size of 0

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[11:08:24] [sound Library Loader/INFO]: Sound engine started

[11:08:24] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/MISSING_ICON_BLOCK_166_BlockStrippedOak.png

java.io.FileNotFoundException: minecraft:textures/blocks/MISSING_ICON_BLOCK_166_BlockStrippedOak.png

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

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:55) ~[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:72) [TextureManager.class:?]

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_33]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_33]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_33]

at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_33]

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

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

[11:08:24] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[11:08:25] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[11:08:25] [Client thread/INFO]: Forge Mod Loader has successfully loaded 4 mods

[11:08:26] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms

[11:09:09] [server thread/INFO]: Starting integrated minecraft server version 1.7.2

[11:09:09] [server thread/INFO]: Generating keypair

[11:09:09] [server thread/INFO]: Injecting new block and item data into this server instance

[11:09:09] [server thread/INFO]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1a9d1ed7)

[11:09:09] [server thread/INFO]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1a9d1ed7)

[11:09:09] [server thread/INFO]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1a9d1ed7)

[11:09:09] [server thread/INFO]: Preparing start region for level 0

[11:09:10] [Netty Client IO #0/INFO]: Server protocol version 1

[11:09:10] [Netty IO #1/INFO]: Client protocol version 1

[11:09:10] [Netty IO #1/INFO]: Client attempting to join with 4 mods : [email protected] - Alpha 0.0.1,[email protected],[email protected],[email protected]

[11:09:10] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT

[11:09:10] [Netty Client IO #0/INFO]: Attempting connection with missing mods [] at SERVER

[11:09:10] [server thread/INFO]: [server thread] Server side modded connection established

[11:09:10] [server thread/INFO]: Minothor[local:E:3c119995] logged in with entity id 476 at (35.09920791484112, 73.0, 182.19066997818416)

[11:09:10] [server thread/INFO]: Minothor joined the game

[11:09:10] [Client thread/INFO]: [Client thread] Client side modded connection established

[11:09:11] [Client thread/FATAL]: Unreported exception thrown!

java.lang.NullPointerException

at minothor.bab.blocks.blockStrippedOak.getSideIcon(blockStrippedOak.java:47) ~[blockStrippedOak.class:?]

at net.minecraft.block.BlockRotatedPillar.getIcon(BlockRotatedPillar.java:65) ~[blockRotatedPillar.class:?]

at net.minecraft.block.Block.getIcon(Block.java:594) ~[block.class:?]

at net.minecraft.client.renderer.RenderBlocks.getBlockIcon(RenderBlocks.java:8316) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithAmbientOcclusion(RenderBlocks.java:4760) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.RenderBlocks.renderStandardBlock(RenderBlocks.java:4341) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.RenderBlocks.renderBlockLog(RenderBlocks.java:4362) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType(RenderBlocks.java:330) ~[RenderBlocks.class:?]

at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:202) ~[WorldRenderer.class:?]

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

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_33]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_33]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_33]

at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_33]

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

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

---- Minecraft Crash Report ----

// Don't be sad. I'll do better next time, I promise!

 

Time: 19/03/14 11:09

Description: Unexpected error

 

java.lang.NullPointerException: Unexpected error

at minothor.bab.blocks.blockStrippedOak.getSideIcon(blockStrippedOak.java:47)

at net.minecraft.block.BlockRotatedPillar.getIcon(BlockRotatedPillar.java:65)

at net.minecraft.block.Block.getIcon(Block.java:594)

at net.minecraft.client.renderer.RenderBlocks.getBlockIcon(RenderBlocks.java:8316)

at net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithAmbientOcclusion(RenderBlocks.java:4760)

at net.minecraft.client.renderer.RenderBlocks.renderStandardBlock(RenderBlocks.java:4341)

at net.minecraft.client.renderer.RenderBlocks.renderBlockLog(RenderBlocks.java:4362)

at net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType(RenderBlocks.java:330)

at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:202)

at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1570)

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

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

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

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

 

 

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

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

 

-- Head --

Stacktrace:

at minothor.bab.blocks.blockStrippedOak.getSideIcon(blockStrippedOak.java:47)

at net.minecraft.block.BlockRotatedPillar.getIcon(BlockRotatedPillar.java:65)

at net.minecraft.block.Block.getIcon(Block.java:594)

at net.minecraft.client.renderer.RenderBlocks.getBlockIcon(RenderBlocks.java:8316)

at net.minecraft.client.renderer.RenderBlocks.renderStandardBlockWithAmbientOcclusion(RenderBlocks.java:4760)

at net.minecraft.client.renderer.RenderBlocks.renderStandardBlock(RenderBlocks.java:4341)

at net.minecraft.client.renderer.RenderBlocks.renderBlockLog(RenderBlocks.java:4362)

at net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType(RenderBlocks.java:330)

at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:202)

at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1570)

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

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Minothor'/476, l='MpServer', x=35.10, y=74.62, z=182.19]]

Chunk stats: MultiplayerChunkCache: 10, 10

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (52,64,176), Chunk: (at 4,4,0 in 3,11; contains blocks 48,0,176 to 63,255,191), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 229736 game time, 1005 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: survival (ID 0). Hardcore: false. Cheats: false

Forced entities: 9 total; [EntitySquid['Squid'/304, l='MpServer', x=42.44, y=45.38, z=199.78], EntityClientPlayerMP['Minothor'/476, l='MpServer', x=35.10, y=74.62, z=182.19], EntityBat['Bat'/266, l='MpServer', x=24.94, y=45.91, z=177.44], EntityBat['Bat'/267, l='MpServer', x=24.75, y=45.50, z=178.31], EntityBat['Bat'/314, l='MpServer', x=61.09, y=43.56, z=162.50], EntityBat['Bat'/265, l='MpServer', x=23.72, y=45.09, z=183.47], EntityCow['Cow'/345, l='MpServer', x=76.66, y=65.00, z=164.47], EntitySquid['Squid'/268, l='MpServer', x=21.50, y=54.88, z=200.59], EntitySquid['Squid'/269, l='MpServer', x=20.50, y=53.38, z=199.25]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

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

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

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows NT (unknown) (amd64) version 6.2

Java Version: 1.6.0_33, Sun Microsystems Inc.

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Sun Microsystems Inc.

Memory: 918102120 bytes (875 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

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

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

FML: MCP v9.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 4 mods loaded, 4 mods active

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

FML{7.2.116.1024} [Forge Mod Loader] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.12.0.1024} [Minecraft Forge] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

BigAssBarrels{1.7.2 - Alpha 0.0.1} [big Ass Barrels] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: GeForce GTX 670/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation

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: 25 (1400 bytes; 0 MB) allocated, 25 (1400 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

#@!@# Game crashed! Crash report saved to: #@!@# G:\Coding\Minecraft\Forge\BigAssBarrels\eclipse\.\crash-reports\crash-2014-03-19_11.09.11-client.txt

[11:09:11] [Client Shutdown Thread/INFO]: Stopping server

[11:09:11] [Client Shutdown Thread/INFO]: Saving players

Exception in thread "AWT-Windows" java.lang.IllegalStateException: Shutdown in progress

at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)

at java.lang.Runtime.addShutdownHook(Runtime.java:192)

at sun.awt.windows.WToolkit$2.run(WToolkit.java:282)

at java.security.AccessController.doPrivileged(Native Method)

at sun.awt.windows.WToolkit.run(WToolkit.java:267)

at java.lang.Thread.run(Thread.java:662)

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

 

Posted

getSideIcon and getTopIcon only pass in the lower 2 bits of meta data. No side information is passed. All sides are expected to use the same icon, only the metadata bits determine the look of the side. In other words, It's bark (side) or rings (top).

Posted

Cheers Sequiturian! That explanation of what the parameters are was the final piece of the puzzle for me!

I've now got the custom texture icon working and I've changed the block to extend BlockLog.

All I need to do now is work out how to correctly reference the vanilla tree_top.png texture.

I'll see if I can dig the original out of the TextureAtlas.

 

blockStrippedOak class now:

 

package minothor.bab.blocks;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.util.IIcon;
import net.minecraft.block.*;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.world.World;

public class blockStrippedOak extends BlockLog{


public blockStrippedOak() {
	super();
	setBlockName("BlockStrippedOak");
	setHarvestLevel("axe",0);
	setHardness(0.5F);
	setStepSound(Block.soundTypeWood);

}

@SideOnly(Side.CLIENT)
protected IIcon[] icons;


@SideOnly(Side.CLIENT)
@Override
public void registerBlockIcons(IIconRegister par1IconRegister)
{
	this.icons = new IIcon[2];
	//System.out.println("Icon Array Length: "+ icons.length);
	this.icons[0] = par1IconRegister.registerIcon("minecraft:Tree_Top");
	System.out.println("icons 0 :" + icons[0]);
	this.icons[1] = par1IconRegister.registerIcon("bigassbarrels:StrippedLog");
	//System.out.println("icons 1 :" + icons[1]);
}

@SideOnly(Side.CLIENT)
@Override
public IIcon getSideIcon(int metaD)
{
	return this.icons[1];
}

@SideOnly(Side.CLIENT)
@Override
public IIcon getTopIcon(int metaD)
{
	return this.icons[0];
}


public int onBlockPlaced (World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metaD)
{
	/*int j1 = par9 & 3;
        byte b0 = 0;

        switch (par5)
        {
        case 0:
        case 1:
            b0 = 0;
            break;
        case 2:
        case 3:
            b0 = 8;
            break;
        case 4:
        case 5:
            b0 = 4;
        }

        return j1 | b0;
	 */
	System.out.println("Placed against side: " + side);
	System.out.println("Side / 2: " + (side/2));
	System.out.println("Side % 2: " + (side%2));
	return metaD;
}

}

 

Console Log:

 

[14:06:54] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[14:06:54] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[14:06:54] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[14:06:54] [main/INFO]: Forge Mod Loader version 7.2.116.1024 for Minecraft 1.7.2 loading

[14:06:54] [main/INFO]: Java is Java HotSpot 64-Bit Server VM, version 1.6.0_33, running on Windows NT (unknown):amd64:6.2, installed at E:\Program Files\eclipse\jre

[14:06:54] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[14:06:54] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:06:54] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[14:06:54] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:06:54] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[14:06:54] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

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

[14:06:54] [main/ERROR]: The minecraft jar file:/C:/Users/NJB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[14:06:54] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[14:06:54] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/NJB/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[14:06:54] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing

[14:06:54] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[14:06:54] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[14:06:54] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[14:06:55] [main/INFO]: Setting user: Minothor

[14:06:56] [Client thread/INFO]: LWJGL Version: 2.9.0

[14:06:57] [Client thread/INFO]: Attempting early MinecraftForge initialization

[14:06:57] [Client thread/INFO]: MinecraftForge v10.12.0.1024 Initialized

[14:06:57] [Client thread/INFO]: Replaced 128 ore recipies

[14:06:57] [Client thread/INFO]: Completed early MinecraftForge initialization

[14:06:57] [Client thread/INFO]: Searching G:\Coding\Minecraft\Forge\BigAssBarrels\eclipse\mods for mods

[14:06:57] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[14:06:57] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.Start. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[14:06:58] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load

[14:06:59] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Big Ass Barrels

[14:06:59] [Client thread/INFO]: Configured a dormant chunk cache size of 0

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

Icon Array Length: 2

icons 0 :TextureAtlasSprite{name='minecraft:tree_top', frameCount=0, rotated=false, x=0, y=0, height=0, width=0, u0=0.0, u1=0.0, v0=0.0, v1=0.0}

icons 1 :TextureAtlasSprite{name='bigassbarrels:StrippedLog', frameCount=0, rotated=false, x=0, y=0, height=0, width=0, u0=0.0, u1=0.0, v0=0.0, v1=0.0}

Icon Array Length: 2

icons 0 :TextureAtlasSprite{name='minecraft:tree_top', frameCount=0, rotated=false, x=0, y=0, height=0, width=0, u0=0.0, u1=0.0, v0=0.0, v1=0.0}

icons 1 :TextureAtlasSprite{name='bigassbarrels:StrippedLog', frameCount=0, rotated=false, x=0, y=0, height=0, width=0, u0=0.0, u1=0.0, v0=0.0, v1=0.0}

 

[14:06:59] [sound Library Loader/INFO]: Sound engine started

[14:06:59] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/tree_top.png

java.io.FileNotFoundException: minecraft:textures/blocks/tree_top.png

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

at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:55) ~[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:72) [TextureManager.class:?]

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

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

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

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

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

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.6.0_33]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[?:1.6.0_33]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_33]

at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_33]

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

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

[14:07:00] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[14:07:00] [Client thread/INFO]: Created: 256x256 textures/items-atlas

[14:07:00] [Client thread/INFO]: Forge Mod Loader has successfully loaded 4 mods

[14:07:03] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms

 

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.

Announcements



×
×
  • Create New...

Important Information

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