13
0
geforkt von Mirrors/Paper
Commit graph

881 Commits

Autor SHA1 Nachricht Datum
Bukkit/Spigot
602f06a913 Adds Location.getChunk()
By: Kevin <kingersoll@gmail.com>
2011-12-11 21:13:45 -08:00
Bukkit/Spigot
c98c245890 Added getKiller() method to LivingEntity, to determine the killer of an entity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-11 16:04:37 +00:00
Bukkit/Spigot
2a9dad1626 Add Bukkit.getAllowEnd(). Thanks codename-B!
By: Erik Broes <erikbroes@grum.nl>
2011-12-09 18:50:49 +01:00
Bukkit/Spigot
f63d8e600d Fixed silly NPE during shutdown when java becomes a meanie-pants and steals our lunch money :(
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 17:13:47 +00:00
Bukkit/Spigot
a41e663ef3 Override annotations do not belong here!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:24:23 +00:00
Bukkit/Spigot
7aff3534fa Added onStructureGrow event, thanks to md-5.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 16:12:05 +00:00
Bukkit/Spigot
96311db0bf Fixed MemorySection list methods' return types + NPEs. This fixes BUKKIT-213, thanks to Sleaker
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-09 15:50:20 +00:00
Bukkit/Spigot
8feccf30cc EntityExplodeEvent: Add constructor that takes yeild parameter
The Ender Dragon causes blocks to explode as it flies through them.
These blocks by default do not drop any items, so the default yeild for
this explosion event is 0. Previously the event had the default value
hard-coded to 0.3F, which is inaccurate in this situation.

We derecate the constructor with no yield, as any default yield should
really be left up to the implementation to decide, not the API.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 23:56:15 +11:00
Bukkit/Spigot
b0481cb922 BREAKING: Change ConsoleCommandSender to an interface.
Implementations will now need to implement the console command sender.
This is done to increse the separation between the Bukkit API and it's
implementations. This allows the implementations more freedom when dealing
with consoles and reducing chances for breaking plugin compatibility in the
future.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:43:56 +11:00
Bukkit/Spigot
a4a2fa8690 Teach the API about Remote Consoles
This will allow us to raise events for remote consoles, and provide access
to them at a later date. Relates to BUKKIT-220

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-12-07 16:37:35 +11:00
Bukkit/Spigot
1d06c840a4 Added Material.isEdible. Thanks simplyianm
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-06 09:44:16 +00:00
Bukkit/Spigot
56b92a4f45 Added method to retrieve all players on a server, online or offline
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 17:56:41 +00:00
Bukkit/Spigot
712ca9d3b6 I do believe that I made a typo
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:08:40 +00:00
Bukkit/Spigot
f3ddaaf09f Added cause to PlayerTeleportEvent
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 11:03:32 +00:00
Bukkit/Spigot
c90d52a4d3 Bukkit will no longer leak tears. He has been cheered up.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-04 10:41:46 +00:00
Bukkit/Spigot
1c103e443d Added /xp and /toggledownfall commands from vanilla
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-12-02 06:37:42 +00:00
Bukkit/Spigot
5be8bd5ba5 Added the missing effects to the Effect enum.
By: TomyLobo <tomylobo@nurfuerspam.de>
2011-11-28 18:40:04 +01:00
Bukkit/Spigot
b3819b1bbb Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-30 22:30:47 +00:00
Bukkit/Spigot
ae4cd083ac Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-29 20:50:38 +11:00
Bukkit/Spigot
3055f33fca BREAKING CHANGE: BUKKIT-44 Fix Material Enum typo. Thanks Steeveeo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 15:52:11 +11:00
Bukkit/Spigot
159c512a9f Added Enchantment.values() for retrieving all enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-28 03:41:40 +00:00
Bukkit/Spigot
2aca23d84a Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!

By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 11:12:08 +11:00
Bukkit/Spigot
fa2fabd4ec BUKKIT-57 Add Snowman to CreatureType Enum. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 10:48:02 +11:00
Bukkit/Spigot
be588e1004 BUKKIT-61 Add durability to BOW material type. Thanks snowleo!
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-28 09:49:22 +11:00
Bukkit/Spigot
da2c7fcc14 Fixed issue adding mass enchantments to items
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 03:58:12 +00:00
Bukkit/Spigot
636640607d Added utility methods to ItemStack to allow mass adding of enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:45:08 +00:00
Bukkit/Spigot
868b48c82c Made ItemStack .equals take into account data and enchantments
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 02:25:12 +00:00
Bukkit/Spigot
aa5b203974 Added Enchantment API
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-27 00:26:31 +00:00
Bukkit/Spigot
409c447cbd Added world.getWorldFolder, server.getWorldContainer
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-25 03:46:47 +00:00
Bukkit/Spigot
34f857ad15 Added new set/get age methods to Animals
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-24 20:16:16 +00:00
Bukkit/Spigot
d29402070b Made /version output same as startup output
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-23 05:55:32 +00:00
Bukkit/Spigot
b2c01fec3c Added new biome enum values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 21:21:09 +00:00
Bukkit/Spigot
8afb3fdf8e Fixed the fix of the fix of javaplugin.getResource
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-22 00:03:16 +00:00
Bukkit/Spigot
96e7ebd630 BREAKING CHANGE: Renamed Material.WHITESTONE to ENDER_STONE. Added DRAGON_EGG.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:51 +00:00
Bukkit/Spigot
b5fed7b863 BREAKING CHANGE: Renamed Environment.SKYLANDS to THE_END
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:38:06 +00:00
Bukkit/Spigot
5e8490ab32 Added EnderCrystal entity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-21 22:37:37 +00:00
Bukkit/Spigot
2e69050e17 Update version to correct one
By: Erik Broes <erikbroes@ripe.net>
2011-11-20 00:11:39 -08:00
Bukkit/Spigot
d953b3b234 Update version to 1.0.0-SNAPSHOT
By: Erik Broes <erikbroes@grum.nl>
2011-11-19 23:49:05 -08:00
Bukkit/Spigot
13fb246fbc Now using a new version system!
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 01:46:44 +00:00
Bukkit/Spigot
beded0650b Fixed typo for NETHER_WARTS
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 10:04:11 +01:00
Bukkit/Spigot
bdc3ffafbe Added various new 1.9 entities, blocks and items
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 09:43:19 +01:00
Bukkit/Spigot
41fba5743b Added getMaxHealth to LivingEntity
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 08:09:22 +01:00
Bukkit/Spigot
cc2c92d5cb Added class type to CreatureType enum
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-29 08:09:03 +01:00
Bukkit/Spigot
67a69090f5 Fixed getResource not working post-reload, thanks to feildmaster
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-13 11:11:45 +00:00
Bukkit/Spigot
75f99315f7 Removed redundant TestEnum file
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-13 10:00:32 +00:00
Bukkit/Spigot
912ce85f79 Add more menus to site.xml
By: Luke GB <lukegb@lukegb.com>
2011-11-10 08:03:00 +00:00
Bukkit/Spigot
867d2bc046 Added createSection(String path, Map<String, object> map)
By: Feildmaster <admin@feildmaster.com>
2011-11-01 22:04:48 -05:00
Bukkit/Spigot
04ccdf16fd Fixed issue with hasPermission returning false wrongly
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-02 22:48:07 +00:00
Bukkit/Spigot
97d09bc106 Fix version string - RB 4 has already happened
By: Andrew Ardill <andrew.ardill@gmail.com>
2011-11-01 14:22:12 +11:00
Bukkit/Spigot
51b8a856bb Added getBukkitVersion to Server
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 04:01:56 +00:00
Bukkit/Spigot
b5b7edecd9 Updated version for 1.8.1-R4
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-31 01:49:57 +00:00
Bukkit/Spigot
e7255d353e Fixed using the wrong type of Map for storing perm attachment values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-27 22:03:21 +01:00
Bukkit/Spigot
ccbf3b22ed Added helper methods such as getStringList to ConfigurationSection
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 09:47:51 +01:00
Bukkit/Spigot
04d50c0f67 Fixed the /me command missing a space
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 07:08:41 +01:00
Bukkit/Spigot
3f093fec4a Fixed stripColor taking more than it should, thanks to fieldmaster for catching it
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 07:01:50 +01:00
Bukkit/Spigot
2ec416e8e0 Fixed issues with loading YamlConfigurations with typed keys
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-26 06:56:36 +01:00
Bukkit/Spigot
98583f6462 Revert "Added the ability to register commands dynamically."
This reverts commit 737d6347b1d74e13191df7c521d8db30fa174c9b.
Because this is *NOT* how it should be.

By: Erik Broes <erikbroes@grum.nl>
2011-10-13 18:27:34 +02:00
Bukkit/Spigot
f75105d723 Added a case previously not covered by VehicleDestroyEvent for boats, updated VehicleDestroyEvent Javadocs.
By: sk89q <the.sk89q@gmail.com>
2011-10-13 01:16:18 -07:00
Bukkit/Spigot
fa0a9be46c Added the ability to register commands dynamically.
By: sk89q <the.sk89q@gmail.com>
2011-10-13 01:05:20 -07:00
Bukkit/Spigot
f5eee9b341 Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 13:24:57 +01:00
Bukkit/Spigot
69a2349368 Loading a FileConfiguration (Yaml/) should remember the previously saved header
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 05:03:47 +01:00
Bukkit/Spigot
ea55a50756 YamlConfiguration now correctly writes extra blank lines at the end if requested
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-12 04:39:22 +01:00
Bukkit/Spigot
b94e100930 Added reloadConfig() plugin method
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 15:50:59 +01:00
Bukkit/Spigot
71d1bb3e2d Added OfflinePlayer.getPlayer() for getting the online Player object
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 14:51:28 +01:00
Bukkit/Spigot
e7f66d5be6 Fixed deeply nested configuration sections retrieving values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 13:26:41 +01:00
Bukkit/Spigot
510ec3a467 Fixed removing entries in the new Configuration (via set(x, null))
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 12:16:43 +01:00
Bukkit/Spigot
f22a79981c Fixed NPE on unloading plugins
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 04:41:34 +01:00
Bukkit/Spigot
ef674c0b83 Added new entity.get/setTicksLived for identifying an entity's age
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:22:38 +01:00
Bukkit/Spigot
b50b4ca047 Few more style cleanups
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:16:44 +01:00
Bukkit/Spigot
ad38184dc2 Added add/subtract by Vector methods to Location, thanks to erisdiscord
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 02:04:40 +01:00
Bukkit/Spigot
aff51bff11 Javadoc typo. I can now sleep soundly at night.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-11 01:24:47 +01:00
Bukkit/Spigot
1ad373d9f6 Lazy-load the old and new configs for plugins .getConfig
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 23:04:01 +01:00
Bukkit/Spigot
429eb80d6e Small javadoc cleanup
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:58:44 +01:00
Bukkit/Spigot
96063a2b4d Updated snakeyaml to 1.9 (up from 1.7)
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:39:27 +01:00
Bukkit/Spigot
e485fcdb54 Removed old Fillr code that was actually never used
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:33:44 +01:00
Bukkit/Spigot
6c7412d365 Added new Configuration classes
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-19 20:36:44 +01:00
Bukkit/Spigot
e99e39ee62 hopeful fix for blocks not being pistons when they should be
By: Tahg <tahgtahv@gmail.com>
2011-09-30 03:27:36 -04:00
Bukkit/Spigot
c549298711 Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 1df3a823ba477d68b359e5ac246345a05fe82ebd.

By: EvilSeph <evilseph@gmail.com>
2011-10-03 15:15:50 -04:00
Bukkit/Spigot
3ea8302a86 Added Difficulty API.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:25:39 -04:00
Bukkit/Spigot
903b75184d Made the Ban command kick a matching player if they are online.
By: EvilSeph <evilseph@gmail.com>
2011-10-03 01:31:38 -04:00
Bukkit/Spigot
8ce68d156e Added callback line of sight methods. Thanks xZise!
By: EvilSeph <evilseph@gmail.com>
2011-10-01 16:16:22 -04:00
Bukkit/Spigot
297f375b44 Renamed player.setListName to something a little more sensical
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-03 00:34:04 +01:00
Bukkit/Spigot
457abc3dc5 Updated guava to 10.0
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-10-01 23:46:11 +01:00
Bukkit/Spigot
2a3a80d543 Added PlayerChangedWorldEvent.
By: sunkid <sunkid@iminurnetz.com>
2011-09-30 20:29:24 +02:00
Bukkit/Spigot
2ef3dfed7b Moved itr.remove() in loadPlugins(). Thanks lahwran!
This was moved so that the loop does not end until it has gone through a
whole pass without finding any loadable plugins.

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:56:17 -04:00
Bukkit/Spigot
367dbc663e Painting improvements. Thanks CelticMinstrel!
Added interface to get/set the art and facing direction on paintings, and expanded painting break events to catch more cases (including fire and lightning); removed PaintingBreakByWorldEvent since it's identical to its superclass

By: EvilSeph <evilseph@gmail.com>
2011-10-01 13:30:59 -04:00
Bukkit/Spigot
5db08677a3 Added SlimeSplit event. Thanks garbagemule!
The SlimeSplit event is fired when a Slime attempts to split upon death. The event may be cancelled, and the amount of smaller slimes may be customized.

By: EvilSeph <evilseph@gmail.com>
2011-09-30 19:34:06 -04:00
Bukkit/Spigot
d0f0db958d Added server list ping event.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:32:01 -07:00
Bukkit/Spigot
bbcdbdda16 Added Player.get/setListName to change the name of the player on the player list.
By: sk89q <the.sk89q@gmail.com>
2011-09-26 15:10:33 -07:00
Bukkit/Spigot
cc2f43d8c5 Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively.
By: sk89q <the.sk89q@gmail.com>
2011-09-25 11:20:47 -07:00
Bukkit/Spigot
63cd6ba7d1 Added MonsterEggs materialdata
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 15:27:16 +01:00
Bukkit/Spigot
cae1a829df Remove Jukebox MaterialData in favour of Jukebox BlockState
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-08-22 01:27:48 -04:00
Bukkit/Spigot
c2d3c5ce3e Added get/setPickupDelay on Item entities, thanks robin0van0der0v
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:40:12 +01:00
Bukkit/Spigot
0d3e401580 Added Server.getOperators to return all server operators
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:27:44 +01:00
Bukkit/Spigot
4d1700d1d9 Fixed Material.getData returning for "dull" materials with no fancy dataclass
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 03:05:07 +01:00
Bukkit/Spigot
a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
Bukkit/Spigot
1968b78a12 added support for SmoothBrick and changed steps to a TexturedMaterial
By: sunkid <sunkid@iminurnetz.com>
2011-09-15 16:33:53 -07:00
Bukkit/Spigot
fd48f02fc3 Adds a method that returns the File representation of the update folder. The previous method just returns the filename and doesn't provide the path
By: raphfrk <raphfrk@gmail.com>
2011-08-14 05:34:15 +01:00
Bukkit/Spigot
e1825bdfd5 Added world.getSeaLevel()
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:05:32 +01:00
Bukkit/Spigot
530662e3b6 Deprecated Server.createWorld() methods, use "WorldCreator.name(x).seed(1234).createWorld()" now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 01:04:43 +01:00