无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

『KubeJS入門教程』修改你的工具/武器/盔甲屬性 | 我的世界 Min...

2023-03-02 02:43 作者:LoseWithin  | 我要投稿


onEvent("item.modification", event => {


??//Supports any tool that has a damage, like shovel, pickaxe

??event.modify("diamond_sword", modification => {

????modification.setAttackDamage(1000)

????????//Note that bare hand speed is 4, you need to add?

????????//a negative number to make it lower.

????modification.setAttackSpeed(0.1)

??})


??//Only supports pickaxe, hoe, axe, etc.

??event.modify("diamond_shovel", modification => {

????modification.setDigSpeed(1000)

??})


??//Only supports armor

??event.modify("diamond_chestplate", modification => {

????modification.setArmorProtection(1)

????modification.setArmorToughness(10)

????modification.setArmorKnockbackResistance(2)

??})


??/**

???* Generic attribute modification supports any tool / armor(but not any item),

???* and addition/removal of any attribute.

???* Adding attributes to different items with same UUID can cause problems,

???* as attributes are removed/added by UUID in Mojang code.?

???*/

??event.modify(["diamond_chestplate", "diamond_axe"], modification => {

????modification.addAttribute("minecraft:generic.movement_speed", "d685b34c-8e34-4f4c-be7a-3e306e6656ee", "Sus speed", 1, "addition")

????modification.addAttribute("forge:entity_gravity", "1f12ad16-2bc8-40c1-952d-19412bb666ac", "Sus gravity", 20, "multiply_total")

??})

})

『KubeJS入門教程』修改你的工具/武器/盔甲屬性 | 我的世界 Min...的評論 (共 條)

分享到微博請遵守國家法律
松滋市| 齐河县| 洪雅县| 孝感市| 麻栗坡县| 贵州省| 博罗县| 伊吾县| 牡丹江市| 锦州市| 开阳县| 台前县| 宝山区| 鄂尔多斯市| 江安县| 阳春市| 土默特左旗| 五常市| 繁昌县| 文化| 读书| 武鸣县| 华容县| 电白县| 梁山县| 崇仁县| 沭阳县| 德安县| 襄樊市| 成武县| 峡江县| 革吉县| 于田县| 堆龙德庆县| 彭泽县| 八宿县| 自治县| 光山县| 望奎县| 阿拉善盟| 荃湾区|