国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(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...的評論 (共 條)

分享到微博請遵守國家法律
五家渠市| 陆丰市| 科尔| 延边| 方城县| 武定县| 灵璧县| 和田县| 芒康县| 林州市| 增城市| 嘉鱼县| 象州县| 扎囊县| 和平区| 台北市| 合川市| 包头市| 青神县| 赤峰市| 青阳县| 镇康县| 丽水市| 文山县| 五峰| 滦南县| 许昌市| 白山市| 泸州市| 沅江市| 张家港市| 蓬安县| 深水埗区| 哈密市| 商河县| 彭山县| 新宁县| 静乐县| 山东省| 西乌珠穆沁旗| 澄城县|