Entity Tutorial 1: Creating a Simple Prop

From SkyCorp Global
Revision as of 03:22, 21 December 2017 by SkyCorp (talk | contribs)
Jump to navigation Jump to search

We will begin by creating a simple prop that doesn't have any specific functionality.

To do this, we will specify an entity definition using JSON.

{
	"type": "ENTITY",
	"name":
	{
		"literalString" : "Shiny Gem"
	},
	"description":
	{
		"literalString": "A gem that shines brightly in a variety of colors."
	}
}

Here, the type is set to ENTITY as this mod is for a new entity type.