#Milk bucket
1 messages Β· Page 1 of 1 (latest)
I don't think it is modifiable because it is hard coded. You can probably mimic it in your own items (more than one, the empty state and the filled state).
Ok, thank you very much.
You can't overwrite vanilla items, but your can overwrite vanilla entities
Oh this thread is real old i didn't notice, was searching for a different one about buckets sorry if it's already solved
But anyway, cows and goats can be interact with a bucket, and then swap the empty bucket with a milk bucket. You can swap the string of code that says milk bucket with one that points to your custom made milk instead
Spot on
{
"format_version": "1.14",
"minecraft:item": {
"description": {
"identifier": "minecraft:honey_bottle"
},
"components": {
"minecraft:use_duration": 40,
"minecraft:max_stack_size": 16,
"minecraft:food": {
"nutrition": 6,
"saturation_modifier": "poor",
"can_always_eat": true,
"using_converts_to": "glass_bottle",
"remove_effects": [
"poison"
]
}
}
}
}
{
"format_version": "1.14",
"minecraft:item": {
"description": {
"identifier": "minecraft:honey_bottle"
},
"components": {
"minecraft:use_duration": 10,
"minecraft:max_stack_size": 16,
"minecraft:food": {
"nutrition": 6,
"saturation_modifier": "poor",
"can_always_eat": true,
"using_converts_to": "glass_bottle",
"remove_effects": [
"resistance"
]
}
}
}
}
Wait you can overwrite them now?
Yee
Except milk bucket
π
{
"format_version": "1.10",
"minecraft:item": {
"description": {
"identifier": "minecraft:wheat_seeds"
},
"components": {
"minecraft:seed": {
"crop_result": "wheat" // wheatCrops
}
}
}
}
Milk bucket can't be overwritten but everything else can...
How do you even code something like that
It cuz of the "remove_effects": "all" stuff?
all 0_0
What does the apk has to do with here
Literally interesting
Milk bucket removes all effects
Yes
[error]-Item[item.br:ho] Failed to load remove_effect with name[all] from Json. bad name?
ππ
{
"format_version": "1.14",
"minecraft:item": {
"description": {
"identifier": "minecraft:honey_bottle"
},
"components": {
"minecraft:use_duration": 10,
"minecraft:max_stack_size": 16,
"minecraft:food": {
"nutrition": 6,
"saturation_modifier": "poor",
"can_always_eat": true,
"using_converts_to": "glass_bottle",
"remove_effects": [
"resistance",
"speed",
"night_vision",
"darkness"
]
}
}
}
}