Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cropconfigurations can be changed by using data packs.
- You need to create the folder pt2_crops in your data pack and use the name of the crop you want to override.
- As an example: We change the seeds for the dirt crop to carrots and coal.
- The file pt2_crops/dirt.json would look like:
- {
- "seeds": ["minecraft:carrot", "minecraft:coal"]
- }
- When not overwriting things things in the file, they will stay as default.
- When you want to delete things, just make it empty. Like
- {
- "seeds": []
- }
- Here is a overview of all configurations with comments:
- {
- "_comment1": "When not enabled, crops will have no parents and will not be shown in plantencyclopedia",
- "enabled": true,
- "_comment2": "0 = extreme Cold, 1 = cold, 2 = normal, 3 = warm, 4 = extreme warm",
- "temperature": 1,
- "_comment3": "Allow these items to be used as seeds for this crop when clicking on crop bars",
- "seeds": ["minecraft:carrot_seeds", "planttech2:dancium_block"],
- "_comment4": "Add possible drops to this crop. Droprate depends on productivity trait",
- "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 partner doesnt matter",
- "_comment2": "Chance to mutate in %",
- "partner_1": "enderdragon",
- "partner_2": "enderman",
- "chance": 5
- }, {
- "partner_1": "dirt",
- "partner_2": "diamond",
- "chance": 2.5
- }, {
- "partner_1": "copper",
- "partner_2": "tin",
- "chance": 6
- }],
- "soil": {
- "block": "minecraft:soil"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement