Hello hello hello everybody and welcome back to another minecraft mining tutorial for version 1.19 in this tutorial we are going to be going over entity spawn eggs so let’s just go ahead and get started so let’s come into our image package and inside of our item in it We’re going to come all the way down and create a new public static final registry object this will be of type forge spawn egg item and we’re just going to call this example entity spawn egg or obviously whatever you want to call it and that would just be items dot register example entity Porn egg and then we want a supplier of a new forge spawn egg item okay and inside of here we need to go ahead and give it our entity type so that’ll just be entity init dot example and since that’s a registry object that will work fine And then we’re going to want the primary color of this spawn egg so the primary color will just be a hexadecimal color you can give it whatever you want and i’m just going to put in some random numbers here let’s actually first move this onto a New line so we can see it all at once so i’ll give it something like um ff55 a a and then you have to give it the secondary color this is also known as the background and foreground color of course um or highlight color i should say uh and i’ll just give this I don’t know 2 7 d a 9 f i i don’t know i’m just giving it some random things that and then we can just give it our normal item properties so that’s just props and you might just want to do a stacks 216 as well So that’s actually it for a spawn egg all we need to do other than that is come into our main come into our assets and do those so let’s first go ahead and do the lang as usual so that will be item dots tutorial mod not example underscore Example nt was it entity spawn egg and that would just be spawn example and see there you go there’s r jason i’m just going to check that name because i’m not 100 sure that’s exactly what i named it so example entity sport okay is fantastic So now we can also go ahead and do our item model so let’s come into here let’s create a new file and this is going to be the same name as our item of course so example nt and spawn jason okay and in here we just need to specify The parent so the parent will be item forward slash and then it is uh template underscore spawn underscore egg and that should be all we need for a spawn egg so what we can now go ahead and do is we should be able to run the game and we can test If it works all right so here we are in the game and if we go to our creative tab you’ll see our spawn egg and it has the correct colors and if we place it down it spawns our entity that’s pretty much it it should also work in something like a Dispenser so we can just go ahead and test that really quickly we grab a dispenser and a lever tonkin our spawn egg place on a lever and there you go it spawned that entity so fantastic that’s actually it for this tutorial and in the next tutorial we’ll be doing some Natural entity spawning so i hope you are ready for that so yeah if you guys did find this tutorial useful please do be sure to smash your face into that like button and make sure you subscribe as well if you really found it useful then Please do be sure to share it around and it may be useful to someone else as well so yeah i’ll see you guys in the next tutorial good bye Video Information
This video, titled ‘1.19 Minecraft Forge Modding Tutorial – Spawn Eggs’, was uploaded by TurtyWurty on 2022-09-01 16:30:14. It has garnered 1174 views and 16 likes. The duration of the video is 00:05:03 or 303 seconds.
Hello everyone, in this video we will be creating a spawn egg for our entity!
In the next video we will be doing natural entity spawning in the world!
–Links– Patreon: https://www.patreon.com/turtywurty Discord: https://discord.gg/BAYB3A38wn Github: https://github.com/DaRealTurtyWurty/1.19TutorialMod Trello: WIP
–Timestamps– 0:00 Intro 0:20 Registering the Item 2:30 Lang 3:10 Item Model 3:50 Testing 4:20 Outro 4:55 💀