Jump to content

snocavotia

Members
  • Posts

    42
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    Toss me a thank you if I was helpful.

snocavotia's Achievements

Tree Puncher

Tree Puncher (2/8)

3

Reputation

  1. I've been looking for a way to make a scrolling gui like the Server Select screen for a long time, But I can't find anything. I looked at GuiSlider but I'm not sure thats what I need. any ideas?
  2. Thanks! Can you give me a little more detail on what I would be doing exactly though?
  3. Use: Side side = FMLCommonHandler.instance().getEffectiveSide(); if (side == Side.CLIENT) { if(tickCooldown<=0){ ClientSideStuff tickCooldown = 2; } }else{ ServerStuff } the tick cooldown should be --'d every client side tick also.
  4. I have a custom block and it needs to generate several different GUIs randomly. But once a specific instance of that block has already been created I don't want the GUI that it has selected to change. Therefore I can have 100 GUIs and 1 block that knows which one of the 100 to open when it is used.
  5. You sir are a lifesaver! Thank you so much. You got a well earned thank you and applaud
  6. Hi! Is there a way to actually run a server with the mod i'm currently working on within eclipse, that way every time I wan't to test it on a server I don't have to recompile, etc.. I've tried placing the mincraft_server.jar in the jars folder but that doesn't seem to work.
  7. I get this error, which makes no sense because i have another class which is almost identical extending the DemoPacket class. ---- Minecraft Crash Report ---- // I blame Dinnerbone. Time: 11/24/13 9:24 PM Description: Updating screen events java.lang.RuntimeException: Packet PurchasePacket is missing a mapping! at packets.DemoPacket.getPacketId(DemoPacket.java:62) at packets.DemoPacket.makePacket(DemoPacket.java:68) at packets.ShopGui.actionPerformed(ShopGui.java:116) at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:120) at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:208) at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:176) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1566) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910) at net.minecraft.client.Minecraft.run(Minecraft.java:838) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at packets.DemoPacket.getPacketId(DemoPacket.java:62) at packets.DemoPacket.makePacket(DemoPacket.java:68) at packets.ShopGui.actionPerformed(ShopGui.java:116) at net.minecraft.client.gui.GuiScreen.mouseClicked(GuiScreen.java:120) at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:208) at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:176) -- Affected screen -- Details: Screen name: packets.ShopGui -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['Player633'/5, l='MpServer', x=836.30, y=5.62, z=2165.71]] Chunk stats: MultiplayerChunkCache: 441 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: World: (1350,4,971), Chunk: (at 6,0,11 in 84,60; contains blocks 1344,0,960 to 1359,255,975), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023) Level time: 20729 game time, 20729 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: 44 total; [EntityPixelmon['Nidorina'/64, l='MpServer', x=927.56, y=4.00, z=2188.72], EntityClientPlayerMP['Player633'/5, l='MpServer', x=836.30, y=5.62, z=2165.71], EntityPixelmon['Farfetchd'/14, l='MpServer', x=744.19, y=4.00, z=2170.31], EntityPixelmon['Farfetchd'/16, l='MpServer', x=738.63, y=4.00, z=2178.78], EntityPixelmon['Miltank'/19, l='MpServer', x=752.84, y=4.00, z=2138.68], EntityPixelmon['Mareep'/18, l='MpServer', x=759.66, y=4.00, z=2080.84], EntityPixelmon['Fearow'/21, l='MpServer', x=762.16, y=4.00, z=2149.44], EntityPixelmon['Miltank'/20, l='MpServer', x=752.81, y=4.00, z=2140.62], EntityPixelmon['Rattata'/23, l='MpServer', x=781.78, y=4.00, z=2129.63], EntityTrainer['entity.pixelmon.Trainer.name'/25, l='MpServer', x=780.38, y=4.00, z=2243.47], EntityPixelmon['Nidoranmale'/27, l='MpServer', x=808.97, y=4.00, z=2107.72], EntityPixelmon['Snorlax'/26, l='MpServer', x=784.81, y=4.00, z=2079.31], EntityPixelmon['Electrode'/29, l='MpServer', x=787.19, y=4.00, z=2183.16], EntityTrainer['entity.pixelmon.Trainer.name'/28, l='MpServer', x=785.50, y=4.00, z=2163.00], EntityTrainer['entity.pixelmon.Trainer.name'/31, l='MpServer', x=811.25, y=4.00, z=2077.38], EntityPixelmon['Mareep'/34, l='MpServer', x=801.09, y=4.00, z=2206.81], EntityPixelmon['Girafarig'/35, l='MpServer', x=805.44, y=4.00, z=2202.50], EntityTrainer['entity.pixelmon.Trainer.name'/32, l='MpServer', x=811.03, y=4.00, z=2161.44], EntityItem['item.tile.cloth.white'/33, l='MpServer', x=812.75, y=4.13, z=2190.16], EntityPixelmon['Vulpix'/39, l='MpServer', x=828.19, y=4.00, z=2140.72], EntityItem['item.item.leather'/36, l='MpServer', x=814.09, y=4.13, z=2211.66], EntityPixelmon['Nidoranfemale'/37, l='MpServer', x=802.69, y=4.00, z=2257.78], EntityPixelmon['Mareep'/42, l='MpServer', x=821.44, y=4.00, z=2179.31], EntityPixelmon['Persian'/43, l='MpServer', x=818.31, y=4.00, z=2214.75], EntityPixelmon['Rattata'/40, l='MpServer', x=823.72, y=4.00, z=2140.81], EntityPixelmon['Mareep'/41, l='MpServer', x=824.88, y=4.00, z=2189.81], EntityTrainer['entity.pixelmon.Trainer.name'/46, l='MpServer', x=839.50, y=4.00, z=2109.47], EntityPixelmon['Arbok'/47, l='MpServer', x=841.00, y=4.00, z=2141.88], EntityPixelmon['Nidorina'/51, l='MpServer', x=853.50, y=4.00, z=2178.75], EntityItem['item.item.feather'/50, l='MpServer', x=858.53, y=4.13, z=2187.22], EntityPixelmon['Spearow'/49, l='MpServer', x=863.19, y=4.00, z=2150.66], EntityPixelmon['Rhyhorn'/48, l='MpServer', x=839.93, y=4.00, z=2144.14], EntityPixelmon['Tauros'/55, l='MpServer', x=866.38, y=4.00, z=2253.66], EntityPixelmon['Meowth'/54, l='MpServer', x=872.50, y=4.00, z=2144.50], EntityItem['item.item.goldNugget'/53, l='MpServer', x=878.06, y=4.13, z=2141.78], EntityPixelmon['Pidgeotto'/52, l='MpServer', x=868.97, y=4.00, z=2087.53], EntityPixelmon['Ekans'/59, l='MpServer', x=901.10, y=4.00, z=2085.71], EntityPixelmon['Meowth'/58, l='MpServer', x=881.66, y=4.00, z=2134.63], EntityPixelmon['Rattata'/57, l='MpServer', x=895.25, y=4.00, z=2143.13], EntityPixelmon['Girafarig'/56, l='MpServer', x=891.56, y=4.00, z=2092.59], EntityPixelmon['Nidoranfemale'/63, l='MpServer', x=916.53, y=4.00, z=2145.81], EntityPixelmon['Nidoranfemale'/62, l='MpServer', x=917.47, y=4.00, z=2100.69], EntityPixelmon['Arbok'/61, l='MpServer', x=896.63, y=4.00, z=2216.13], EntityPixelmon['Arbok'/60, l='MpServer', x=910.94, y=4.00, z=2129.50]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2312) at net.minecraft.client.Minecraft.run(Minecraft.java:856) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_40, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation Memory: 517015056 bytes (493 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 5955 (333480 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v8.11 FML v6.4.37.941 Minecraft Forge 9.11.1.941 7 mods loaded, 7 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{6.4.37.941} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{9.11.1.941} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available pokemart{1.0.1} [pokemart] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available pixelmon{2.5.2} [Pixelmon] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available PokeMart{1.0.1} [PokeMart] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available superdatabasechecker{1.0.0} [super Database Checker] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: Intel® HD Graphics Family GL version 3.1.0 - Build 8.15.10.2476, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Pack: Default Current Language: Español (Argentina) Profiler Position: N/A (disabled) Vec3 Pool Size: 379 (21224 bytes; 0 MB) allocated, 15 (840 bytes; 0 MB) used
  8. Yes
  9. Here is an error report that someone sent me: ---- Minecraft Crash Report ---- // I feel sad now Time: 11/23/13 6:59 PM Description: There was a severe problem during mod loading that has caused the game to fail cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mapwriter.forge.MwForge at cpw.mods.fml.common.LoadController.transition(LoadController.java:149) at cpw.mods.fml.common.Loader.loadMods(Loader.java:519) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:472) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:807) at net.minecraft.client.main.Main.main(SourceFile:101) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) Caused by: java.lang.ClassNotFoundException: mapwriter.forge.MwForge at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:59) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:462) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105) at cpw.mods.fml.common.Loader.loadMods(Loader.java:509) ... 10 more Caused by: java.lang.NullPointerException at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178) ... 38 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Mac OS X (x86_64) version 10.6.8 Java Version: 1.6.0_51, Apple Inc. Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Apple Inc. Memory: 42326832 bytes (40 MB) / 135188480 bytes (128 MB) up to 1065025536 bytes (1015 MB) JVM Flags: 1 total; -Xmx1G 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 v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 5 mods loaded, 5 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed FML{6.4.20.916} [Forge Mod Loader] (minecraftforge-9.11.1.916.jar) Unloaded->Constructed Forge{9.11.1.916} [Minecraft Forge] (minecraftforge-9.11.1.916.jar) Unloaded->Constructed pixelmon{2.5.2} [Pixelmon] (Pixelmon 2) Unloaded->Constructed mapwriter{1.0.6} [mapwriter] (mapwriter) Unloaded->Errored
  10. Hi, I had programmed a mod a while back. But now im getting Mac users by the dozens coming in and saying that the mod won't even load. They're error log says that my main mod file, cannot be located. like a ClassNotFoundException.
  11. Hi, I have a block whose id is 799. When I try to save it in a schematic with worldedit it replaces my block with a dead bush. any idea as to why this is happening? I believe it's because byte's can only hold values up to 255. But that doesn't make sense because there are blocks with id's higher than 255.
  12. Also all of my classes are in one package if i make a package called client and put my client code in it will it change it?
  13. So in my load method where i register all of my tick handlers should i use a getEffectiveSide method and then segregate my tick handlers?
  14. Are you using vectors to define length between blocks? Also, if your wondering if you can get the location when a player hits the block then you could do a EntityPlayer.raytrace(), but seeing as how your dealing with energy it seems you may not be looking for the location only when someone uses the block.
  15. Okay! I've found the source of the error, In my Render tick handler I use Minecraft.getMinecraft().thePlayer to call the player object for the client side. But I thought that the server doesn't touch Render tick handlers.
×
×
  • Create New...

Important Information

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