Uses of Class
net.minecraft.core.particles.ParticleType
Packages that use ParticleType
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ParticleType in net.minecraft.client.particle
Methods in net.minecraft.client.particle with parameters of type ParticleTypeModifier and TypeMethodDescription<T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> p_107379_, ParticleEngine.SpriteParticleRegistration<T> p_107380_) Deprecated.<T extends ParticleOptions>
voidParticleEngine.register
(ParticleType<T> p_107382_, ParticleProvider<T> p_107383_) Deprecated.Register viaRegisterParticleProvidersEvent
-
Uses of ParticleType in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments with type parameters of type ParticleTypeModifier and TypeFieldDescriptionprivate final HolderLookup<ParticleType<?>>
ParticleArgument.particles
Methods in net.minecraft.commands.arguments that return ParticleTypeModifier and TypeMethodDescriptionprivate static ParticleType<?>
ParticleArgument.readParticleType
(com.mojang.brigadier.StringReader p_249621_, HolderLookup<ParticleType<?>> p_248983_) Methods in net.minecraft.commands.arguments with parameters of type ParticleTypeModifier and TypeMethodDescriptionprivate static <T extends ParticleOptions>
TParticleArgument.readParticle
(com.mojang.brigadier.StringReader p_103935_, ParticleType<T> p_103936_) Method parameters in net.minecraft.commands.arguments with type arguments of type ParticleTypeModifier and TypeMethodDescriptionstatic ParticleOptions
ParticleArgument.readParticle
(com.mojang.brigadier.StringReader p_249275_, HolderLookup<ParticleType<?>> p_251929_) private static ParticleType<?>
ParticleArgument.readParticleType
(com.mojang.brigadier.StringReader p_249621_, HolderLookup<ParticleType<?>> p_248983_) -
Uses of ParticleType in net.minecraft.core.particles
Subclasses of ParticleType in net.minecraft.core.particlesFields in net.minecraft.core.particles declared as ParticleTypeModifier and TypeFieldDescriptionstatic final ParticleType<BlockParticleOption>
ParticleTypes.BLOCK
static final ParticleType<BlockParticleOption>
ParticleTypes.BLOCK_MARKER
static final ParticleType<DustParticleOptions>
ParticleTypes.DUST
static final ParticleType<DustColorTransitionOptions>
ParticleTypes.DUST_COLOR_TRANSITION
static final ParticleType<BlockParticleOption>
ParticleTypes.FALLING_DUST
static final ParticleType<ItemParticleOption>
ParticleTypes.ITEM
static final ParticleType<SculkChargeParticleOptions>
ParticleTypes.SCULK_CHARGE
static final ParticleType<ShriekParticleOption>
ParticleTypes.SHRIEK
private final ParticleType<BlockParticleOption>
BlockParticleOption.type
private final ParticleType<ItemParticleOption>
ItemParticleOption.type
static final ParticleType<VibrationParticleOption>
ParticleTypes.VIBRATION
Methods in net.minecraft.core.particles that return ParticleTypeModifier and TypeMethodDescriptionBlockParticleOption.getType()
DustColorTransitionOptions.getType()
DustParticleOptions.getType()
ItemParticleOption.getType()
ParticleType<?>
ParticleOptions.getType()
SculkChargeParticleOptions.getType()
ShriekParticleOption.getType()
VibrationParticleOption.getType()
private 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_) Methods in net.minecraft.core.particles with parameters of type ParticleTypeModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<BlockParticleOption>
BlockParticleOption.codec
(ParticleType<BlockParticleOption> p_123635_) static com.mojang.serialization.Codec<ItemParticleOption>
ItemParticleOption.codec
(ParticleType<ItemParticleOption> p_123711_) ParticleOptions.Deserializer.fromCommand
(ParticleType<T> p_123733_, com.mojang.brigadier.StringReader p_123734_) Deprecated.ParticleOptions.Deserializer.fromNetwork
(ParticleType<T> p_123735_, FriendlyByteBuf p_123736_) Deprecated.Method parameters in net.minecraft.core.particles with type arguments of type ParticleTypeModifier 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_) Constructors in net.minecraft.core.particles with parameters of type ParticleTypeModifierConstructorDescriptionBlockParticleOption
(ParticleType<BlockParticleOption> p_123629_, BlockState p_123630_) ItemParticleOption
(ParticleType<ItemParticleOption> p_123705_, ItemStack p_123706_) -
Uses of ParticleType in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type ParticleTypeModifier and TypeFieldDescriptionstatic final Registry<ParticleType<?>>
BuiltInRegistries.PARTICLE_TYPE
Deprecated.Forge: UseForgeRegistries.PARTICLE_TYPES
instead.static final ResourceKey<Registry<ParticleType<?>>>
Registries.PARTICLE_TYPE
-
Uses of ParticleType in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type ParticleTypeModifier and TypeMethodDescriptionprivate <T extends ParticleOptions>
TClientboundLevelParticlesPacket.readParticle
(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_) -
Uses of ParticleType in net.minecraftforge.client.event
Methods in net.minecraftforge.client.event with parameters of type ParticleTypeModifier and TypeMethodDescription<T extends ParticleOptions>
voidRegisterParticleProvidersEvent.register
(ParticleType<T> type, ParticleEngine.SpriteParticleRegistration<T> registration) <T extends ParticleOptions>
voidRegisterParticleProvidersEvent.register
(ParticleType<T> type, ParticleProvider<T> provider) -
Uses of ParticleType in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type ParticleTypeModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<ParticleType<?>>>
ForgeRegistries.Keys.PARTICLE_TYPES
static final IForgeRegistry<ParticleType<?>>
ForgeRegistries.PARTICLE_TYPES
RegisterParticleProvidersEvent