Class ClientWindManager

java.lang.Object
net.frozenblock.lib.wind.api.ClientWindManager

@Environment(CLIENT) public final class ClientWindManager extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.world.phys.Vec3
     
     
    static boolean
     
    static double
     
    static double
     
    static double
     
    static boolean
     
    static net.minecraft.world.level.levelgen.synth.ImprovedNoise
     
    static net.minecraft.world.level.levelgen.synth.ImprovedNoise
     
    static net.minecraft.world.level.levelgen.synth.ImprovedNoise
     
    static double
     
    static double
     
    static double
     
    static double
     
    static double
     
    static double
     
    static long
     
    static long
     
    static double
     
    static double
     
    static double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static void
     
    static @NotNull net.minecraft.world.phys.Vec3
    getWindMovement(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos)
     
    static @NotNull net.minecraft.world.phys.Vec3
    getWindMovement(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier)
     
    static @NotNull net.minecraft.world.phys.Vec3
    getWindMovement(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier, double clamp)
     
    @NotNull net.minecraft.world.phys.Vec3
    getWindMovement3D(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double stretch)
     
    @NotNull net.minecraft.world.phys.Vec3
    getWindMovement3D(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier, double stretch)
     
    @NotNull net.minecraft.world.phys.Vec3
    getWindMovement3D(@NotNull net.minecraft.world.level.LevelReader reader, @NotNull net.minecraft.core.BlockPos pos, double multiplier, double clamp, double stretch)
     
    @NotNull net.minecraft.world.phys.Vec3
    getWindMovement3D(@NotNull net.minecraft.world.phys.Vec3 pos, double stretch)
     
    @NotNull net.minecraft.world.phys.Vec3
    getWindMovement3D(@NotNull net.minecraft.world.phys.Vec3 pos, double multiplier, double stretch)
     
    @NotNull net.minecraft.world.phys.Vec3
    getWindMovement3D(@NotNull net.minecraft.world.phys.Vec3 pos, double multiplier, double clamp, double stretch)
     
    static double
    getWindX(float partialTick)
     
    static double
    getWindY(float partialTick)
     
    static double
    getWindZ(float partialTick)
     
    @NotNull net.minecraft.world.phys.Vec3
    sample3D(@NotNull net.minecraft.world.phys.Vec3 pos, double stretch)
     
    static @NotNull net.minecraft.world.phys.Vec3
    sampleVec3(@NotNull net.minecraft.world.level.levelgen.synth.ImprovedNoise sampler, double x, double y, double z)
     
    static void
    setSeed(long newSeed)
     
    static boolean
     
    static void
    tick(@NotNull net.minecraft.client.multiplayer.ClientLevel level)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • EXTENSIONS

      public static final List<ClientWindManagerExtension> 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

      public static void addExtension(@Nullable @Nullable Supplier<ClientWindManagerExtension> extension)
    • addExtension

      public static void addExtension(@Nullable @Nullable ClientWindManagerExtension extension)
    • 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)