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

fcelon

Members
  • Posts

    115
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

4571 profile views

fcelon's Achievements

Creeper Killer

Creeper Killer (4/8)

5

Reputation

  1. Hello, I tried modifying a vanilla loot table following the instructions it Forge documentations. However the game fails to load the modified loot table. Code: @SubscribeEvent public static void onLoottableLoad(LootTableLoadEvent event) { if (event.getName().equals(EntityType.ILLUSIONER.getLootTable())) { LootTable table = event.getLootTableManager().getLootTableFromLocation(new ResourceLocation(WTImprovements.MOD_ID + ":injects/illusioner")); LootPool pool = table.getPool(WTImprovements.MOD_ID + ":totem_of_decoy"); event.getTable().addPool(pool); } } Loot to add { "type": "minecraft:entity", "pools": [ { "name": "wt_improvements:totem_of_decoy", "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "wt_improvements:totem_of_decoy", "functions": [ { "function": "minecraft:set_count", "count": { "min": 2.0, "max": 3.0, "type": "minecraft:uniform" } } ] } ] } ] } Error message java.lang.NullPointerException: null at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_171] {} at net.minecraft.loot.LootTable.freeze(LootTable.java:185) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:825) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraft.loot.LootTableManager.lambda$apply$0(LootTableManager.java:40) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_171] {} at net.minecraft.loot.LootTableManager.apply(LootTableManager.java:38) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraft.loot.LootTableManager.apply(LootTableManager.java:16) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_171] {} at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_171] {} at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_171] {} at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:139) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:109) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:122) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.client.Minecraft.func_238189_a_(Minecraft.java:1866) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_238195_a_(Minecraft.java:1719) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_238191_a_(Minecraft.java:1689) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_214443_e(WorldSelectionList.java:364) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_214438_a(WorldSelectionList.java:273) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_231044_a_(WorldSelectionList.java:225) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.widget.list.AbstractList.func_231044_a_(AbstractList.java:292) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.INestedGuiEventHandler.func_231044_a_(INestedGuiEventHandler.java:31) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:92) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:425) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHelper.mouseButtonCallback(MouseHelper.java:90) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:185) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:86) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:184) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {} at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:93) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MainWindow.flipFrame(MainWindow.java:304) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1010) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:589) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] {} at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] {} at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-7.0.1.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-7.0.1.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar:?] {} The JSON itself seems to be fine. Does anyone know what's wrong with the loot table? Thanks for any response.
  2. You can put an item into mob's head slot to protect it from sunlight. In's not an ideal solution, but it works.
  3. No amount of damage reduction will make you invincible, there is a hard coded cap. You will have to subscribe to LivingHurtEvent, check if the entity is wearing your armor and cancle the event if it is.
  4. Thakns you. I have been unable to locate vanilla cs_cz.json in my computer, but replacing problematic characters with codes seems to fix the issue.
  5. Hi, when language file in my mod contains characters with diacritic like š č ř or ž, those characters render as ? in game. However, the same characters render just fine in vanilla texts and in chat. cs_cz.json: { "entity.wt_improvements.decoy":"Dvojník", "item.wt_improvements.totem_of_decoy":"Totem zdvojení", "block.wt_improvements.trade_station":"Obchodní stanice", "item.wt_improvements.trade_station":"Obchodní stanice", "item.minecraft.potion.effect.mighty_night_vision": "Silný lektvar vidění ve tmě", "item.minecraft.potion.effect.mighty_invisibility": "Silný lektvar neviditelnosti", "item.minecraft.potion.effect.mighty_leaping": "Silný lektvar skákání", "item.minecraft.potion.effect.mighty_fire_resistance": "Silný lektvar ohnivzdornosti", "item.minecraft.potion.effect.mighty_swiftness": "Silný lektvar svižnosti", "item.minecraft.potion.effect.mighty_turtle_master": "Silný lektvar želvího mistra", "item.minecraft.potion.effect.mighty_water_breathing": "Silný lektvar dýchání pod vodou", "item.minecraft.potion.effect.mighty_healing": "Silný lektvar léčení", "item.minecraft.potion.effect.mighty_regeneration": "Silný lektvar regenerace", "item.minecraft.potion.effect.mighty_strength": "Silný lektvar síly", "item.minecraft.potion.effect.mighty_slow_falling": "Silný lektvar pomalého padání", "item.minecraft.potion.effect.mighty_fortitude": "Silný lektvar odolnosti", "item.minecraft.potion.effect.mighty_danger_sight": "Silný lektvar zviditelnění nebezpečí", "item.minecraft.potion.effect.mighty_stability": "Silný lektvar stability", "item.minecraft.potion.effect.mighty_relief": "Silný lektvar úlevy", "item.minecraft.potion.effect.mighty_restfulness": "Silný lektvar odpočinku", "item.minecraft.potion.effect.mighty_repellence": "Silný lektvar odpudivosti", "item.minecraft.potion.effect.mighty_vibing": "Silný lektvar přitažlivosti", "item.minecraft.potion.effect.mighty_luck": "Silný lektvar štěstí", "item.minecraft.splash_potion.effect.mighty_night_vision": "Silný vrhací lektvar vidění ve tmě", "item.minecraft.splash_potion.effect.mighty_invisibility": "Silný vrhací lektvar neviditelnosti", "item.minecraft.splash_potion.effect.mighty_leaping": "Silný vrhací lektvar skákání", "item.minecraft.splash_potion.effect.mighty_fire_resistance": "Silný vrhací lektvar ohnivzdornosti", "item.minecraft.splash_potion.effect.mighty_swiftness": "Silný vrhací lektvar svižnosti", "item.minecraft.splash_potion.effect.mighty_turtle_master": "Silný vrhací lektvar želvího mistra", "item.minecraft.splash_potion.effect.mighty_water_breathing": "Silný vrhací lektvar dýchání pod vodou", "item.minecraft.splash_potion.effect.mighty_healing": "Silný vrhací lektvar léčení", "item.minecraft.splash_potion.effect.mighty_regeneration": "Silný vrhací lektvar regenerace", "item.minecraft.splash_potion.effect.mighty_strength": "Silný vrhací lektvar síly", "item.minecraft.splash_potion.effect.mighty_slow_falling": "Silný vrhací lektvar pomalého padání", "item.minecraft.splash_potion.effect.mighty_fortitude": "Silný vrhací lektvar odolnosti", "item.minecraft.splash_potion.effect.mighty_danger_sight": "Silný vrhací lektvar zviditelnění nebezpečí", "item.minecraft.splash_potion.effect.mighty_stability": "Silný vrhací lektvar stability", "item.minecraft.splash_potion.effect.mighty_relief": "Silný vrhací lektvar úlevy", "item.minecraft.splash_potion.effect.mighty_restfulness": "Silný vrhací lektvar odpočinku", "item.minecraft.splash_potion.effect.mighty_repellence": "Silný vrhací lektvar odpudivosti", "item.minecraft.splash_potion.effect.mighty_vibing": "Silný vrhací lektvar přitažlivosti", "item.minecraft.splash_potion.effect.mighty_luck": "Silný vrhací lektvar štěstí", "item.minecraft.lingering_potion.effect.mighty_night_vision": "Silný doznívající lektvar vidění ve tmě", "item.minecraft.lingering_potion.effect.mighty_invisibility": "Silný doznívající lektvar neviditelnosti", "item.minecraft.lingering_potion.effect.mighty_leaping": "Silný doznívající lektvar skákání", "item.minecraft.lingering_potion.effect.mighty_fire_resistance": "Silný doznívající lektvar ohnivzdornosti", "item.minecraft.lingering_potion.effect.mighty_swiftness": "Silný doznívající lektvar svižnosti", "item.minecraft.lingering_potion.effect.mighty_turtle_master": "Silný doznívající lektvar želvího mistra", "item.minecraft.lingering_potion.effect.mighty_water_breathing": "Silný doznívající lektvar dýchání pod vodou", "item.minecraft.lingering_potion.effect.mighty_healing": "Silný doznívající lektvar léčení", "item.minecraft.lingering_potion.effect.mighty_regeneration": "Silný doznívající lektvar regenerace", "item.minecraft.lingering_potion.effect.mighty_strength": "Silný doznívající lektvar síly", "item.minecraft.lingering_potion.effect.mighty_slow_falling": "Silný doznívající lektvar pomalého padání", "item.minecraft.lingering_potion.effect.mighty_fortitude": "Silný doznívající lektvar odolnosti", "item.minecraft.lingering_potion.effect.mighty_danger_sight": "Silný doznívající lektvar zviditelnění nebezpečí", "item.minecraft.lingering_potion.effect.mighty_stability": "Silný doznívající lektvar stability", "item.minecraft.lingering_potion.effect.mighty_relief": "Silný doznívající lektvar úlevy", "item.minecraft.lingering_potion.effect.mighty_restfulness": "Silný doznívající lektvar odpočinku", "item.minecraft.lingering_potion.effect.mighty_repellence": "Silný doznívající lektvar odpudivosti", "item.minecraft.lingering_potion.effect.mighty_vibing": "Silný doznívající lektvar přitažlivosti", "item.minecraft.lingering_potion.effect.mighty_luck": "Silný doznívající lektvar štěstí", "item.minecraft.tipped_arrow.effect.mighty_night_vision": "Silný šíp vidění ve tmě", "item.minecraft.tipped_arrow.effect.mighty_invisibility": "Silný šíp neviditelnosti", "item.minecraft.tipped_arrow.effect.mighty_leaping": "Silný šíp skákání", "item.minecraft.tipped_arrow.effect.mighty_fire_resistance": "Silný šíp ohnivzdornosti", "item.minecraft.tipped_arrow.effect.mighty_swiftness": "Silný šíp svižnosti", "item.minecraft.tipped_arrow.effect.mighty_turtle_master": "Silný šíp želvího mistra", "item.minecraft.tipped_arrow.effect.mighty_water_breathing": "Silný šíp dýchání pod vodou", "item.minecraft.tipped_arrow.effect.mighty_healing": "Silný šíp léčení", "item.minecraft.tipped_arrow.effect.mighty_regeneration": "Silný šíp regenerace", "item.minecraft.tipped_arrow.effect.mighty_strength": "Silný šíp síly", "item.minecraft.tipped_arrow.effect.mighty_slow_falling": "Silný šíp pomalého padání", "item.minecraft.tipped_arrow.effect.mighty_fortitude": "Silný šíp odolnosti", "item.minecraft.tipped_arrow.effect.mighty_danger_sight": "Silný šíp zviditelnění nebezpečí", "item.minecraft.tipped_arrow.effect.mighty_stability": "Silný šíp stability", "item.minecraft.tipped_arrow.effect.mighty_relief": "Silný šíp úlevy", "item.minecraft.tipped_arrow.effect.mighty_restfulness": "Silný šíp odpočinku", "item.minecraft.tipped_arrow.effect.mighty_repellence": "Silný šíp odpudivosti", "item.minecraft.tipped_arrow.effect.mighty_vibing": "Silný šíp přitažlivosti", "item.minecraft.tipped_arrow.effect.mighty_luck": "Silný šíp štěstí", "subtitles.wt_improvements.block.trade_station.ding": "Zvonek stanice cinká" } result: Does anyone know can I solve this problem?
  6. Thakns you, ModEntities.SHOCKWAVE was indeed null. And getEntityTexture returning null doesn't seen to crash.
  7. I am getting the following error when trying to register a renderer for my new entity. [m[1;31m[21:10:56] [modloading-worker-2/ERROR] [ne.mi.fm.ja.FMLModContainer/]: Exception caught during firing event: null Index: 1 Listeners: 0: NORMAL 1: net.minecraftforge.eventbus.EventBus$$Lambda$2065/1415390560@32f53aa7 java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source) at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) at net.minecraftforge.fml.client.registry.RenderingRegistry.registerEntityRenderingHandler(RenderingRegistry.java:44) at com.blockvader.reforging.client.ClientProxy.registerEntityModels(ClientProxy.java:23) at com.blockvader.reforging.Reforging.clientSetup(Reforging.java:36) at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106) at java.util.function.Consumer.lambda$andThen$0(Unknown Source) at java.util.function.Consumer.lambda$andThen$0(Unknown Source) at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:135) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source) at java.util.concurrent.CountedCompleter.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [m[1;31m[21:10:56] [modloading-worker-2/ERROR] [ne.mi.fm.ja.FMLModContainer/LOADING]: Caught exception during event FMLClientSetupEvent dispatch for modid reforging java.lang.NullPointerException: null at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source) ~[?:1.8.0_171] {} at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) ~[?:1.8.0_171] {} at net.minecraftforge.fml.client.registry.RenderingRegistry.registerEntityRenderingHandler(RenderingRegistry.java:44) ~[forge-1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1-recomp.jar:?] {re:classloading} at com.blockvader.reforging.client.ClientProxy.registerEntityModels(ClientProxy.java:23) ~[main/:?] {re:classloading} at com.blockvader.reforging.Reforging.clientSetup(Reforging.java:36) ~[main/:?] {re:classloading} at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-2.2.0-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~[eventbus-2.2.0-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.2.0-service.jar:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:106) ~[?:31.2] {re:classloading} at java.util.function.Consumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_171] {} at java.util.function.Consumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_171] {} at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:135) ~[?:?] {re:classloading} at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) [?:1.8.0_171] {} at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) [?:1.8.0_171] {} at java.util.stream.AbstractPipeline.copyInto(Unknown Source) [?:1.8.0_171] {} at java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.CountedCompleter.exec(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_171] {} [m[1;31m[21:10:56] [Server-Worker-2/FATAL] [ne.mi.fm.ModLoader/LOADING]: Failed to complete lifecycle event SIDED_SETUP, 1 errors found [m[1;31m[21:10:56] [Server-Worker-2/FATAL] [ne.mi.ev.EventBus/EVENTBUS]: EventBus 0 shutting down - future events will not be posted. java.lang.Exception: stacktrace at net.minecraftforge.eventbus.EventBus.shutdown(EventBus.java:278) ~[eventbus-2.2.0-service.jar:?] {} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:115) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.startModLoading(ClientModLoader.java:123) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$onreload$3(ClientModLoader.java:105) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_171] {} at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_171] {} Renderer class public class ShockwaveRenderer extends EntityRenderer<ShockwaveEntity>{ public ShockwaveRenderer(EntityRendererManager renderManager) { super(renderManager); } @Override public ResourceLocation getEntityTexture(@Nonnull ShockwaveEntity entity) { return null; } } Registering renderer public static void registerEntityModels() { RenderingRegistry.registerEntityRenderingHandler(ModEntities.SHOCKWAVE, ShockwaveRenderer::new); } I have registered entity renderer this way in the past and it worked without error. I don't understand what is the problem now.
  8. Are you still having this problem? In eclipse go to Run>Run Configurations, select runClient and Arguments and in VM Arguments replace -Dforge.logging.console.level=debug with -Dforge.logging.console.level=info. This worked for me.
  9. This is not an error made by Mojang. It looks like a mod with id bmw adds it's own anvil and the name for the damaged variant is messed up. What mods are you using?
  10. Currently, the Report Bugs button in game menu sends you to the official bug tracker, which isn't very helpful, since Mojang doesn't care about issues with modded game. It would make sense if it would send you to Forge Support & Bug Reports instead. Also, it could tell you to contact mod author first if you are having issue with specific mod.
  11. You cannot. It resets when you click, before the actual attack happens.
  12. From Go to Run/"Run Configurations ...", select in tree left "Java Application"/<Name-of-your-ProjectFolder>_Client, go to "Arguments" Tab and remove in "VM arguments" "-DFORGE_FORCE_FRAME_RECALC=true" what should be the whole content of that textfield. This stops FML/Gradle to use any mod in its deobfuscated version; what means methods names, variables etc. in the foreign mod jar file don't get renamed into a human readable version while loading. With deobfuscation the mod become unable to load parts of itself by reference the name of classes/modules. If you want to add references to other mods (e.g. for dependencies) in your own mod you might need a more elaborated method.
  13. Oh, it seems mobs refuse to walk to anything outside of their follow range. I have to apply follow range modifier to affected mobs to make it work properly.
  14. That oreswawn.slice should probably be orespawn.slice and orespawn mod did not update to any MC version past 1.7.10. Are you making a 1.7.10 mod? If yes, then you won' find any help here. This version is no longer supported. If not, you obiviously can't use item from that mod.
  15. Hello, I am trying to create a curse enchantment, which attracts monsters to whoever wears/holds cursed items. It seems to partially work, however I have observed some wierd mob behavior. For example, skeletons and witches are trying to shoot at me even if I am outside of their range instead of walking closer to me. Any possible explanation and way to fix it? This is my code responsible for handling the enchantment. @SubscribeEvent(priority = EventPriority.NORMAL) public void onLivingUpdate(LivingUpdateEvent event) { EntityLivingBase entity = event.getEntityLiving(); World world = entity.getEntityWorld(); if (entity instanceof EntityPlayer) { int i = EnchantmentGlowingCurse.getGlowingPower(entity); if (i > 0 && entity.getRNG().nextInt(600) == 0) { System.out.println("Attracting monsters"); List<EntityMob> list = world.<EntityMob>getEntitiesWithinAABB(EntityMob.class, new AxisAlignedBB(entity.getPosition()).grow(32+16*i,32+16*i,32+16*i)); for (EntityMob monster : list) { System.out.println("Monster found"); if (monster.getAttackTarget() == null) { monster.setAttackTarget(entity); } } } } } Thanks for any response.
×
×
  • Create New...

Important Information

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