public class EndGatewayConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
private boolean |
exact |
private java.util.Optional<BlockPos> |
exit |
NO_FEATURE_CONFIG
Modifier | Constructor and Description |
---|---|
private |
EndGatewayConfig(java.util.Optional<BlockPos> exit,
boolean exact) |
Modifier and Type | Method and Description |
---|---|
static <T> EndGatewayConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214697_0_) |
static EndGatewayConfig |
func_214698_a() |
java.util.Optional<BlockPos> |
func_214700_b() |
boolean |
func_214701_c() |
static EndGatewayConfig |
func_214702_a(BlockPos p_214702_0_,
boolean p_214702_1_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
private final java.util.Optional<BlockPos> exit
private final boolean exact
private EndGatewayConfig(java.util.Optional<BlockPos> exit, boolean exact)
public static EndGatewayConfig func_214702_a(BlockPos p_214702_0_, boolean p_214702_1_)
public static EndGatewayConfig func_214698_a()
public java.util.Optional<BlockPos> func_214700_b()
public boolean func_214701_c()
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> EndGatewayConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214697_0_)