I would like to spawn a zombie in Minecraft java that has more life than normal. Can you also give them an item to drop an order?

ru
1

Can you give me the orders?

Sn

/ summon minecraft: zombie ~ ~ 1 ~ {Health: 300, Attributes: [{Name: "generic.maxHealth", Base: 300}], HandItems: [{id: "minecraft: diamond_block", Count: 1}, { }], HandDropChances: [2F, 0F]}

Zombie with 150 Hp, 300 hearts holding a diamond block and dropping 100%.

https://minecraft.tools/en/spawn.php There you can create such commands and set a lot more.