geforkt von Mirrors/Paper
#726: Add Particle dataTypes to javadocs
By: mfnalex <1122571+mfnalex@users.noreply.github.com>
Dieser Commit ist enthalten in:
Ursprung
0458eb0bfc
Commit
2ee538ec02
@ -36,13 +36,25 @@ public enum Particle {
|
|||||||
FLAME,
|
FLAME,
|
||||||
LAVA,
|
LAVA,
|
||||||
CLOUD,
|
CLOUD,
|
||||||
|
/**
|
||||||
|
* Uses {@link Particle.DustOptions} as DataType
|
||||||
|
*/
|
||||||
REDSTONE(DustOptions.class),
|
REDSTONE(DustOptions.class),
|
||||||
SNOWBALL,
|
SNOWBALL,
|
||||||
SNOW_SHOVEL,
|
SNOW_SHOVEL,
|
||||||
SLIME,
|
SLIME,
|
||||||
HEART,
|
HEART,
|
||||||
|
/**
|
||||||
|
* Uses {@link ItemStack} as DataType
|
||||||
|
*/
|
||||||
ITEM_CRACK(ItemStack.class),
|
ITEM_CRACK(ItemStack.class),
|
||||||
|
/**
|
||||||
|
* Uses {@link BlockData} as DataType
|
||||||
|
*/
|
||||||
BLOCK_CRACK(BlockData.class),
|
BLOCK_CRACK(BlockData.class),
|
||||||
|
/**
|
||||||
|
* Uses {@link BlockData} as DataType
|
||||||
|
*/
|
||||||
BLOCK_DUST(BlockData.class),
|
BLOCK_DUST(BlockData.class),
|
||||||
WATER_DROP,
|
WATER_DROP,
|
||||||
MOB_APPEARANCE,
|
MOB_APPEARANCE,
|
||||||
@ -50,6 +62,9 @@ public enum Particle {
|
|||||||
END_ROD,
|
END_ROD,
|
||||||
DAMAGE_INDICATOR,
|
DAMAGE_INDICATOR,
|
||||||
SWEEP_ATTACK,
|
SWEEP_ATTACK,
|
||||||
|
/**
|
||||||
|
* Uses {@link BlockData} as DataType
|
||||||
|
*/
|
||||||
FALLING_DUST(BlockData.class),
|
FALLING_DUST(BlockData.class),
|
||||||
TOTEM,
|
TOTEM,
|
||||||
SPIT,
|
SPIT,
|
||||||
@ -81,7 +96,13 @@ public enum Particle {
|
|||||||
LANDING_OBSIDIAN_TEAR,
|
LANDING_OBSIDIAN_TEAR,
|
||||||
REVERSE_PORTAL,
|
REVERSE_PORTAL,
|
||||||
WHITE_ASH,
|
WHITE_ASH,
|
||||||
|
/**
|
||||||
|
* Uses {@link DustTransition} as DataType
|
||||||
|
*/
|
||||||
DUST_COLOR_TRANSITION(DustTransition.class),
|
DUST_COLOR_TRANSITION(DustTransition.class),
|
||||||
|
/**
|
||||||
|
* Uses {@link Vibration} as DataType
|
||||||
|
*/
|
||||||
VIBRATION(Vibration.class),
|
VIBRATION(Vibration.class),
|
||||||
FALLING_SPORE_BLOSSOM,
|
FALLING_SPORE_BLOSSOM,
|
||||||
SPORE_BLOSSOM_AIR,
|
SPORE_BLOSSOM_AIR,
|
||||||
@ -97,10 +118,22 @@ public enum Particle {
|
|||||||
WAX_OFF,
|
WAX_OFF,
|
||||||
ELECTRIC_SPARK,
|
ELECTRIC_SPARK,
|
||||||
SCRAPE,
|
SCRAPE,
|
||||||
|
/**
|
||||||
|
* Uses {@link BlockData} as DataType
|
||||||
|
*/
|
||||||
BLOCK_MARKER(BlockData.class),
|
BLOCK_MARKER(BlockData.class),
|
||||||
// ----- Legacy Separator -----
|
// ----- Legacy Separator -----
|
||||||
|
/**
|
||||||
|
* Uses {@link MaterialData} as DataType
|
||||||
|
*/
|
||||||
LEGACY_BLOCK_CRACK(MaterialData.class),
|
LEGACY_BLOCK_CRACK(MaterialData.class),
|
||||||
|
/**
|
||||||
|
* Uses {@link MaterialData} as DataType
|
||||||
|
*/
|
||||||
LEGACY_BLOCK_DUST(MaterialData.class),
|
LEGACY_BLOCK_DUST(MaterialData.class),
|
||||||
|
/**
|
||||||
|
* Uses {@link MaterialData} as DataType
|
||||||
|
*/
|
||||||
LEGACY_FALLING_DUST(MaterialData.class);
|
LEGACY_FALLING_DUST(MaterialData.class);
|
||||||
|
|
||||||
private final Class<?> dataType;
|
private final Class<?> dataType;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren