Class WWClientWindManager

java.lang.Object
net.frozenblock.wilderwild.wind.WWClientWindManager
All Implemented Interfaces:
net.frozenblock.lib.wind.api.ClientWindManagerExtension

@Environment(CLIENT) public final class WWClientWindManager extends Object implements net.frozenblock.lib.wind.api.ClientWindManagerExtension
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static double
     
    static double
     
    static double
     
    static double
     
    static double
     
    static double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    animateTick(@NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ)
     
    void
     
    void
     
    static double
    getCloudX(float partialTick)
     
    static double
    getCloudY(float partialTick)
     
    static double
    getCloudZ(float partialTick)
     
    void
    receiveSyncPacket(@NotNull net.minecraft.network.FriendlyByteBuf byteBuf, @NotNull net.minecraft.client.Minecraft minecraft)
     
    static boolean
     
    void
    spawnAmbientWindParticles(@NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ, int range, @NotNull net.minecraft.util.RandomSource random, net.minecraft.core.BlockPos.MutableBlockPos blockPos)
     
    void
    spawnDisturbanceWindParticles(@NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ, int range, @NotNull net.minecraft.util.RandomSource random, net.minecraft.core.BlockPos.MutableBlockPos blockPos)
     

    Methods inherited from class java.lang.Object

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

    • prevCloudX

      public static double prevCloudX
    • prevCloudY

      public static double prevCloudY
    • prevCloudZ

      public static double prevCloudZ
    • cloudX

      public static double cloudX
    • cloudY

      public static double cloudY
    • cloudZ

      public static double cloudZ
  • Constructor Details

    • WWClientWindManager

      public WWClientWindManager()
  • Method Details

    • getCloudX

      public static double getCloudX(float partialTick)
    • getCloudY

      public static double getCloudY(float partialTick)
    • getCloudZ

      public static double getCloudZ(float partialTick)
    • clientTick

      public void clientTick()
      Specified by:
      clientTick in interface net.frozenblock.lib.wind.api.ClientWindManagerExtension
    • animateTick

      public void animateTick(@NotNull @NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ)
    • spawnAmbientWindParticles

      public void spawnAmbientWindParticles(@NotNull @NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ, int range, @NotNull @NotNull net.minecraft.util.RandomSource random, @NotNull net.minecraft.core.BlockPos.MutableBlockPos blockPos)
    • spawnDisturbanceWindParticles

      public void spawnDisturbanceWindParticles(@NotNull @NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ, int range, @NotNull @NotNull net.minecraft.util.RandomSource random, @NotNull net.minecraft.core.BlockPos.MutableBlockPos blockPos)
    • shouldUseWind

      public static boolean shouldUseWind()
    • baseTick

      public void baseTick()
      Specified by:
      baseTick in interface net.frozenblock.lib.wind.api.ClientWindManagerExtension
    • receiveSyncPacket

      public void receiveSyncPacket(@NotNull @NotNull net.minecraft.network.FriendlyByteBuf byteBuf, @NotNull @NotNull net.minecraft.client.Minecraft minecraft)
      Specified by:
      receiveSyncPacket in interface net.frozenblock.lib.wind.api.ClientWindManagerExtension