Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

stumblinbear

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About stumblinbear

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  • URL
    http://www.codingforcookies.com/
  • Location
    World 1
  • Personal Text
    Blarg.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. So, I'm updating the mod I've been working on to 1.8, but the RenderBlocks class that I used to render... blocks... into a custom GUI no longer exists. I switched to using RenderItem renderItemModel(ItemStack). It renders items fine, but it only renders blocks registered within my mod. They all run off the same renderItemModel, leading me to believe there is another function I can use for blocks. But, I have yet to find it... Any ideas? :L GL11.glPushMatrix(); { GL11.glTranslatef(x, y, 0F); GL11.glScalef(20F * scale, 20F * scale, 1F);
  2. I commented this out and tried it ont he server-side, and it worked. Turns out I had to make a function that was set to @SideOnly that returns the player for client side. packet.readBytes(data); switch(FMLCommonHandler.instance().getEffectiveSide()) { case CLIENT: packet.executeClient(getClient()); //packet.executeClient(Minecraft.getMinecraft().thePlayer); break; case SERVER: INetHandler netHandler = ctx.channel().attr(NetworkRegistry.NET_HANDLER).get(); packet.executeServer(((NetHandlerPlayServer)netHandler).play
  3. Sorry bout that, here ya go. [spoiler=Crash Report] ---- Minecraft Crash Report ---- // I just don't know what went wrong Time: 7/23/14 4:10 PM Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:97) at cpw.mods.fml.common.FMLCommonHandler.onSe
  4. Upon exporting my mod, and placing it into a server, I'm getting a peculiar error. While singleplayer works perfectly fine, the server throws: Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP This seems to suggest that my registration code is client side ony, but what is the server-side packet channel registration code? Here's the line throwing the error: PacketHandler.channels = NetworkRegistry.INSTANCE.newChannel("BetterRecords", new ChannelHandler()); It is currently under FMLInitializationEvent. Any help is greatly appre
  5. Okay, I have been attempting to, upon the world loading, to keep every chunk that a specific entity is in loaded. I have tried loading a chunk that I had placed the entity in, then see if it was loaded: Minecraft.getMinecraft().theWorld.getChunkFromChunkCoords(11, 0); System.out.println(Minecraft.getMinecraft().theWorld.getChunkFromChunkCoords(11, 0).isChunkLoaded); But, that always returns false and the entity never updated. Perhaps I'm putting it in the incorrect place? I have tried it in the server and client tick events, as well as in an entity, but they all showed the same f
  6. I am attempting to get localized strings that are set via my language file so I can have different lore for each metadata in an item. I have tried using LanguageRegistry.instance().getStringLocalization() but that throws a peculiar error: [19:58:19] [Client thread/FATAL]: Reported exception thrown! net.minecraft.util.ReportedException: Rendering screen at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1173) ~[EntityRenderer.class:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1022) ~[Minecraft.class:?] at net.minecraft.cl
  7. I've already configured it to work with the new launcher :3
  8. I am working on a Minecraft launcher to auto-install all my server's mods automatically. Everything installs and runs, but it loaded from .minecraft instead of my folder... So I made a mod that overrides Minecraft.java(Only way I know how to do it) to change the directory for the folder. It changed the directory fine. But, after forge is done setting up, I get an odd error... Here's the log... I do NOT want to use MultiMC... I already looked through their source to see how they did it and came up with nothing... Can anyone help?
  9. Probably a stupidly simple issue... But I made an item renderer and it worked fine, but after a code edit, it just... stopped... working... Anyway... If anyone can help that'd be great (Please note that I changed a few names of stuff to keep the mod a secret...) CustomItemRenderer Code: public class ItemRenderHandler implements IItemRenderer { ModelBase renderModel = null; int renderID = 0; public ItemRenderHandler(String par1Name, int par2RenderID) { MainModFile.log(Level.INFO, "Registering ItemRenderHandler for " + par1Name + " with render ID " + par2RenderID + ".");
  10. Ok, i ran it again through eclipse and it said it doesn't have a corrent MANIFEST Manifest-Version: 1.0 FMLCorePlugin: codingforcookies.asm.CFC_LoadingPlugin
  11. I tested it outside of eclipse and recompiled inside my minecraft.jar already... That is when it threw the error...
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.