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.

NerdByFate

Members
  • Joined

  • Last visited

  1. Okay, so my problem had nothing to do with global IDs at all (although I won't be using them in the future). It turns out that I added an extra Entity variable to the "render" method in "ModelSmashCube.java." Thanks for your help, topic closed.
  2. Okay, I have found this: https://github.com/MinecraftForge/MinecraftForge/issues/1703. This seems to further explain what you mean by, "don't use global ids." I should be able to take it from here, but I will get back to you if I have any further issues.
  3. I have changed EntitySmashRegistry.java to this now: I can spawn the entity again, but it is still invisible. I guess it's "back to square one," as they say.
  4. So how can I go about custom spawn eggs?
  5. I have changed EntitySmashRegistry.java to look like this: Now I get "[14:43:56] [server thread/WARN]: Skipping Entity with id SmashCube" in the console, and the in-game egg is just called "Spawn". The egg no longer does anything. Any idea why?
  6. So, when I spawn my custom entity, I can't see it. That's about it. Here's my source code (along with texture files and such): http://github.com/33kingkiller/Final-Smash-Mod
  7. Ah! Thank you. That worked.
  8. Note: I have tried changing "--version 1.8" to "--version 1.7." Again, didn't work. I only tried this on 7 u72, though. not u71.
  9. Every time I try to launch Minecraft 1.8 with Forge from Eclipse, I get the following error: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_72] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_72] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_72] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_72] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:1.7.0_72] at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:1.7.0_72] at java.lang.System.loadLibrary(Unknown Source) ~[?:1.7.0_72] at org.lwjgl.Sys$1.run(Sys.java:73) ~[lwjgl-2.9.1.jar:?] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_72] at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.1.jar:?] at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.1.jar:?] at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.1.jar:?] at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2720) ~[Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:44) ~[Main.class:?] ... 6 more In order to fix this problem, I have uninstalled and installed several different versions of Jre and Jdk (none of which were Java 8 ). Didn't work. I have not yet tried replacing the Light Weight Java Game Library included in the Forge download with a newer version. You would think, however, that Forge would come with a working version of lwjgl. Any help? My Currently Installed Version of Java: Java 7 update 72 My Eclipse run Configurations ----------------------------------------- Main Class: net.minecraft.launchwrapper.Launch Program Arguments: --version 1.8 --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --accessToken modstest --userProperties {} -username=Honeydew --assetsDir=eclipse/assets VM Arguments: -Dfml.ignoreInvalidMinecraftCertificates=true
  10. I think I have found my problem... I'll get back to you if my solution works!
  11. Forgot this part: java.lang.NullPointerException: Unexpected error at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:263) at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93) at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501) at com.webs.mcshredder.block.BlockShredder.onBlockActivated(BlockShredder.java:70) at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1519) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2034) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1029) at net.minecraft.client.Minecraft.run(Minecraft.java:951) at net.minecraft.client.main.Main.main(Main.java:164) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
  12. a) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:263) at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93) at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501) at com.webs.mcshredder.block.BlockShredder.onBlockActivated(BlockShredder.java:70) at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1519) -- Affected level -- Details: Level name: MpServer All players: 1 total; [EntityClientPlayerMP['33kingkiller'/375, l='MpServer', x=255.56, y=65.62, z=251.32]] Chunk stats: MultiplayerChunkCache: 289, 289 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (252,64,256), Chunk: (at 12,4,0 in 15,16; contains blocks 240,0,256 to 255,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 2103 game time, 2103 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: 94 total; [EntityZombie['Zombie'/275, l='MpServer', x=316.97, y=21.00, z=289.53], EntityCow['Cow'/274, l='MpServer', x=333.50, y=66.00, z=269.47], EntityCow['Cow'/273, l='MpServer', x=330.50, y=67.00, z=278.50], EntityCow['Cow'/272, l='MpServer', x=319.28, y=67.00, z=281.63], EntityWitch['Witch'/279, l='MpServer', x=323.50, y=36.00, z=300.94], EntitySkeleton['Skeleton'/278, l='MpServer', x=322.50, y=37.00, z=294.50], EntityZombie['Zombie'/277, l='MpServer', x=323.97, y=22.00, z=297.50], EntitySkeleton['Skeleton'/281, l='MpServer', x=322.50, y=37.00, z=310.50], EntityZombie['Zombie'/280, l='MpServer', x=317.44, y=55.00, z=298.44], EntitySquid['Squid'/263, l='MpServer', x=319.84, y=62.34, z=191.84], EntityCow['Cow'/266, l='MpServer', x=334.03, y=63.00, z=231.09], EntityCow['Cow'/267, l='MpServer', x=329.22, y=63.00, z=230.19], EntityCow['Cow'/270, l='MpServer', x=322.50, y=64.00, z=242.50], EntitySkeleton['Skeleton'/271, l='MpServer', x=325.50, y=33.00, z=287.88], EntityCow['Cow'/268, l='MpServer', x=335.75, y=64.00, z=242.31], EntityCow['Cow'/269, l='MpServer', x=329.19, y=64.00, z=235.19], EntityClientPlayerMP['33kingkiller'/375, l='MpServer', x=255.56, y=65.62, z=251.32], EntityPig['Pig'/105, l='MpServer', x=178.50, y=87.00, z=211.81], EntityPig['Pig'/127, l='MpServer', x=190.50, y=88.00, z=183.50], EntityPig['Pig'/126, l='MpServer', x=187.50, y=95.00, z=180.50], EntitySkeleton['Skeleton'/139, l='MpServer', x=206.50, y=36.00, z=257.50], EntityPig['Pig'/141, l='MpServer', x=200.19, y=78.00, z=284.19], EntityEnderman['Enderman'/140, l='MpServer', x=199.50, y=12.00, z=282.44], EntityPig['Pig'/143, l='MpServer', x=194.16, y=77.00, z=282.50], EntityPig['Pig'/142, l='MpServer', x=195.38, y=77.00, z=282.50], EntityBat['Bat'/129, l='MpServer', x=192.67, y=27.79, z=197.11], EntityPig['Pig'/128, l='MpServer', x=185.50, y=97.00, z=180.50], EntityPig['Pig'/131, l='MpServer', x=185.97, y=87.00, z=200.03], EntityPig['Pig'/130, l='MpServer', x=181.50, y=88.00, z=202.56], EntityPig['Pig'/133, l='MpServer', x=181.16, y=88.00, z=200.03], EntityPig['Pig'/132, l='MpServer', x=183.50, y=87.00, z=210.50], EntityEnderman['Enderman'/144, l='MpServer', x=206.41, y=14.00, z=289.47], EntityPig['Pig'/145, l='MpServer', x=207.56, y=71.00, z=298.84], EntityCreeper['Creeper'/146, l='MpServer', x=194.41, y=19.00, z=319.00], EntityBat['Bat'/150, l='MpServer', x=187.84, y=23.48, z=323.16], EntityPig['Pig'/171, l='MpServer', x=209.03, y=77.00, z=288.50], EntityPig['Pig'/170, l='MpServer', x=223.97, y=67.00, z=292.03], EntityPig['Pig'/169, l='MpServer', x=209.69, y=70.00, z=298.63], EntityPig['Pig'/168, l='MpServer', x=209.50, y=72.00, z=294.47], EntityCow['Cow'/175, l='MpServer', x=222.84, y=71.00, z=308.56], EntityCow['Cow'/174, l='MpServer', x=219.50, y=66.00, z=309.50], EntityCow['Cow'/173, l='MpServer', x=212.59, y=68.00, z=314.63], EntityCow['Cow'/172, l='MpServer', x=223.78, y=67.00, z=308.50], EntityCow['Cow'/163, l='MpServer', x=222.75, y=69.00, z=272.38], EntityCow['Cow'/162, l='MpServer', x=218.50, y=72.00, z=282.31], EntityBat['Bat'/161, l='MpServer', x=226.75, y=44.60, z=278.75], EntitySkeleton['Skeleton'/160, l='MpServer', x=209.88, y=36.00, z=264.44], EntityPig['Pig'/167, l='MpServer', x=211.50, y=73.00, z=293.50], EntityZombie['Zombie'/166, l='MpServer', x=217.50, y=18.00, z=297.50], EntityPig['Pig'/165, l='MpServer', x=220.94, y=66.00, z=279.84], EntityCow['Cow'/164, l='MpServer', x=231.75, y=66.00, z=285.28], EntityPig['Pig'/186, l='MpServer', x=245.22, y=64.00, z=249.06], EntityPig['Pig'/187, l='MpServer', x=222.31, y=68.00, z=249.50], EntityItem['item.tile.flower1.dandelion'/185, l='MpServer', x=237.84, y=63.13, z=208.63], EntityPig['Pig'/190, l='MpServer', x=228.78, y=64.00, z=278.09], EntityCow['Cow'/191, l='MpServer', x=224.72, y=64.00, z=278.34], EntityPig['Pig'/188, l='MpServer', x=226.31, y=65.00, z=248.47], EntityPig['Pig'/189, l='MpServer', x=229.09, y=67.00, z=250.31], EntityCow['Cow'/205, l='MpServer', x=241.03, y=69.00, z=324.91], EntityCow['Cow'/204, l='MpServer', x=247.06, y=70.00, z=326.91], EntityCow['Cow'/201, l='MpServer', x=243.50, y=74.00, z=309.66], EntityCow['Cow'/200, l='MpServer', x=243.06, y=70.00, z=317.88], EntityZombie['Zombie'/203, l='MpServer', x=244.50, y=15.00, z=320.50], EntityZombie['Zombie'/202, l='MpServer', x=234.97, y=16.00, z=319.53], EntityCow['Cow'/196, l='MpServer', x=228.50, y=65.00, z=326.50], EntityZombie['Zombie'/199, l='MpServer', x=247.06, y=15.00, z=319.50], EntitySkeleton['Skeleton'/198, l='MpServer', x=248.50, y=24.00, z=176.50], EntityCow['Cow'/193, l='MpServer', x=230.50, y=67.00, z=323.50], EntityPig['Pig'/192, l='MpServer', x=231.50, y=68.00, z=288.50], EntityCow['Cow'/195, l='MpServer', x=233.03, y=68.00, z=324.16], EntityCow['Cow'/194, l='MpServer', x=224.06, y=64.00, z=325.97], EntityZombie['Zombie'/220, l='MpServer', x=261.50, y=27.00, z=294.50], EntityZombie['Zombie'/221, l='MpServer', x=262.97, y=54.00, z=293.50], EntityZombie['Zombie'/222, l='MpServer', x=267.09, y=54.00, z=288.28], EntityCow['Cow'/223, l='MpServer', x=271.31, y=75.00, z=298.50], EntityCreeper['Creeper'/219, l='MpServer', x=263.50, y=21.00, z=293.50], EntityCreeper['Creeper'/214, l='MpServer', x=260.94, y=26.00, z=177.47], EntityCow['Cow'/237, l='MpServer', x=274.56, y=74.00, z=333.47], EntityCow['Cow'/236, l='MpServer', x=274.69, y=75.00, z=298.13], EntityCow['Cow'/235, l='MpServer', x=283.94, y=68.00, z=290.34], EntityCow['Cow'/234, l='MpServer', x=283.72, y=69.00, z=291.59], EntityBat['Bat'/233, l='MpServer', x=278.47, y=43.10, z=182.34], EntitySkeleton['Skeleton'/232, l='MpServer', x=282.50, y=29.00, z=181.50], EntitySkeleton['Skeleton'/224, l='MpServer', x=261.50, y=35.00, z=309.50], EntitySkeleton['Skeleton'/252, l='MpServer', x=318.50, y=37.00, z=314.50], EntityBat['Bat'/253, l='MpServer', x=305.25, y=19.10, z=326.69], EntitySkeleton['Skeleton'/250, l='MpServer', x=318.00, y=32.00, z=291.31], EntitySkeleton['Skeleton'/251, l='MpServer', x=316.91, y=34.00, z=301.44], EntitySkeleton['Skeleton'/248, l='MpServer', x=317.34, y=32.00, z=292.22], EntitySkeleton['Skeleton'/249, l='MpServer', x=317.50, y=32.00, z=296.50], EntityCow['Cow'/246, l='MpServer', x=314.69, y=64.00, z=238.53], EntityCow['Cow'/247, l='MpServer', x=317.50, y=64.00, z=240.50], EntityBat['Bat'/242, l='MpServer', x=302.42, y=22.82, z=325.34], EntityBat['Bat'/243, l='MpServer', x=299.46, y=19.03, z=321.27]] Retry entities: 0 total; [] Server brand: fml,forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2556) at net.minecraft.client.Minecraft.run(Minecraft.java:980) at net.minecraft.client.main.Main.main(Main.java:164) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows XP (x86) version 5.1 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode, sharing), Oracle Corporation Memory: 236151856 bytes (225 MB) / 518979584 bytes (494 MB) up to 518979584 bytes (494 MB) JVM Flags: 2 total; -Xmx512m -Xms512m AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.85.1232 Minecraft Forge 10.13.2.1232 5 mods loaded, 5 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.85.1232} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1232.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.2.1232} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1232.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available kingkillersModCore{1.7.10} [33kingkiller's Mod Core] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available McShredder{1.0} [The Shredder] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Launched Version: 1.7 LWJGL: 2.9.1 OpenGL: Intel 865G GL version 1.3.0 - Build 4.14.10.4396, Intel GL Caps: Using GL 1.3 multitexturing. Not using framebuffer objects because OpenGL 1.4 is not supported, EXT_blend_func_separate is supported, OpenGL 3.0 is not supported, ARB_framebuffer_object is not supported, and EXT_framebuffer_object is not supported. Anisotropic filtering is supported and maximum anisotropy is 2. Shaders are not available because OpenGL 2.1 is not supported, ARB_shader_objects is not supported, ARB_vertex_shader is not supported, and ARB_fragment_shader is not supported. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) b) My computer is too slow for Github (unless I wanted to spend hours uploading my source code) and I had to get this up quickly. Sorry. c) I have not (I have NO idea where or how I would do this).
  13. So, I have made something of the sort of a custom furnace. The problem with it is that the game crashes every time I try to open it. According to the error log, the problem lies within the "player.openGUI" statement in my "onBlockActivated" method. Any Help? Source Code: https://www.mediafire.com/?yvsy6lfvn5v941z Full Error Log: at cpw.mods.fml.common.network.NetworkRegistry.getLocalGuiContainer(NetworkRegistry.java:263) at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:93) at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2501) at com.webs.mcshredder.block.BlockShredder.onBlockActivated(BlockShredder.java:70) at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:376) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1519)
  14. Ah! It seems that it is working now.

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.