Class BlockStateParticleEffect

java.lang.Object
net.minecraft.particle.BlockStateParticleEffect
All Implemented Interfaces:
ParticleEffect

public class BlockStateParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
named net/minecraft/particle/BlockStateParticleEffect
intermediary net/minecraft/class_2388
official lk
  • Field Details

    • BLOCK_STATE_CODEC

      private static final com.mojang.serialization.Codec<BlockState> BLOCK_STATE_CODEC
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_STATE_CODEC Lnet/minecraft/particle/BlockStateParticleEffect;BLOCK_STATE_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_51463 Lnet/minecraft/class_2388;field_51463:Lcom/mojang/serialization/Codec;
      official a Llk;a:Lcom/mojang/serialization/Codec;
    • type

      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/particle/BlockStateParticleEffect;type:Lnet/minecraft/particle/ParticleType;
      intermediary field_11183 Lnet/minecraft/class_2388;field_11183:Lnet/minecraft/class_2396;
      official b Llk;b:Llr;
    • blockState

      private final BlockState blockState
      Mappings:
      Namespace Name Mixin selector
      named blockState Lnet/minecraft/particle/BlockStateParticleEffect;blockState:Lnet/minecraft/block/BlockState;
      intermediary field_11182 Lnet/minecraft/class_2388;field_11182:Lnet/minecraft/class_2680;
      official c Llk;c:Ldxu;
  • Constructor Details

    • BlockStateParticleEffect

      public BlockStateParticleEffect(ParticleType<BlockStateParticleEffect> type, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/particle/BlockStateParticleEffect;<init>(Lnet/minecraft/particle/ParticleType;Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_2388;<init>(Lnet/minecraft/class_2396;Lnet/minecraft/class_2680;)V
      official <init> Llk;<init>(Llr;Ldxu;)V
  • Method Details

    • createCodec

      public static com.mojang.serialization.MapCodec<BlockStateParticleEffect> createCodec(ParticleType<BlockStateParticleEffect> type)
      Mappings:
      Namespace Name Mixin selector
      named createCodec Lnet/minecraft/particle/BlockStateParticleEffect;createCodec(Lnet/minecraft/particle/ParticleType;)Lcom/mojang/serialization/MapCodec;
      intermediary method_29128 Lnet/minecraft/class_2388;method_29128(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/MapCodec;
      official a Llk;a(Llr;)Lcom/mojang/serialization/MapCodec;
    • createPacketCodec

      Mappings:
      Namespace Name Mixin selector
      named createPacketCodec Lnet/minecraft/particle/BlockStateParticleEffect;createPacketCodec(Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_56170 Lnet/minecraft/class_2388;method_56170(Lnet/minecraft/class_2396;)Lnet/minecraft/class_9139;
      official b Llk;b(Llr;)Lzt;
    • getType

      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      official a Llq;a()Llr;
    • getBlockState

      public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/particle/BlockStateParticleEffect;getBlockState()Lnet/minecraft/block/BlockState;
      intermediary method_10278 Lnet/minecraft/class_2388;method_10278()Lnet/minecraft/class_2680;
      official b Llk;b()Ldxu;