Uses of Interface
net.minecraft.world.gen.YOffset
Package
Description
-
Uses of YOffset in net.minecraft.world.gen
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
Modifier and TypeFieldDescriptionstatic final YOffset
YOffset.BOTTOM
static final YOffset
YOffset.TOP
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<YOffset> YOffset.OFFSET_CODEC
Modifier and TypeMethodDescriptionstatic YOffset
YOffset.aboveBottom
(int offset) static YOffset
YOffset.belowTop
(int offset) static YOffset
YOffset.fixed
(int offset) private static YOffset
YOffset.fromEither
(com.mojang.datafixers.util.Either<YOffset.Fixed, com.mojang.datafixers.util.Either<YOffset.AboveBottom, YOffset.BelowTop>> either) static YOffset
YOffset.getBottom()
static YOffset
YOffset.getTop()
Modifier and TypeMethodDescriptionprivate static com.mojang.datafixers.util.Either
<YOffset.Fixed, com.mojang.datafixers.util.Either<YOffset.AboveBottom, YOffset.BelowTop>> -
Uses of YOffset in net.minecraft.world.gen.carver
ModifierConstructorDescriptionCarverConfig
(float probability, HeightProvider y, FloatProvider yScale, YOffset lavaLevel, CarverDebugConfig debugConfig, RegistryEntryList<Block> replaceable) CaveCarverConfig
(float probability, HeightProvider y, FloatProvider yScale, YOffset lavaLevel, RegistryEntryList<Block> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) CaveCarverConfig
(float probability, HeightProvider y, FloatProvider yScale, YOffset lavaLevel, CarverDebugConfig debugConfig, RegistryEntryList<Block> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) RavineCarverConfig
(float probability, HeightProvider y, FloatProvider yScale, YOffset lavaLevel, CarverDebugConfig debugConfig, RegistryEntryList<Block> replaceable, FloatProvider verticalRotation, RavineCarverConfig.Shape shape) -
Uses of YOffset in net.minecraft.world.gen.heightprovider
Modifier and TypeFieldDescriptionprivate final YOffset
BiasedToBottomHeightProvider.maxOffset
private final YOffset
TrapezoidHeightProvider.maxOffset
private final YOffset
UniformHeightProvider.maxOffset
private final YOffset
VeryBiasedToBottomHeightProvider.maxOffset
private final YOffset
BiasedToBottomHeightProvider.minOffset
private final YOffset
TrapezoidHeightProvider.minOffset
private final YOffset
UniformHeightProvider.minOffset
private final YOffset
VeryBiasedToBottomHeightProvider.minOffset
private final YOffset
ConstantHeightProvider.offset
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<YOffset, HeightProvider>> HeightProvider.OFFSET_OR_HEIGHT_CODEC
Modifier and TypeMethodDescriptionstatic BiasedToBottomHeightProvider
static ConstantHeightProvider
static TrapezoidHeightProvider
static TrapezoidHeightProvider
static UniformHeightProvider
ModifierConstructorDescriptionprivate
BiasedToBottomHeightProvider
(YOffset minOffset, YOffset maxOffset, int inner) private
ConstantHeightProvider
(YOffset offset) private
TrapezoidHeightProvider
(YOffset minOffset, YOffset maxOffset, int plateau) private
UniformHeightProvider
(YOffset minOffset, YOffset maxOffset) private
VeryBiasedToBottomHeightProvider
(YOffset minOffset, YOffset maxOffset, int inner) -
Uses of YOffset in net.minecraft.world.gen.placementmodifier
Modifier and TypeMethodDescriptionstatic HeightRangePlacementModifier
static HeightRangePlacementModifier
-
Uses of YOffset in net.minecraft.world.gen.surfacebuilder
Modifier and TypeFieldDescriptionprivate final YOffset
MaterialRules.AboveYMaterialCondition.anchor
The field for theanchor
record component.private final YOffset
MaterialRules.VerticalGradientMaterialCondition.falseAtAndAbove
The field for thefalseAtAndAbove
record component.private final YOffset
MaterialRules.VerticalGradientMaterialCondition.trueAtAndBelow
The field for thetrueAtAndBelow
record component.Modifier and TypeMethodDescriptionMaterialRules.AboveYMaterialCondition.anchor()
Returns the value of theanchor
record component.MaterialRules.VerticalGradientMaterialCondition.falseAtAndAbove()
Returns the value of thefalseAtAndAbove
record component.MaterialRules.VerticalGradientMaterialCondition.trueAtAndBelow()
Returns the value of thetrueAtAndBelow
record component.Modifier and TypeMethodDescriptionMaterialRules.aboveYWithStoneDepth
(YOffset anchor, int runDepthMultiplier) MaterialRules.verticalGradient
(String id, YOffset trueAtAndBelow, YOffset falseAtAndAbove) ModifierConstructorDescription(package private)
AboveYMaterialCondition
(YOffset yOffset, int int2, boolean bool) (package private)
VerticalGradientMaterialCondition
(Identifier identifier, YOffset yOffset, YOffset yOffset2)