跳到正文

Piglib

作者:Shnupbups

A mod to help other modders and datapack creators mess with Piglins

收藏

介绍

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

Adds item tags for various Piglin related things that Mojang were too silly to add themselves! Useful for mods which add new items that should interact with Piglins, or for datapack makers.

Tags include:

  • piglib:piglin_bartering_items – Items in this tag, when picked up by a Piglin or right clicked with, will result in the Piglin bartering
  • piglib:piglin_safe_armor – Items in this tag, when worn in an armor slot, will prevent nearby Piglins from being angered
  • piglib:piglin_loved_nuggets – Items in this tag, when picked up by Piglins, will be picked up as a whole stack like gold nuggets rather than one at a time. Piglins will not actively seek out these items. Items in this tag should not also be in the vanilla minecraft:piglin_loved tag

Note that adding items to any of these tags doesn’t automatically add them to minecraft:piglin_loved, so if you want Piglins to actively seek out the items when dropped on the ground, you will need to add to that as well.

This can be Jar-in-Jar’d to your Fabric mods! Use JitPack.

常见问题

Piglib 支持哪些 Minecraft 版本?

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

Piglib 怎么安装?

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

评论

登录后评论和评分

Shnupbups 的其他作品

查看全部 →