In Minecraft version 1.20.4 and later, the item format for potions has been updated. To create a custom potion inspired by the "Hachimi" song from Uma Musume, which suggests that consuming honey makes one's legs faster, you can use the following command:
/give @p potion{display:{Name:'{"text":"Hachimi Honey"}',Lore:['{"text":"A sweet drink that makes your legs faster!"}']},potion_contents:{custom_color:16766720,custom_effects:[{id:swiftness,duration:3600,amplifier:1}]}} 1
Explanation:
@p: Targets the nearest player.
potion: Specifies the item type.
display: Contains display properties:
Name: Sets the custom name of the potion to "Hachimi Honey".
Lore: Adds a description: "A sweet drink that makes your legs faster!".
potion_contents: Defines the potion's contents:
custom_color: Sets the potion's color. The value 16766720 corresponds to a honey-like color.
custom_effects: Lists the potion effects:
id:swiftness: Applies the Swiftness effect.
duration:3600: Sets the effect duration to 3 minutes (3600 ticks, as 20 ticks equal 1 second).
amplifier:1: Sets the effect level to II (since the amplifier starts at 0 for level I).
This command will give the nearest player a potion named "Hachimi Honey" that, when consumed, grants Swiftness II for 3 minutes, aligning with the song's theme of honey making one's legs faster.
Note: Ensure that command blocks are enabled in your world if you're using this command in a command block, as the command length may exceed the chat character limit.