Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tempetek

Members
  • Joined

  • Last visited

  1. Yeah, editing EntityPlayer, GuiIngame for my Hypothermia bar and also ContainerWorkbench and BiomeGenBase Does it change anything ?
  2. Hello everyone, If I post, it's because I'm desesperated, why ? Because everytime I used to try connecting my server of my mod (Eternal Frost) I crash with a non-sense message ! :'( I've did all thing we need, put Side.CLIENT everywhere it was needed with 10 time verify it without getting any correct So, here is my error message when I try to connect my server ( Mod_Freezer is my mod Eternal frost ) : 2012-10-23 17:35:35 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.35.394 for Minecraft client:1.3.2, server:1.3.2 loading 2012-10-23 17:35:48 [iNFO] [sTDOUT] 195 recipes 2012-10-23 17:35:48 [iNFO] [sTDOUT] 27 achievements 2012-10-23 17:35:50 [iNFO] [sTDERR] 2012-10-23 17:35:50 [iNFO] Starting minecraft server version 1.3.2 2012-10-23 17:35:51 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-10-23 17:35:51 [iNFO] [sTDOUT] MinecraftForge v4.2.5.303 Initialized 2012-10-23 17:35:51 [iNFO] [ForgeModLoader] MinecraftForge v4.2.5.303 Initialized 2012-10-23 17:35:52 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-10-23 17:35:52 [iNFO] [ForgeModLoader] Searching Eternal Frost\jars\mods for mods 2012-10-23 17:36:19 [iNFO] [ForgeModLoader] Attempting to reparse the mod container bin 2012-10-23 17:36:34 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load 2012-10-23 17:36:37 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2012-10-23 17:36:38 [iNFO] [sTDERR] 2012-10-23 17:36:38 [iNFO] Loading properties 2012-10-23 17:36:38 [iNFO] [sTDERR] 2012-10-23 17:36:38 [iNFO] Default game type: SURVIVAL 2012-10-23 17:36:38 [iNFO] [sTDERR] 2012-10-23 17:36:38 [iNFO] Generating keypair 2012-10-23 17:36:52 [iNFO] [sTDERR] 2012-10-23 17:36:52 [iNFO] Starting Minecraft server on *:25565 2012-10-23 17:36:53 [iNFO] [sTDERR] 2012-10-23 17:36:53 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! 2012-10-23 17:36:53 [iNFO] [sTDERR] 2012-10-23 17:36:53 [WARNING] The server will make no attempt to authenticate usernames. Beware. 2012-10-23 17:36:53 [iNFO] [sTDERR] 2012-10-23 17:36:53 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose. 2012-10-23 17:36:53 [iNFO] [sTDERR] 2012-10-23 17:36:53 [WARNING] To change this, set "online-mode" to "true" in the server.properties file. 2012-10-23 17:37:01 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 3 mods 2012-10-23 17:37:03 [iNFO] [sTDERR] 2012-10-23 17:37:03 [iNFO] Preparing level "mcpworld" 2012-10-23 17:37:06 [iNFO] [ForgeModLoader] Loading dimension 0 (mcpworld) (net.minecraft.src.DedicatedServer@54e123) 2012-10-23 17:37:06 [iNFO] [ForgeModLoader] Loading dimension 4 (mcpworld) (net.minecraft.src.DedicatedServer@54e123) 2012-10-23 17:37:07 [iNFO] [ForgeModLoader] Loading dimension 1 (mcpworld) (net.minecraft.src.DedicatedServer@54e123) 2012-10-23 17:37:07 [iNFO] [ForgeModLoader] Loading dimension -1 (mcpworld) (net.minecraft.src.DedicatedServer@54e123) 2012-10-23 17:37:07 [iNFO] [sTDERR] 2012-10-23 17:37:07 [iNFO] Preparing start region for level 0 2012-10-23 17:37:08 [iNFO] [sTDERR] 2012-10-23 17:37:08 [iNFO] Preparing spawn area: 8% 2012-10-23 17:37:09 [iNFO] [sTDERR] 2012-10-23 17:37:09 [iNFO] Preparing spawn area: 81% 2012-10-23 17:37:09 [iNFO] [sTDERR] 2012-10-23 17:37:09 [iNFO] Done (5,444s)! For help, type "help" or "?" 2012-10-23 17:37:15 [iNFO] [sTDERR] 2012-10-23 17:37:15 [iNFO] /127.0.0.1:51061 lost connection 2012-10-23 17:37:17 [iNFO] [sTDERR] 2012-10-23 17:37:17 [iNFO] User Player434 connecting with mods [mod_Freezer] 2012-10-23 17:37:17 [iNFO] [ForgeModLoader] User Player434 connecting with mods [mod_Freezer] 2012-10-23 17:37:18 [iNFO] [sTDERR] java.lang.NoClassDefFoundError: net/minecraft/src/WorldClient 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:297) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.NetLoginHandler.completeConnection(NetLoginHandler.java:162) 2012-10-23 17:37:18 [iNFO] [sTDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:155) 2012-10-23 17:37:18 [iNFO] [sTDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:109) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.NetLoginHandler.initializePlayerConnection(NetLoginHandler.java:151) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.NetLoginHandler.tryLogin(NetLoginHandler.java:53) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.ServerListenThread.processPendingConnections(ServerListenThread.java:50) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.DedicatedServerListenThread.networkTick(DedicatedServerListenThread.java:31) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:650) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:241) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:565) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) 2012-10-23 17:37:18 [iNFO] [sTDERR] at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18) 2012-10-23 17:37:18 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: net.minecraft.src.WorldClient 2012-10-23 17:37:18 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125) 2012-10-23 17:37:18 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source) 2012-10-23 17:37:18 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source) 2012-10-23 17:37:18 [iNFO] [sTDERR] ... 13 more 2012-10-23 17:37:18 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException 2012-10-23 17:37:18 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:119) 2012-10-23 17:37:18 [iNFO] [sTDERR] ... 15 more 2012-10-23 17:37:18 [iNFO] [sTDERR] 2012-10-23 17:37:18 [sEVERE] Encountered an unexpected exception NoClassDefFoundError java.lang.NoClassDefFoundError: net/minecraft/src/WorldClient at net.minecraft.src.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:297) at net.minecraft.src.NetLoginHandler.completeConnection(NetLoginHandler.java:162) at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:155) at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:109) at net.minecraft.src.NetLoginHandler.initializePlayerConnection(NetLoginHandler.java:151) at net.minecraft.src.NetLoginHandler.tryLogin(NetLoginHandler.java:53) at net.minecraft.src.ServerListenThread.processPendingConnections(ServerListenThread.java:50) at net.minecraft.src.DedicatedServerListenThread.networkTick(DedicatedServerListenThread.java:31) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:650) at net.minecraft.src.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:241) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:565) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) at net.minecraft.src.ThreadServerApplication.run(ThreadServerApplication.java:18) Caused by: java.lang.ClassNotFoundException: net.minecraft.src.WorldClient at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more Caused by: java.lang.NullPointerException at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:119) ... 15 more 2012-10-23 17:37:18 [iNFO] [sTDERR] 2012-10-23 17:37:18 [sEVERE] This crash report has been saved to: crash-2012-10-23_17.37.18-server.txt I've searched EVERYWHERE where WorldClient can be wrong But NOTHING, I've never put WorldClient in my class and seem to be good in other class. So, need a serious help ! Thanks in advance, - Poiuytrezay alias Tempetek
  3. Same problem, everytime I launch Minecraft it give me an error with the line : public static Item crystalbucketfull = (CrystalBucket)(new CrystalBucket(11200, mod_Freezer.frozenwaterMoving.blockID)).setIconCoord(11, 7).setItemName("crystalbucketfull").setContainerItem(crystalbucket); But my code of my Bucket is correct ? In mod file : public static Item crystalbucket = (CrystalBucket)(new CrystalBucket(11100, 0)).setIconCoord(10, 7).setItemName("crystalbucket").setMaxStackSize(16); public static Item crystalbucketfull = (CrystalBucket)(new CrystalBucket(11200, mod_Freezer.frozenwaterMoving.blockID)).setIconCoord(11, 7).setItemName("crystalbucketfull").setContainerItem(crystalbucket); In crystalbucket file : import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entity.player.FillBucketEvent; //Referenced classes of package net.minecraft.src: // Item, EntityPlayer, Vec3D, MathHelper, // ItemStack, World, MovingObjectPosition, EnumMovingObjectType, // mod_IceMod, Block, Material public class CrystalBucket extends Item { private int isFull; public CrystalBucket(int i, int j) { super(i); maxStackSize = 1; isFull = j; this.setTabToDisplayOn(CreativeTabs.tabMisc); } public String getTextureFile() { return "/Freezer/items.png"; } public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { float var4 = 1.0F; double var5 = par3EntityPlayer.prevPosX + (par3EntityPlayer.posX - par3EntityPlayer.prevPosX) * (double)var4; double var7 = par3EntityPlayer.prevPosY + (par3EntityPlayer.posY - par3EntityPlayer.prevPosY) * (double)var4 + 1.62D - (double)par3EntityPlayer.yOffset; double var9 = par3EntityPlayer.prevPosZ + (par3EntityPlayer.posZ - par3EntityPlayer.prevPosZ) * (double)var4; boolean var11 = this.isFull == 0; MovingObjectPosition var12 = this.getMovingObjectPositionFromPlayer(par2World, par3EntityPlayer, var11); if (var12 == null) { return par1ItemStack; } else { FillBucketEvent event = new FillBucketEvent(par3EntityPlayer, par1ItemStack, par2World, var12); if (MinecraftForge.EVENT_BUS.post(event)) { return par1ItemStack; } if (event.isHandeled()) { return event.result; } if (var12.typeOfHit == EnumMovingObjectType.TILE) { int var13 = var12.blockX; int var14 = var12.blockY; int var15 = var12.blockZ; if (!par2World.canMineBlock(par3EntityPlayer, var13, var14, var15)) { return par1ItemStack; } if (this.isFull == 0) { if (!par3EntityPlayer.canPlayerEdit(var13, var14, var15)) { return par1ItemStack; } if (par2World.getBlockMaterial(var13, var14, var15) == Material.water && par2World.getBlockMetadata(var13, var14, var15) == 0) { par2World.setBlockWithNotify(var13, var14, var15, 0); if (par3EntityPlayer.capabilities.isCreativeMode) { return par1ItemStack; } if (--par1ItemStack.stackSize <= 0) { return new ItemStack(mod_Freezer.crystalbucketfull); } if (!par3EntityPlayer.inventory.addItemStackToInventory(new ItemStack(mod_Freezer.crystalbucketfull))) { par3EntityPlayer.dropPlayerItem(new ItemStack(mod_Freezer.crystalbucketfull.shiftedIndex, 1, 0)); } return par1ItemStack; } } else { if (this.isFull < 0) { return new ItemStack(mod_Freezer.crystalbucket); } if (var12.sideHit == 0) { --var14; } if (var12.sideHit == 1) { ++var14; } if (var12.sideHit == 2) { --var15; } if (var12.sideHit == 3) { ++var15; } if (var12.sideHit == 4) { --var13; } if (var12.sideHit == 5) { ++var13; } if (!par3EntityPlayer.canPlayerEdit(var13, var14, var15)) { return par1ItemStack; } if (this.func_77875_a(par2World, var5, var7, var9, var13, var14, var15) && !par3EntityPlayer.capabilities.isCreativeMode) { return new ItemStack(mod_Freezer.crystalbucket); } } } else if (this.isFull == 0 && var12.entityHit instanceof EntityGoat) { return new ItemStack(mod_Freezer.crystalbucketMilk); } return par1ItemStack; } } public boolean func_77875_a(World par1World, double par2, double par4, double par6, int par8, int par9, int par10) { if (this.isFull <= 0) { return false; } else if (!par1World.isAirBlock(par8, par9, par10) && par1World.getBlockMaterial(par8, par9, par10).isSolid()) { return false; } else { if (par1World.provider.isHellWorld && this.isFull == mod_Freezer.frozenwaterMoving.blockID) { par1World.playSoundEffect(par2 + 0.5D, par4 + 0.5D, par6 + 0.5D, "random.fizz", 0.5F, 2.6F + (par1World.rand.nextFloat() - par1World.rand.nextFloat()) * 0.8F); for (int var11 = 0; var11 < 8; ++var11) { par1World.spawnParticle("largesmoke", (double)par8 + Math.random(), (double)par9 + Math.random(), (double)par10 + Math.random(), 0.0D, 0.0D, 0.0D); } } else { par1World.setBlockAndMetadataWithNotify(par8, par9, par10, this.isFull, 0); } return true; } } }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.