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 TypeMethodDescriptionvoidClientLevel.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_) voidClientLevel.addAlwaysVisibleParticle(ParticleOptions p_104766_, double p_104767_, double p_104768_, double p_104769_, double p_104770_, double p_104771_, double p_104772_) voidClientLevel.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_) voidClientLevel.addParticle(ParticleOptions p_104706_, double p_104707_, double p_104708_, double p_104709_, double p_104710_, double p_104711_, double p_104712_) private voidClientLevel.spawnFluidParticle(double p_104593_, double p_104594_, double p_104595_, double p_104596_, double p_104597_, ParticleOptions p_104598_) private voidClientLevel.spawnParticle(BlockPos p_104695_, ParticleOptions p_104696_, VoxelShape p_104697_, double p_104698_) private voidClientLevel.trySpawnDripParticles(BlockPos p_104690_, BlockState p_104691_, ParticleOptions p_104692_, boolean p_104693_) -
Uses of ParticleOptions in net.minecraft.client.particle
Classes in net.minecraft.client.particle with type parameters of type ParticleOptionsModifier and TypeInterfaceDescriptionstatic interfaceinterfaceParticleProvider<T extends ParticleOptions>static interfaceParticleProvider.Sprite<T extends ParticleOptions>Fields in net.minecraft.client.particle declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptionsDripParticle.DripHangParticle.fallingParticleprotected final ParticleOptionsDripParticle.FallAndLandParticle.landParticleprivate final ParticleOptionsTrackingEmitter.particleTypeMethods in net.minecraft.client.particle with type parameters of type ParticleOptionsModifier 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 viaRegisterParticleProvidersEventMethods in net.minecraft.client.particle with parameters of type ParticleOptionsModifier and TypeMethodDescriptionParticleEngine.createParticle(ParticleOptions p_107371_, double p_107372_, double p_107373_, double p_107374_, double p_107375_, double p_107376_, double p_107377_) voidParticleEngine.createTrackingEmitter(Entity p_107330_, ParticleOptions p_107331_) voidParticleEngine.createTrackingEmitter(Entity p_107333_, ParticleOptions p_107334_, int p_107335_) 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 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_) privateTrackingEmitter(ClientLevel p_108399_, Entity p_108400_, ParticleOptions p_108401_, int p_108402_, Vec3 p_108403_) -
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 p_109736_, double p_109737_, double p_109738_, double p_109739_, double p_109740_, double p_109741_, double p_109742_) Methods in net.minecraft.client.renderer with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoidLevelRenderer.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_) voidLevelRenderer.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 ParticleLevelRenderer.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 ParticleLevelRenderer.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
Methods in net.minecraft.commands.arguments with type parameters of type ParticleOptionsModifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
TParticleArgument.readParticle(com.mojang.brigadier.StringReader p_103935_, ParticleType<T> p_103936_, HolderLookup.Provider p_323668_) Methods in net.minecraft.commands.arguments that return ParticleOptionsModifier and TypeMethodDescriptionstatic ParticleOptionsParticleArgument.getParticle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_103938_, String p_103939_) ParticleArgument.parse(com.mojang.brigadier.StringReader p_103933_) static ParticleOptionsParticleArgument.readParticle(com.mojang.brigadier.StringReader p_249275_, HolderLookup.Provider p_324619_) -
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 TypeClassDescriptionclassclassclassclassclassclassfinal recordclassclassclassFields in net.minecraft.core.particles with type parameters of type ParticleOptionsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ParticleOptions> ParticleTypes.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ParticleOptions> ParticleTypes.STREAM_CODECMethods in net.minecraft.core.particles with type parameters of type ParticleOptionsModifier 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
Fields in net.minecraft.network.protocol.game declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptionsClientboundExplodePacket.largeExplosionParticlesprivate final ParticleOptionsClientboundLevelParticlesPacket.particleprivate final ParticleOptionsClientboundExplodePacket.smallExplosionParticlesMethods 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 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
Fields in net.minecraft.network.syncher with type parameters of type ParticleOptionsModifier and TypeFieldDescriptionstatic final EntityDataSerializer<ParticleOptions> EntityDataSerializers.PARTICLEstatic 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 intParticleCommand.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
Methods in net.minecraft.server.level with type parameters of type ParticleOptionsModifier 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_) Methods in net.minecraft.server.level with parameters of type ParticleOptionsModifier and TypeMethodDescriptionvoidWorldGenRegion.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
Methods in net.minecraft.util with parameters of type ParticleOptionsModifier and TypeMethodDescriptionstatic voidParticleUtils.spawnParticleBelow(Level p_273159_, BlockPos p_273452_, RandomSource p_273538_, ParticleOptions p_273419_) static voidParticleUtils.spawnParticleInBlock(LevelAccessor p_316553_, BlockPos p_316882_, int p_316412_, ParticleOptions p_316308_) static voidParticleUtils.spawnParticleOnFace(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) static voidParticleUtils.spawnParticles(LevelAccessor p_316549_, BlockPos p_316335_, int p_316207_, double p_316351_, double p_316421_, boolean p_316563_, ParticleOptions p_316241_) static voidParticleUtils.spawnParticlesAlongAxis(Direction.Axis p_144968_, Level p_144969_, BlockPos p_144970_, double p_144971_, ParticleOptions p_144972_, UniformInt p_144973_) static voidParticleUtils.spawnParticlesOnBlockFace(Level p_216319_, BlockPos p_216320_, ParticleOptions p_216321_, IntProvider p_216322_, Direction p_216323_, Supplier<Vec3> p_216324_, double p_216325_) static voidParticleUtils.spawnParticlesOnBlockFaces(Level p_216314_, BlockPos p_216315_, ParticleOptions p_216316_, IntProvider p_216317_) -
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.particleFactoryMethods in net.minecraft.world.effect that return ParticleOptionsModifier and TypeMethodDescriptionMobEffect.createParticleOptions(MobEffectInstance p_333815_) MobEffectInstance.getParticleOptions()Constructors in net.minecraft.world.effect with parameters of type ParticleOptionsModifierConstructorDescriptionprotectedMobEffect(MobEffectCategory p_333963_, int p_333864_, ParticleOptions p_333716_) protectedRaidOmenMobEffect(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_PARTICLESprivate static final EntityDataAccessor<ParticleOptions> AreaEffectCloud.DATA_PARTICLEMethods in net.minecraft.world.entity that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptionsGlowSquid.getInkParticle()AreaEffectCloud.getParticle()Methods in net.minecraft.world.entity with parameters of type ParticleOptions -
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 voidDolphin.addParticlesAroundSelf(ParticleOptions p_28338_) private voidBee.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
Methods in net.minecraft.world.entity.monster that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptionsMagmaCube.getParticleType()protected ParticleOptionsSlime.getParticleType() -
Uses of ParticleOptions in net.minecraft.world.entity.npc
Methods in net.minecraft.world.entity.npc with parameters of type ParticleOptionsModifier and TypeMethodDescriptionprotected voidAbstractVillager.addParticlesAroundSelf(ParticleOptions p_35288_) -
Uses of ParticleOptions in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile that return ParticleOptionsModifier and TypeMethodDescriptionprivate ParticleOptionsSnowball.getParticle()protected ParticleOptionsAbstractHurtingProjectile.getTrailParticle()protected ParticleOptionsDragonFireball.getTrailParticle() -
Uses of ParticleOptions in net.minecraft.world.entity.projectile.windcharge
Methods in net.minecraft.world.entity.projectile.windcharge that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptionsAbstractWindCharge.getTrailParticle() -
Uses of ParticleOptions in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptionsExplosion.largeExplosionParticlesprivate final ParticleOptionsExplosion.smallExplosionParticlesMethods 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 TypeMethodDescriptionvoidLevel.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_) voidLevel.addAlwaysVisibleParticle(ParticleOptions p_46684_, double p_46685_, double p_46686_, double p_46687_, double p_46688_, double p_46689_, double p_46690_) voidLevel.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_) voidLevel.addParticle(ParticleOptions p_46631_, double p_46632_, double p_46633_, double p_46634_, double p_46635_, double p_46636_, double p_46637_) voidLevelAccessor.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_) Constructors in net.minecraft.world.level with parameters of type ParticleOptionsModifierConstructorDescriptionExplosion(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
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 ParticleOptions -
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 voidTrialSpawner.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
Methods in net.minecraft.world.level.block.entity.vault with parameters of type ParticleOptionsModifier and TypeMethodDescriptionstatic voidVaultBlockEntity.Client.emitActivationParticles(Level p_323761_, BlockPos p_324150_, BlockState p_324527_, VaultSharedData p_324466_, ParticleOptions p_338551_) static voidVaultBlockEntity.Client.emitDeactivationParticles(Level p_324419_, BlockPos p_324587_, ParticleOptions p_338582_) private static voidVaultBlockEntity.Client.emitIdleParticles(Level p_324004_, BlockPos p_324516_, VaultSharedData p_324173_, ParticleOptions p_338823_) -
Uses of ParticleOptions in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return ParticleOptionsModifier and TypeMethodDescriptionprotected ParticleOptionsFluid.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 resultingTextureSheetParticles 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 ParticleOptionsEffectParticleModificationEvent.optionsprivate final ParticleOptionsEffectParticleModificationEvent.originalOptionsMethods 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 TypeMethodDescriptionvoidEffectParticleModificationEvent.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 ParticleOptionsFluidType.DripstoneDripInfo.dripParticleThe field for thedripParticlerecord component.Methods in net.neoforged.neoforge.fluids that return ParticleOptionsModifier and TypeMethodDescription@Nullable ParticleOptionsFluidType.DripstoneDripInfo.dripParticle()Returns the value of thedripParticlerecord 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 aDripstoneDripInforecord class.
RegisterParticleProvidersEvent