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 particleData, boolean ignoreRange, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidClientLevel.addAlwaysVisibleParticle(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidClientLevel.addParticle(ParticleOptions particleData, boolean forceAlwaysRender, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidClientLevel.addParticle(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) private voidClientLevel.spawnFluidParticle(double xStart, double xEnd, double zStart, double zEnd, double y, ParticleOptions particleData) private voidClientLevel.spawnParticle(BlockPos pos, ParticleOptions particleData, VoxelShape voxelShape, double y) private voidClientLevel.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 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 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 viaRegisterParticleProvidersEventMethods 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) voidParticleEngine.createTrackingEmitter(Entity entity, ParticleOptions particleData) voidParticleEngine.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) privateTrackingEmitter(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 TypeMethodDescriptionvoidLevelRenderer.addParticle(ParticleOptions options, boolean force, boolean decreased, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidLevelRenderer.addParticle(ParticleOptions options, boolean force, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) private ParticleLevelRenderer.addParticleInternal(ParticleOptions options, boolean force, boolean decreased, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) private ParticleLevelRenderer.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 ParticleOptionsParticleArgument.getParticle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ParticleArgument.parse(com.mojang.brigadier.StringReader reader) static ParticleOptionsParticleArgument.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 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 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 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 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.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 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 TypeMethodDescriptionvoidWorldGenRegion.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 voidParticleUtils.spawnParticleBelow(Level level, BlockPos pos, RandomSource random, ParticleOptions particle) static voidParticleUtils.spawnParticleInBlock(LevelAccessor level, BlockPos pos, int count, ParticleOptions particle) static voidParticleUtils.spawnParticleOnFace(Level level, BlockPos pos, Direction direction, ParticleOptions particle, Vec3 speed, double spread) static voidParticleUtils.spawnParticles(LevelAccessor level, BlockPos pos, int count, double xzSpread, double ySpread, boolean allowInAir, ParticleOptions particle) static voidParticleUtils.spawnParticlesAlongAxis(Direction.Axis axis, Level level, BlockPos pos, double spread, ParticleOptions particle, UniformInt count) static voidParticleUtils.spawnParticlesOnBlockFace(Level level, BlockPos pos, ParticleOptions particle, IntProvider count, Direction direction, Supplier<Vec3> speedSupplier, double spread) static voidParticleUtils.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.particleFactoryMethods 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 ParticleOptionsModifierConstructorDescriptionprotectedMobEffect(MobEffectCategory category, int color, ParticleOptions particle) 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 ParticleOptionsModifier and TypeMethodDescriptionvoidAreaEffectCloud.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 voidDolphin.addParticlesAroundSelf(ParticleOptions particleOption) private voidBee.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 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 particleOption) -
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.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as ParticleOptionsModifier and TypeFieldDescriptionprivate final ParticleOptionsExplodeEffect.largeParticleThe field for thelargeParticlerecord component.private final ParticleOptionsSpawnParticlesEffect.particleThe field for theparticlerecord component.private final ParticleOptionsExplodeEffect.smallParticleThe field for thesmallParticlerecord component.Methods in net.minecraft.world.item.enchantment.effects that return ParticleOptionsModifier and TypeMethodDescriptionExplodeEffect.largeParticle()Returns the value of thelargeParticlerecord component.SpawnParticlesEffect.particle()Returns the value of theparticlerecord component.ExplodeEffect.smallParticle()Returns the value of thesmallParticlerecord 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 aExplodeEffectrecord class.SpawnParticlesEffect(ParticleOptions particle, SpawnParticlesEffect.PositionSource horizontalPosition, SpawnParticlesEffect.PositionSource verticalPosition, SpawnParticlesEffect.VelocitySource horizontalVelocity, SpawnParticlesEffect.VelocitySource verticalVelocity, FloatProvider speed) Creates an instance of aSpawnParticlesEffectrecord class. -
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 particleData, boolean ignoreRange, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidLevel.addAlwaysVisibleParticle(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidLevel.addParticle(ParticleOptions particleData, boolean forceAlwaysRender, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidLevel.addParticle(ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) voidLevelAccessor.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 voidTrialSpawner.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 voidVaultBlockEntity.Client.emitActivationParticles(Level level, BlockPos pos, BlockState state, VaultSharedData sharedData, ParticleOptions particle) static voidVaultBlockEntity.Client.emitDeactivationParticles(Level level, BlockPos pos, ParticleOptions particle) private static voidVaultBlockEntity.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 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