Uses of Interface
net.minecraft.particle.ParticleEffect
Package
Description
-
Uses of ParticleEffect in net.minecraft.block.entity
Modifier and TypeMethodDescriptionstatic void
VaultBlockEntity.Client.spawnActivateParticles
(World world, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleEffect particle) private static void
VaultBlockEntity.Client.spawnAmbientParticles
(World world, BlockPos pos, VaultSharedData sharedData, ParticleEffect particle) static void
VaultBlockEntity.Client.spawnDeactivateParticles
(World world, BlockPos pos, ParticleEffect particle) -
Uses of ParticleEffect in net.minecraft.block.spawner
Modifier and TypeMethodDescriptionstatic void
TrialSpawnerLogic.addDetectionParticles
(World world, BlockPos pos, Random random, int playerCount, ParticleEffect particle) -
Uses of ParticleEffect in net.minecraft.client.particle
Modifier and TypeInterfaceDescriptioninterface
ParticleFactory<T extends ParticleEffect>
static interface
private static interface
ParticleManager.SpriteAwareFactory<T extends ParticleEffect>
Modifier and TypeFieldDescriptionprotected final ParticleEffect
BlockLeakParticle.ContinuousFalling.nextParticle
private final ParticleEffect
BlockLeakParticle.Dripping.nextParticle
private final ParticleEffect
EmitterParticle.parameters
Modifier and TypeMethodDescriptionprivate <T extends ParticleEffect>
@Nullable ParticleParticleManager.createParticle
(T parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) private <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) Modifier and TypeMethodDescriptionvoid
ParticleManager.addEmitter
(Entity entity, ParticleEffect parameters) void
ParticleManager.addEmitter
(Entity entity, ParticleEffect parameters, int maxAge) ParticleManager.addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) ModifierConstructorDescription(package private)
ContinuousFalling
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
Dripping
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
DrippingLava
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) (package private)
DripstoneLavaDrip
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) EmitterParticle
(ClientWorld world, Entity entity, ParticleEffect parameters) EmitterParticle
(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge) private
EmitterParticle
(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity) (package private)
FallingHoney
(ClientWorld world, double x, double y, double z, Fluid fluid, ParticleEffect nextParticle) -
Uses of ParticleEffect in net.minecraft.client.render
Modifier and TypeMethodDescriptionprivate <T extends ParticleEffect>
voidWorldRenderer.addParticle
(T parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Modifier and TypeMethodDescriptionvoid
WorldRenderer.addParticle
(ParticleEffect parameters, boolean shouldAlwaysSpawn, boolean important, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
WorldRenderer.addParticle
(ParticleEffect parameters, boolean shouldAlwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) WorldRenderer.spawnParticle
(ParticleEffect parameters, boolean alwaysSpawn, boolean canSpawnOnMinimal, double x, double y, double z, double velocityX, double velocityY, double velocityZ) WorldRenderer.spawnParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) -
Uses of ParticleEffect in net.minecraft.client.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtil.spawnParticle
(Direction.Axis axis, World world, BlockPos pos, double variance, ParticleEffect effect, UniformIntProvider range) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, ParticleEffect effect, IntProvider count) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, Direction direction, ParticleEffect effect, Vec3d velocity, double offsetMultiplier) static void
ParticleUtil.spawnParticle
(World world, BlockPos pos, Random random, ParticleEffect effect) static void
ParticleUtil.spawnParticles
(World world, BlockPos pos, ParticleEffect effect, IntProvider count, Direction direction, Supplier<Vec3d> velocity, double offsetMultiplier) static void
ParticleUtil.spawnParticlesAround
(WorldAccess world, BlockPos pos, int count, double horizontalOffset, double verticalOffset, boolean force, ParticleEffect effect) static void
ParticleUtil.spawnParticlesAround
(WorldAccess world, BlockPos pos, int count, ParticleEffect effect) -
Uses of ParticleEffect in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.addImportantParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
ClientWorld.addImportantParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) private void
ClientWorld.addParticle
(double minX, double maxX, double minZ, double maxZ, double y, ParticleEffect parameters) void
ClientWorld.addParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
ClientWorld.addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) private void
ClientWorld.addParticle
(BlockPos pos, BlockState state, ParticleEffect parameters, boolean solidBelow) private void
ClientWorld.addParticle
(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y) -
Uses of ParticleEffect in net.minecraft.command.argument
Modifier and TypeMethodDescriptionprivate static <T extends ParticleEffect>
TParticleEffectArgumentType.readParameters
(com.mojang.brigadier.StringReader reader, ParticleType<T> type, RegistryWrapper.WrapperLookup registryLookup) Modifier and TypeMethodDescriptionstatic ParticleEffect
ParticleEffectArgumentType.getParticle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) ParticleEffectArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) static ParticleEffect
ParticleEffectArgumentType.readParameters
(com.mojang.brigadier.StringReader reader, RegistryWrapper.WrapperLookup registryLookup) -
Uses of ParticleEffect in net.minecraft.enchantment.effect.entity
Modifier and TypeFieldDescriptionprivate final ParticleEffect
ExplodeEnchantmentEffectType.largeParticle
The field for thelargeParticle
record component.private final ParticleEffect
SpawnParticlesEnchantmentEffectType.particle
The field for theparticle
record component.private final ParticleEffect
ExplodeEnchantmentEffectType.smallParticle
The field for thesmallParticle
record component.Modifier and TypeMethodDescriptionExplodeEnchantmentEffectType.largeParticle()
Returns the value of thelargeParticle
record component.SpawnParticlesEnchantmentEffectType.particle()
Returns the value of theparticle
record component.ExplodeEnchantmentEffectType.smallParticle()
Returns the value of thesmallParticle
record component.ModifierConstructorDescriptionExplodeEnchantmentEffectType
(boolean bool, Optional<RegistryEntry<DamageType>> optional, Optional<EnchantmentLevelBasedValueType> optional2, Optional<RegistryEntryList<Block>> optional3, Vec3d vec3d, EnchantmentLevelBasedValueType enchantmentLevelBasedValueType, boolean bool2, World.ExplosionSourceType explosionSourceType, ParticleEffect particleEffect, ParticleEffect particleEffect2, RegistryEntry<SoundEvent> registryEntry) SpawnParticlesEnchantmentEffectType
(ParticleEffect particleEffect, SpawnParticlesEnchantmentEffectType.PositionSource positionSource, SpawnParticlesEnchantmentEffectType.PositionSource positionSource2, SpawnParticlesEnchantmentEffectType.VelocitySource velocitySource, SpawnParticlesEnchantmentEffectType.VelocitySource velocitySource2, FloatProvider floatProvider) -
Uses of ParticleEffect in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate static final TrackedData
<ParticleEffect> AreaEffectCloudEntity.PARTICLE_ID
private static final TrackedData
<List<ParticleEffect>> LivingEntity.POTION_SWIRLS
Modifier and TypeMethodDescriptionvoid
AreaEffectCloudEntity.setParticleType
(ParticleEffect particle) -
Uses of ParticleEffect in net.minecraft.entity.data
Modifier and TypeFieldDescriptionstatic final TrackedDataHandler
<ParticleEffect> TrackedDataHandlerRegistry.PARTICLE
static final TrackedDataHandler
<List<ParticleEffect>> TrackedDataHandlerRegistry.PARTICLE_LIST
-
Uses of ParticleEffect in net.minecraft.entity.effect
Modifier and TypeFieldDescriptionprivate final Function
<StatusEffectInstance, ParticleEffect> StatusEffect.particleFactory
Modifier and TypeMethodDescriptionStatusEffect.createParticle
(StatusEffectInstance effect) StatusEffectInstance.createParticle()
ModifierConstructorDescriptionprotected
RaidOmenStatusEffect
(StatusEffectCategory category, int color, ParticleEffect particleEffect) protected
StatusEffect
(StatusEffectCategory category, int color, ParticleEffect particleEffect) -
Uses of ParticleEffect in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprotected ParticleEffect
MagmaCubeEntity.getParticles()
protected ParticleEffect
SlimeEntity.getParticles()
-
Uses of ParticleEffect in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprotected ParticleEffect
GlowSquidEntity.getInkParticle()
protected ParticleEffect
SquidEntity.getInkParticle()
Modifier and TypeMethodDescriptionprivate void
BeeEntity.addParticle
(World world, double lastX, double x, double lastZ, double z, double y, ParticleEffect effect) protected void
MerchantEntity.produceParticles
(ParticleEffect parameters) private void
DolphinEntity.spawnParticlesAround
(ParticleEffect parameters) -
Uses of ParticleEffect in net.minecraft.entity.projectile
Modifier and TypeMethodDescriptionprotected @Nullable ParticleEffect
AbstractWindChargeEntity.getParticleType()
protected ParticleEffect
DragonFireballEntity.getParticleType()
protected @Nullable ParticleEffect
ExplosiveProjectileEntity.getParticleType()
-
Uses of ParticleEffect in net.minecraft.entity.projectile.thrown
-
Uses of ParticleEffect in net.minecraft.fluid
Modifier and TypeMethodDescriptionprotected @Nullable ParticleEffect
Fluid.getParticle()
FluidState.getParticle()
LavaFluid.getParticle()
WaterFluid.getParticle()
-
Uses of ParticleEffect in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final ParticleEffect
ExplosionS2CPacket.emitterParticle
private final ParticleEffect
ParticleS2CPacket.parameters
private final ParticleEffect
ExplosionS2CPacket.particle
Modifier and TypeMethodDescriptionExplosionS2CPacket.getEmitterParticle()
ParticleS2CPacket.getParameters()
ExplosionS2CPacket.getParticle()
ModifierConstructorDescriptionExplosionS2CPacket
(double x, double y, double z, float radius, List<BlockPos> affectedBlocks, @Nullable Vec3d playerVelocity, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> registryEntry) -
Uses of ParticleEffect in net.minecraft.particle
Modifier and TypeClassDescriptionclass
class
class
class
class
class
final record
class
class
A particle type representing a particle with no additional parameters.class
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, ParticleEffect> ParticleTypes.PACKET_CODEC
static final com.mojang.serialization.Codec
<ParticleEffect> ParticleTypes.TYPE_CODEC
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) -
Uses of ParticleEffect in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ParticleCommand.execute
(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers) -
Uses of ParticleEffect in net.minecraft.server.world
Modifier and TypeMethodDescription<T extends ParticleEffect>
booleanServerWorld.spawnParticles
(ServerPlayerEntity viewer, T particle, boolean force, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) Spawns a particle visible toviewer
, if the viewer is near the provided coordinates.<T extends ParticleEffect>
intServerWorld.spawnParticles
(T particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) Spawns a particle visible to nearby players.Modifier and TypeMethodDescriptionServerWorld.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) Creates an explosion. -
Uses of ParticleEffect in net.minecraft.world
Modifier and TypeMethodDescriptionvoid
World.addImportantParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
World.addImportantParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
ChunkRegion.addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
World.addParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
World.addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
WorldAccess.addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, boolean particles, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) World.createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) Creates an explosion. -
Uses of ParticleEffect in net.minecraft.world.biome
-
Uses of ParticleEffect in net.minecraft.world.explosion
Modifier and TypeFieldDescriptionprivate final ParticleEffect
Explosion.emitterParticle
private final ParticleEffect
Explosion.particle
ModifierConstructorDescriptionExplosion
(World world, @Nullable Entity entity, double x, double y, double z, float power, List<BlockPos> affectedBlocks, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent) Explosion
(World world, @Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType, ParticleEffect particle, ParticleEffect emitterParticle, RegistryEntry<SoundEvent> soundEvent)