Jump to content

[Unsolved] Half Slabs only work single player


N1k145

Recommended Posts

HI,

I wrote a mod with half slabs. On Client everything works fine but when I install the mod on a server it crashes.

My Half Slab:

package nk.minecraft.EsslingenProjektPart2;
import java.util.List;
import java.util.Random;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.block.BlockHalfSlab;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.EntityLiving;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import nk.minecraft.EsslingenProjekt.CommonProxy;
import nk.minecraft.EsslingenProjekt.EsslingenProjekt;

public class EsBlockGlowSlap extends BlockHalfSlab
{
public EsBlockGlowSlap(int par1, boolean par2)

{
	super(par1, par2, Material.wood);
	this.setCreativeTab(CreativeTabs.tabBlock);
	setLightOpacity(0);
}


//tells game what single slab drops on destruction
public int idDropped(int par1, Random par2Random, int par3)
{
	return EsslingenProjekt.halfGlow.blockID;
}

public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving)
{
	if(par1World.getBlockId(par2, par3 - 1, par4) == EsslingenProjekt.halfGlow.blockID)
	{
		par1World.setBlockWithNotify(par2, par3, par4, 0);
		par1World.setBlockWithNotify(par2, par3 - 1, par4, EsslingenProjekt.fullGlow.blockID);
	}
}

//makes the double slab drop 2 single slabs
protected ItemStack createStackedBlock(int par1)
{
	return new ItemStack(EsslingenProjekt.halfGlow.blockID, 2, par1 & 7);
}

public String getFullSlabName(int var1)
{
	return null;
}

//gets texture file
@Override
public String getTextureFile() {
	return CommonProxy.BLOCK_PNG;
}

@SideOnly(Side.CLIENT) //Client side only
public int getBlockTextureFromSide(int i){ //Tells it which texture from the sprite sheet
	return 17;
}
}

 

The declaration of the Blocks:

public static final Block halfGlow = new EsBlockGlowSlap(523, false).setBlockName("halfGlow").setLightValue(1.0F);
public static final Block fullGlow = new EsBlockGlowSlap(524, true).setBlockName("fullGlow").setLightValue(1.0F);

Registration:

GameRegistry.registerBlock(halfGlow, "halfGlow");
GameRegistry.registerBlock(fullGlow, "fullGlow");
LanguageRegistry.addName(halfGlow, "Glowstone Stufe");

 

I hope you can help me.

Link to comment
Share on other sites

Sorry i forgot

Crash report:

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 23.02.13 18:03
Description: Exception in server tick loop

cpw.mods.fml.common.LoaderException: java.lang.reflect.InvocationTargetException
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:246)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:220)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:196)
at nk.minecraft.EsslingenProjekt.EsslingenProjekt.load(EsslingenProjekt.java:109)
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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)
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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:94)
at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:350)
at ho.c(DedicatedServer.java:135)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458)
at fy.run(SourceFile:849)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:240)
... 34 more
Caused by: java.lang.StackOverflowError
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)
at akl.a(SourceFile:61)
at amq.a(Block.java:551)


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

-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 197057088 bytes (187 MB) / 241958912 bytes (230 MB) up to 6569263104 bytes (6264 MB)
JVM Flags: 1 total; -Xmx7048m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
EsProj [Esslingen Projekt] (EsslingenProjekt.zip) Unloaded->Constructed->Pre-initialized->Errored
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml'
Type: Dedicated Server (map_server.txt)

 

On line 109 is the Registration of halfGlow

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Update: I managed to make the item not disappear after crafting, but it doesn't remove any durability. import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.enchantment.Enchantments; import net.minecraft.enchantment.UnbreakingEnchantment; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class NuggetHammer extends Item { private boolean damage; public NuggetHammer(Properties p_i48487_1_) { super(p_i48487_1_); } @Override public int getMaxDamage(ItemStack stack) { return 54 - 1; } public boolean isBarVisible(ItemStack stack) { return false; } @Override public ItemStack getContainerItem(ItemStack stack) { ItemStack copy = stack.copy(); copy.setCount(1); if (!this.damage) return copy; int unbreaking = EnchantmentHelper.getItemEnchantmentLevel(Enchantments.UNBREAKING, stack); for (int i = 0; i < unbreaking; i++) { if (UnbreakingEnchantment.shouldIgnoreDurabilityDrop(stack, unbreaking, random)) return copy; } copy.setDamageValue(stack.getDamageValue() + 1); if (copy.getDamageValue() > stack.getMaxDamage()) return ItemStack.EMPTY; return copy; } }  
    • I cannot find the answer anywhere public static void onPlayerConsumeXp(PlayerXpEvent.PickupXp event){ if(event.getEntity().getMainHandItem().getAllEnchantments().get(*value i need*) != null){ int shorthand = event.getEntity().getMainHandItem().getAllEnchantments().get(*value i need*); I am trying to get my custom enchant inside that *value i need*, I have tried using strings and Enchantments. does not show my enchantment. This is my enchantment class package net.test.tutorialmod.enchants; import net.minecraft.world.entity.EquipmentSlot; import net.minecraft.world.item.enchantment.Enchantment; import net.minecraft.world.item.enchantment.EnchantmentCategory; public class clever extends Enchantment { public clever(Rarity pRarity, EnchantmentCategory pCategory, EquipmentSlot... pApplicableSlots) { super(pRarity, pCategory, pApplicableSlots); } @Override public int getMaxLevel() { return 10; } @Override public int getMinLevel() { return 1; } }  What am i doing wrong?  
    • I had this same issue, it was one of the mods I had installed, some mods seem to break with certain versions of forge and cause others to break as well, trial and error different mods till you find the broken one.  
    • Hi, I'm asking for your help because I can't figure out how to make it so that when an item is crafted on the Crafting Table, it returns the item to the player's inventory and makes the item lose durability. I've tried looking everywhere without success. Like for the crafting of the cake which returns the empty bucket to the player, but also makes it lose durability.  
  • Topics

×
×
  • Create New...

Important Information

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