Class LodestoneTerrainParticleOptions

All Implemented Interfaces:
net.minecraft.core.particles.ParticleOptions

public class LodestoneTerrainParticleOptions extends AbstractWorldParticleOptions
  • Field Details

    • blockState

      public final net.minecraft.world.level.block.state.BlockState blockState
    • blockPos

      public final net.minecraft.core.BlockPos blockPos
    • DESERIALIZER

      public static final net.minecraft.core.particles.ParticleOptions.Deserializer<LodestoneTerrainParticleOptions> DESERIALIZER
  • Constructor Details

    • LodestoneTerrainParticleOptions

      public LodestoneTerrainParticleOptions(net.minecraft.core.particles.ParticleType<?> type, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.BlockPos blockPos)
    • LodestoneTerrainParticleOptions

      public LodestoneTerrainParticleOptions(net.minecraft.core.particles.ParticleType<?> type, net.minecraft.world.level.block.state.BlockState blockState)
    • LodestoneTerrainParticleOptions

      public LodestoneTerrainParticleOptions(net.minecraft.core.particles.ParticleType<?> type)
  • Method Details

    • terrainCodec

      public static com.mojang.serialization.Codec<LodestoneTerrainParticleOptions> terrainCodec(net.minecraft.core.particles.ParticleType<?> type)
    • getType

      public net.minecraft.core.particles.ParticleType<?> getType()
    • writeToNetwork

      public void writeToNetwork(net.minecraft.network.FriendlyByteBuf buffer)
    • writeToString

      public String writeToString()