Class WindParticleOptions

java.lang.Object
net.frozenblock.wilderwild.particle.options.WindParticleOptions
All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions

public class WindParticleOptions extends Object implements net.minecraft.core.particles.ParticleOptions
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<WindParticleOptions> CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,WindParticleOptions> STREAM_CODEC
  • Constructor Details

    • WindParticleOptions

      public WindParticleOptions(int lifespan, net.minecraft.world.phys.Vec3 velocity)
    • WindParticleOptions

      public WindParticleOptions(int lifespan, double xVel, double yVel, double zVel)
  • Method Details

    • getType

      @NotNull public @NotNull net.minecraft.core.particles.ParticleType<?> getType()
      Specified by:
      getType in interface net.minecraft.core.particles.ParticleOptions
    • getLifespan

      public int getLifespan()
    • getVelocity

      public net.minecraft.world.phys.Vec3 getVelocity()