介绍
What will you mine when stone turns to fire?
What will you craft when diamonds crumble to ash?
What will you build… when Everything Burns?
This mod makes all blocks, except for fluids and waterlogged blocks, flammable.
It’s as simple as that.
This is, essentially, the entire code of the mod:
@Mixin(FireBlock.class)
public class FireBlockMixin {
public static final TagKey<Block> BURNING_NOT_MODIFIED = TagKey.create(Registries.BLOCK, ResourceLocation.fromNamespaceAndPath(MOD_ID, "burning_not_modified"));
@ModifyReturnValue(at = @At("RETURN"), method = "getBurnOdds(Lnet/minecraft/world/level/block/state/BlockState;)I")
private int modifyBurnOdds(int original, @Local(argsOnly = true) BlockState state) {
return original <= 0 && !state.is(BURNING_NOT_MODIFIED) && state.getFluidState().isEmpty() && !state.isAir() ? 30 : original;
}
@ModifyReturnValue(at = @At("RETURN"), method = "getIgniteOdds(Lnet/minecraft/world/level/block/state/BlockState;)I")
private int modifyIgniteOdds(int original, @Local(argsOnly = true) BlockState state) {
return original <= 0 && !state.is(BURNING_NOT_MODIFIED) && state.getFluidState().isEmpty() && !state.isAir() ? 60 : original;
}
}
常见问题
Everything Burns 支持哪些 Minecraft 版本?
Everything Burns 支持 Minecraft Java 版 1.21.1–1.21.8,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Everything Burns 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
startraveler 的其他作品
查看全部 →
Bear Minimum
A small mod that adds more bear varieties and rebalances polar bears.
Endium Enhanced
Highly opinionated Endium mod :)
Indicative Pitch
Increases the pitch of the block breaking sound as the block is closer to being broken.
Verdant Growth
A spreading plant growth threatens to overtake and convert all matter in its path. Either fight it or join it!
评论
登录后评论和评分