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 la
  • 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 Lla;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 Lla;b:Llh;
    • 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 Lla;c:Ldse;
  • 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> Lla;<init>(Llh;Ldse;)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 Lla;a(Llh;)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 Lla;b(Llh;)Lzn;
    • 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 Llg;a()Llh;
    • 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 Lla;b()Ldse;