your current location:首页 > news>Ranged Weapon Api Minecraft

Ranged Weapon Api Minecraft

2024-12-15 03:09:20|Myriagame |source:minecraft skins

Remote weapon API

Making bows and crossbow is never so simple!

Characteristic

The structure of bow and crossbow;

Customable weapon attributes: damage, pull time, ejection speed (optional);

Automatic item model predicate registration (matching the original model predicate);

Tool prompts include weapon attributes;

Correctly rendering the first and third -person rendering;

Pull the field corner correctly;

AI can use these weapons.

Minecraft images

property

Remote damage attribute:

The amount of damage to specify the bomb is randomly randomly based on the same relative amount as the original weapon. The crit mechanism is the same as the original.

Traction speed attribute:

Base value = 100;

Example value: 50, -50% attack speed;

Example value: 200,+100% attack speed.


/GIVE @S Leather_Helmet {Attributemodifiers: [{Attributename: "Ranged_weapon: Haste", name: "testing", amount: 0.1, operation: 1, slot: "head", uuid : [I; 66453, 79497594, -201177,-16957605]}]} 1

Minecraft images


Each attribute has a corresponding state effect.

/Effect Give @p Ranged_weapon: Damage

Minecraft images

/Effect Give @p Ranged_weapon: Haste

Minecraft images

Minecraft images

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.