Package net.frozenblock.lib.wind.api
Class ClientWindManager
java.lang.Object
net.frozenblock.lib.wind.api.ClientWindManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.world.phys.Vec3static final List<ClientWindManagerExtension>static booleanstatic doublestatic doublestatic doublestatic booleanstatic net.minecraft.world.level.levelgen.synth.ImprovedNoisestatic net.minecraft.world.level.levelgen.synth.ImprovedNoisestatic net.minecraft.world.level.levelgen.synth.ImprovedNoisestatic doublestatic doublestatic doublestatic doublestatic doublestatic doublestatic longstatic longstatic doublestatic doublestatic double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddExtension(@Nullable Supplier<ClientWindManagerExtension> extension) static voidaddExtension(@Nullable ClientWindManagerExtension extension) static @NotNull net.minecraft.world.phys.Vec3getWindMovement(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos) static @NotNull net.minecraft.world.phys.Vec3getWindMovement(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier) static @NotNull net.minecraft.world.phys.Vec3getWindMovement(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier, double clamp) @NotNull net.minecraft.world.phys.Vec3getWindMovement3D(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double stretch) @NotNull net.minecraft.world.phys.Vec3getWindMovement3D(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier, double stretch) @NotNull net.minecraft.world.phys.Vec3getWindMovement3D(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier, double clamp, double stretch) @NotNull net.minecraft.world.phys.Vec3getWindMovement3D(@NotNull net.minecraft.world.phys.Vec3 pos, double stretch) @NotNull net.minecraft.world.phys.Vec3getWindMovement3D(@NotNull net.minecraft.world.phys.Vec3 pos, double multiplier, double stretch) @NotNull net.minecraft.world.phys.Vec3getWindMovement3D(@NotNull net.minecraft.world.phys.Vec3 pos, double multiplier, double clamp, double stretch) static doublegetWindX(float partialTick) static doublegetWindY(float partialTick) static doublegetWindZ(float partialTick) @NotNull net.minecraft.world.phys.Vec3sample3D(@NotNull net.minecraft.world.phys.Vec3 pos, double stretch) static @NotNull net.minecraft.world.phys.Vec3sampleVec3(@NotNull net.minecraft.world.level.levelgen.synth.ImprovedNoise sampler, double x, double y, double z) static voidsetSeed(long newSeed) static booleanstatic voidtick(@NotNull net.minecraft.client.multiplayer.ClientLevel level)
-
Field Details
-
EXTENSIONS
-
time
public static long time -
overrideWind
public static boolean overrideWind -
commandWind
public static net.minecraft.world.phys.Vec3 commandWind -
prevWindX
public static double prevWindX -
prevWindY
public static double prevWindY -
prevWindZ
public static double prevWindZ -
windX
public static double windX -
windY
public static double windY -
windZ
public static double windZ -
prevLaggedWindX
public static double prevLaggedWindX -
prevLaggedWindY
public static double prevLaggedWindY -
prevLaggedWindZ
public static double prevLaggedWindZ -
laggedWindX
public static double laggedWindX -
laggedWindY
public static double laggedWindY -
laggedWindZ
public static double laggedWindZ -
seed
public static long seed -
hasInitialized
public static boolean hasInitialized -
perlinChecked
public static net.minecraft.world.level.levelgen.synth.ImprovedNoise perlinChecked -
perlinLocal
public static net.minecraft.world.level.levelgen.synth.ImprovedNoise perlinLocal -
perlinXoro
public static net.minecraft.world.level.levelgen.synth.ImprovedNoise perlinXoro
-
-
Constructor Details
-
ClientWindManager
public ClientWindManager()
-
-
Method Details
-
addExtension
-
addExtension
-
tick
public static void tick(@NotNull @NotNull net.minecraft.client.multiplayer.ClientLevel level) -
sampleVec3
@NotNull public static @NotNull net.minecraft.world.phys.Vec3 sampleVec3(@NotNull @NotNull net.minecraft.world.level.levelgen.synth.ImprovedNoise sampler, double x, double y, double z) -
setSeed
public static void setSeed(long newSeed) -
getWindMovement
@NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.LevelReader reader, @NotNull @NotNull net.minecraft.core.BlockPos pos) -
getWindMovement
@NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.LevelReader reader, @NotNull @NotNull net.minecraft.core.BlockPos pos, double multiplier) -
getWindMovement
@NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.LevelReader reader, @NotNull @NotNull net.minecraft.core.BlockPos pos, double multiplier, double clamp) -
getWindX
public static double getWindX(float partialTick) -
getWindY
public static double getWindY(float partialTick) -
getWindZ
public static double getWindZ(float partialTick) -
shouldUseWind
public static boolean shouldUseWind() -
getWindMovement3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.level.LevelReader reader, @NotNull @NotNull net.minecraft.core.BlockPos pos, double stretch) -
getWindMovement3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.level.LevelReader reader, @NotNull @NotNull net.minecraft.core.BlockPos pos, double multiplier, double stretch) -
getWindMovement3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.level.LevelReader reader, @NotNull @NotNull net.minecraft.core.BlockPos pos, double multiplier, double clamp, double stretch) -
getWindMovement3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double stretch) -
getWindMovement3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double multiplier, double stretch) -
getWindMovement3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double multiplier, double clamp, double stretch) -
sample3D
@NotNull public @NotNull net.minecraft.world.phys.Vec3 sample3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double stretch)
-