Uses of Interface
net.minecraft.core.particles.ParticleOptions
Packages that use ParticleOptions
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ParticleOptions in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoid
ClientLevel.addAlwaysVisibleParticle
(ParticleOptions particleData, boolean ignoreRange, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
ClientLevel.addAlwaysVisibleParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
ClientLevel.addParticle
(ParticleOptions particleData, boolean forceAlwaysRender, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
ClientLevel.addParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) private void
ClientLevel.spawnFluidParticle
(double xStart, double xEnd, double zStart, double zEnd, double y, ParticleOptions particleData) private void
ClientLevel.spawnParticle
(BlockPos pos, ParticleOptions particleData, VoxelShape voxelShape, double y) private void
ClientLevel.trySpawnDripParticles
(BlockPos blockPos, BlockState blockState, ParticleOptions particleData, boolean shapeDownSolid) -
Uses of ParticleOptions in net.minecraft.client.particle
Classes in net.minecraft.client.particle with type parameters of type ParticleOptionsModifier and TypeInterfaceDescriptionstatic interface
interface
ParticleProvider<T extends ParticleOptions>
static interface
ParticleProvider.Sprite<T extends ParticleOptions>
Fields in net.minecraft.client.particle declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptions
DripParticle.DripHangParticle.fallingParticle
protected final ParticleOptions
DripParticle.FallAndLandParticle.landParticle
private final ParticleOptions
TrackingEmitter.particleType
Methods in net.minecraft.client.particle with type parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate <T extends ParticleOptions>
ParticleParticleEngine.makeParticle
(T particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) <T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> particleType, ParticleEngine.SpriteParticleRegistration<T> particleMetaFactory) Deprecated.<T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> particleType, ParticleProvider.Sprite<T> sprite) Deprecated.Register viaRegisterParticleProvidersEvent
<T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> particleType, ParticleProvider<T> particleFactory) Deprecated.Register viaRegisterParticleProvidersEvent
Methods in net.minecraft.client.particle with parameters of type ParticleOptionsModifier and TypeMethodDescriptionParticleEngine.createParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
ParticleEngine.createTrackingEmitter
(Entity entity, ParticleOptions particleData) void
ParticleEngine.createTrackingEmitter
(Entity entity, ParticleOptions data, int lifetime) Constructors in net.minecraft.client.particle with parameters of type ParticleOptionsModifierConstructorDescription(package private)
CoolingDripHangParticle
(ClientLevel p_106068_, double p_106069_, double p_106070_, double p_106071_, Fluid p_106072_, ParticleOptions p_106073_) (package private)
DripHangParticle
(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions fallingParticle) (package private)
DripstoneFallAndLandParticle
(ClientLevel p_171930_, double p_171931_, double p_171932_, double p_171933_, Fluid p_171934_, ParticleOptions p_171935_) (package private)
FallAndLandParticle
(ClientLevel level, double x, double y, double z, Fluid type, ParticleOptions landParticle) (package private)
HoneyFallAndLandParticle
(ClientLevel p_106146_, double p_106147_, double p_106148_, double p_106149_, Fluid p_106150_, ParticleOptions p_106151_) TrackingEmitter
(ClientLevel level, Entity entity, ParticleOptions particleType) TrackingEmitter
(ClientLevel level, Entity entity, ParticleOptions particleType, int lifetime) private
TrackingEmitter
(ClientLevel level, Entity entity, ParticleOptions particleType, int lifetime, Vec3 speedVector) -
Uses of ParticleOptions in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with type parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate <T extends ParticleOptions>
voidLevelRenderer.addParticle
(T options, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) Methods in net.minecraft.client.renderer with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoid
LevelRenderer.addParticle
(ParticleOptions options, boolean force, boolean decreased, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
LevelRenderer.addParticle
(ParticleOptions options, boolean force, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) private Particle
LevelRenderer.addParticleInternal
(ParticleOptions options, boolean force, boolean decreased, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) private Particle
LevelRenderer.addParticleInternal
(ParticleOptions options, boolean force, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) -
Uses of ParticleOptions in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with type parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
TParticleArgument.readParticle
(com.mojang.brigadier.StringReader reader, ParticleType<T> particleType, HolderLookup.Provider registries) Methods in net.minecraft.commands.arguments that return ParticleOptionsModifier and TypeMethodDescriptionstatic ParticleOptions
ParticleArgument.getParticle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ParticleArgument.parse
(com.mojang.brigadier.StringReader reader) static ParticleOptions
ParticleArgument.readParticle
(com.mojang.brigadier.StringReader reader, HolderLookup.Provider registries) -
Uses of ParticleOptions in net.minecraft.core.particles
Classes in net.minecraft.core.particles with type parameters of type ParticleOptionsClasses in net.minecraft.core.particles that implement ParticleOptionsModifier and TypeClassDescriptionclass
class
class
class
class
class
final record
class
class
class
Fields in net.minecraft.core.particles with type parameters of type ParticleOptionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ParticleOptions> ParticleTypes.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ParticleOptions> ParticleTypes.STREAM_CODEC
Methods in net.minecraft.core.particles with type parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
ParticleType<T> ParticleTypes.register
(String name, boolean overrideLimitter, Function<ParticleType<T>, com.mojang.serialization.MapCodec<T>> codecGetter, Function<ParticleType<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>> streamCodecGetter) -
Uses of ParticleOptions in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptions
ClientboundExplodePacket.largeExplosionParticles
private final ParticleOptions
ClientboundLevelParticlesPacket.particle
private final ParticleOptions
ClientboundExplodePacket.smallExplosionParticles
Methods in net.minecraft.network.protocol.game that return ParticleOptionsModifier and TypeMethodDescriptionClientboundExplodePacket.getLargeExplosionParticles()
ClientboundLevelParticlesPacket.getParticle()
ClientboundExplodePacket.getSmallExplosionParticles()
Constructors in net.minecraft.network.protocol.game with parameters of type ParticleOptionsModifierConstructorDescriptionClientboundExplodePacket
(double x, double y, double z, float power, List<BlockPos> toBlow, Vec3 knockback, Explosion.BlockInteraction blockInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) -
Uses of ParticleOptions in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type ParticleOptionsModifier and TypeFieldDescriptionstatic final EntityDataSerializer
<ParticleOptions> EntityDataSerializers.PARTICLE
static final EntityDataSerializer
<List<ParticleOptions>> EntityDataSerializers.PARTICLES
-
Uses of ParticleOptions in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate static int
ParticleCommand.sendParticles
(CommandSourceStack source, ParticleOptions particleData, Vec3 pos, Vec3 delta, float speed, int count, boolean force, Collection<ServerPlayer> viewers) -
Uses of ParticleOptions in net.minecraft.server.level
Methods in net.minecraft.server.level with type parameters of type ParticleOptionsModifier and TypeMethodDescription<T extends ParticleOptions>
booleanServerLevel.sendParticles
(ServerPlayer player, T type, boolean longDistance, double posX, double posY, double posZ, int particleCount, double xOffset, double yOffset, double zOffset, double speed) <T extends ParticleOptions>
intServerLevel.sendParticles
(T type, double posX, double posY, double posZ, int particleCount, double xOffset, double yOffset, double zOffset, double speed) Methods in net.minecraft.server.level with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoid
WorldGenRegion.addParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) ServerLevel.explode
(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float radius, boolean fire, Level.ExplosionInteraction explosionInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) -
Uses of ParticleOptions in net.minecraft.util
Methods in net.minecraft.util with parameters of type ParticleOptionsModifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticleBelow
(Level level, BlockPos pos, RandomSource random, ParticleOptions particle) static void
ParticleUtils.spawnParticleInBlock
(LevelAccessor level, BlockPos pos, int count, ParticleOptions particle) static void
ParticleUtils.spawnParticleOnFace
(Level level, BlockPos pos, Direction direction, ParticleOptions particle, Vec3 speed, double spread) static void
ParticleUtils.spawnParticles
(LevelAccessor level, BlockPos pos, int count, double xzSpread, double ySpread, boolean allowInAir, ParticleOptions particle) static void
ParticleUtils.spawnParticlesAlongAxis
(Direction.Axis axis, Level level, BlockPos pos, double spread, ParticleOptions particle, UniformInt count) static void
ParticleUtils.spawnParticlesOnBlockFace
(Level level, BlockPos pos, ParticleOptions particle, IntProvider count, Direction direction, Supplier<Vec3> speedSupplier, double spread) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level level, BlockPos pos, ParticleOptions particle, IntProvider count) -
Uses of ParticleOptions in net.minecraft.world.effect
Fields in net.minecraft.world.effect with type parameters of type ParticleOptionsModifier and TypeFieldDescriptionprivate final Function
<MobEffectInstance, ParticleOptions> MobEffect.particleFactory
Methods in net.minecraft.world.effect that return ParticleOptionsModifier and TypeMethodDescriptionMobEffect.createParticleOptions
(MobEffectInstance effect) MobEffectInstance.getParticleOptions()
Constructors in net.minecraft.world.effect with parameters of type ParticleOptionsModifierConstructorDescriptionprotected
MobEffect
(MobEffectCategory category, int color, ParticleOptions particle) protected
RaidOmenMobEffect
(MobEffectCategory p_338433_, int p_338414_, ParticleOptions p_338610_) -
Uses of ParticleOptions in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type ParticleOptionsModifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<List<ParticleOptions>> LivingEntity.DATA_EFFECT_PARTICLES
private static final EntityDataAccessor
<ParticleOptions> AreaEffectCloud.DATA_PARTICLE
Methods in net.minecraft.world.entity that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptions
GlowSquid.getInkParticle()
AreaEffectCloud.getParticle()
Methods in net.minecraft.world.entity with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoid
AreaEffectCloud.setParticle
(ParticleOptions particleOption) -
Uses of ParticleOptions in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal that return ParticleOptionsMethods in net.minecraft.world.entity.animal with parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate void
Dolphin.addParticlesAroundSelf
(ParticleOptions particleOption) private void
Bee.spawnFluidParticle
(Level level, double startX, double endX, double startZ, double endZ, double posY, ParticleOptions particleOption) -
Uses of ParticleOptions in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptions
MagmaCube.getParticleType()
protected ParticleOptions
Slime.getParticleType()
-
Uses of ParticleOptions in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type ParticleOptionsModifier and TypeMethodDescriptionprotected void
AbstractVillager.addParticlesAroundSelf
(ParticleOptions particleOption) -
Uses of ParticleOptions in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return ParticleOptionsModifier and TypeMethodDescriptionprivate ParticleOptions
Snowball.getParticle()
protected ParticleOptions
AbstractHurtingProjectile.getTrailParticle()
protected ParticleOptions
DragonFireball.getTrailParticle()
-
Uses of ParticleOptions in net.minecraft.world.entity.projectile.windcharge
Methods in net.minecraft.world.entity.projectile.windcharge that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptions
AbstractWindCharge.getTrailParticle()
-
Uses of ParticleOptions in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptions
ExplodeEffect.largeParticle
The field for thelargeParticle
record component.private final ParticleOptions
SpawnParticlesEffect.particle
The field for theparticle
record component.private final ParticleOptions
ExplodeEffect.smallParticle
The field for thesmallParticle
record component.Methods in net.minecraft.world.item.enchantment.effects that return ParticleOptionsModifier and TypeMethodDescriptionExplodeEffect.largeParticle()
Returns the value of thelargeParticle
record component.SpawnParticlesEffect.particle()
Returns the value of theparticle
record component.ExplodeEffect.smallParticle()
Returns the value of thesmallParticle
record component.Constructors in net.minecraft.world.item.enchantment.effects with parameters of type ParticleOptionsModifierConstructorDescriptionExplodeEffect
(boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level.ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, Holder<SoundEvent> sound) Creates an instance of aExplodeEffect
record class.SpawnParticlesEffect
(ParticleOptions particle, SpawnParticlesEffect.PositionSource horizontalPosition, SpawnParticlesEffect.PositionSource verticalPosition, SpawnParticlesEffect.VelocitySource horizontalVelocity, SpawnParticlesEffect.VelocitySource verticalVelocity, FloatProvider speed) Creates an instance of aSpawnParticlesEffect
record class. -
Uses of ParticleOptions in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptions
Explosion.largeExplosionParticles
private final ParticleOptions
Explosion.smallExplosionParticles
Methods in net.minecraft.world.level that return ParticleOptionsModifier and TypeMethodDescriptionExplosion.getLargeExplosionParticles()
Explosion.getSmallExplosionParticles()
Methods in net.minecraft.world.level with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoid
Level.addAlwaysVisibleParticle
(ParticleOptions particleData, boolean ignoreRange, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
Level.addAlwaysVisibleParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
Level.addParticle
(ParticleOptions particleData, boolean forceAlwaysRender, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
Level.addParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) void
LevelAccessor.addParticle
(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) Level.explode
(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float radius, boolean fire, Level.ExplosionInteraction explosionInteraction, boolean spawnParticles, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) Level.explode
(Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float radius, boolean fire, Level.ExplosionInteraction explosionInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) Constructors in net.minecraft.world.level with parameters of type ParticleOptionsModifierConstructorDescriptionExplosion
(Level level, Entity source, double x, double y, double z, float radius, List<BlockPos> toBlow, Explosion.BlockInteraction blockInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) Explosion
(Level level, Entity source, DamageSource damageSource, ExplosionDamageCalculator damageCalculator, double x, double y, double z, float radius, boolean fire, Explosion.BlockInteraction blockInteraction, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, Holder<SoundEvent> explosionSound) -
Uses of ParticleOptions in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as ParticleOptionsMethods in net.minecraft.world.level.biome that return ParticleOptionsConstructors in net.minecraft.world.level.biome with parameters of type ParticleOptionsModifierConstructorDescriptionAmbientParticleSettings
(ParticleOptions options, float probability) -
Uses of ParticleOptions in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type ParticleOptionsModifier and TypeMethodDescriptionstatic void
TrialSpawner.addDetectPlayerParticles
(Level level, BlockPos pos, RandomSource random, int type, ParticleOptions particle) -
Uses of ParticleOptions in net.minecraft.world.level.block.entity.vault
Methods in net.minecraft.world.level.block.entity.vault with parameters of type ParticleOptionsModifier and TypeMethodDescriptionstatic void
VaultBlockEntity.Client.emitActivationParticles
(Level level, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleOptions particle) static void
VaultBlockEntity.Client.emitDeactivationParticles
(Level level, BlockPos pos, ParticleOptions particle) private static void
VaultBlockEntity.Client.emitIdleParticles
(Level level, BlockPos pos, VaultSharedData sharedData, ParticleOptions particle) -
Uses of ParticleOptions in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptions
Fluid.getDripParticle()
FluidState.getDripParticle()
LavaFluid.getDripParticle()
WaterFluid.getDripParticle()
-
Uses of ParticleOptions in net.neoforged.neoforge.client.event
Methods in net.neoforged.neoforge.client.event with type parameters of type ParticleOptionsModifier and TypeMethodDescription<T extends ParticleOptions>
voidRegisterParticleProvidersEvent.registerSpecial
(ParticleType<T> type, ParticleProvider<T> provider) Registers a ParticleProvider for a non-json-based ParticleType.<T extends ParticleOptions>
voidRegisterParticleProvidersEvent.registerSprite
(ParticleType<T> type, ParticleProvider.Sprite<T> sprite) Registers a ParticleProvider for a json-based ParticleType with a single texture; the resultingTextureSheetParticle
s will use that texture when created.<T extends ParticleOptions>
voidRegisterParticleProvidersEvent.registerSpriteSet
(ParticleType<T> type, ParticleEngine.SpriteParticleRegistration<T> registration) Registers a ParticleProvider for a json-based ParticleType. -
Uses of ParticleOptions in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as ParticleOptionsModifier and TypeFieldDescriptionprivate ParticleOptions
EffectParticleModificationEvent.options
private final ParticleOptions
EffectParticleModificationEvent.originalOptions
Methods in net.neoforged.neoforge.event.entity.living that return ParticleOptionsModifier and TypeMethodDescriptionEffectParticleModificationEvent.getOriginalParticleOptions()
EffectParticleModificationEvent.getParticleOptions()
Methods in net.neoforged.neoforge.event.entity.living with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoid
EffectParticleModificationEvent.setParticleOptions
(@Nullable ParticleOptions options) -
Uses of ParticleOptions in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final @Nullable ParticleOptions
FluidType.DripstoneDripInfo.dripParticle
The field for thedripParticle
record component.Methods in net.neoforged.neoforge.fluids that return ParticleOptionsModifier and TypeMethodDescription@Nullable ParticleOptions
FluidType.DripstoneDripInfo.dripParticle()
Returns the value of thedripParticle
record component.Methods in net.neoforged.neoforge.fluids with parameters of type ParticleOptionsModifier and TypeMethodDescriptionFluidType.Properties.addDripstoneDripping
(float chance, ParticleOptions dripParticle, Block cauldron, @Nullable SoundEvent fillSound) Allows this fluid to drip from Pointed Dripstone stalactites and fill cauldrons below.Constructors in net.neoforged.neoforge.fluids with parameters of type ParticleOptionsModifierConstructorDescriptionDripstoneDripInfo
(float chance, @Nullable ParticleOptions dripParticle, Block filledCauldron) Creates an instance of aDripstoneDripInfo
record class.
RegisterParticleProvidersEvent