Skip to content
0tho edited this page Oct 10, 2014 · 3 revisions

# Crops Properties:

READ THIS FIRST

  • {name} - The name of the crop and the seed

  • {textureName} - The texture name of the crop block and the seed.

blocks/textureName1.png,

blocks/textureName2.png,

blocks/textureName3.png and

blocks/textureName4.png will be the crops texture items/textureName_seed.png will be the crops texture

  • [creativeTab] = "Custom Items" - The tab label from the tab that the crop and seed will show.

  • {fruitName} - The item that will be dropped as a fruit. Ex.: "minecraft:apple"

  • [renderType] = 1 - The block render type

  • [dropFromGrassChance] = 10 - The chance to drop the seed from grass block. min:0 max:100

  • [dropSeedWhenMature] = true - If false the crop wont drop seed when harvested

  • [acceptBoneMeal] = true - If false it wont be possible to use bonemeal in this crop

  • [minFruitDrop] = 1 - The minimum ammount of fruits to drop when harveting a mature crop. min = 0

  • [maxFruitDrop] = 1 - The maximum ammount of fruits to drop when harveting a mature crop

  • [minSeedDrop] = 1 - The minimum ammount of seeds to drop when harveting a mature crop. min = 0

  • [maxSeedDrop] = 2 - The maximum ammount of seeds to drop when harveting a mature crop. min = 0

  • [eachExtraSeedDropChance] = 50 - The chance to drop each extra seed that is more than the min

  • [eachExtraFruitDropChance] = 15 - The chance to drop each extra fruit that is more than the min

Format Example

{
	"crops":
	[
		{
			"name": "ironia",
			"textureName":"iron_crop",
			"fruitName": "minecraft:iron_ingot",
			"renderType": 6,
			"dropFromGrassChance": 10,

			"dropSeedWhenMature": true,
		    "acceptBoneMeal": true,
		    "minFruitDrop": 1,
		    "maxFruitDrop": 1,
		    "minSeedDrop": 1,
		    "maxSeedDrop": 2,
		    "eachExtraSeedDropChance": 50,
		    "eachExtraFruitDropChance": 15
		},
		{
			"name":"golduce",
			"textureName":"gold",
			"fruitName": "minecraft:gold_ingot",
			"renderType": 1,
			"dropFromGrassChance": 5
		}
	]
} 

```

Clone this wiki locally