9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2026-01-04 15:41:46 +00:00

migration system

This commit is contained in:
XiaoMoMi
2024-03-10 04:24:15 +08:00
parent 19a0080aae
commit 0f18904de0
41 changed files with 1403 additions and 95 deletions

View File

@@ -60,7 +60,7 @@ tomato:
break:
# 30% chance of dropping crop seeds
action_1:
type: drop-items
type: drop-item
value:
ignore-fertilizer: true
item: {0}tomato_seeds
@@ -73,7 +73,7 @@ tomato:
events:
break:
action_1:
type: drop-items
type: drop-item
value:
ignore-fertilizer: true
item: {0}tomato_seeds
@@ -86,7 +86,7 @@ tomato:
events:
break:
action_1:
type: drop-items
type: drop-item
value:
ignore-fertilizer: true
item: {0}tomato_seeds
@@ -128,7 +128,7 @@ tomato:
chance: 0.01
break:
action_1:
type: drop-items
type: drop-item
value:
ignore-fertilizer: true
item: {0}tomato_seeds
@@ -173,7 +173,7 @@ tomato:
events:
break:
action_1:
type: drop-items
type: drop-item
value:
ignore-fertilizer: true
item: {0}tomato_seeds
@@ -181,7 +181,7 @@ tomato:
max: 2
chance: 1
action_2:
type: drop-items
type: drop-item
value:
ignore-fertilizer: false
item: {0}golden_tomato
@@ -259,6 +259,9 @@ tomato:
custom-bone-meal:
bone_meal_1:
item: BONE_MEAL
chance:
2: 0.2
1: 0.6
actions:
swing_action:
type: swing-hand
@@ -280,7 +283,4 @@ tomato:
source: player
key: minecraft:item.bone_meal.use
volume: 1
pitch: 1
chance:
2: 0.2
1: 0.6
pitch: 1

View File

@@ -93,7 +93,6 @@ default:
requirement_1:
type: item-in-hand
value:
hand: main
amount: 1
item: {0}soil_surveyor
actions:
@@ -116,6 +115,7 @@ default:
x: 0.5
y: 0.83
z: 0.5
visible-to-all: false
# Display the amount of water in pot
water_hologram:
type: hologram
@@ -126,3 +126,4 @@ default:
x: 0.5
y: 0.6
z: 0.5
visible-to-all: false