public class LiquidsConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
java.util.Set<Block> |
acceptedBlocks |
int |
holeAmount |
boolean |
needsBlockBelow |
int |
rockAmount |
IFluidState |
state |
NO_FEATURE_CONFIG
Constructor and Description |
---|
LiquidsConfig(IFluidState p_i225841_1_,
boolean p_i225841_2_,
int p_i225841_3_,
int p_i225841_4_,
java.util.Set<Block> p_i225841_5_) |
Modifier and Type | Method and Description |
---|---|
static <T> LiquidsConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214677_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final IFluidState state
public final boolean needsBlockBelow
public final int rockAmount
public final int holeAmount
public final java.util.Set<Block> acceptedBlocks
public LiquidsConfig(IFluidState p_i225841_1_, boolean p_i225841_2_, int p_i225841_3_, int p_i225841_4_, java.util.Set<Block> p_i225841_5_)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> LiquidsConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214677_0_)