001/* 002 * Trident - A Multithreaded Server Alternative 003 * Copyright 2014 The TridentSDK Team 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017package net.tridentsdk.effect.visual; 018 019/** 020 * Enum of all possible visual effects 021 * 022 * @author The TridentSDK Team 023 * @since 0.4-alpha 024 */ 025public enum VisualEffectType { 026 027 /** 028 * Spawns 10 smoke particles 029 */ 030 FIRE_SMOKE(2000), 031 032 /** 033 * Block Break Particles 034 */ 035 BLOCK_BREAK(2001), 036 037 /** 038 * Splash Potion Particles 039 */ 040 SPLASH_POTION(2002), 041 042 /** 043 * Eye Of Ender Break Animation 044 */ 045 EYE_BREAK(2003), 046 047 /** 048 * Mob Spawn Particle Effect (Smoke + Flames) 049 */ 050 MOB_SPAWN(2004), 051 052 /** 053 * Happy Villager Effect (Green Crosses) 054 */ 055 HAPPY_VILLAGER(2005); 056 057 private final int id; 058 059 VisualEffectType(int id) { 060 this.id = id; 061 } 062 063 /** 064 * Get the id value of the effect 065 * 066 * @return The id value of the effect 067 */ 068 public int id(){ 069 return id; 070 } 071 072}