MaxEnchantX-1.20.X-1.3-forge ReleaseR 1.20.1 Forge Sep 6, 2023 MaxEnchantX-1.20.X-1.3-fabric ReleaseR 1.20.1 Fabric Sep 5, 2023 MaxEnchantX-1.20.1-1.3-neoforge ReleaseR 1.20.1 NeoForge Sep 5, 2023 Minecraft 1.19 MaxEnchantX-1.19.X-1.3-fabric ReleaseR 1.19.4 Fabric Sep 10, 2023 Max...
specialPrice:调节第一个收购物品的价格。 uses:已经交易的次数,如果大于等于maxUses,该交易将失效。 xp:此项对流浪商人没有用处。 WanderTarget:流浪商人的目的地。可能不存在。 X:目的地X坐标。 Y:目的地Y坐标。 Z:目的地Z坐标。基岩版: 参见:基岩版世界格式/实体格式和基岩版世界格式/实体格式/组件进度...
/eclone [entities] Clone the entity you're looking at or all entities matching the given selector. NEW:/enchantmax Enchants the item you're holding with all existing non-curse enchantments at maximum level. /explode [pos] [power] [fire] [destruct] [launch] Spawn an explosion at your fee...
{ x: targetLocation.x, y: targetLocation.y, z: targetLocation.z + 4 }; const armorStand = players[0].dimension.spawnEntity(MinecraftItemTypes.ArmorStand, armorStandLoc); const equipmentCompPlayer = players[0].getComponent(EntityComponentTypes.Equippable) as EntityEquippableComponent; if (...
/enchant 手中的装备会被附魔(目前不清楚附魔ID)/gamemode (0:生存 1:创造 2:冒险)/give <玩家名> <物品ID> <数量> (这是给东西的指令)/me 命令台会跟你卖萌 /say <玩家名> <文本信息>会让命令台发送广播消息就给你这些了(如果用在命令方块上就把<玩家名>改成@p,@a)高级指令:/...
1.4.41.4.4-pre 加入了/enchant命令。 1.513w03a 加入了/testfor命令。 13w04a 加入了/scoreboard命令。 13w09b 加入了/effect命令。 1.6.113w23a 加入了/spreadplayers命令。 加入了游戏规则naturalRegeneration。 13w24a 加入了游戏规则doDaylightCycle。 13w24b /kill命令造成的伤害从1,000加入了至3.4×1038。
# EnchantType描述 附魔类型枚举值class EnchantType: ArmorAll = 0 ArmorFire = 1 ArmorFall = 2 ArmorExplosive = 3 ArmorProjectile = 4 ArmorThorns = 5 WaterBreath = 6 WaterSpeed = 7 WaterAffinity = 8 WeaponDamage = 9 WeaponUndead = 10 WeaponArthropod = 11 WeaponKnockback = 12 WeaponFire ...
· enchantment:用于增加产量的魔咒的命名空间ID。 enchant_randomly ·移除了 enchantments,取而代之的是 options,可以为单个魔咒、魔咒列表或带有#前缀的魔咒标签。 ·加入了 only_compatible,(可选,默认为true)表示是否仅允许适用于此物品的魔咒。 ·如果为true,则只允许与该物品兼容的魔咒。
通过重写Enchantment类中的getMinEnchantability、getMaxEnchantability、getMaxLevel、canApplyTogether方法设置最小、最大附魔能力、最高等级及附魔冲突; 同样可以用列表放所有自定义附魔实例,再用RegistryEvent.Register<Enchantment>事件作参数的方法注册,注意方法需要@SubscribeEvent强注释,所属类需要@EventBusSubscriber;文件...
Throws if the entity to leash to is over the max distance, and if the player is dead or in spectator mode. unleash unleash(): void Unleashes this entity if it is leashed to another entity. Notes: This function can't be called in read-only mode. ...