All crop information of this module is configured.
1.12 version
The configuration files are located under the Config/Planttech2 folder.
Set up a parent
The file is cropparents.txt, the format is
Crop Name = Father Ben 1+ Father 2, probability
For example
DROWNED = Stray+Husk, 0.1
The father of the drowning seed was a stray man and corpse shell, which generated a chance of 0.1, which is 10%.Pay attention to the hybridization, each father always has a 50%chance.
Set soil
The file is cropsoils.txt, the format is
Crop Name = Module Naming Space: Block Name, Data Value
For example
cactus = Minecraft: Sand, 0
It means that the cactus seeds need to be planted on the sand rack.
cocoa = minecraft: log, 4
It means that the cocoa seeds need to be planted on the shelf on the jungle wood (that is, the data with data value 4).
plantium = Planttech2: Plantium_block, 0
Indicates that the plant seeds need to be planted on the shelf rack on the planting blocks of this module.The soil required for no set seeds is default.
Set temperature
The file is Croptempenceure.txt, and the format is
Crop name = temperature
For example
blaze = extreme_warmcactus = warm
It means that the flames need a hot environment, and the cactus crops need a warm environment.The crop that does not set a normal temperature requires a normal temperature environment.
blacklist
The file is cropBlacklist.txt, and the format is
Crop name
This means that these crops are not enabled in the game.
Compression formula
The file is recipescompressor.txt, the format is
Module naming space where the raw material is located: the name of the raw material, the data value of the raw material, the number of raw materials, the mold type, the module of the product where the product is located
For example
Planttech2: Aluminum_particleS, 0,8, Square_big, ORDICT: Ingotaluminum, 0,11
It means that 8 aluminum particles use large square molds to compress 1 aluminum ingot (mineral dictionary).Here Oredict said that you can use the mineral dictionary without indicating the module.
Planttech2: Blaze_particleS, 0,8, Cross_big, MINECRAFT: Blaze_rod, 0,1
Indicates that the 8 flames particles use large cross molds to compress and get a flame stick.If this file is wrong, the console reminds where to go wrong, please read your log.
1.13-1.14 version
You need to use a packet to configure.You can create a new folder under the archived DataPACKS folder named for example PT2 (this is not important), and then create a file in it
pack.mcmeta
{"PACK": {"PACK_FORMAT": 4, "Description": "Write"}} casually
And a folder data.Create a folder PT2_CROPS under the data, and then create the crops you want to modify. JSON file, such as:
pt2_crops/dirt.json
{"sets": ["Minecraft: Carrot", "Minecraft: Coal"]}
Indicates that dirt crops need seeds are carrots or coal.If you want to delete a certain crop, modify it
{"sets": []}
Just accept it.See below for complete examples, see below
{{
"_Comment1": "When enabled is false, the seeds have no parent, nor will they appear in" Plant Encyclopedia "."
"Enabled": true,
"_Comment2": "0 = Extreme cold, 1 = cold, 2 = normal, 3 = warm, 4 = hot",
"Temperature": 1,
"_comment3": "允许这些物品作为种子使用", "seeds": ["planttech2:carrot_seeds","planttech2:dancium_block"],
"_Comment4": "The drop rate of this crop depends on the genetic traits. The second line does not seem to be effective.",
"Drops": [[
{"Item": "Minecraft: Diamond", "min": 0, "max": 4},
{"Tag": "Forge: block/Iron", "min": 0, "max": 2},
{"Item": "planttech2: dancium_block", "min": 1, "max": 5}
],,,
"Parents": [[
{{
"_Comment": "The order of the father has no effect", "
"_Comment2": "CHANCE is a percentage of variation rate of hybridization",
"Partner_1": "Enderdragon",
"Partner_2": "Enderman", "Enderman",
"CHANCE": 5
},
{{
"Partner_1": "DIRT",
"Partner_2": "Diamond", "CHANCE": 2.5
},
{{
"Partner_1": "Copper",
"Partner_2": "tin",
"CHANCE": 6
}
],,,
"Soil": {{
"Block": "Minecraft: soil"
}
}
This system is relatively complicated. If you have any questions or BUG feedback, please contact the original author.In order to facilitate everyone to use, I wrote a sample example. You can refer to it and decompress it into a folder and put it in DataPacks.Pt2.zip