Uses of Interface
net.minecraft.core.particles.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
Modifier and TypeMethodDescriptionvoid
ClientLevel.addAlwaysVisibleParticle
(ParticleOptions p_104774_, boolean p_104775_, double p_104776_, double p_104777_, double p_104778_, double p_104779_, double p_104780_, double p_104781_) void
ClientLevel.addAlwaysVisibleParticle
(ParticleOptions p_104766_, double p_104767_, double p_104768_, double p_104769_, double p_104770_, double p_104771_, double p_104772_) void
ClientLevel.addParticle
(ParticleOptions p_104714_, boolean p_104715_, double p_104716_, double p_104717_, double p_104718_, double p_104719_, double p_104720_, double p_104721_) void
ClientLevel.addParticle
(ParticleOptions p_104706_, double p_104707_, double p_104708_, double p_104709_, double p_104710_, double p_104711_, double p_104712_) private void
ClientLevel.spawnFluidParticle
(double p_104593_, double p_104594_, double p_104595_, double p_104596_, double p_104597_, ParticleOptions p_104598_) private void
ClientLevel.spawnParticle
(BlockPos p_104695_, ParticleOptions p_104696_, VoxelShape p_104697_, double p_104698_) private void
ClientLevel.trySpawnDripParticles
(BlockPos p_104690_, BlockState p_104691_, ParticleOptions p_104692_, boolean p_104693_) -
Uses of ParticleOptions in net.minecraft.client.particle
Modifier and TypeInterfaceDescriptionstatic interface
interface
ParticleProvider<T extends ParticleOptions>
static interface
ParticleProvider.Sprite<T extends ParticleOptions>
Modifier and TypeFieldDescriptionprivate final ParticleOptions
DripParticle.DripHangParticle.fallingParticle
protected final ParticleOptions
DripParticle.FallAndLandParticle.landParticle
private final ParticleOptions
TrackingEmitter.particleType
Modifier and TypeMethodDescriptionprivate <T extends ParticleOptions>
ParticleParticleEngine.makeParticle
(T p_107396_, double p_107397_, double p_107398_, double p_107399_, double p_107400_, double p_107401_, double p_107402_) <T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> p_107379_, ParticleEngine.SpriteParticleRegistration<T> p_107380_) Deprecated.<T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> p_273423_, ParticleProvider.Sprite<T> p_273134_) Deprecated.Register viaRegisterParticleProvidersEvent
<T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> p_107382_, ParticleProvider<T> p_107383_) Deprecated.Register viaRegisterParticleProvidersEvent
Modifier and TypeMethodDescriptionParticleEngine.createParticle
(ParticleOptions p_107371_, double p_107372_, double p_107373_, double p_107374_, double p_107375_, double p_107376_, double p_107377_) void
ParticleEngine.createTrackingEmitter
(Entity p_107330_, ParticleOptions p_107331_) void
ParticleEngine.createTrackingEmitter
(Entity p_107333_, ParticleOptions p_107334_, int p_107335_) ModifierConstructorDescription(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 p_106085_, double p_106086_, double p_106087_, double p_106088_, Fluid p_106089_, ParticleOptions p_106090_) (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 p_106116_, double p_106117_, double p_106118_, double p_106119_, Fluid p_106120_, ParticleOptions p_106121_) (package private)
HoneyFallAndLandParticle
(ClientLevel p_106146_, double p_106147_, double p_106148_, double p_106149_, Fluid p_106150_, ParticleOptions p_106151_) TrackingEmitter
(ClientLevel p_108390_, Entity p_108391_, ParticleOptions p_108392_) TrackingEmitter
(ClientLevel p_108394_, Entity p_108395_, ParticleOptions p_108396_, int p_108397_) private
TrackingEmitter
(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_) -
Uses of ParticleOptions in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionprivate <T extends ParticleOptions>
voidLevelRenderer.addParticle
(T p_109736_, double p_109737_, double p_109738_, double p_109739_, double p_109740_, double p_109741_, double p_109742_) Modifier and TypeMethodDescriptionvoid
LevelRenderer.addParticle
(ParticleOptions p_109753_, boolean p_109754_, boolean p_109755_, double p_109756_, double p_109757_, double p_109758_, double p_109759_, double p_109760_, double p_109761_) void
LevelRenderer.addParticle
(ParticleOptions p_109744_, boolean p_109745_, double p_109746_, double p_109747_, double p_109748_, double p_109749_, double p_109750_, double p_109751_) private Particle
LevelRenderer.addParticleInternal
(ParticleOptions p_109805_, boolean p_109806_, boolean p_109807_, double p_109808_, double p_109809_, double p_109810_, double p_109811_, double p_109812_, double p_109813_) private Particle
LevelRenderer.addParticleInternal
(ParticleOptions p_109796_, boolean p_109797_, double p_109798_, double p_109799_, double p_109800_, double p_109801_, double p_109802_, double p_109803_) -
Uses of ParticleOptions in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
TParticleArgument.readParticle
(com.mojang.brigadier.StringReader p_103935_, ParticleType<T> p_103936_, HolderLookup.Provider p_323668_) Modifier and TypeMethodDescriptionstatic ParticleOptions
ParticleArgument.getParticle
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_103938_, String p_103939_) ParticleArgument.parse
(com.mojang.brigadier.StringReader p_103933_) static ParticleOptions
ParticleArgument.readParticle
(com.mojang.brigadier.StringReader p_249275_, HolderLookup.Provider p_324619_) -
Uses of ParticleOptions in net.minecraft.core.particles
Modifier and TypeClassDescriptionclass
class
class
class
class
class
final record
class
class
class
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ParticleOptions> ParticleTypes.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ParticleOptions> ParticleTypes.STREAM_CODEC
Modifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
ParticleType<T> ParticleTypes.register
(String p_235906_, boolean p_235907_, Function<ParticleType<T>, com.mojang.serialization.MapCodec<T>> p_235909_, Function<ParticleType<T>, StreamCodec<? super RegistryFriendlyByteBuf, T>> p_320791_) -
Uses of ParticleOptions in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final ParticleOptions
ClientboundExplodePacket.largeExplosionParticles
private final ParticleOptions
ClientboundLevelParticlesPacket.particle
private final ParticleOptions
ClientboundExplodePacket.smallExplosionParticles
Modifier and TypeMethodDescriptionClientboundExplodePacket.getLargeExplosionParticles()
ClientboundLevelParticlesPacket.getParticle()
ClientboundExplodePacket.getSmallExplosionParticles()
ModifierConstructorDescriptionClientboundExplodePacket
(double p_132115_, double p_132116_, double p_132117_, float p_132118_, List<BlockPos> p_132119_, Vec3 p_132120_, Explosion.BlockInteraction p_312296_, ParticleOptions p_312499_, ParticleOptions p_312203_, Holder<SoundEvent> p_320679_) -
Uses of ParticleOptions in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer
<ParticleOptions> EntityDataSerializers.PARTICLE
static final EntityDataSerializer
<List<ParticleOptions>> EntityDataSerializers.PARTICLES
-
Uses of ParticleOptions in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
ParticleCommand.sendParticles
(CommandSourceStack p_138129_, ParticleOptions p_138130_, Vec3 p_138131_, Vec3 p_138132_, float p_138133_, int p_138134_, boolean p_138135_, Collection<ServerPlayer> p_138136_) -
Uses of ParticleOptions in net.minecraft.server.level
Modifier and TypeMethodDescription<T extends ParticleOptions>
booleanServerLevel.sendParticles
(ServerPlayer p_8625_, T p_8626_, boolean p_8627_, double p_8628_, double p_8629_, double p_8630_, int p_8631_, double p_8632_, double p_8633_, double p_8634_, double p_8635_) <T extends ParticleOptions>
intServerLevel.sendParticles
(T p_8768_, double p_8769_, double p_8770_, double p_8771_, int p_8772_, double p_8773_, double p_8774_, double p_8775_, double p_8776_) Modifier and TypeMethodDescriptionvoid
WorldGenRegion.addParticle
(ParticleOptions p_9561_, double p_9562_, double p_9563_, double p_9564_, double p_9565_, double p_9566_, double p_9567_) ServerLevel.explode
(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_, ParticleOptions p_312436_, ParticleOptions p_312391_, Holder<SoundEvent> p_320497_) -
Uses of ParticleOptions in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
ParticleUtils.spawnParticleBelow
(Level p_273159_, BlockPos p_273452_, RandomSource p_273538_, ParticleOptions p_273419_) static void
ParticleUtils.spawnParticleInBlock
(LevelAccessor p_316553_, BlockPos p_316882_, int p_316412_, ParticleOptions p_316308_) static void
ParticleUtils.spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) static void
ParticleUtils.spawnParticles
(LevelAccessor p_316549_, BlockPos p_316335_, int p_316207_, double p_316351_, double p_316421_, boolean p_316563_, ParticleOptions p_316241_) static void
ParticleUtils.spawnParticlesAlongAxis
(Direction.Axis p_144968_, Level p_144969_, BlockPos p_144970_, double p_144971_, ParticleOptions p_144972_, UniformInt p_144973_) static void
ParticleUtils.spawnParticlesOnBlockFace
(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) static void
ParticleUtils.spawnParticlesOnBlockFaces
(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) -
Uses of ParticleOptions in net.minecraft.world.effect
Modifier and TypeFieldDescriptionprivate final Function
<MobEffectInstance, ParticleOptions> MobEffect.particleFactory
Modifier and TypeMethodDescriptionMobEffect.createParticleOptions
(MobEffectInstance p_333815_) MobEffectInstance.getParticleOptions()
ModifierConstructorDescriptionprotected
MobEffect
(MobEffectCategory p_333963_, int p_333864_, ParticleOptions p_333716_) protected
RaidOmenMobEffect
(MobEffectCategory p_338433_, int p_338414_, ParticleOptions p_338610_) -
Uses of ParticleOptions in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<List<ParticleOptions>> LivingEntity.DATA_EFFECT_PARTICLES
private static final EntityDataAccessor
<ParticleOptions> AreaEffectCloud.DATA_PARTICLE
Modifier and TypeMethodDescriptionprotected ParticleOptions
GlowSquid.getInkParticle()
AreaEffectCloud.getParticle()
-
Uses of ParticleOptions in net.minecraft.world.entity.animal
Modifier and TypeMethodDescriptionprivate void
Dolphin.addParticlesAroundSelf
(ParticleOptions p_28338_) private void
Bee.spawnFluidParticle
(Level p_27780_, double p_27781_, double p_27782_, double p_27783_, double p_27784_, double p_27785_, ParticleOptions p_27786_) -
Uses of ParticleOptions in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionprotected ParticleOptions
MagmaCube.getParticleType()
protected ParticleOptions
Slime.getParticleType()
-
Uses of ParticleOptions in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionprotected void
AbstractVillager.addParticlesAroundSelf
(ParticleOptions p_35288_) -
Uses of ParticleOptions in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprivate ParticleOptions
Snowball.getParticle()
protected ParticleOptions
AbstractHurtingProjectile.getTrailParticle()
protected ParticleOptions
DragonFireball.getTrailParticle()
-
Uses of ParticleOptions in net.minecraft.world.entity.projectile.windcharge
Modifier and TypeMethodDescriptionprotected ParticleOptions
AbstractWindCharge.getTrailParticle()
-
Uses of ParticleOptions in net.minecraft.world.item.enchantment.effects
Modifier 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.Modifier 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.ModifierConstructorDescriptionExplodeEffect
(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
Modifier and TypeFieldDescriptionprivate final ParticleOptions
Explosion.largeExplosionParticles
private final ParticleOptions
Explosion.smallExplosionParticles
Modifier and TypeMethodDescriptionExplosion.getLargeExplosionParticles()
Explosion.getSmallExplosionParticles()
Modifier and TypeMethodDescriptionvoid
Level.addAlwaysVisibleParticle
(ParticleOptions p_46691_, boolean p_46692_, double p_46693_, double p_46694_, double p_46695_, double p_46696_, double p_46697_, double p_46698_) void
Level.addAlwaysVisibleParticle
(ParticleOptions p_46684_, double p_46685_, double p_46686_, double p_46687_, double p_46688_, double p_46689_, double p_46690_) void
Level.addParticle
(ParticleOptions p_46638_, boolean p_46639_, double p_46640_, double p_46641_, double p_46642_, double p_46643_, double p_46644_, double p_46645_) void
Level.addParticle
(ParticleOptions p_46631_, double p_46632_, double p_46633_, double p_46634_, double p_46635_, double p_46636_, double p_46637_) void
LevelAccessor.addParticle
(ParticleOptions p_46783_, double p_46784_, double p_46785_, double p_46786_, double p_46787_, double p_46788_, double p_46789_) Level.explode
(Entity p_311934_, DamageSource p_312790_, ExplosionDamageCalculator p_311975_, double p_312493_, double p_312456_, double p_312719_, float p_312292_, boolean p_312144_, Level.ExplosionInteraction p_312265_, boolean p_312145_, ParticleOptions p_312842_, ParticleOptions p_312060_, Holder<SoundEvent> p_320283_) Level.explode
(Entity p_256233_, DamageSource p_255861_, ExplosionDamageCalculator p_255867_, double p_256447_, double p_255732_, double p_255717_, float p_256013_, boolean p_256228_, Level.ExplosionInteraction p_255784_, ParticleOptions p_311886_, ParticleOptions p_311887_, Holder<SoundEvent> p_320084_) ModifierConstructorDescriptionExplosion
(Level p_46051_, Entity p_46052_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, List<BlockPos> p_312600_, Explosion.BlockInteraction p_46060_, ParticleOptions p_312560_, ParticleOptions p_312844_, Holder<SoundEvent> p_320054_) Explosion
(Level p_46024_, Entity p_46025_, DamageSource p_312268_, ExplosionDamageCalculator p_312205_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, boolean p_312333_, Explosion.BlockInteraction p_312294_, ParticleOptions p_312158_, ParticleOptions p_311904_, Holder<SoundEvent> p_320270_) -
Uses of ParticleOptions in net.minecraft.world.level.biome
-
Uses of ParticleOptions in net.minecraft.world.level.block.entity.trialspawner
Modifier and TypeMethodDescriptionstatic void
TrialSpawner.addDetectPlayerParticles
(Level p_312225_, BlockPos p_311759_, RandomSource p_312553_, int p_312188_, ParticleOptions p_338522_) -
Uses of ParticleOptions in net.minecraft.world.level.block.entity.vault
Modifier and TypeMethodDescriptionstatic void
VaultBlockEntity.Client.emitActivationParticles
(Level p_323761_, BlockPos p_324150_, BlockState p_324527_, VaultSharedData p_324466_, ParticleOptions p_338551_) static void
VaultBlockEntity.Client.emitDeactivationParticles
(Level p_324419_, BlockPos p_324587_, ParticleOptions p_338582_) private static void
VaultBlockEntity.Client.emitIdleParticles
(Level p_324004_, BlockPos p_324516_, VaultSharedData p_324173_, ParticleOptions p_338823_) -
Uses of ParticleOptions in net.minecraft.world.level.material
Modifier and TypeMethodDescriptionprotected ParticleOptions
Fluid.getDripParticle()
FluidState.getDripParticle()
LavaFluid.getDripParticle()
WaterFluid.getDripParticle()
-
Uses of ParticleOptions in net.neoforged.neoforge.client.event
Modifier 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
Modifier and TypeFieldDescriptionprivate ParticleOptions
EffectParticleModificationEvent.options
private final ParticleOptions
EffectParticleModificationEvent.originalOptions
Modifier and TypeMethodDescriptionEffectParticleModificationEvent.getOriginalParticleOptions()
EffectParticleModificationEvent.getParticleOptions()
Modifier and TypeMethodDescriptionvoid
EffectParticleModificationEvent.setParticleOptions
(@Nullable ParticleOptions options) -
Uses of ParticleOptions in net.neoforged.neoforge.fluids
Modifier and TypeFieldDescriptionprivate final @Nullable ParticleOptions
FluidType.DripstoneDripInfo.dripParticle
The field for thedripParticle
record component.Modifier and TypeMethodDescription@Nullable ParticleOptions
FluidType.DripstoneDripInfo.dripParticle()
Returns the value of thedripParticle
record component.Modifier 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.ModifierConstructorDescriptionDripstoneDripInfo
(float chance, @Nullable ParticleOptions dripParticle, Block filledCauldron) Creates an instance of aDripstoneDripInfo
record class.
RegisterParticleProvidersEvent