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_) 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<ParticleType<?>> p_251929_) -
Uses of ParticleOptions in net.minecraft.core.particles
Modifier and TypeInterfaceDescriptionstatic interface
ParticleOptions.Deserializer<T extends ParticleOptions>
Deprecated.class
ParticleType<T extends ParticleOptions>
Modifier and TypeClassDescriptionclass
class
class
class
class
final record
class
class
class
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ParticleOptions>
ParticleTypes.CODEC
Modifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
ParticleType<T>ParticleTypes.register
(String p_235906_, boolean p_235907_, ParticleOptions.Deserializer<T> p_235908_, Function<ParticleType<T>, com.mojang.serialization.Codec<T>> p_235909_) -
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 TypeMethodDescriptionprivate <T extends ParticleOptions>
TClientboundExplodePacket.readParticle
(FriendlyByteBuf p_312504_, ParticleType<T> p_311877_) private <T extends ParticleOptions>
TClientboundLevelParticlesPacket.readParticle
(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_) Modifier and TypeMethodDescriptionClientboundExplodePacket.getLargeExplosionParticles()
ClientboundLevelParticlesPacket.getParticle()
ClientboundExplodePacket.getSmallExplosionParticles()
Modifier and TypeMethodDescriptionvoid
ClientboundExplodePacket.writeParticle
(FriendlyByteBuf p_311139_, ParticleOptions p_309825_) ModifierConstructorDescriptionClientboundExplodePacket
(double p_132115_, double p_132116_, double p_132117_, float p_132118_, List<BlockPos> p_132119_, Vec3 p_132120_, Explosion.BlockInteraction p_309954_, ParticleOptions p_311040_, ParticleOptions p_309903_, SoundEvent p_310126_) -
Uses of ParticleOptions in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<ParticleOptions>
EntityDataSerializers.PARTICLE
-
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_310962_, ParticleOptions p_310322_, SoundEvent p_309795_) -
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.spawnParticleOnFace
(Level p_216307_, BlockPos p_216308_, Direction p_216309_, ParticleOptions p_216310_, Vec3 p_216311_, double p_216312_) 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.entity
Modifier and TypeFieldDescriptionprivate 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.player
Modifier and TypeMethodDescriptionprivate void
Player.addParticlesAroundSelf
(ParticleOptions p_36209_) -
Uses of ParticleOptions in net.minecraft.world.entity.projectile
Modifier and TypeMethodDescriptionprivate ParticleOptions
Snowball.getParticle()
protected ParticleOptions
AbstractHurtingProjectile.getTrailParticle()
protected ParticleOptions
DragonFireball.getTrailParticle()
protected ParticleOptions
WindCharge.getTrailParticle()
-
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_312521_, DamageSource p_310678_, ExplosionDamageCalculator p_312887_, double p_309783_, double p_312776_, double p_310505_, float p_310209_, boolean p_309445_, Level.ExplosionInteraction p_310628_, boolean p_309655_, ParticleOptions p_311889_, ParticleOptions p_311434_, SoundEvent p_312016_) 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_312617_, ParticleOptions p_309714_, SoundEvent p_311749_) ModifierConstructorDescriptionExplosion
(Level p_46024_, Entity p_46025_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, List<BlockPos> p_46030_, Explosion.BlockInteraction p_312129_, ParticleOptions p_311112_, ParticleOptions p_311120_, SoundEvent p_311288_) Explosion
(Level p_46051_, Entity p_46052_, DamageSource p_46053_, ExplosionDamageCalculator p_46054_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, boolean p_46059_, Explosion.BlockInteraction p_46060_, ParticleOptions p_312175_, ParticleOptions p_310459_, SoundEvent p_311795_) -
Uses of ParticleOptions in net.minecraft.world.level.biome
-
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.minecraftforge.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.
RegisterParticleProvidersEvent