Class BlockStateParticleEffect

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

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

    • PARAMETERS_FACTORY

      public static final ParticleEffect.Factory<BlockStateParticleEffect> PARAMETERS_FACTORY
      Mappings:
      Namespace Name Mixin selector
      official a Lhe;a:Lhj$a;
      intermediary field_11181 Lnet/minecraft/class_2388;field_11181:Lnet/minecraft/class_2394$class_2395;
      named PARAMETERS_FACTORY Lnet/minecraft/particle/BlockStateParticleEffect;PARAMETERS_FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
    • type

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

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

    • BlockStateParticleEffect

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

    • method_29128

      public static com.mojang.serialization.Codec<BlockStateParticleEffect> method_29128​(ParticleType<BlockStateParticleEffect> particleType)
      Mappings:
      Namespace Name Mixin selector
      official a Lhe;a(Lhk;)Lcom/mojang/serialization/Codec;
      intermediary method_29128 Lnet/minecraft/class_2388;method_29128(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/Codec;
      named method_29128 Lnet/minecraft/particle/BlockStateParticleEffect;method_29128(Lnet/minecraft/particle/ParticleType;)Lcom/mojang/serialization/Codec;
    • write

      public void write​(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lhj;a(Lnw;)V
      intermediary method_10294 Lnet/minecraft/class_2394;method_10294(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/particle/ParticleEffect;write(Lnet/minecraft/network/PacketByteBuf;)V
    • asString

      public String asString()
      Specified by:
      asString in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lhj;a()Ljava/lang/String;
      intermediary method_10293 Lnet/minecraft/class_2394;method_10293()Ljava/lang/String;
      named asString Lnet/minecraft/particle/ParticleEffect;asString()Ljava/lang/String;
    • getType

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

      @Environment(CLIENT) public BlockState getBlockState()
      Mappings:
      Namespace Name Mixin selector
      official c Lhe;c()Lcht;
      intermediary method_10278 Lnet/minecraft/class_2388;method_10278()Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/particle/BlockStateParticleEffect;getBlockState()Lnet/minecraft/block/BlockState;