Jump to content

WOTBLITZ

Members
  • Posts

    85
  • Joined

  • Last visited

Everything posted by WOTBLITZ

  1. Is there any 1.11 tutorials? By tutorials I mean fluids like stuff other then armor items and blocks(basic stuff). I tried to do with out tutorials but it didn't work. Like fluids, I found Fluid in minecraft forge but don't know how to use it and I also found that minecraft water uses BlockStaticLiquid and BlockDynamicLiquid but I don't know how to use them. I also looked in a older outdated tutorial on fluids and it have so much other the using Fluid from forge and registering it but if thats true how do you register it on 1.11 cause GameRegistery can not register fluids.
  2. Yeah, I know that but still I try. And about the mcmod.info, I would like not only just what I said but also update the info every now and then.
  3. I'm paranoid cause I don't like stuff changing by someone.
  4. Isn't that the metadata from the mcmod.info and I don't think you can edit that. Well lets say that the mcmod.info exists an I edit the information in code. Well, who knows java have an easier time to edit in code and mcmod.info, what said is that more that know how to edit the mcmod.info file then in code.
  5. if it dosen't work then I want this as a new thing for future forge.
  6. This is not a necessity. I would like to add all information for my mod in code without need of mcmod.info cause it's annoying that any one can edit the mcmod.info. Like the @Mod() could have all of the information as mcmod.info but it dosen't. As I said this what I want but if it dosen't work then I'm fine with that.
  7. I know the basic of minecraft modding with forge. I wanted to try spawning an entity and tried Minecraft.getMinecraft().world.spawnEntity(entity); which was good but is there any way to set armor or item with when the entity spawns. If I'm right the entity will spawn without armor and items.
  8. getLookEntity() is where my entity is.(Original code): [pre] private static EntityLiving getLookEntity() { if(Minecraft.getMinecraft().objectMouseOver.entityHit instanceof EntityLiving) { return (EntityLiving)Minecraft.getMinecraft().objectMouseOver.entityHit; } else { return null; } } [/pre]
  9. I found how to do it my self. [pre]EntityLiving)Minecraft.getMinecraft().getIntegratedServer().getEntityFromUuid(getLookEntity().getUniqueID())[/pre]
  10. So why did you reply: Try to check if getActivePotionEffect() isn't null?
  11. Well if you know modding in minecraft you know that doing that won't work in client side and it will say null even if a potion is active.
  12. What do you by mean that. I know java but I am new to minecraft modding.
  13. I have question about that. When you play minecraft client does it start a internal servar and if so how do it then? And One more thing. I was able to get the duration of getActivePotionEffect(potion).getDuration() but it will throw nullPointerExeption if the entity doesen't have the potion effect.
  14. I know, but is there a to "find out", like an entity jumps higher then normal. (Just an example) Why I ask: I know there are mod using active potion effects and some how in client sid.
  15. I said that as an example, it would be help full to somewhere to get avtive potion effects client side.
  16. Is there a way of getting active potion from entity from particle or related. What I mean is based on active particle, I can determine the potion effect. It will helpful if you reply with other ways in client side.
  17. If I got this right: My code works but only servers side. And there is now way of getting potioneffects client side.
  18. How would I go to get the potion effect server side.
  19. Do you mean that there is no way of getting active potin effects or that it only works to get it on server side(if so some example code would be helpful).
  20. By looking at the console. It is supposed to print true.(Stop asking question if I am doing things right just help with my problem)
×
×
  • Create New...

Important Information

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