From 327f91f1027113c7bf4f571dbc1519c30375d8d3 Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Sun, 7 Apr 2024 16:47:17 -0400 Subject: [PATCH] Rename and document the SimpleParticleType class (#3840) * Rename the DefaultParticleType class to SimpleParticleType * Document the SimpleParticleType class --- .../minecraft/particle/DefaultParticleType.mapping | 6 ------ .../net/minecraft/particle/SimpleParticleType.mapping | 11 +++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) delete mode 100644 mappings/net/minecraft/particle/DefaultParticleType.mapping create mode 100644 mappings/net/minecraft/particle/SimpleParticleType.mapping diff --git a/mappings/net/minecraft/particle/DefaultParticleType.mapping b/mappings/net/minecraft/particle/DefaultParticleType.mapping deleted file mode 100644 index 02d9bc1a4b..0000000000 --- a/mappings/net/minecraft/particle/DefaultParticleType.mapping +++ /dev/null @@ -1,6 +0,0 @@ -CLASS net/minecraft/class_2400 net/minecraft/particle/DefaultParticleType - FIELD field_11259 PARAMETER_FACTORY Lnet/minecraft/class_2394$class_2395; - FIELD field_25127 codec Lcom/mojang/serialization/MapCodec; - FIELD field_48460 PACKET_CODEC Lnet/minecraft/class_9139; - METHOD (Z)V - ARG 1 alwaysShow diff --git a/mappings/net/minecraft/particle/SimpleParticleType.mapping b/mappings/net/minecraft/particle/SimpleParticleType.mapping new file mode 100644 index 0000000000..bcf7332a04 --- /dev/null +++ b/mappings/net/minecraft/particle/SimpleParticleType.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/class_2400 net/minecraft/particle/SimpleParticleType + COMMENT A particle type representing a particle with no additional parameters. + COMMENT + COMMENT

Because no additional parameters can be provided, this particle type + COMMENT itself implements {@link ParticleEffect} and can be passed to methods + COMMENT which accept particle parameters. + FIELD field_11259 PARAMETER_FACTORY Lnet/minecraft/class_2394$class_2395; + FIELD field_25127 codec Lcom/mojang/serialization/MapCodec; + FIELD field_48460 PACKET_CODEC Lnet/minecraft/class_9139; + METHOD (Z)V + ARG 1 alwaysShow