Package net.minecraft.particle
Class BlockStateParticleEffect
java.lang.Object
net.minecraft.particle.BlockStateParticleEffect
- All Implemented Interfaces:
ParticleEffect
- Mappings:
Namespace Name official in
intermediary net/minecraft/class_2388
named net/minecraft/particle/BlockStateParticleEffect
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.particle.ParticleEffect
ParticleEffect.Factory<T extends ParticleEffect>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockState
static final ParticleEffect.Factory<BlockStateParticleEffect>
private final ParticleType<BlockStateParticleEffect>
-
Constructor Summary
ConstructorDescriptionBlockStateParticleEffect
(ParticleType<BlockStateParticleEffect> type, BlockState blockState) -
Method Summary
Modifier and TypeMethodDescriptionasString()
static com.mojang.serialization.Codec<BlockStateParticleEffect>
getType()
void
write
(PacketByteBuf buf)
-
Field Details
-
PARAMETERS_FACTORY
- Mappings:
Namespace Name Mixin selector official a
Lin;a:Lit$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
Lin;b:Liu;
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
- Mappings:
Namespace Name Mixin selector official c
Lin;c:Ldcb;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lin;<init>(Liu;Ldcb;)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
Lin;a(Liu;)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
- Specified by:
write
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lit;a(Lsf;)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
- Specified by:
asString
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lit;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 interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official b
Lit;b()Liu;
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
- Mappings:
Namespace Name Mixin selector official c
Lin;c()Ldcb;
intermediary method_10278
Lnet/minecraft/class_2388;method_10278()Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/particle/BlockStateParticleEffect;getBlockState()Lnet/minecraft/block/BlockState;
-