Rename and document the SimpleParticleType class (#3840)

* Rename the DefaultParticleType class to SimpleParticleType

* Document the SimpleParticleType class
This commit is contained in:
haykam821 2024-04-07 16:47:17 -04:00 committed by GitHub
parent e45c7681db
commit 327f91f102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 6 deletions

View File

@ -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 <init> (Z)V
ARG 1 alwaysShow

View File

@ -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 <p>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 <init> (Z)V
ARG 1 alwaysShow