作者:rebot | 分类:模组
Minecraft 版本: 1.20 1.20.1
平台: quilt
Version: 4.0.1-alpha
License: Apache-2.0
Client/Server Side: Either (Limited Client features)
Forge/Fabric/Quilt: Any
Contributor[s]: Sisby folk (they/them)
Protect your pets from yourself, friends, and the environment while giving them a second chance at life!
Works on the Client (with limited features) or the Server (Singleplayer counts as both). Unlike most mods, this mod will
work on both without the other. If installed on the server, all clients will receive server side features. If installed
on the client, you can join vanilla servers without issue.
Forge, Fabric, and Quilt have the same features and configuration files and can work with each other
(IE: Vanilla/Forge Server and Fabric/Vanilla Client).
Java Version: 19+
Fabric Loader: 0.14.0+
Fabric API: 0.87.0+
Forge Loader: 47.0.0+
Quilt Loader: 0.20.2+
Quilted Fabric API: 7.1.2+
Your pets are protected from various sources of damage, either caused by you, your friends, or the environment.
Damage that you or your friends cause can be prevented. The following sources are available and enabled by default:
Disabled by default for balancing reasons. The following can be enabled to protect your pets from them:
You can whitelist friends that should be protected by the mod. You only need to provide the username or the UUID of the
account as the other values will be automatically generated. Behaviour is different between the server and client.
Users added to the whitelist are protected from all players.
Entities whose owners are in the whitelist are protected from damage caused by you (Limited by Client Side features).
Players in the same vanilla team with Friendly Fire disabled cannot harm each other's pets. Disabled by default for
balancing reasons and Client Side bug.
Note: Client Side implementation might cause the game to freeze for a few seconds as Vanilla Teams uses usernames
rather than UUIDs.
When your pet dies, it drops a note. You can then use this note to revive the pet by holding the note and right-clicking
on a Copper Block or other blocks that you have configured. The block will be consumed and the pet will be respawned! No
more missing your friend!
You can assume ownership of a pet by holding a stick or other configurable items, crouching, and then right-clicking on
the pet.
However, this feature is disabled by default and users in the server's whitelist are protected from this. You can only
transfer pets that you are considered friends with (Same Vanilla Team or PvP is disabled).
Don't want your pet or want to give it to someone else? You can remove ownership by crouching and using a shear or other
configured items.
Holding down the Shift key or the key you configured while attacking will bypass the Client Side protection and harm the
pet. I'm not sure why you want to do this, but it's here, just in case.
Note: Feature is removed if Server has the mod installed.
Disabled by default, you can add players to your whitelist (see whitelist for behaviour) and be unable to harm them or their pets!
Note: This feature could get you banned for changing how PvP works in servers. Use with caution.
The mod is highly configurable with options to disable or enable features to suit the experience the user wants to have.
The configuration file is based on JSON. Please see the file [CONFIG.md]() for an example with comments.
This mod is designed to be highly configurable from the programming aspects to allow other mods to adjust or add
behaviour to the mod.
Many methods and interfaces are available to use to easily add new environmental protection, new entity type to be
protected, or even logic to handle how protection is done (for Factions and similarly based mods).
I suggest having a look at the source code for ideas. Main areas to check are:
dcp.mc.projectsavethepets.ProjectSaveThePets - Main instance and logic handlerdcp.mc.projectsavethepets.apis.* - Contains interfaces that is used by the moddcp.mc.projectsavethepets.blockers.* - Code to prevent friendly firedcp.mc.projectsavethepets.entities.* - Entities that are protecteddcp.mc.projectsavethepets.mixins.* - Used to protect from sources of damagedcp.mc.projectsavethepets.notes.* - Revival Notes NBT handlersIt's done already! I also updated it to include the Quilt Loader as well!
Go for it! You have my full permission to add the mod to your Public or Private Mod Pack. No credits required!
Sure thing! Same as above!
Sure, I don't mind! As long as it's not a blatant copy and paste of an entire file! I do wish to be mentioned if
possible but isn't a requirement.
Yes you do as the mod needs it for the custom keybindings. But only if you are using the Fabric/Quilt version of the
mod!
It can run on the Client without the Server having it installed. But, many features will be missing. This is more useful
for playing on a Public Vanilla Servers with your friends, so that you don't start a war between your pets. Note: We
are not responsible for bans for using this mod in a public server.
However, if the server has it installed, no Players will need to install the mod to get access to all the features.
Enjoy!
Only for servers that don't have this mod and for Singleplayer/LAN! See above for more information.
It does! As long as the person who is hosting the session has the mod, then everyone will have access to all features!
Feel free to comment below the question, however I would prefer if you left any bug reports in the GitLab Repository!
Thanks!
As above, feel free to comment it! I do my best to add it, even if I disagree with it for balance reasons (Such as
environmental protection). I feel as if the mod should fit your needs, even if it is a niche. So it might be disabled in
the config by default, but you can always enable it!
请登录后举报
暂无评论,抢个沙发吧~