Skip to content

Commit 947205d

Browse files
committed
Fix Typo
1 parent 87bdad9 commit 947205d

20 files changed

+50
-50
lines changed

gm4_lavish_livestock/data/gm4_lavish_livestock/templates/function/modify_baby.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# get parent size and roll chance to increase in size
77
scoreboard players operation @s gm4_lavish_livestock_size = $size gm4_lavish_livestock_size
8-
execute if score @s gm4_lavish_livestock_size matches 0..1 if predicate {condition:"minecraft:random_chance",chance:0.05} run scoreboard players add @s gm4_lavish_livestock_size 1
8+
execute if score @s gm4_lavish_livestock_size matches 0..1 if predicate {condition:"minecraft:random_chance",chance:1} run scoreboard players add @s gm4_lavish_livestock_size 1
99

1010
# if non-vanilla size: add loot table and tag entity (for diagnostics and to read for other modules, currently used by gemini)
1111
execute if score @s gm4_lavish_livestock_size matches 1.. run tag @s add gm4_lavish_livestock.livestock

gm4_metallurgy/data/gm4_gemini_shamir/function/baby/pick_type.mcfunction

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# determine type
22
# run from gm4_gemini_shamir:baby/find_baby
33

4-
data remove storage gm4_gemini_shamir:temp source
4+
data remove storage gm4_gemini_shamir:temp natural_baby
55
execute if entity @s[tag=gm4_gemini_axolotl] as @e[type=axolotl,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_axolotl
66
execute if entity @s[tag=gm4_gemini_cat] as @e[type=cat,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_cat
7-
execute if entity @s[tag=gm4_gemini_chicken] as @e[type=chicken,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_chicken
8-
execute if entity @s[tag=gm4_gemini_cow] as @e[type=cow,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_cow
7+
execute if entity @s[tag=gm4_gemini_chicken] as @e[type=chicken,distance=..10,nbt={Age:-23999},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_chicken
8+
execute if entity @s[tag=gm4_gemini_cow] as @e[type=cow,distance=..10,nbt={Age:-23999},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_cow
99
execute if entity @s[tag=gm4_gemini_donkey] as @e[type=donkey,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_donkey
1010
execute if entity @s[tag=gm4_gemini_fox] as @e[type=fox,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_fox
1111
execute if entity @s[tag=gm4_gemini_goat] as @e[type=goat,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_goat
1212
execute if entity @s[tag=gm4_gemini_horse] as @e[type=horse,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_horse
1313
execute if entity @s[tag=gm4_gemini_llama] as @e[type=llama,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_llama
14-
execute if entity @s[tag=gm4_gemini_mooshroom] as @e[type=mooshroom,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_mooshroom
14+
execute if entity @s[tag=gm4_gemini_mooshroom] as @e[type=mooshroom,distance=..10,nbt={Age:-23999},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_mooshroom
1515
execute if entity @s[tag=gm4_gemini_mule] as @e[type=mule,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_mule
1616
execute if entity @s[tag=gm4_gemini_ocelot] as @e[type=ocelot,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_ocelot
1717
execute if entity @s[tag=gm4_gemini_panda] as @e[type=panda,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_panda
18-
execute if entity @s[tag=gm4_gemini_pig] as @e[type=pig,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_pig
19-
execute if entity @s[tag=gm4_gemini_rabbit] as @e[type=rabbit,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_rabbit
20-
execute if entity @s[tag=gm4_gemini_sheep] as @e[type=sheep,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_sheep
18+
execute if entity @s[tag=gm4_gemini_pig] as @e[type=pig,distance=..10,nbt={Age:-23999},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_pig
19+
execute if entity @s[tag=gm4_gemini_rabbit] as @e[type=rabbit,distance=..10,nbt={Age:-23999},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_rabbit
20+
execute if entity @s[tag=gm4_gemini_sheep] as @e[type=sheep,distance=..10,nbt={Age:-23999},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_sheep
2121
execute if entity @s[tag=gm4_gemini_trader_llama] as @e[type=trader_llama,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_trader_llama
2222
execute if entity @s[tag=gm4_gemini_wolf] as @e[type=wolf,distance=..10,nbt={Age:-24000},limit=1,sort=nearest] at @s run function gm4_gemini_shamir:baby/spawn_wolf
2323

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred axolotl
2+
# @s = newborn axolotl
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.variant set from entity @s variant
66
data modify storage gm4_gemini_shamir:temp natural_baby.PersistenceRequired set value 1b
7-
execute summon axolotl run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
7+
execute summon axolotl run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred cat
2+
# @s = newborn cat
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.variant set from entity @s variant
66
data modify storage gm4_gemini_shamir:temp natural_baby.Owner set from entity @s Owner
77
data modify storage gm4_gemini_shamir:temp natural_baby.PersistenceRequired set value 1b
8-
execute summon cat run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
8+
execute summon cat run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred chicken
2+
# @s = newborn chicken
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.variant set from entity @s variant
6-
execute if entity @s[tag=gm4_lavish_livestock.livestock] run data modify storage gm4_gemini_shamir:temp natural_baby.variant set from entity @s attributes[{id:"minecraft:scale"}].modifiers[{id:"gm4_lavish_livestock:size"}]
7-
execute summon chicken run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
6+
execute if entity @s[tag=gm4_lavish_livestock.livestock] run data modify storage gm4_gemini_shamir:temp natural_baby.attributes append from entity @s attributes
7+
execute summon chicken run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred cow
2+
# @s = newborn cow
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.variant set from entity @s variant
6-
execute if entity @s[tag=gm4_lavish_livestock.livestock] run data modify storage gm4_gemini_shamir:temp natural_baby.variant set from entity @s attributes[{id:"minecraft:scale"}].modifiers[{id:"gm4_lavish_livestock:size"}]
7-
execute summon cow run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
6+
execute if entity @s[tag=gm4_lavish_livestock.livestock] run data modify storage gm4_gemini_shamir:temp natural_baby.attributes append from entity @s attributes
7+
execute summon cow run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred donkey
2+
# @s = newborn donkey
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.Owner set from entity @s Owner
6-
execute summon donkey run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
6+
execute summon donkey run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred fox
2+
# @s = newborn fox
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.Trusted set from entity @s Trusted
66
data modify storage gm4_gemini_shamir:temp natural_baby.Type set from entity @s Type
7-
execute summon fox run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
7+
execute summon fox run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred goat
2+
# @s = newborn goat
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.IsScreamingGoat set from entity @s IsScreamingGoat
6-
execute summon goat run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
6+
execute summon goat run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# run from gm4_gemini_shamir:baby/pick_type
2-
# @s = recently bred horse
2+
# @s = newborn horse
33

44
data modify storage gm4_gemini_shamir:temp natural_baby set value {Tags:["gm4_gemini_baby"],Age:-23999}
55
data modify storage gm4_gemini_shamir:temp natural_baby.Variant set from entity @s Variant
6-
execute summon horse run data modify entity @s {} merge from storage gm4_gemini_shamir:temp source
6+
execute summon horse run data modify entity @s {} merge from storage gm4_gemini_shamir:temp natural_baby

0 commit comments

Comments
 (0)