Class IWeightedGeneList.Context
java.lang.Object
com.hexagram2021.chromosomelib.registry.IWeightedGeneList.Context
- Enclosing interface:
- IWeightedGeneList
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockStatebelow()net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>biome()net.minecraft.world.level.block.entity.BlockEntitynet.minecraft.world.level.block.state.BlockStatenet.minecraft.world.level.material.FluidStatenet.minecraft.core.Holder<Gene>last()static IWeightedGeneList.Contextof(net.minecraft.util.RandomSource random) static IWeightedGeneList.Contextof(net.minecraft.world.level.ServerLevelAccessor serverLevel, net.minecraft.core.BlockPos blockPos) static IWeightedGeneList.Contextof(net.minecraft.world.level.ServerLevelAccessor serverLevel, net.minecraft.core.BlockPos blockPos, net.minecraft.util.RandomSource random) net.minecraft.util.RandomSourcerandom()withLast(ChromosomeInstance last) withLocusAndType(net.minecraft.core.Holder<GeneLocus> locus, ChromosomeType type)
-
Method Details
-
of
-
of
public static IWeightedGeneList.Context of(net.minecraft.world.level.ServerLevelAccessor serverLevel, net.minecraft.core.BlockPos blockPos) -
of
public static IWeightedGeneList.Context of(net.minecraft.world.level.ServerLevelAccessor serverLevel, net.minecraft.core.BlockPos blockPos, net.minecraft.util.RandomSource random) -
random
public net.minecraft.util.RandomSource random() -
last
-
biome
@Nullable public net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> biome() -
blockEntity
@Nullable public net.minecraft.world.level.block.entity.BlockEntity blockEntity() -
blockState
@Nullable public net.minecraft.world.level.block.state.BlockState blockState() -
below
@Nullable public net.minecraft.world.level.block.state.BlockState below() -
fluidState
@Nullable public net.minecraft.world.level.material.FluidState fluidState() -
withLast
-
withLocusAndType
public IWeightedGeneList.Context withLocusAndType(@Nullable net.minecraft.core.Holder<GeneLocus> locus, @Nullable ChromosomeType type)
-