Package dev.latvian.mods.klib.core
Interface KLibRandomSource
- All Known Subinterfaces:
RandomSourceMixin
- All Known Implementing Classes:
NullRandom
public interface KLibRandomSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.util.RandomSourcedefault Vec2ddefault net.minecraft.world.phys.Vec3nextCuboidPosition(double rangeX, double rangeY, double rangeZ) default net.minecraft.world.phys.Vec3nextCuboidPosition(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) default net.minecraft.world.phys.Vec3nextCuboidPosition(net.minecraft.world.phys.AABB box) default Vec2ddefault net.minecraft.world.phys.Vec3default doublenextRange(double range) default doublenextRange(double min, double max) default floatnextRange(float range) default floatnextRange(float min, float max) default net.minecraft.world.phys.Vec3default booleanroll(float chance)
-
Method Details
-
klib$self
default net.minecraft.util.RandomSource klib$self() -
roll
default boolean roll(float chance) -
nextRange
default float nextRange(float min, float max) -
nextRange
default double nextRange(double min, double max) -
nextRange
default float nextRange(float range) -
nextRange
default double nextRange(double range) -
nextSpherePosition
default net.minecraft.world.phys.Vec3 nextSpherePosition() -
nextOuterSpherePosition
default net.minecraft.world.phys.Vec3 nextOuterSpherePosition() -
nextCirclePosition
-
nextOuterCirclePosition
-
nextCuboidPosition
default net.minecraft.world.phys.Vec3 nextCuboidPosition(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) -
nextCuboidPosition
default net.minecraft.world.phys.Vec3 nextCuboidPosition(double rangeX, double rangeY, double rangeZ) -
nextCuboidPosition
default net.minecraft.world.phys.Vec3 nextCuboidPosition(net.minecraft.world.phys.AABB box)
-