Home

How to Spawn Entities and Add Inventory Items to Your Minecraft Mods

|
|  Updated:  
2016-03-26 07:31:13
Minecraft Basics For Dummies
Explore Book
Buy On Amazon

Minecraft modding gives you the ability to spawn entities and add inventory items that you might need. In the Inventory and Entity Commands badge set, you can find badges that show you how to spawn entities (for example, make creepers and cows appear) using drones and how to programmatically add objects to the inventory (make diamond swords or redstone appear).

Being able to spawn entities and add inventory items can be useful for preparing for nighttime in Survival mode in Minecraft or to protect yourself from other Minecraft players.

For example, you could create a tower and then use the drone to spawn a bunch of protective creepers around your tower.

image0.jpg

And you could arm yourself before nightfall by giving yourself a diamond sword.

To be able to give yourself the item, change the name from Steve to your Minecraft username.

image1.jpg

About This Article

This article is from the book: 

About the book author:

Sarah Guthals, PhD, co-founded an ed-tech company and now continues to build technology for kids to learn, create, and share safely online. She loves to teach teachers how to teach coding in the classroom.

Stephen Foster, PhD, is the CEO of ThoughtSTEM, a company that teaches computer science to kids across America.

Lindsey Handley, PhD, is the COO of ThoughtSTEM and has hundreds of hours of experience as a classroom instructor for Minecraft-based science and computer science classes.