Skip to content

Commit

Permalink
Rename and document the SimpleParticleType class (#3840)
Browse files Browse the repository at this point in the history
* Rename the DefaultParticleType class to SimpleParticleType

* Document the SimpleParticleType class
  • Loading branch information
haykam821 authored Apr 7, 2024
1 parent e45c768 commit 327f91f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mappings/net/minecraft/particle/DefaultParticleType.mapping

This file was deleted.

11 changes: 11 additions & 0 deletions mappings/net/minecraft/particle/SimpleParticleType.mapping
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 327f91f

Please sign in to comment.