Minecraft 1.12.2 及更早版本中的熔炉不会存储经验值。相反,玩家只有在从熔炉中取出烧制好的物品时才会获得经验值。
由于这一行为,破坏熔炉不会掉落经验值。而且当你使用漏斗将输出物品抽出时,你也无法获得任何经验值。
这个轻量级模组将 Minecraft 1.13 及更高版本中的行为移植过来:熔炉会将烧制过程中产生的经验值存储在方块内部。破坏熔炉时会生成经验球。即使通过漏斗将烧制好的物品抽出,经验值仍会保留在熔炉内。玩家可以通过锁定漏斗并取出一件烧制好的物品来提取经验值,或者直接破坏熔炉。
v1.2.0+:支持大量模组化的熔炉。如果你发现某个不被支持的熔炉,请告诉我!
v1.3.0+:感谢 roidrole,现在可以通过配置将熔炉内存储的经验值转化为任意流体(如“知识精华”/Luiqid XP 等)。
v1.3.1+:模组开发者可以通过以下方式注册其模组化的熔炉以存储经验值,并将其视为流体处理(如果启用配置):
furnacexpstorage.compat.CompatHandler.addModHandler("yourmodid", () -> tile -> tile instanceof YourFurnaceTileEntity);
如果其 TileEntity 拥有自己的 smeltItem() 方法副本,则需在该方法中添加以下行:
furnacexpstorage.util.SmeltItemHelper.storeXpFromSmelting(inputStack, cookedStack, this.getTileData());
必需依赖项:FermiumBooter
Furnaces in MC 1.12.2 and before do not store XP. Instead, players get XP when they extract the smelted items out of the furnace.
Due to this behavior, breaking furnaces does not drop XP. And when you funnel out the output items with a hopper, you also do not get any XP.
This lightweight mod backports the behavior from Minecraft 1.13 and later, where furnaces store the XP from smelting inside the block. Breaking the furnace will spawn XP orbs. And even when funneling smelted items out of the furnace the smelted XP will stay inside the furnace. Players can extract that XP by locking the hopper and extracting one smelted item, or by simply breaking the furnace.
v1.2.0+: Works for a lot of modded furnaces. If you find one that isn't supported, tell me!
v1.3.0+: Thanks to roidrole the stored xp inside furnaces can be turned into any fluid (Essence of Knowledge / Luiqid XP etc) via config
v1.3.1+: mod developers can register their modded Furnaces to store xp and treat it as fluid (if config enabled) via
furnacexpstorage.compat.CompatHandler.addModHandler("yourmodid", () -> tile -> tile instanceof YourFurnaceTileEntity);
if their TileEntity has its own copy of smeltItem() they will need to add the following line into that method
furnacexpstorage.util.SmeltItemHelper.storeXpFromSmelting(inputStack, cookedStack, this.getTileData());
Required dependency: FermiumBooter
评论 0
登录后参与评分
还没有评论,来抢沙发吧