Commits
Thinkofname authored and md_5 committed cc17cf17761
4 4 | |
5 5 | import org.bukkit.Achievement; |
6 6 | import org.bukkit.ChatColor; |
7 7 | import org.bukkit.Effect; |
8 8 | import org.bukkit.GameMode; |
9 9 | import org.bukkit.Instrument; |
10 10 | import org.bukkit.Location; |
11 11 | import org.bukkit.Material; |
12 12 | import org.bukkit.Note; |
13 13 | import org.bukkit.OfflinePlayer; |
14 + | import org.bukkit.Particle; |
14 15 | import org.bukkit.Sound; |
15 16 | import org.bukkit.Statistic; |
16 17 | import org.bukkit.WeatherType; |
17 18 | import org.bukkit.command.CommandSender; |
18 19 | import org.bukkit.conversations.Conversable; |
19 20 | import org.bukkit.map.MapView; |
20 21 | import org.bukkit.plugin.messaging.PluginMessageRecipient; |
21 22 | import org.bukkit.scoreboard.Scoreboard; |
22 23 | |
23 24 | /** |
1069 1070 | */ |
1070 1071 | |
1071 1072 | public void sendTitle(String title, String subtitle); |
1072 1073 | |
1073 1074 | /** |
1074 1075 | * Resets the title displayed to the player. |
1075 1076 | * @deprecated API subject to change. |
1076 1077 | */ |
1077 1078 | |
1078 1079 | public void resetTitle(); |
1080 + | |
1081 + | |
1082 + | /** |
1083 + | * Spawns the particle (the number of times specified by count) |
1084 + | * at the target location. |
1085 + | * |
1086 + | * @param particle the particle to spawn |
1087 + | * @param location the location to spawn at |
1088 + | * @param count the number of particles |
1089 + | */ |
1090 + | public void spawnParticle(Particle particle, Location location, int count); |
1091 + | |
1092 + | /** |
1093 + | * Spawns the particle (the number of times specified by count) |
1094 + | * at the target location. |
1095 + | * |
1096 + | * @param particle the particle to spawn |
1097 + | * @param x the position on the x axis to spawn at |
1098 + | * @param y the position on the y axis to spawn at |
1099 + | * @param z the position on the z axis to spawn at |
1100 + | * @param count the number of particles |
1101 + | */ |
1102 + | public void spawnParticle(Particle particle, double x, double y, double z, int count); |
1103 + | |
1104 + | /** |
1105 + | * Spawns the particle (the number of times specified by count) |
1106 + | * at the target location. |
1107 + | * |
1108 + | * @param particle the particle to spawn |
1109 + | * @param location the location to spawn at |
1110 + | * @param count the number of particles |
1111 + | * @param data the data to use for the particle or null, |
1112 + | * the type of this depends on {@link Particle#getDataType()} |
1113 + | */ |
1114 + | public <T> void spawnParticle(Particle particle, Location location, int count, T data); |
1115 + | |
1116 + | |
1117 + | /** |
1118 + | * Spawns the particle (the number of times specified by count) |
1119 + | * at the target location. |
1120 + | * |
1121 + | * @param particle the particle to spawn |
1122 + | * @param x the position on the x axis to spawn at |
1123 + | * @param y the position on the y axis to spawn at |
1124 + | * @param z the position on the z axis to spawn at |
1125 + | * @param count the number of particles |
1126 + | * @param data the data to use for the particle or null, |
1127 + | * the type of this depends on {@link Particle#getDataType()} |
1128 + | */ |
1129 + | public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, T data); |
1130 + | |
1131 + | /** |
1132 + | * Spawns the particle (the number of times specified by count) |
1133 + | * at the target location. The position of each particle will be |
1134 + | * randomized positively and negatively by the offset parameters |
1135 + | * on each axis. |
1136 + | * |
1137 + | * @param particle the particle to spawn |
1138 + | * @param location the location to spawn at |
1139 + | * @param count the number of particles |
1140 + | * @param offsetX the maximum random offset on the X axis |
1141 + | * @param offsetY the maximum random offset on the Y axis |
1142 + | * @param offsetZ the maximum random offset on the Z axis |
1143 + | */ |
1144 + | public void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ); |
1145 + | |
1146 + | /** |
1147 + | * Spawns the particle (the number of times specified by count) |
1148 + | * at the target location. The position of each particle will be |
1149 + | * randomized positively and negatively by the offset parameters |
1150 + | * on each axis. |
1151 + | * |
1152 + | * @param particle the particle to spawn |
1153 + | * @param x the position on the x axis to spawn at |
1154 + | * @param y the position on the y axis to spawn at |
1155 + | * @param z the position on the z axis to spawn at |
1156 + | * @param count the number of particles |
1157 + | * @param offsetX the maximum random offset on the X axis |
1158 + | * @param offsetY the maximum random offset on the Y axis |
1159 + | * @param offsetZ the maximum random offset on the Z axis |
1160 + | */ |
1161 + | public void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ); |
1162 + | |
1163 + | /** |
1164 + | * Spawns the particle (the number of times specified by count) |
1165 + | * at the target location. The position of each particle will be |
1166 + | * randomized positively and negatively by the offset parameters |
1167 + | * on each axis. |
1168 + | * |
1169 + | * @param particle the particle to spawn |
1170 + | * @param location the location to spawn at |
1171 + | * @param count the number of particles |
1172 + | * @param offsetX the maximum random offset on the X axis |
1173 + | * @param offsetY the maximum random offset on the Y axis |
1174 + | * @param offsetZ the maximum random offset on the Z axis |
1175 + | * @param data the data to use for the particle or null, |
1176 + | * the type of this depends on {@link Particle#getDataType()} |
1177 + | */ |
1178 + | public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, T data); |
1179 + | |
1180 + | /** |
1181 + | * Spawns the particle (the number of times specified by count) |
1182 + | * at the target location. The position of each particle will be |
1183 + | * randomized positively and negatively by the offset parameters |
1184 + | * on each axis. |
1185 + | * |
1186 + | * @param particle the particle to spawn |
1187 + | * @param x the position on the x axis to spawn at |
1188 + | * @param y the position on the y axis to spawn at |
1189 + | * @param z the position on the z axis to spawn at |
1190 + | * @param count the number of particles |
1191 + | * @param offsetX the maximum random offset on the X axis |
1192 + | * @param offsetY the maximum random offset on the Y axis |
1193 + | * @param offsetZ the maximum random offset on the Z axis |
1194 + | * @param data the data to use for the particle or null, |
1195 + | * the type of this depends on {@link Particle#getDataType()} |
1196 + | */ |
1197 + | public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, T data); |
1198 + | |
1199 + | /** |
1200 + | * Spawns the particle (the number of times specified by count) |
1201 + | * at the target location. The position of each particle will be |
1202 + | * randomized positively and negatively by the offset parameters |
1203 + | * on each axis. |
1204 + | * |
1205 + | * @param particle the particle to spawn |
1206 + | * @param location the location to spawn at |
1207 + | * @param count the number of particles |
1208 + | * @param offsetX the maximum random offset on the X axis |
1209 + | * @param offsetY the maximum random offset on the Y axis |
1210 + | * @param offsetZ the maximum random offset on the Z axis |
1211 + | * @param extra the extra data for this particle, depends on the |
1212 + | * particle used (normally speed) |
1213 + | */ |
1214 + | public void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra); |
1215 + | |
1216 + | /** |
1217 + | * Spawns the particle (the number of times specified by count) |
1218 + | * at the target location. The position of each particle will be |
1219 + | * randomized positively and negatively by the offset parameters |
1220 + | * on each axis. |
1221 + | * |
1222 + | * @param particle the particle to spawn |
1223 + | * @param x the position on the x axis to spawn at |
1224 + | * @param y the position on the y axis to spawn at |
1225 + | * @param z the position on the z axis to spawn at |
1226 + | * @param count the number of particles |
1227 + | * @param offsetX the maximum random offset on the X axis |
1228 + | * @param offsetY the maximum random offset on the Y axis |
1229 + | * @param offsetZ the maximum random offset on the Z axis |
1230 + | * @param extra the extra data for this particle, depends on the |
1231 + | * particle used (normally speed) |
1232 + | */ |
1233 + | public void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra); |
1234 + | |
1235 + | /** |
1236 + | * Spawns the particle (the number of times specified by count) |
1237 + | * at the target location. The position of each particle will be |
1238 + | * randomized positively and negatively by the offset parameters |
1239 + | * on each axis. |
1240 + | * |
1241 + | * @param particle the particle to spawn |
1242 + | * @param location the location to spawn at |
1243 + | * @param count the number of particles |
1244 + | * @param offsetX the maximum random offset on the X axis |
1245 + | * @param offsetY the maximum random offset on the Y axis |
1246 + | * @param offsetZ the maximum random offset on the Z axis |
1247 + | * @param extra the extra data for this particle, depends on the |
1248 + | * particle used (normally speed) |
1249 + | * @param data the data to use for the particle or null, |
1250 + | * the type of this depends on {@link Particle#getDataType()} |
1251 + | */ |
1252 + | public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data); |
1253 + | |
1254 + | /** |
1255 + | * Spawns the particle (the number of times specified by count) |
1256 + | * at the target location. The position of each particle will be |
1257 + | * randomized positively and negatively by the offset parameters |
1258 + | * on each axis. |
1259 + | * |
1260 + | * @param particle the particle to spawn |
1261 + | * @param x the position on the x axis to spawn at |
1262 + | * @param y the position on the y axis to spawn at |
1263 + | * @param z the position on the z axis to spawn at |
1264 + | * @param count the number of particles |
1265 + | * @param offsetX the maximum random offset on the X axis |
1266 + | * @param offsetY the maximum random offset on the Y axis |
1267 + | * @param offsetZ the maximum random offset on the Z axis |
1268 + | * @param extra the extra data for this particle, depends on the |
1269 + | * particle used (normally speed) |
1270 + | * @param data the data to use for the particle or null, |
1271 + | * the type of this depends on {@link Particle#getDataType()} |
1272 + | */ |
1273 + | public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data); |
1274 + | |
1079 1275 | } |