#Milk bucket

1 messages Β· Page 1 of 1 (latest)

worthy ridge
#

How to modify the behavior of the milk bucket?, there is something different in these items, like an index that specifies what type of bucket it is. I want to know if it is possible or not, thank you very much.

dawn raven
#

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).

worthy ridge
#

Ok, thank you very much.

urban spoke
#

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

mild moss
#

{
"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"
        ]
      }
    }
  }
}
urban spoke
#

Wait you can overwrite them now?

mild moss
#

Yee

#

Except milk bucket

#

πŸ˜‚

#
{
  "format_version": "1.10",
  "minecraft:item": {
    "description": {
      "identifier": "minecraft:wheat_seeds"
    },

    "components": {
      "minecraft:seed": {
        "crop_result": "wheat" // wheatCrops
      }
    }
  }
}
urban spoke
#

Milk bucket can't be overwritten but everything else can...

#

How do you even code something like that

mild moss
#

πŸ˜…

#

Download mcpe by apk
(.apk) then change it to .zip

urban spoke
#

It cuz of the "remove_effects": "all" stuff?

mild moss
#

all 0_0

urban spoke
#

What does the apk has to do with here

mild moss
#

Literally interesting

urban spoke
#

Milk bucket removes all effects

mild moss
#

[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"
        ]
      }
    }
  }
}