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

fcelon

Members
  • Content Count

    115
  • Joined

  • Last visited

Community Reputation

5 Neutral

About fcelon

  • Rank
    Creeper Killer

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

4406 profile views
  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); } }
  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 nevi
  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)
  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
  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(); Wor
×
×
  • Create New...

Important Information

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