类 NoneBiomeModifier
java.lang.Object
net.minecraftforge.common.world.NoneBiomeModifier
- 所有已实现的接口:
BiomeModifier
Noop biome modifier. Can be used in a biome modifier json with "type": "forge:none".
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraftforge.common.world.BiomeModifier
BiomeModifier.Phase
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<NoneBiomeModifier> static final NoneBiomeModifier
从接口继承的字段 net.minecraftforge.common.world.BiomeModifier
DIRECT_CODEC, LIST_CODEC, REFERENCE_CODEC
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明com.mojang.serialization.MapCodec
<? extends BiomeModifier> codec()
void
modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Modifies the information via the provided biome builder.
-
字段详细资料
-
INSTANCE
-
CODEC
-
-
构造器详细资料
-
NoneBiomeModifier
public NoneBiomeModifier()
-
-
方法详细资料
-
modify
public void modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) 从接口复制的说明:BiomeModifier
Modifies the information via the provided biome builder. Allows mob spawns and world-gen features to be added or removed, and climate and client effects to be modified.- 指定者:
modify
在接口中BiomeModifier
- 参数:
biome
- the named biome being modified (with original data readable).phase
- biome modification phase. Biome modifiers apply in each phase in order of the enum constants.builder
- mutable biome info builder. Apply changes to this.
-
codec
- 指定者:
codec
在接口中BiomeModifier
- 返回:
- the codec which serializes and deserializes this biome modifier
-