
Thor597
Forge Modder-
Posts
268 -
Joined
-
Last visited
Everything posted by Thor597
-
Good, this will be very nice for my new dimension bosses!
-
So if I make a boolean that is set to true when the entity is attacked then in my onUpdate method I have an if check checking if the battle has started and if the entity is alive. So will that loop the sound over and over then?
-
Ok, can anyone that knows excactly how to do it please help! I know how to add normal sounds with the event bus!
-
Is there a way to start a sound/music for example when the entity is attacked and make it loop until the entity is dead?
-
Nevermind I think I need to use datawatchers for doing it...
-
Is there a EntityPlayer instance? not EntityClientPlayerMP, EntityPlayerSP or EntityPlayerMP but one for the basic EntityPlayer?
-
Couldnt have been more the same, this is obviusly a problem that is bugging many people
-
Oh, I fixed all of them by using Minecraft.getMinecraft() and putting the achievementDescs in my ClientProxy!
-
Oh, It was me derping. ModLoader.getMinecraftInstance is client only. but how to i make an instance of: player.getCurrentEquippedItem() in my block file in my onBlockDestroyedByPlayer? Also Im still getting an error on ModLoader.addAchievementDesc
-
So All server mods for forge need to be ported before being able to be used on bukkit?
-
I think FML is not working properly in servers
-
How do I go about doing it?
-
And I also get noSuchMethodErrors on every ModLoader.getMinecraftInstance()
-
---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3 Time: 05.09.12 16:31 Description: Exception in server tick loop cpw.mods.fml.common.LoaderException: java.lang.reflect.InvocationTargetException at cpw.mods.fml.common.LoadController.transition(LoadController.java:102) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:591) at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:83) at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:330) at ft.b(DedicatedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:415) at ep.run(SourceFile:539) Caused by: java.lang.reflect.InvocationTargetException 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:297) 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:123) 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:81) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:590) ... 5 more Caused by: java.lang.NoSuchMethodError: hk.i()Ljava/lang/String; at ModLoader.addAchievementDesc(ModLoader.java:63) at ThorMod.load(ThorMod.java:582) ... 31 more Relevant Details: - Minecraft Version: 1.3.2 - Operating System: Windows 7 (amd64) version 6.1 - Java Version: 1.7.0, Oracle Corporation - Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation - Memory: 1832537152 bytes (1747 MB) / 2058027008 bytes (1962 MB) up to 2058027008 bytes (1962 MB) - JVM Flags: 2 total; -Xmx2G -Xms2G - Is Modded: Definitely; 'forge,fml' - Profiler Position: N/A (disabled) - Type: Dedicated Server
-
Ok, I nearly fixed all the errors, now I have a noSuchMethodException on ModLoader.addAchievementDesc?
-
So, uhh do I put like sideonly tags over the clientproxy registerRenderInformation or something? Please be a bit more informative
-
but why does it only do it to my non-living entities?
-
If I do some of my other shit doesnt work, and even doing so didnt work.. stiiiill invisible
-
in my PreInit, i have functioning mobs. but my non-living entities dont work...
-
Nope, still invisible D:
-
Can someone write an in-depth tutorial on how to make a dimension with multiple biomes in the tutorial section for the new forge? This would be veryy helpful. Thanks
-
Ok look. I have this code now: Init EntityRegistry.registerModEntity(ThorMod_EntityEmeraldPrimed.class, "EmBomb", ModLoader.getUniqueEntityId(), this, 250, 5, false); EntityRegistry.registerGlobalEntityID(ThorMod_EntityEmeraldPrimed.class, "EmBomb", ModLoader.getUniqueEntityId()); ClientProxy: RenderingRegistry.registerEntityRenderingHandler(ThorMod_EntityEmeraldPrimed.class, new ThorMod_RenderEmeraldBomb()); still invisobitch
-
then you did something wrong, send the code