This tutorial is set by the author to use the CC By-NC-SA protocol.
As Create 101 Season 2 and Createch are getting hotter, many people want to know how the operation of planting ore in the plant basin is realized. Someone has been asking in the group, so they wrote this tutorial.
This tutorial is based on Minecraft 1.16.5, Botany Pots version: 1.16.5-7.0.15, Crafttweaker version: 1.16.5-7.1.0.246.
Recommended software: VSCODE, recommended plug -in: DHP and Zenscript in the plug -in market.
Reference materials:
Github of C101S2
Github of createch
CRT Wiki Botany Pots interface
Add recipes through OpenLoader or packet.
I don't know much about the content of the packet. This tutorial is for reference only.
First of all, open the .minecraft/OpenLoader/Data folder, create a new folder, the name is casual, create a new folder in the newly -built folder, named DATA, and then create a new folder in the data folder and named it as and named it.Botanypots, a new folder named RECIPES is created within it.Then create a new folder according to the things you want to modify. The folder is named as the following red coarse part.
CROPS: Seeds and products.
Fertilizers: Fertilizer.
SOIL: Soil.
Crop part
Basic format:
{{
"Type": "Botanypots: CROP",
"SEED": {
"Item": "Minecraft: WHEAT_SEEDS" #Fill in the seeds you want to set, you can be any item or tag.
},
"Categories": ["farland"], #[] Fill in the soil type, and it will be mentioned later.
"Growthticks": 3, #"", the unit is tick, not 0 or negative.
"Growthmodifier": 1.2, #"" times.
"Display": {
"Block": "Minecraft: WHEAT", #shows why blocks.
},
"Results": [
{{
"CHANCE": 0.05, #"
"OUTPUT": {
"Item": "Minecraft: WHEAT_SEEDS" #Product
},
"Minrolls": 1, #"" "
"Maxrolls": 2 #maximum extraction times
}
]
}
Taking Snowy's iron bills to plant copper -zinc ore as an example:
{{
"Type": "Botanypots: CROP",
"Display": {"block": "Create: Copper_ore"}, #shows that the copper ore gradually grows up."Growthticks": 200, #"200 Ticks grows.
"SEED": {
"Item": "RefinedStorage: raw_basic_processor" #Use "iron ticket" as seeds
},
"Results": [
{{
"OUTPUT": {
"Item": "Create: Zinc_ore" #The product is zinc ore
},
"Minrolls": 2, #minimum extraction number is 2
"Maxrolls": 2,#"" "" 2
"CHANCE": 0.5 #The probability of obtaining the product is 0.5
},#If you need to set a variety of products, this "," is very important!
{{
"OUTPUT": {
"Item": "Create: Copper_ore"#The product is copper ore
},
"Minrolls": 2,#minimum extraction number is 2
"Maxrolls": 2,#"" "" 2
"CHANCE": 0.5#The probability of obtaining the product is 0.5
}
],,,
"Categories": ["stone"] #The soil type is "Stone"
}
Fertilizer part
Fertilizer is fertilizer, such as bone meal, right -clicking the bone meal can reduce the required growth time.
Basic format:
{{
"Type": "Botanypots: Fertilizer",
"Fertilizer": {
"Item": "Minecraft: Bone_meal" #Fertilizer item
},
"Minticks": 50, #minimum reduction time, unit: tick.
"MaxTicks": 80 #Maximum reduction time, unit: tick.
}
SOIL part
{{
"Type": "Botanypots: soil",
"Input": {
"Item": "Minecraft: DIRT" #as an item for soil
},
"Display": {
"Block": "Minecraft: DIRT" #Show the square},
"Categories": ["dirt"], #soil type
"Ticks": 250, #Basic growth time
"Growthmodifier": 0.3 #Total growth time multiple
}
Similarly, interpretation of Snowy's formula,
{{
"Type": "Botanypots: soil",
"Input": {
"Item": "Minecraft: Prismarine" #Use sea spar as soil
},
"Display": {
"Block": "Minecraft: Prismarine"#Use sea spar as a soil display block
},
"Growthmodifier": 0.3, #Total growth multiple multiple is 0.3
"Categories": ["stone"] #soil type
}
Different soils can be included in the same soil, please refer to here.
Crafttweaker part
It is also divided into three parts: Crops, Fertilizer, and SOILS.
Which part of which is used is to import which part of the package.
crops: Import Mods.botanypots.zencrop;
SOILS: Import Mods.botanyPots.zensoil;
Fertilizer: Import Mods.botanypots.zenfertilizer;
CROPS part
Add variables first
Val Crops =
So as to use it later.
First of all, add the type,
Crops.create ("Gold",
In parentheses, from left to right: Crop Id seed display blocks grow soil types for a long time.
Add variables
Val xxx = crops.getcrop ("crop ID"); #xxx is just filled in, it is necessary, the quotation number needs to correspond to the first item of the new type above.
For use later.
Add soil type:
xxx.addcategory ("soil_category_name");
Remove the type of soil:
xxx.removeCategory ("DIRT");
Remove all types of soil:
xxx.ClearCategories ();
Increase drops:
xxx.adddrop (
() Internal order: the minimum number of products (non -compulsory) maximum number of times (non -compulsory)
The number of times is to try to generate several products.2 is to try to generate two products.
Clear product:
xxx.cleardrops ();
Clear a certain product:
xxx.removedrop (
Set up growth time:
xxx.setGrowthTicks (10000);
Set seeds:
xxx.setseed (
Set the display block: xxx.setdisplay (
Set multiple display blocks:
.setdisplay ([
The above things do not need to be added, just add what you need.
Here I use my script as an example.
Crops.create ("nickel",
From left to right in parentheses: crop ID, seed display squares grow for a long time soil type
value = crops.getcrop ("nickel");
nickel.adddrop (
Increase the chance of product nickel ore x 1,100%
nickel.adddrop (
Increase product nickel block x 1,1%rate rate
SOIL part
Add variables first
Val soils =
For use later.
SOILS.CREATE ("Stone",
From left to right: soil ID, use items, display blocks, total time times, soil types.
Add variables
Val xxxx = soils.getsoil ("soil ID"); #xxxx is just filled in, which requires uniqueness. The quotes need to correspond to the first type of new type above.
For use later.
Add to soil type
xxxx.addcategory ("test"); #Fill in soil types in the quotation marks, but not unique.
Delete from the type of soil
xxxx.removeCategory ("DIRT");
Clear soil category
xxxx.ClearCategories ();
Set the right -click item
xxxx.Setinput
Set the display block
xxxx.setdisplay (
Set the total time multiple
xxxx.setGrophmodifier (0.20); #Fill multiple in parentheses
Fertilizer part
Add variables first
valfilizers =
For use later.
Create fertilizer:
Fertilizers.create ("test",
From left to right in parentheses: fertilizer ID, items, reduced ticks.
Add variables
Val xxxxx = fertilizers.getfertilizer ("" Fertilizer ID ");
For use later.
Set item
xxxxx.Setinput (
Set the reduced ticks
xxxxx.setgrowthamoun (1200, 1500);