Started by
k6u
on
Topic category: User side tutorials
Hello all, I've been working on a mod for a while now and in that process I liked adding bits of custom code to the mod elements to improve it a bit. I have a text document on my computer containing all the simple lines of code I have put into my mod, so I decided to fix it up a bit and share it with the MCreator community to make other peoples mods a little bit better. I put it in a pastebin so it's a bit more accessible, enjoy :)
Note, I wont be providing tutorials for each piece of code, as it's pretty simple. Put the imports that have been listed into the imports list, and then put the code in the right place.. Pretty easy.
Very nice! Will use thank you very much.
Awesome! My new mod will use these codes a lot! :D
Thank you! This is so helpful!
I tried the bookshelf one. I changed 1 to 80, but it did nothing. Is there a max number?
AMAZING, THANKS I used snipets RIGHT away!
One more question for you.
Does it matter if you change the return one to 2, 3, 4, etc....?
public float getEnchantPowerBonus(World world, BlockPos pos)
{
return 1;
}