Package net.frozenblock.wilderwild.wind
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
FieldsModifier and TypeFieldDescriptionstatic doublestatic doublestatic doublestatic doublestatic doublestatic double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanimateTick(@NotNull net.minecraft.client.multiplayer.ClientLevel level, int posX, int posY, int posZ) voidbaseTick()voidstatic doublegetCloudX(float partialTick) static doublegetCloudY(float partialTick) static doublegetCloudZ(float partialTick) voidreceiveSyncPacket(@NotNull net.minecraft.network.FriendlyByteBuf byteBuf, @NotNull net.minecraft.client.Minecraft minecraft) static booleanvoidspawnAmbientWindParticles(@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) voidspawnDisturbanceWindParticles(@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)
-
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:
clientTickin interfacenet.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:
baseTickin interfacenet.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:
receiveSyncPacketin interfacenet.frozenblock.lib.wind.api.ClientWindManagerExtension
-