Class BlockStateParticleEffect

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

public class BlockStateParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
official hu
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 Lhu;a:Lia$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 Lhu;b:Lib;
      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 Lhu;c:Lcov;
      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> Lhu;<init>(Lib;Lcov;)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

    • createCodec

      public static com.mojang.serialization.Codec<BlockStateParticleEffect> createCodec(ParticleType<BlockStateParticleEffect> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lhu;a(Lib;)Lcom/mojang/serialization/Codec;
      intermediary method_29128 Lnet/minecraft/class_2388;method_29128(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/Codec;
      named createCodec Lnet/minecraft/particle/BlockStateParticleEffect;createCodec(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 Lia;a(Lpy;)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 Lia;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 Lia;b()Lib;
      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

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