Uses of Class
net.minecraft.particle.ParticleType
Package
Description
-
Uses of ParticleType in net.minecraft.client.particle
Modifier and TypeMethodDescriptionprivate <T extends ParticleEffect>
voidParticleManager.registerBlockLeakFactory
(ParticleType<T> type, ParticleFactory.BlockLeakParticleFactory<T> factory) private <T extends ParticleEffect>
voidParticleManager.registerFactory
(ParticleType<T> type, ParticleFactory<T> factory) private <T extends ParticleEffect>
voidParticleManager.registerFactory
(ParticleType<T> type, ParticleManager.SpriteAwareFactory<T> factory) -
Uses of ParticleType in net.minecraft.command.argument
Modifier and TypeMethodDescriptionprivate static ParticleType
<?> ParticleEffectArgumentType.getType
(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) Modifier and TypeMethodDescriptionprivate static <T extends ParticleEffect>
TParticleEffectArgumentType.readParameters
(com.mojang.brigadier.StringReader reader, ParticleType<T> type, RegistryWrapper.WrapperLookup registryLookup) Modifier and TypeMethodDescriptionprivate static ParticleType
<?> ParticleEffectArgumentType.getType
(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) -
Uses of ParticleType in net.minecraft.particle
Modifier and TypeClassDescriptionclass
A particle type representing a particle with no additional parameters.Modifier and TypeFieldDescriptionstatic final ParticleType
<BlockStateParticleEffect> ParticleTypes.BLOCK
static final ParticleType
<BlockStateParticleEffect> ParticleTypes.BLOCK_MARKER
static final ParticleType
<DustParticleEffect> ParticleTypes.DUST
static final ParticleType
<DustColorTransitionParticleEffect> ParticleTypes.DUST_COLOR_TRANSITION
static final ParticleType
<BlockStateParticleEffect> ParticleTypes.DUST_PILLAR
static final ParticleType
<EntityEffectParticleEffect> ParticleTypes.ENTITY_EFFECT
static final ParticleType
<BlockStateParticleEffect> ParticleTypes.FALLING_DUST
static final ParticleType
<ItemStackParticleEffect> ParticleTypes.ITEM
static final ParticleType
<SculkChargeParticleEffect> ParticleTypes.SCULK_CHARGE
static final ParticleType
<ShriekParticleEffect> ParticleTypes.SHRIEK
private final ParticleType
<BlockStateParticleEffect> BlockStateParticleEffect.type
private final ParticleType
<EntityEffectParticleEffect> EntityEffectParticleEffect.type
private final ParticleType
<ItemStackParticleEffect> ItemStackParticleEffect.type
static final ParticleType
<VibrationParticleEffect> ParticleTypes.VIBRATION
Modifier and TypeMethodDescriptionBlockStateParticleEffect.getType()
DustColorTransitionParticleEffect.getType()
DustParticleEffect.getType()
EntityEffectParticleEffect.getType()
ItemStackParticleEffect.getType()
ParticleType
<?> ParticleEffect.getType()
SculkChargeParticleEffect.getType()
ShriekParticleEffect.getType()
VibrationParticleEffect.getType()
private static <T extends ParticleEffect>
ParticleType<T> ParticleTypes.register
(String name, boolean alwaysShow, Function<ParticleType<T>, com.mojang.serialization.MapCodec<T>> codecGetter, Function<ParticleType<T>, PacketCodec<? super RegistryByteBuf, T>> packetCodecGetter) Modifier and TypeMethodDescriptionstatic EntityEffectParticleEffect
EntityEffectParticleEffect.create
(ParticleType<EntityEffectParticleEffect> type, float r, float g, float b) static EntityEffectParticleEffect
EntityEffectParticleEffect.create
(ParticleType<EntityEffectParticleEffect> type, int color) static com.mojang.serialization.MapCodec
<BlockStateParticleEffect> BlockStateParticleEffect.createCodec
(ParticleType<BlockStateParticleEffect> type) static com.mojang.serialization.MapCodec
<EntityEffectParticleEffect> EntityEffectParticleEffect.createCodec
(ParticleType<EntityEffectParticleEffect> type) static com.mojang.serialization.MapCodec
<ItemStackParticleEffect> ItemStackParticleEffect.createCodec
(ParticleType<ItemStackParticleEffect> type) static PacketCodec
<? super RegistryByteBuf, BlockStateParticleEffect> BlockStateParticleEffect.createPacketCodec
(ParticleType<BlockStateParticleEffect> type) static PacketCodec
<? super ByteBuf, EntityEffectParticleEffect> EntityEffectParticleEffect.createPacketCodec
(ParticleType<EntityEffectParticleEffect> type) static PacketCodec
<? super RegistryByteBuf, ItemStackParticleEffect> ItemStackParticleEffect.createPacketCodec
(ParticleType<ItemStackParticleEffect> type) Modifier and TypeMethodDescriptionprivate static <T extends ParticleEffect>
ParticleType<T> ParticleTypes.register
(String name, boolean alwaysShow, Function<ParticleType<T>, com.mojang.serialization.MapCodec<T>> codecGetter, Function<ParticleType<T>, PacketCodec<? super RegistryByteBuf, T>> packetCodecGetter) ModifierConstructorDescriptionBlockStateParticleEffect
(ParticleType<BlockStateParticleEffect> type, BlockState blockState) private
EntityEffectParticleEffect
(ParticleType<EntityEffectParticleEffect> type, int color) ItemStackParticleEffect
(ParticleType<ItemStackParticleEffect> type, ItemStack stack) -
Uses of ParticleType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<ParticleType<?>> Registries.PARTICLE_TYPE
static final RegistryKey
<Registry<ParticleType<?>>> RegistryKeys.PARTICLE_TYPE