
NeoSup2130
Forge Modder-
Posts
79 -
Joined
-
Last visited
Everything posted by NeoSup2130
-
1.7.10 Trouble spawning mob after certain health
NeoSup2130 replied to NeoSup2130's topic in Modder Support
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 -
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
-
[SOLVED]1.7.10 throwing a specific potion effect
NeoSup2130 replied to NeoSup2130's topic in Modder Support
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 -
is your path assets/secret/textures/blocks and check your console log
-
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
-
Did you put in where the code should look for the texture?
-
[SOLVED]1.7.10 throwing a specific potion effect
NeoSup2130 replied to NeoSup2130's topic in Modder Support
Ok thanks -
[SOLVED]1.7.10 throwing a specific potion effect
NeoSup2130 replied to NeoSup2130's topic in Modder Support
I have tried that already maybe you have an another suggestion? -
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
-
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
-
Well thanks Draco, Lars and shield
-
It wasn't the naming but this 1 stands for dimensionID and 1 is the end
-
Derp... Well I need to look better because the "Tower" was generating in the end..
-
Because i was watching a tutorial and the dude wrote that. But i know some of them makes a mistake.
-
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?
-
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
-
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.
-
Ok i change it But it's still not generating
-
I'm having trouble with my custom building, it doesn't spawn Code: Or it's just badluck that i'm having
-
Thanks for helping but, i still don't get it. I'm just gonna make a second class that will be easier.
-
My code: https://github.com/NeoSup2130/Neo/blob/master/BottleOfBloodClass
-
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.
-
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
-
I fixed it thanks!
-
Thanks it works ,but it removes the sword