mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
#977: Remove legacy Particle values
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
parent
f3502f6dac
commit
60b9f5bacc
1 changed files with 1 additions and 15 deletions
|
@ -3,7 +3,6 @@ package org.bukkit;
|
||||||
import com.google.common.base.Preconditions;
|
import com.google.common.base.Preconditions;
|
||||||
import org.bukkit.block.data.BlockData;
|
import org.bukkit.block.data.BlockData;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
import org.bukkit.material.MaterialData;
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public enum Particle implements Keyed {
|
public enum Particle implements Keyed {
|
||||||
|
@ -167,20 +166,7 @@ public enum Particle implements Keyed {
|
||||||
/**
|
/**
|
||||||
* Uses {@link BlockData} as DataType
|
* Uses {@link BlockData} as DataType
|
||||||
*/
|
*/
|
||||||
BLOCK_MARKER("block_marker", BlockData.class),
|
BLOCK_MARKER("block_marker", BlockData.class);
|
||||||
// ----- Legacy Separator -----
|
|
||||||
/**
|
|
||||||
* Uses {@link MaterialData} as DataType
|
|
||||||
*/
|
|
||||||
LEGACY_BLOCK_CRACK(null, MaterialData.class, false),
|
|
||||||
/**
|
|
||||||
* Uses {@link MaterialData} as DataType
|
|
||||||
*/
|
|
||||||
LEGACY_BLOCK_DUST(null, MaterialData.class, false),
|
|
||||||
/**
|
|
||||||
* Uses {@link MaterialData} as DataType
|
|
||||||
*/
|
|
||||||
LEGACY_FALLING_DUST(null, MaterialData.class, false);
|
|
||||||
|
|
||||||
private final NamespacedKey key;
|
private final NamespacedKey key;
|
||||||
private final Class<?> dataType;
|
private final Class<?> dataType;
|
||||||
|
|
Loading…
Reference in a new issue