VegAlts
本项目已迁移至 Codeberg:
请使用 Codeberg 仓库获取最新的源代码、问题反馈、版本发布和文档。
VegAlts 为 Minecraft: Java Edition 26.3 中的动物制品添加了素食合成路径。
它基于 Java 25,专为 Paper 和 Spigot 26.3+ 构建。
功能介绍
- 为皮革、线、羽毛、火药、骨头、鳞片、贝壳、膜、烈焰棒、旋风棒等动物衍生物品添加合成配方。
- 将原版钓鱼掉落物替换为素食植物、杂物和宝藏。
- 将可疑方块中的煤炭和嗅探犬蛋替换为火炬花种子或瓶子花荚。
- 可抑制被感染的方块生成的蠹虫。
- 可使玩家头颅的配方产出合成该物品的玩家的头颅。
- 允许腐肉在熔炉、烟熏炉和营火中烹饪成皮革。
VegAlts 有意尽量减少直接配方的数量。如果某物品可以通过使用素食基础材料的原版配方制作,那么该原版配方即为预期路径。示例包括:旋风冲击(旋风棒)、干凝胶怪(凝胶怪泪滴)、挽具和马铠(皮革/羊毛)、书籍和物品展示框(皮革)、羊毛制品(线)、蜜瓶(蜂蜜块 + 玻璃瓶)以及岩浆膏(粘液球 + 烈焰粉)。
假的 Egg 是唯一具有素食路径的蛋。海龟蛋、嗅探犬蛋和龙蛋故意无法合成。
命令与权限
| 命令 |
权限 |
描述 |
/va help |
vegalts.help |
显示指南链接。 |
/va reload |
vegalts.reload |
重载 config.yml 并重建配方。 |
| 权限 |
默认值 |
描述 |
vegalts.help |
true |
使用 /va help。 |
vegalts.reload |
op |
使用 /va reload。 |
vegalts.fishing |
false |
在全局设置关闭时启用素食钓鱼。 |
vegalts.fishing.disabled |
false |
在全局素食钓鱼开启时选择退出。 |
vegalts.archaeology |
false |
在全局设置关闭时启用素食考古。 |
vegalts.archaeology.disabled |
false |
在全局素食考古开启时选择退出。 |
vegalts.infested |
false |
为玩家抑制感染方块的蠹虫生成。 |
vegalts.infested.disabled |
false |
在全局抑制开启时选择退出。 |
vegalts.playerhead |
false |
在全局设置关闭时启用独特的玩家头颅。 |
vegalts.playerhead.disabled |
false |
在全局独特玩家头颅开启时选择退出。 |
如何阅读配方网格
- 3×3 表格表示合成台布局。
- 空白单元格表示空槽位。
- 无形状(Shapeless)配方列出其材料,而非显示网格。
- “Any seed” 指小麦、甜瓜、南瓜、甜菜根或火炬花种子。
- 标记为“rotations”或“mirrors”的配方也接受旋转或镜像后的排列方式。
食物与饮品
Raw Beef
无形状:6× Red Mushroom, 1× Beetroot, 1× Wheat, 1× any seed.
Raw Chicken
无形状:5× Brown Mushroom, 1× Wheat, 2× any seed.
Raw Cod
无形状:3× Brown Mushroom, 2× Kelp, 1× Wheat, 2× any seed.
Raw Mutton
无形状:5× Red Mushroom, 1× Beetroot, 1× Wheat, 1× any seed.
Raw Porkchop
无形状:6× Brown Mushroom, 1× Beetroot, 1× Wheat, 1× any seed.
Pufferfish
无形状:1× Brown Mushroom, 1× Spider Eye, 4× Kelp, 1× Wheat, 2× any seed.
Raw Rabbit
无形状:4× Brown Mushroom, 1× Wheat, 2× any seed.
Raw Salmon
无形状:4× Red Mushroom, 2× Kelp, 1× Beetroot, 1× Wheat, 1× any seed.
Tropical Fish
无形状:1× Brown Mushroom, 2× Kelp, 1× Wheat, 1× Carrot, 1× any seed.
Milk Bucket
S = any seed, W = Water Bucket. 结果:Milk Bucket.
Egg
无形状:1× Water Bottle, 1× Wheat, 1× any seed. 结果:fake Egg.
副产品:1× Glass Bottle. 假蛋永远不会孵化。
Honeycomb
无形状:1× Water Bottle, 1× Sugar, 1× Paper, 1× Orange Dye.
副产品:1× Glass Bottle.
生物掉落物与材料
Bone
接受四种布局。
垂直:
B
B
B
水平:
B B B
对角线:
B . .
. B .
. . B
反向对角线:
. . B
. B .
B . .
B = Bone Meal.
Bone Meal
C = any compostable item. 这包括苹果、甜菜根、胡萝卜、可可豆、蕨类、花朵、蘑菇、睡莲、甜瓜、土豆、南瓜、海泡菜、小麦、烤土豆、面包、饼干、干草块、蘑菇块、架子蘑菇、灌木、萤火虫灌木、仙人掌花、野花、落叶、干草、瓶子花植物、火炬花、眼球花、树苗、真菌、下界芽、藤蔓、发光地衣、苔藓、粉色花瓣、孢子花、滴水叶、悬挂根、浆果、海带、海草、甘蔗、仙人掌、竹子、甜瓜片以及南瓜派。
Feather
无形状:1× Paper, 1× Stick.
Gunpowder
无形状:1× Glowstone Dust, 1× Sand, 1× Gravel.
Ink Sac
K = Kelp, C = Charcoal.
Glow Ink Sac
无形状:1× Ink Sac, 1× Glowstone Dust.
Slimeball
无形状:1× Water Bottle, 1× Wheat, 1× Sugar, 1× Clay Ball, 1× Lime Dye.
副产品:1× Glass Bottle.
Spider Eye
无形状:2× Red Mushroom, 1× Beetroot, 1× Poisonous Potato.
副产品:1× Potato.
String
接受三种无形状布局:
- 4× Short Grass 或 Seagrass.
- 1× Tall Grass + 2× Short Grass 或 Seagrass.
- 2× Tall Grass.
Leather
A = Apple, B = Glass Bottle, S = String.
副产物:将玩家背包中的空桶装满水,或在没有空桶时给予一瓶水。当桶被装满后,玻璃瓶会被返还。
替代路径:在启用 cooking.rotten-flesh-to-leather 时,在熔炉、烟熏炉或营火中烹饪腐肉。
兔皮
A = 苹果,B = 玻璃瓶,S = 线。
副产物:与皮革相同的装水桶/水瓶行为。
兔脚
无形状配方:1× 兔皮,1× 骨头。结果:2× 兔脚。
腐肉
无形状配方:1× 棕色蘑菇或红色蘑菇,1× 蜘蛛眼,1× 骨粉。
恶魂之泪
G = 火药,N = 铁粒或金粒。
烈焰棒
G = 火药,D = 萤石粉,R = 铁栏杆或避雷针。
微风棒
A = 紫水晶簇,B = 烈焰棒。
随后使用原版微风棒配方制作风弹。
下界疣
无形状配方:1× 棕色蘑菇、红色蘑菇、绯红菌或诡异菌,
加上 1× 烈焰粉。
下界之星
S = 灵魂沙或灵魂土,E = 末影水晶,C = 潮涌核心。
龙息
或倒置:
B = 玻璃瓶,C = 紫颂果,E = 末影水晶。结果:3× 龙息。
潜影壳
A = 紫水晶簇,R = 末影烛。
鹦鹉螺壳
使用以下四种布局中的任意一种,或其垂直镜像:
K = 海带,I = 墨囊,S = 龟壳。
龟壳
或倒置。K = 海带,B = 骨头。
犰狳鳞甲
或倒置。K = 砖块,B = 骨头。结果:2× 犰狳鳞甲。
幻翼膜
P = 纸,S = 线。结果:2× 幻翼膜。
海晶碎片
K = 海带,A = 紫水晶碎,L = 青金石。结果:4× 海晶碎片。
海晶砂粒
无形状配方:2× 萤石粉,1× 紫水晶碎,1× 海带。结果:2× 海晶砂粒。
湿海绵
无形状配方:8× 海带,1× 粘液球。
三叉戟
无形状配方:4× 海晶碎片,2× 木棍,1× 鹦鹉螺壳。
头颅
骷髅头颅
B = 骨头。
凋灵骷髅头颅
D = 黑色染料,C = 木炭,S = 骷髅头颅。
苦力怕头颅
D = 石灰绿染料,G = 火药,S = 骷髅头颅。
僵尸头颅
D = 绿色染料,F = 腐肉,S = 骷髅头颅。
猪灵头颅
P = 生猪排,S = 骷髅头颅。
玩家头颅
L = 皮革或兔皮,S = 骷髅头颅。
当启用 player-heads.unique,或玩家拥有 vegalts.playerhead 权限时,
结果归属于合成该物品的玩家。否则,它是一个空白玩家头颅。
特殊物品
末影珍珠
C = 青色染料,S = 粘液球,E = 蜘蛛眼。结果:假末影珍珠。
假末影珍珠仍然可以投掷者传送,但不会生成末影螨。
山羊角
基础布局:
尖叫变体在顶部增加一行火药:
S = 粘液球,F = 唱片残片5,D = 黑色染料,P = 尖锥滴石,
G = 火药。
结果为随机的山羊角乐器。火药会产生尖叫变体。
赭黄萤火虫灯
无形状配方:1× 蘑菇灯,1× 粘液球,1× 岩浆膏,1× 黄色染料。
珠光萤火虫灯
无形状配方:1× 蘑菇灯,1× 粘液球,1× 岩浆膏,1× 紫色染料。
翠绿萤火虫灯
无形状配方:1× 蘑菇灯,1× 粘液球,1× 岩浆膏,1× 绿色染料。
自定义钓鱼
每次成功钓起物品时,有 85% 的概率获得植物类物品,10% 的概率获得垃圾类物品,
以及 5% 的概率获得宝藏类物品。
植物类
各占 6.9%:
- 海带
- 短草丛
- 海草
- 睡莲
- 苔藓地毯
- 藤蔓
- 小麦种子
- 西瓜种子
- 南瓜种子
- 甜菜根种子
- 悬挂的根须
- 甘蔗
各占 3.45%:
垃圾类
各占 10%:
各占 5%:
- 指南针
- 刷子
- 花盆
- 水桶
- 海晶碎片
- 海晶砂粒
- 剪刀
- 水瓶
宝藏类
各占 13.64%:
- 经验瓶
- 命名牌
- 铁粒
- 金粒
- 湿海绵
- 望远镜
- 随机音乐唱片:11、Far、Chirp、Blocks、Mall、Stal、Mellohi、Wait、Strad 或 Ward
占 4.55%:
竹子和可可豆保持其原版钓鱼行为。禁用的物品会从池中移除,剩余概率按比例增加。
自定义考古
可疑的沙子和可疑的砾石会掉落火把花种子或猪笼草荚果,而不是煤炭或嗅探兽蛋。
被感染的方块
启用后,对于符合条件的玩家,从被感染方块中刷新的蠹虫会被抑制(隐藏)。
配置
config.yml 支持嵌套结构,并可通过 /va reload 命令重新加载:
enabled: true
fishing:
global: false
items:
kelp: true
lily-pad: true
# ...
archaeology:
global: false
infested-blocks:
global: false
player-heads:
unique: true
cooking:
rotten-flesh-to-leather: true
recipes:
armadillo-scute: true
beef: true
# ...
所有配方开关位于 recipes 下。所有钓鱼物品开关位于 fishing.items 下。
构建
要求:
mvn clean package
编译好的插件将输出至:
target/VegAlts-1.3.0.jar
该 jar 包内含重定位后的 bStats 副本,位于 com.lichenaut.vegalts.libs.bstats 包下;无需任何外部运行时依赖。
许可证
MIT。详见 LICENSE。
待办事项
更昂贵的有形状三叉戟配方。通过熔炉烧制皮革给予经验值。
VegAlts
This project has moved to Codeberg:
Please use the Codeberg repository for the latest source, issues, releases, and documentation.
VegAlts adds vegan paths for animal products in Minecraft: Java Edition 26.3.
It is built for Paper and Spigot 26.3+ on Java 25.
What it does
- Adds crafting recipes for animal-derived items such as leather, string, feathers,
gunpowder, bones, scutes, shells, membranes, blaze rods, breeze rods, and more.
- Replaces vanilla fishing catches with vegan flora, junk, and treasure.
- Replaces coal and sniffer eggs in suspicious blocks with torchflower seeds or
pitcher pods.
- Can suppress silverfish spawned by infested blocks.
- Can make player-head recipes produce the crafting player's head.
- Lets rotten flesh cook into leather in furnaces, smokers, and campfires.
VegAlts intentionally adds as few direct recipes as possible. If an item can
already be made through a vanilla recipe from vegan base materials, that vanilla
recipe is the intended path. Examples include wind charges (breeze rods), dried
ghasts (ghast tears), harnesses and saddles (leather/wool), books and item frames
(leather), wool items (string), honey bottles (honeycomb + glass bottle), and
magma cream (slimeball + blaze powder).
The fake Egg is the only egg with a vegan path. Turtle eggs, sniffer eggs,
and dragon eggs are deliberately not craftable.
Commands and permissions
| Command |
Permission |
Description |
/va help |
vegalts.help |
Shows the guide link. |
/va reload |
vegalts.reload |
Reloads config.yml and rebuilds recipes. |
| Permission |
Default |
Description |
vegalts.help |
true |
Use /va help. |
vegalts.reload |
op |
Use /va reload. |
vegalts.fishing |
false |
Vegan fishing when the global setting is off. |
vegalts.fishing.disabled |
false |
Opt out when vegan fishing is global. |
vegalts.archaeology |
false |
Vegan archaeology when the global setting is off. |
vegalts.archaeology.disabled |
false |
Opt out when vegan archaeology is global. |
vegalts.infested |
false |
Suppress infested-block silverfish for the player. |
vegalts.infested.disabled |
false |
Opt out when suppression is global. |
vegalts.playerhead |
false |
Unique player heads when the global setting is off. |
vegalts.playerhead.disabled |
false |
Opt out when unique player heads are global. |
How to read the recipe grids
- A 3×3 table is a crafting-grid layout.
- An empty cell is an empty slot.
- A shapeless recipe lists its ingredients instead of showing a grid.
- “Any seed” means wheat, melon, pumpkin, beetroot, or torchflower seeds.
- Recipes marked “rotations” or “mirrors” also accept the rotated or mirrored
arrangement.
Food and drink
Raw Beef
Shapeless: 6× Red Mushroom, 1× Beetroot, 1× Wheat, 1× any seed.
Raw Chicken
Shapeless: 5× Brown Mushroom, 1× Wheat, 2× any seed.
Raw Cod
Shapeless: 3× Brown Mushroom, 2× Kelp, 1× Wheat, 2× any seed.
Raw Mutton
Shapeless: 5× Red Mushroom, 1× Beetroot, 1× Wheat, 1× any seed.
Raw Porkchop
Shapeless: 6× Brown Mushroom, 1× Beetroot, 1× Wheat, 1× any seed.
Pufferfish
Shapeless: 1× Brown Mushroom, 1× Spider Eye, 4× Kelp, 1× Wheat, 2× any seed.
Raw Rabbit
Shapeless: 4× Brown Mushroom, 1× Wheat, 2× any seed.
Raw Salmon
Shapeless: 4× Red Mushroom, 2× Kelp, 1× Beetroot, 1× Wheat, 1× any seed.
Tropical Fish
Shapeless: 1× Brown Mushroom, 2× Kelp, 1× Wheat, 1× Carrot, 1× any seed.
Milk Bucket
S = any seed, W = Water Bucket. Result: Milk Bucket.
Egg
Shapeless: 1× Water Bottle, 1× Wheat, 1× any seed. Result: fake Egg.
Byproduct: 1× Glass Bottle. Fake eggs never hatch.
Honeycomb
Shapeless: 1× Water Bottle, 1× Sugar, 1× Paper, 1× Orange Dye.
Byproduct: 1× Glass Bottle.
Mob drops and materials
Bone
Four layouts are accepted.
Vertical:
B
B
B
Horizontal:
B B B
Diagonal:
B . .
. B .
. . B
Reverse diagonal:
. . B
. B .
B . .
B = Bone Meal.
Bone Meal
C = any compostable item. This includes apples, beetroots, carrots, cocoa
beans, ferns, flowers, mushrooms, lily pads, melon, potatoes, pumpkins, sea
pickles, wheat, baked potatoes, bread, cookies, hay blocks, mushroom blocks,
shelf mushrooms, bushes, firefly bushes, cactus flowers, wildflowers, leaf
litter, dry grass, pitcher plants, torchflowers, eyeblossoms, saplings, fungi,
nether sprouts, vines, glow lichen, moss, pink petals, spore blossoms,
dripleaves, hanging roots, berries, kelp, seagrass, sugar cane, cactus, bamboo,
melon slices, and pumpkin pie.
Feather
Shapeless: 1× Paper, 1× Stick.
Gunpowder
Shapeless: 1× Glowstone Dust, 1× Sand, 1× Gravel.
Ink Sac
K = Kelp, C = Charcoal.
Glow Ink Sac
Shapeless: 1× Ink Sac, 1× Glowstone Dust.
Slimeball
Shapeless: 1× Water Bottle, 1× Wheat, 1× Sugar, 1× Clay Ball, 1× Lime Dye.
Byproduct: 1× Glass Bottle.
Spider Eye
Shapeless: 2× Red Mushroom, 1× Beetroot, 1× Poisonous Potato.
Byproduct: 1× Potato.
String
Three shapeless layouts are accepted:
- 4× Short Grass or Seagrass.
- 1× Tall Grass + 2× Short Grass or Seagrass.
- 2× Tall Grass.
Leather
A = Apple, B = Glass Bottle, S = String.
Byproduct: fills an empty Bucket in the player's inventory with water, or gives
a Water Bottle if no empty bucket is available. When a bucket is filled, the
glass bottle is returned.
Alternate path: cook Rotten Flesh in a furnace, smoker, or campfire when
cooking.rotten-flesh-to-leather is enabled.
Rabbit Hide
A = Apple, B = Glass Bottle, S = String.
Byproduct: same water-bucket/water-bottle behavior as Leather.
Rabbit's Foot
Shapeless: 1× Rabbit Hide, 1× Bone. Result: 2× Rabbit's Foot.
Rotten Flesh
Shapeless: 1× Brown or Red Mushroom, 1× Spider Eye, 1× Bone Meal.
Ghast Tear
G = Gunpowder, N = Iron Nugget or Gold Nugget.
Blaze Rod
G = Gunpowder, D = Glowstone Dust, R = Iron Bars or Lightning Rod.
Breeze Rod
A = Amethyst Cluster, B = Blaze Rod.
Wind Charges are then made with the vanilla Breeze Rod recipe.
Nether Wart
Shapeless: 1× Brown Mushroom, Red Mushroom, Crimson Fungus, or Warped Fungus,
plus 1× Blaze Powder.
Nether Star
S = Soul Sand or Soul Soil, E = End Crystal, C = Conduit.
Dragon's Breath
or upside-down:
B = Glass Bottle, C = Chorus Fruit, E = End Crystal. Result: 3× Dragon's
Breath.
Shulker Shell
A = Amethyst Cluster, R = End Rod.
Nautilus Shell
Use any of these four layouts, or their vertical mirrors:
K = Kelp, I = Ink Sac, S = Turtle Scute.
Turtle Scute
or upside-down. K = Kelp, B = Bone.
Armadillo Scute
or upside-down. K = Brick, B = Bone. Result: 2× Armadillo Scute.
Phantom Membrane
P = Paper, S = String. Result: 2× Phantom Membrane.
Prismarine Shard
K = Kelp, A = Amethyst Shard, L = Lapis Lazuli. Result: 4× Prismarine
Shard.
Prismarine Crystals
Shapeless: 2× Glowstone Dust, 1× Amethyst Shard, 1× Kelp. Result: 2× Prismarine
Crystals.
Wet Sponge
Shapeless: 8× Kelp, 1× Slimeball.
Trident
Shapeless: 4× Prismarine Shard, 2× Stick, 1× Nautilus Shell.
Heads
Skeleton Skull
B = Bone.
Wither Skeleton Skull
D = Black Dye, C = Charcoal, S = Skeleton Skull.
Creeper Head
D = Lime Dye, G = Gunpowder, S = Skeleton Skull.
Zombie Head
D = Green Dye, F = Rotten Flesh, S = Skeleton Skull.
Piglin Head
P = Porkchop, S = Skeleton Skull.
Player Head
L = Leather or Rabbit Hide, S = Skeleton Skull.
When player-heads.unique is enabled, or the player has vegalts.playerhead,
the result belongs to the crafting player. Otherwise it is a blank player head.
Special items
Ender Pearl
C = Cyan Dye, S = Slimeball, E = Spider Eye. Result: fake Ender Pearl.
Fake ender pearls still teleport the thrower, but do not spawn endermites.
Goat Horn
Base layouts:
Screaming variants add a Gunpowder row on top:
S = Slimeball, F = Disc Fragment 5, D = Black Dye, P = Pointed Dripstone,
G = Gunpowder.
The result is a random goat-horn instrument. Gunpowder produces screaming
variants.
Ochre Froglight
Shapeless: 1× Shroomlight, 1× Slimeball, 1× Magma Cream, 1× Yellow Dye.
Pearlescent Froglight
Shapeless: 1× Shroomlight, 1× Slimeball, 1× Magma Cream, 1× Purple Dye.
Verdant Froglight
Shapeless: 1× Shroomlight, 1× Slimeball, 1× Magma Cream, 1× Green Dye.
Custom fishing
Each successful fish has an 85% chance for flora, 10% chance for junk,
and 5% chance for treasure.
Flora
6.9% each:
- Kelp
- Short Grass
- Seagrass
- Lily Pad
- Moss Carpet
- Vine
- Wheat Seeds
- Melon Seeds
- Pumpkin Seeds
- Beetroot Seeds
- Hanging Roots
- Sugar Cane
3.45% each:
- Potato
- Poisonous Potato
- Glow Lichen
- Sea Pickle
- Random dead coral
Junk
10% each:
- Bowl
- Stick
- Arrow
- Charcoal
- Flint
- Clay Ball
5% each:
- Compass
- Brush
- Flower Pot
- Water Bucket
- Prismarine Shard
- Prismarine Crystals
- Shears
- Water Bottle
Treasure
13.64% each:
- Bottle o' Enchanting
- Name Tag
- Iron Nugget
- Gold Nugget
- Wet Sponge
- Spyglass
- A random music disc: 11, Far, Chirp, Blocks, Mall, Stal, Mellohi, Wait, Strad, or Ward
4.55%:
Bamboo and cocoa beans keep their vanilla fishing behavior. Disabled items are
removed from the pool and the remaining rates increase proportionally.
Custom archaeology
Suspicious sand and suspicious gravel reveal Torchflower Seeds or Pitcher Pods
instead of Coal or Sniffer Eggs.
Infested blocks
When enabled, silverfish spawned from infested blocks are suppressed for
eligible players.
Configuration
config.yml is nested and reloadable with /va reload:
enabled: true
fishing:
global: false
items:
kelp: true
lily-pad: true
# ...
archaeology:
global: false
infested-blocks:
global: false
player-heads:
unique: true
cooking:
rotten-flesh-to-leather: true
recipes:
armadillo-scute: true
beef: true
# ...
All recipe toggles live under recipes. All fishing item toggles live under
fishing.items.
Building
Requirements:
mvn clean package
The ready-to-use plugin is written to:
target/VegAlts-1.3.0.jar
The jar contains a relocated bStats copy under
com.lichenaut.vegalts.libs.bstats; no external runtime dependency is needed.
License
MIT. See LICENSE.
TODO
More expensive, shaped Trident recipe. Leather from furnace gives experience points.
评论 0
登录后参与评分
还没有评论,来抢沙发吧