Class IWeightedGeneList.Context

java.lang.Object
com.hexagram2021.chromosomelib.registry.IWeightedGeneList.Context
Enclosing interface:
IWeightedGeneList

public static class IWeightedGeneList.Context extends Object
  • Method Details

    • of

      public static IWeightedGeneList.Context of(net.minecraft.util.RandomSource random)
    • 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

      @Nullable public net.minecraft.core.Holder<Gene> 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

      public IWeightedGeneList.Context withLast(@Nullable ChromosomeInstance last)
    • withLocusAndType

      public IWeightedGeneList.Context withLocusAndType(@Nullable net.minecraft.core.Holder<GeneLocus> locus, @Nullable ChromosomeType type)