Commands

There are a few commands and options to ease with the creation and control of Gems and the biomes that spawn within your world.

## Mod Options

You have the ability to change options to your preference. These Options can be accessed and changed via the Minecraft Menus, and not with the ingame chat. So far you can change the values of:

* Gems can rebel: [True/False]
* Instruct Injector Setup: [True/False]
* Make Gems talk: [True/False]
* Meteor Ruby spawn rate: [1 - 365]
* Spawn Meteor Rubies: [True/False]
* Update notifications: [True/False]
* Use metrics?: [True/False]
* Floating Peaks biome weight: [1 - 1000000]
* Kindergarten biome weight: [1 - 1000000]

## Gem Commands

Gem commands were replaced by Crystal Skills in version 1.10.x5.

## Spawn Commands

Spawn commands allow for you to summon any Gem that is within the mods files. These commands are typed by the player in the ingame chat. Here is an example of a command that spawns an Amethyst. For customisation of Gems, NBT data is used.

* /summon kagic:kagic.amethyst ~ ~ ~ {nbt data}

## nbt data list (separate with comma for each one):

* hasVisor:[true/false]
* insigniaColor:[0-15]
* uniformColor:[0-15]
* skinColor:[decimal]
* hair:

* hairColor:[decimal]

* gemColor:[decimal]

* defective:[true/false]
* primary:[true/false]
```
   UNKNOWN(-1),
   BISMUTH(0),
   FACETED(1),
   PERIDOT(2),
   PILLOW(3),
   TINY(4),
   CABOCHON(5),
   SQUARE(6),
   DRUM(7),
   TEARDROP(8),
   TRIANGULAR(9),
   DIAMOND(10)
   SHARD(11);

```

Gem Placements:

```
UNKNOWN(-1),
 BACK_OF_HEAD(0),
 FOREHEAD(1),
 LEFT_EYE(2),
 RIGHT_EYE(3),
 NOSE(4),
 LEFT_CHEEK(5),
 RIGHT_CHEEK(6),
 ~~MOUTH(7),~~ **Removed**
 LEFT_SHOULDER(8),
 RIGHT_SHOULDER(9),
 LEFT_HAND(10),
 RIGHT_HAND(11),
 BACK(12),
 CHEST(13),
 BELLY(14),
 LEFT_THIGH(15),
 RIGHT_THIGH(16),
 LEFT_KNEE(17),
 RIGHT_KNEE(18);

```

## Spawning Gems with Alignments

The nbt data attribute "servitude" can be specified to alter a gem's owner, be it a diamond, a player, herself, or have her as unaligned or a rebel.

```
{servitude:0} = No alignment.
{servitude:1} = Aligned to a player. (IMPORTANT: specify "ownerId" with the player's UUID)
{servitude:2} = Aligned to Yellow Diamond.
{servitude:3} = Aligned to Blue Diamond.
{servitude:4} = Aligned to White Diamond.
{servitude:5} = Rebel. (Aligned to Pink Diamond)
{servitude:6} = Aligned to herself and prefers the peace.

```

## Examples

* Typing "/summon kagic:kagic.pearl ~ ~ ~ {special:1}" **Summons Blue Diamond's Pearl.**
* Typing "/summon kagic:kagic.pearl ~ ~ ~ {special:2}" **Summons Yellow Diamond's Pearl.**
* Typing "/summon kagic:kagic.pearl ~ ~ ~ {special:3}" **Summons The Crystal Gems' Pearl.**

* Typing "/summon kagic:kagic.topaz ~ ~ ~ {gemPlacement:3, defective:true}" **Should spawn a defective Topaz with a gemstone where her right eye should be.**
* Typing "/summon kagic:kagic.amethyst ~ ~ ~ {gemCut:1, gemPlacements:0, uniformColor:6, hairColor:5000268, skinColor:3400191}" **Summons a customized Amethyst with dark gray hair, a pink uniform, and turquoise skin.**

### **Example Custom Gems**

* > **Citrine:**
>
>

> /summon kagic:kagic.jasper ~ ~ ~ {hairColor:16772794,skinColor:16372834,mark1color:16372834,mark2color:16372834,CustomName:"Citrine"}
>
>

* > **Ametrine:**
>
>

> /summon kagic:kagic.jasper ~ ~ ~ {hairColor:16772794,skinColor:16372834,mark1color:13810144,mark2color:13810144,CustomName:"Ametrine"}
>
>

* > **Flint:**
>
>

> /summon kagic:kagic.jasper ~ ~ ~ {hairColor:3750201,skinColor:5986903,mark1color:5986903,mark2color:5986903,CustomName:"Flint",special:7}
>
>

* > **Chert:**
>
>

> /summon kagic:kagic.jasper ~ ~ ~ {hairColor:13750737,skinColor:11710631,mark1color:11710631,mark2color:11710631,CustomName:"Chert",special:7}
>
>

* > **Bloodstone:**
>
>

> /summon kagic:kagic.jasper ~ ~ ~ {hairColor:209696,skinColor:4419165,mark1color:14031691,mark2color:11799351,CustomName:"Bloodstone",special:3}
>
>

* > **Bumblebee Jasper:**
>
>

> /summonkagic:kagic.jasper ~ ~ ~ {hairColor:15658968,skinColor:14868226,mark1color:3425032,mark2color:14849282,CustomName:"BumbleBee Jasper",special:6}
>
>

* > **Prasiolite:**
>
>

> /summon
> kagic:kagic.jasper ~ ~ ~ {hairColor:209696,skinColor:11523248,mark1color:11523248,mark2color:11523248,CustomName:"Prasiolite",special:3}
>
>

* > **Snakeskin Jasper:**
>
>

/summon kagic:kagic.jasper ~ ~ ~ {uniformColor:14,gemCut:6,skinColor:15164493,hairColor:16774643,gemColor:15882558,skinColor:15164493,mark1color:16768471,mark2color:16372834,CustomName:"Snakeskin Jasper"}

## Notes for Creating Custom Gems

You cannot create custom gems out of,

* Pearl
* Topaz
* Zircon

## Other Commands

* /scangems: Scans the mineral values of the player's chunk in the same manner as a Peridot would.
* /getcrux [gem]: Gives crux values for a gem, using the gem's name without prefixes.
* /spawngems: Causes all gem seeds around the player to finish developing, summoning the finished Gems and the holes they spawn in.
* /meteorruby: Spawns a "Meteor Ruby" at a high Y Coordinate, which will crash down to the location the command was posted, destroying surrounding blocks and igniting some flames. These Rubies are untameable if the game is not in Peaceful mode.
* /degem: Poofs all Gems in nearby chunks similarly to a Gem Staff. Some Gems may crack once poofed.

## Trivia

* Some gemstone placements are impossible for certain Gems, such as Sapphires with arm placements.
* Click here for an easy converter of hex to dec.
* Click here for one of many ways to obtain a hex color code.
* Steven, as of KAGIC X11p13 , is no longer able to be summoned, as he was removed from the Mod.