Jump to content

Evi1Casul

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by Evi1Casul

  1. Hey! How to replace the player attack function (#attackTargetWithCurrentItem)? Is it possible to replace a function without hella workarounds breaking the mod compatibility? Is it even possible?) Thanks in advance.
  2. Sometimes I have feelings that forge developers are trying to make things as hardest as possible. Anyway... How to create config with the new superultragreat @Annotation system? Because as always there is no documentation anywhere, except the Choonster example which I had tried to use. But I didn't understand where to "register" config because just getting Configuration instance in preInit does nothing. Thanks in advance.
  3. Hi! I have new player model and renderer, but I was complicated: how to register custom player renderer? Thanks.
  4. O M G Java, r u serious?! Windows explorer automatically renames x.json to x.JSON and resources won't work. I renamed it with Total Commander and now all works fine...
  5. I got this warning now: Resources from resources folder wont copy to output folder.
  6. Oh lol somehow I fixed it. I copied assets to bin folder. And again errors after restart. I really don't understand wtf is this...
  7. I'm using Eclipse. And yes, I have both java and resources folders as build paths.
  8. Yes. I also noticed that lang files and JSONs does not work too And I tested again: at first I copied assets folder to java folder. All working fine. Then I deleted resources/assets folder and again errors. Resources are working only if they're located in BOTH folders P.S. I had the same problem in 1.10.2.
  9. OK. ZMDItems: ZMDItem: IItemRender: CommonProxy: My folders structure: And error log:
  10. Hi! I started to update my mod from 1.7.10 to shi* 1.11.2 and got a tons of problems. Ok, I solved most of them except one: I have JSONs, located in resources/assets/*modid*/models/item and they work fine. But my textures, that located in resources/assets/*modid*/textures/items wont work if they also not located in java/assets/*modid*/textures/items. WTF?
  11. Hello! I created entity class which extends EntityZombie class. When I try to override attackEntity method, it just does not work, System.out.prinln("attackEnttiy") does not work too. @Override protected void attackEntity(Entity par1Entity, float par2) { System.out.println("attackEntity"); super.attackEntity(par1Entity, par2); } Maybe it does not work because super class hasn't that method, but how to use it then?
×
×
  • Create New...

Important Information

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