Package net.minecraft.world.gen.feature
Class EndGatewayConfig
- java.lang.Object
-
- net.minecraft.world.gen.feature.EndGatewayConfig
-
- All Implemented Interfaces:
IFeatureConfig
public class EndGatewayConfig extends java.lang.Object implements IFeatureConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<EndGatewayConfig>
CODEC
private boolean
exact
private java.util.Optional<BlockPos>
exit
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Modifier Constructor Description private
EndGatewayConfig(java.util.Optional<BlockPos> p_i49882_1_, boolean p_i49882_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndGatewayConfig
delayedExitSearch()
java.util.Optional<BlockPos>
getExit()
boolean
isExitExact()
static EndGatewayConfig
knownExit(BlockPos p_214702_0_, boolean p_214702_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
getFeatures
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<EndGatewayConfig> CODEC
-
exit
private final java.util.Optional<BlockPos> exit
-
exact
private final boolean exact
-
-
Constructor Detail
-
EndGatewayConfig
private EndGatewayConfig(java.util.Optional<BlockPos> p_i49882_1_, boolean p_i49882_2_)
-
-
Method Detail
-
knownExit
public static EndGatewayConfig knownExit(BlockPos p_214702_0_, boolean p_214702_1_)
-
delayedExitSearch
public static EndGatewayConfig delayedExitSearch()
-
getExit
public java.util.Optional<BlockPos> getExit()
-
isExitExact
public boolean isExitExact()
-
-