Jump to content

Thor597

Forge Modder
  • Posts

    268
  • Joined

  • Last visited

Everything posted by Thor597

  1. Good, this will be very nice for my new dimension bosses!
  2. 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?
  3. Ok, can anyone that knows excactly how to do it please help! I know how to add normal sounds with the event bus!
  4. 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?
  5. Nevermind I think I need to use datawatchers for doing it...
  6. Is there a EntityPlayer instance? not EntityClientPlayerMP, EntityPlayerSP or EntityPlayerMP but one for the basic EntityPlayer?
  7. Couldnt have been more the same, this is obviusly a problem that is bugging many people
  8. Oh, I fixed all of them by using Minecraft.getMinecraft() and putting the achievementDescs in my ClientProxy!
  9. 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
  10. So All server mods for forge need to be ported before being able to be used on bukkit?
  11. I think FML is not working properly in servers
  12. And I also get noSuchMethodErrors on every ModLoader.getMinecraftInstance()
  13. ---- 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
  14. Ok, I nearly fixed all the errors, now I have a noSuchMethodException on ModLoader.addAchievementDesc?
  15. So, uhh do I put like sideonly tags over the clientproxy registerRenderInformation or something? Please be a bit more informative
  16. but why does it only do it to my non-living entities?
  17. If I do some of my other shit doesnt work, and even doing so didnt work.. stiiiill invisible
  18. in my PreInit, i have functioning mobs. but my non-living entities dont work...
  19. 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
  20. 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
  21. then you did something wrong, send the code
×
×
  • Create New...

Important Information

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