跳到正文

Slashbridge

作者:Rox1000000

serverside utility mod aiming to add in minecraft commands that I think the base game lacks, bridging datapack and mod function.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Slashbridge

What does it do?

Slashbridge was started because there are functions that I was like “Really? You can’t do that with commands?” In its current state it adds commands, but the plan is to expand it to other serverside features that will be used my own datapacks and data-driven mods, and hopefully yours too!

Commands

/motion

Entitymotion allows you to smoothly move an entity and edit its current velocity in different ways.

Movement subcommands:

set (vector) – Changes the entity’s velocity to a new vector.

add (vector) – Adds a new vector to the entity’s current velocity.

seek (number) – Moves targets towards an entity (or away from with a negative number).

mult (number) – Multiplies a target’s current velocity by a number.

Vector movement formats:

world – Movement corresponds to in-game coordinates.

local – Movement relative to where the target entity is facing.

zx – Movement rotates only horizontally but not vertically. Y is always up in the game world and not up relative to where an entity is facing.

/status

Entitystatus lets you modify the health, hunger, and absorption values of an entity.

Subcommands:

seek lets you transfer any of these stats from one entity to another, such as giving an entity hunger by removing another’s health.

The rest of the subcommands +|-|*|/|= are just math operators.

/despawn

Despawn lets you despawn entities without technically killing them. They won’t drop items or xp or anything. Currently made to ignore players.

Subcommands:

recursive – Despawns the entity targeted alongside all of its passengers.

single – Despawns only the entity targeted.

/after

After lets you run a command after a number of ticks. Can be stacked with other commands. For example `/execute at @p run after 100 kill’ could be a command.

/during

During lets you run a command during day, night, or a specific moon phase.

/Ignite & /Extinguish

Set entities on fire or put it out. The ignite command lets you set the number of ticks entities are on fire for.

Tags

These will have some degree of command functionality, but they partially use minecraft’s command system and can be added & manipulated with the /tag command.

Damage Resitance and Vulnerability

sb.dx.+

This adds in damage multipliers for a specific damage type. These are done in camelcase, as that’s what’s displayed in minecraft. So instead of writing indirect_magic you’d write indirectMagic.

sb.dx.mob+0.5 would mean you take half melee damage from mobs

these tags are not intended to stack, and the math will work out weirdly if you try and stack them.

you can put negative multipliers to heal on damage.

sb.damageheal

This tag is added when an entity heals instead of taking damage. It does not get removed at the moment, with the assumption that whoever’s using the tag for tracking purposes can remove it on their end.

Plans for the future

Player Animation Command(s)

Idk how plausable this is, but I want to be able to queue up player animations available in vanilla game such as swinging a hand or sitting. Whether or not this would be possible, especially at my current skill level, only time will tell.

常见问题

Slashbridge 支持哪些 Minecraft 版本?

Slashbridge 支持 Minecraft Java 版 1.21.3–1.21.4,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Slashbridge 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Rox1000000 的其他作品

查看全部 →