Class ClientWindManager

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

@Environment(CLIENT) public final class ClientWindManager extends Object
  • 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

    • getWindDisturbances

      public static List<WindDisturbance> getWindDisturbances()
    • getWindDisturbanceStash

      public static List<WindDisturbance> getWindDisturbanceStash()
    • clearWindDisturbances

      public static void clearWindDisturbances()
    • clearAllWindDisturbances

      public static void clearAllWindDisturbances()
    • clearAndSwitchWindDisturbances

      public static void clearAndSwitchWindDisturbances()
    • addWindDisturbance

      public static void addWindDisturbance(@NotNull @NotNull WindDisturbance windDisturbance)
    • addExtension

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

      public static void addExtension(@Nullable @Nullable ClientWindManagerExtension extension)
    • setSeed

      public static void setSeed(long newSeed)
    • 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()
    • tick

      public static void tick(@NotNull @NotNull net.minecraft.client.multiplayer.ClientLevel level)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, double scale)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.core.BlockPos pos, double scale, double clamp)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.phys.Vec3 pos)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double scale)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double scale, double clamp)
    • getWindMovement

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double scale, double clamp, double windDisturbanceScale)
    • getWindMovement3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.core.BlockPos pos, double stretch)
    • getWindMovement3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.core.BlockPos pos, double scale, double stretch)
    • getWindMovement3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.core.BlockPos pos, double scale, double clamp, double stretch)
    • getWindMovement3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double stretch)
    • getWindMovement3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double scale, double stretch)
    • getWindMovement3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 getWindMovement3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double scale, double clamp, double stretch)
    • 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)
    • sample3D

      @NotNull public static @NotNull net.minecraft.world.phys.Vec3 sample3D(@NotNull @NotNull net.minecraft.world.phys.Vec3 pos, double stretch)