Jump to content

NeoSup2130

Forge Modder
  • Posts

    79
  • Joined

  • Last visited

Everything posted by NeoSup2130

  1. Well, I need an another method because onLivingUpdate. World, int x, int y, int z doesn't work. I have been excepting that already I remember that there was a method called EntityUpdateTick or something
  2. The title says it all My mob has 25 health so there is no trouble with the getHealth I have tried an other method .addPotionEffect(new PotionEffect(Potion.damageBoost.getId(), 30)); And it worked but not the one in the spoiler So i'm asking if someone can help me with this problem
  3. I fixed it and diesieben07 you can't use Dv for something that doesn't exist as an item but you can use the effect If someone is having the same problem use this code
  4. is your path assets/secret/textures/blocks and check your console log
  5. If you have that in your code then you're good if it still uses missing textures: check if your picture is called "modOre" and that's in your assests
  6. Did you put in where the code should look for the texture?
  7. I have tried that already maybe you have an another suggestion?
  8. So i have been looking to find all metadatas of the potion effects but i only can't the hidden ones (Blindness, confusion ect) so i'm asking for those metadatas (Blindess, confusion and wither) If noone knows their metadata that's okay
  9. It wasn't the naming but this 1 stands for dimensionID and 1 is the end Uh huh. But with those function names, you confused "surface" and "overworld" when it should clearly be "end" and "overworld" Yeah you are right I was learing java today and i got by the case 1; lesson (Yes i'm learning java right now and you just helped a java dummie) A picture
  10. Well thanks Draco, Lars and shield
  11. It wasn't the naming but this 1 stands for dimensionID and 1 is the end
  12. Derp... Well I need to look better because the "Tower" was generating in the end..
  13. Because i was watching a tutorial and the dude wrote that. But i know some of them makes a mistake.
  14. I know the concept of ''random numbers'' But you said that it will generate everywhere even that i said "Generate in these biomes" If it generates everywhere, why can't i find it?
  15. Ik weet wel hoe groot een chunk is Het is 16 keer 16 keer 256 I know how big a chunk is A chunk is 16 by 16 by 256
  16. Here my class: https://github.com/NeoSup2130/Neo/blob/master/GenerationClass So, I went 178 blocks west and 212 blocks north. I didn't find it... And yes i don't get the concept... Custom building generating is new for me.
  17. Ok i change it But it's still not generating
  18. I'm having trouble with my custom building, it doesn't spawn Code: Or it's just badluck that i'm having
  19. Thanks for helping but, i still don't get it. I'm just gonna make a second class that will be easier.
  20. My code: https://github.com/NeoSup2130/Neo/blob/master/BottleOfBloodClass
  21. Sorry this may sound stupid but, i don't get what you mean. When i remove item == it still doesn't fix it. The class is used by multiple foods and i want that 'Corruptedblood' has a different effect in the class than healing the player. And i don't want to make a second class just for one food.
  22. I'm having trouble with this code: protected void onFoodEaten(ItemStack item, World world, EntityPlayer player) { player.addPotionEffect(new PotionEffect(Potion.heal.id, 1, 0)); { if (item == MainClass.CorruptedBlood) player.addPotionEffect(new PotionEffect(Potion.poison.id, 1, 0)); } } What I'm trying to code is, when you drink 'CorruptedBlood' you get poison instead of healing The problem starts with this line : if (item == MainClass.CorruptedBlood) When i hover over the problem it says : Incompatible operand types ItemStack and item
  23. I fixed it thanks!
  24. Thanks it works ,but it removes the sword
×
×
  • Create New...

Important Information

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