Posted June 12, 20223 yr I am familiar with java but have only just started learning to mod minecraft with forge. I followed a youtube tutorial to create custom items and blocks, but now want to spawn an entity such as a creeper in the world, next to me. However, despite looking at multiple threads, I am still not sure how to do this. Please can I have some advice!
June 12, 20223 yr you need to create a new instance of the Entity class (in your case Creeper), then use Level#addFreshEntity to add the Entity to the World, before you add the Entity to the World you can modify it in the way you want
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.