Description
没活了,发点老视频看看能不能涨点流量
本期教程介绍了一些原版物品组件(官方名称叫数据组件),可以让物品拥有不同的功能,还是很有教育意义的。
BGM:Endark-青春症候群 (Youth Syndrome)
盾弓:/give @s bow[blocks_attacks={block_delay_seconds:0.25,block_sound:"item.shield.block",disabled_sound:"item.shield.break",item_damage:{base:0,factor:1,threshold:0}},item_name="盾弓"]
钻石滑翔甲:/give @s diamond_chestplate[glider={},item_name="钻石滑翔甲"]
飞剑:/give @s diamond_sword[glider={},equippable={slot:"offhand"},item_name="飞剑"]
40米大剑:/give @s diamond_sword[attribute_modifiers=[{"id": "1","type": "entity_interaction_range","amount": 40,"operation": "add_value","slot": "mainhand"},{"id": "minecraft:base_attack_damage","type": "attack_damage","amount": 6,"operation": "add_value","slot": "mainhand"},{"id": "minecraft:base_attack_speed","type": "attack_speed","amount": -2.4,"operation": "add_value","slot": "mainhand"}],item_name="40米大剑"]
打火石剑:/give @s flint_and_steel[attribute_modifiers=[{"id": "minecraft:base_attack_damage","type": "attack_damage","amount": 4,"operation": "add_value","slot": "mainhand"},{"id": "minecraft:base_attack_speed","type": "attack_speed","amount": -2.4,"operation": "add_value","slot": "mainhand"}],weapon={"item_damage_per_attack": 1},max_damage= 128,enchantments= {"fire_aspect": 1},item_name="打火石剑"]
瑞士军刀:/give @s netherite_axe[weapon={"item_damage_per_attack": 1},max_damage=2031,tool={"rules": [{"blocks": "#mineable/axe","correct_for_drops": true,"speed": 10},{"blocks": "#mineable/pickaxe","correct_for_drops": true,"speed": 10},{"blocks": "#mineable/shovel","correct_for_drops": true,"speed": 10},{"blocks": "#mineable/hoe","correct_for_drops": true,"speed": 10},{"blocks": "#sword_efficient","correct_for_drops": true,"speed": 10}]},item_name="瑞士军刀"]
Comments
upup我们这样真的会有人来做数据包吗
♥ 15 ↩ 2
我真的不能同时拿起刀和盾吗
♥ 5 ↩ 1
教我
♥ 4 ↩ 1
给剑加上格挡组件可以使剑触发1.8的防砍动画并使敌方攻击无效[呲牙]
♥ 3 ↩ 1
教我
♥ 3
应该也可以给鞘翅加护甲吧
♥ 3 ↩ 1
[星幕回响_开心]
基岩版:....
不如我的刀盾
支持一下up!