Commit Graph

132 Commits

Author SHA1 Message Date
Bukkit/Spigot
45c470ee2a Further discourage World.regenerateChunk
By: md_5 <git@md-5.net>
2019-01-03 15:45:16 +11:00
Bukkit/Spigot
022955b377 SPIGOT-3747: Add API for force loaded chunks
By: md_5 <git@md-5.net>
2018-12-27 12:44:43 +11:00
Bukkit/Spigot
cf8cbb0713 Tweak Block.getTemperature to return actual block temperature
By: md_5 <git@md-5.net>
2018-12-19 10:53:02 +11:00
Bukkit/Spigot
55523cfcfc Add ray tracing and bounding box API
By: blablubbabc <lukas@wirsindwir.de>
2018-10-26 19:59:36 +11:00
Bukkit/Spigot
260ae5cb5c SPIGOT-4397: isChunkGenerated API
By: md_5 <git@md-5.net>
2018-09-26 17:19:10 +10:00
Bukkit/Spigot
663aa772f0 Update documentation of structure locate API to reflect implementation behaviour
By: Senmori <thesenmori@gmail.com>
2018-09-24 19:19:21 +10:00
Bukkit/Spigot
f2aaef5c07 Add API to locate structures
By: Senmori <thesenmori@gmail.com>
2018-09-21 08:49:55 -04:00
Bukkit/Spigot
8a47bcf97a SPIGOT-4309: Add "forced" display of particles
By: md_5 <git@md-5.net>
2018-08-26 18:25:47 +10:00
Bukkit/Spigot
823697c6e3 Expand GameRule API
By: Senmori <thesenmori@gmail.com>
2018-08-11 11:24:16 +10:00
Bukkit/Spigot
1a6f5b7b2c Deprecate and add note to regenerateChunk method
By: md_5 <git@md-5.net>
2018-08-07 13:14:06 +10:00
Bukkit/Spigot
767e4f6ccf Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
Bukkit/Spigot
987a10e861 Deprecate BlockChangeDelegate
By: md_5 <git@md-5.net>
2017-12-03 14:15:39 +11:00
Bukkit/Spigot
965095c0b9 Add setSpawnLocation(Location)
By: Cory Redmond <ace@ac3-servers.eu>
2016-07-11 02:07:58 +01:00
Bukkit/Spigot
eae60ccc96 Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.

By: Xor Boole <mcyoung@mit.edu>
2016-12-06 21:38:05 +11:00
Bukkit/Spigot
389da4ad7b Added method for spawning a falling block with the BlockData
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-26 19:23:20 +01:00
Bukkit/Spigot
1396386f23 Implement SoundCategory for playing sounds.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 14:19:53 +11:00
Bukkit/Spigot
02b060f77a SPIGOT-2595: Clarify World#getHighestBlockYAt behaviour
By: md_5 <git@md-5.net>
2016-08-13 10:17:14 +10:00
Bukkit/Spigot
8240f951ab Deprecate dangerous method paramater used for unsafe chunk unloads.
By: md_5 <git@md-5.net>
2016-03-19 14:40:51 +11:00
Bukkit/Spigot
949890d29d SPIGOT-1638 / SPIGOT-1673: Rework Potions API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-02 20:45:27 -05:00
Bukkit/Spigot
b45872f434 Added a playSound method to World which accepts a String parameter.
Similar to the respective method in Player.

By: Lukas Hennig <lukas@wirsindwir.de>
2016-03-02 14:02:18 +01:00
Bukkit/Spigot
de63cae2d7 Add definitions for Minecraft 1.9 gameplay elements
Includes an API for AreaEffectCloud and rework of Sound enum to include new sound values.

By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
0ca001e61e Remove EntityType and some deprecated Entity methods
Replaced by EntityType / other methods since February 2012 and April 2012 respectively.

By: BlackHole <black-hole@live.com>
2016-03-01 08:30:02 +11:00
Bukkit/Spigot
81f9656c2b Add a getNearbyEntities method to get entities which are within range of a specified location.
By: Nathan Wolf <nathan@elmakers.com>
2015-04-06 06:27:48 -07:00
Bukkit/Spigot
51e5b56524 Deprecate refreshChunk.
This method is not guaranteed to work suitably across all client implementations.

By: md_5 <git@md-5.net>
2015-01-31 10:17:00 +11:00
Bukkit/Spigot
3dbfc6f396 Add WorldBorder API
By: TheCutter <info@thecutter.net>
2014-12-12 21:41:49 +01:00
Bukkit/Spigot
b2d54f59bb Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 21:09:01 +00:00
Bukkit/Spigot
cf7171f968 Deprecate missed magic values from 1f83111208ab3612f384a2e6b65cc28423dc625e
By: Wesley Wolfe <weswolf@aol.com>
2014-04-01 20:50:06 -05:00
Bukkit/Spigot
a742349b87 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2014-03-24 13:20:52 -05:00
Bukkit/Spigot
bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00
Bukkit/Spigot
832e4cc761 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-11-30 21:14:02 -06:00
Bukkit/Spigot
f9bec6eadd Deprecate magic values
By: Wesley Wolfe <weswolf@aol.com>
2013-08-19 13:32:18 -05:00
Bukkit/Spigot
599ec05858 Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-08-03 21:46:30 -04:00
Bukkit/Spigot
761a84cb1b Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-04-02 00:11:22 -04:00
Bukkit/Spigot
78abaa5f6d Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-02-22 22:49:38 -06:00
Bukkit/Spigot
8065c9095a Improve javadoc in 26 files.
Addresses:
BUKKIT-1643, BUKKIT-1868, BUKKIT-1846, BUKKIT-2632, BUKKIT-3196,
BUKKIT-3187, BUKKIT-3198, BUKKIT-3200, BUKKIT-3201 and BUKKIT-3417.

By: feildmaster <admin@feildmaster.com>
2013-01-22 15:09:24 -06:00
Bukkit/Spigot
81cc73ac21 Add API for creating explosions without damaging blocks. Fixes BUKKIT-3061
By: feildmaster <admin@feildmaster.com>
2012-11-27 18:31:12 -06:00
Bukkit/Spigot
e4567e091b Add API for ambient mob spawn limit. Adds BUKKIT-2765
By: Travis Watkins <amaranth@ubuntu.com>
2012-10-31 11:18:06 -05:00
Bukkit/Spigot
4ee1a130c5 Add API for managing and using GameRules. Adds BUKKIT-2757
By: feildmaster <admin@feildmaster.com>
2012-10-30 21:21:21 -05:00
Bukkit/Spigot
6416e06065 Add API for Sound, and playing the sounds for Worlds and Players. Adds BUKKIT-1430, BUKKIT-1226 and BUKKIT-2019
By: feildmaster <admin@feildmaster.com>
2012-08-21 17:06:34 -05:00
Bukkit/Spigot
93196c072c Add isChunkInUse() to World. Addresses BUKKIT-2330
By: Mike Primm <mike@primmhome.com>
2012-08-12 18:21:04 -05:00
Bukkit/Spigot
4dc1654ae8 Add interface for spawning FallingBlocks and correctly spawn a FallingBlock with the spawn(Location, FallingBlock.class) method. Adds BUKKIT-2282
Also add FallingBlock and methods.

Deprecated FallingSand to emphasize FallingBlock.

By: feildmaster <admin@feildmaster.com>
2012-08-13 22:15:55 -05:00
Bukkit/Spigot
d824086eff Deprecate spawnCreature and add spawnEntity. Addresses BUKKIT-1168
By: V10lator <v10lator@myway.de>
2012-04-25 11:40:57 +02:00
Bukkit/Spigot
03af91781c Javadoc updates
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644

By: feildmaster <admin@feildmaster.com>
2012-06-03 05:40:54 -05:00
Bukkit/Spigot
05da0754c2 Add API for managing mob spawn limits per-world. Fixes BUKKIT-1565
By: Travis Watkins <amaranth@ubuntu.com>
2012-04-23 19:25:11 -05:00
Bukkit/Spigot
9f6f624e1d [Bleeding] Add APIs for editing biome data. Addresses BUKKIT-1075
By: Mike Primm <mike@primmhome.com>
2012-03-04 10:40:27 -06:00
Bukkit/Spigot
15e2f69fa6 Adding/expanding documentation
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:13:30 -05:00
Bukkit/Spigot
795a61bbeb Fix javadoc errors/warnings
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 10:35:17 -05:00
Bukkit/Spigot
da943825be Implementation of richer playEffect methods. Addresses BUKKIT-857
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 12:53:31 -05:00
Bukkit/Spigot
dd1bee786b [Bleeding] Added a Metadata framework for Entities, Blocks, and Worlds
This metadata implementation has the following features:

- All metadata is lazy. Metadata values are not actually computed until another plugin requests them. Memory and CPU are conserved by not computing and storing unnecessary metadata values.

- All metadata is cached. Once a metadata value is computed its value is cached in the metadata store to prevent further unnecessary computation. An invalidation mechanism is provided to flush the cache and force recompilation of metadata values.

- All metadata is stored in basic data types. Convenience methods in the MetadataValue class allow for the conversion of metadata data types when possible. Restricting metadata to basic data types prevents the accidental linking of large object graphs into metadata. Metadata is persistent across the lifetime of the application and adding large object graphs would damage garbage collector performance.

- Metadata access is thread safe. Care has been taken to protect the internal data structures and access them in a thread safe manner.

- Metadata is exposed for all objects that descend from Entity, Block, and World. All Entity and World metadata is stored at the Server  level and all Block metadata is stored at the World level.

- Metadata is NOT keyed on references to original objects - instead metadata is keyed off of unique fields within those objects. Doing this allows metadata to exist for blocks that are in chunks not currently in memory. Additionally, Player objects are keyed off of player name so that Player metadata remains consistent between logins.

- Metadata convenience methods have been added to all Entities, Players, Blocks, BlockStates, and World allowing direct access to an individual instance's metadata.

- Players and OfflinePlayers share a single metadata store, allowing player metadata to be manipulated regardless of the player's current online status.

By: rmichela <deltahat@gmail.com>
2011-12-08 00:33:33 -05:00
Bukkit/Spigot
6e054ddf7f [Bleeding] Added EntityType to replace CreatureType.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-14 23:52:38 -05:00