Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-274125

"minecraft:bees" component is missing default values for parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21
    • None
    • Windows 11
      Java 20.0.1
      Minecraft Java 1.21 (also 1.20.5 and 1.20.6)
    • Community Consensus
    • Commands

      When used (whether from the console, from a command block or with functions) you must always specify the following parameters of the minecraft:bees component:

      -min_ticks_in_hive (integer)

      -ticks_in_hive (integer)

      But the "entity_data" parameter can be excluded. My problem, like that of other players, is that when making datapacks (or some type of command) related to bee nests or beehives, you must always specify these two parameters, which vary as the ticks change (like their names indicate) causing certain functionalities of the datapacks/commands to not be activated.

      Before the creation of the components, this command was more than enough:

      /give @s minecraft:bee_nest{BlockEntityTag:{id:"minecraft:bee_nest",Bees:[{EntityData:{id:"minecraft:bee"}},{EntityData:{id:"minecraft:bee"}},{EntityData:{id:" minecraft:bee"}}]}}
      

      I leave some screenshots to give more context.

            Unassigned Unassigned
            stickzilla21 stickzilla21
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: