Commit Graph

118 Commits

Author SHA1 Message Date
Mariell Hoversholm
21792a6e4b Add Raw Byte ItemStack Serialization
Serializes using NBT which is safer for server data migrations than bukkits format.

Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
2020-04-30 16:56:31 +02:00
Minecrell
2eaa723e96 Add extended PaperServerListPingEvent
Add a new event that extends the original ServerListPingEvent
and allows full control of the response sent to the client.
2017-10-11 15:55:38 +02:00
Zach Brown
0c37d20354 Fix upstream javadocs 2017-06-10 16:59:40 -05:00
Aikar
d4d8262f6e Timings v2
TODO: Add #isStopping to FullServerTickHandler#stopTiming in patch 191
expose isRunning
2016-02-29 18:48:17 -06:00
Bukkit/Spigot
0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
Bukkit/Spigot
abc756fce8 #1029: Trial changing a small number of inner enums to classes/interfaces to better support custom values
This PR is a subset of the enum PR #660 and is designed as a low impact
trial run of the design and backwards compatibility to inform subsequent
development.

Additional plugin compatibility features may be available by setting
`settings.compatibility.enum-compatibility-mode` to `true` in
`bukkit.yml`.

By: DerFrZocker <derrieple@gmail.com>
2024-07-06 17:14:17 +10:00
Bukkit/Spigot
9ce011cf3b #949: Add Vector#fromJOML() overloads for read-only vector types
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-12-19 19:11:12 +11:00
Bukkit/Spigot
199105c1d5 SPIGOT-7080: Add World#locateNearestBiome
By: Jishuna <joshl5324@gmail.com>
2023-10-09 20:11:42 +11:00
Bukkit/Spigot
be348c55c4 SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
By: Lauriichan <laura.endress@playuniverse.org>
2023-09-29 06:54:33 +10:00
Bukkit/Spigot
8f34277f6a #898: Use Java Consumer instead of Bukkit Consumer
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 02:57:09 +10:00
Bukkit/Spigot
71089b4713 #844: Add methods to convert Vector to and from JOML vectors
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-29 10:54:41 +10:00
Bukkit/Spigot
b76cbe36c5 Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00
Bukkit/Spigot
d6d7c1a64f #809: Throw a more clear error for BlockIterators with zero direction, add Vector#isZero()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-11 09:44:56 +11:00
Bukkit/Spigot
869f647744 SPIGOT-1244, SPIGOT-6860, SPIGOT-6874: Various Javadoc and formatting fixes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-24 09:31:42 +10:00
Bukkit/Spigot
24ea881685 SPIGOT-7011, SPIGOT-7065: Overhaul of structures
By: DerFrZocker <derrieple@gmail.com>
2022-07-01 20:41:02 +10:00
Bukkit/Spigot
ec575f5252 Update to Minecraft 1.19
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
Bukkit/Spigot
e887c31580 SPIGOT-6762: ChatPaginator.wordWrap only transfers one modifier
By: md_5 <git@md-5.net>
2021-10-29 18:45:29 +11:00
Bukkit/Spigot
6b0ff8582b #621: Add Block#getCollisionShape and associated API
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:32:51 +10:00
Bukkit/Spigot
1bf30431ae SPIGOT-6017: BoundingBox#rayTrace returns incorrect null
By: blablubbabc <lukas@wirsindwir.de>
2020-07-25 09:37:24 +10:00
Bukkit/Spigot
0c53c95293 Add additional checkstyle checks
By: md_5 <git@md-5.net>
2020-01-24 17:37:30 +11:00
Bukkit/Spigot
d16413b877 Javadoc improvements per checkstyle
By: md_5 <git@md-5.net>
2019-12-22 09:56:28 +11:00
Bukkit/Spigot
e5c9e369ed SPIGOT-5240: Vector.angle not valid for angles very close to each other
By: md_5 <git@md-5.net>
2019-08-03 09:53:50 +10:00
Bukkit/Spigot
82854b7bd7 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:37:52 +10:00
Bukkit/Spigot
e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
Bukkit/Spigot
c240b58f66 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:20 +10:00
Bukkit/Spigot
416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot
1c79fa6a3f Introduce rotation methods to the Vector class
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-02-14 21:28:20 +01: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
70727107ce Fix some additional documentation typos
Thanks mrfloris

By: md_5 <git@md-5.net>
2018-01-15 12:53:01 +11:00
Bukkit/Spigot
417599c2ab Some minor improvements from static analysis
By: md_5 <git@md-5.net>
2017-11-07 17:28:28 +11:00
Bukkit/Spigot
28dfa926fd SPIGOT-3568: Fix single letter pagination edge case
By: md_5 <git@md-5.net>
2017-09-18 20:46:38 +10:00
Bukkit/Spigot
e3d4acc303 Assorted whitespace fixes
By: md_5 <git@md-5.net>
2017-08-06 09:08:05 +10:00
Bukkit/Spigot
12570e1e28 SPIGOT-3283: Add finite checking util methods to Location / Vectors
By: md_5 <git@md-5.net>
2017-06-02 18:43:50 +10: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
f1fb3d9462 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:40:59 +11:00
Bukkit/Spigot
3b51e3f230 Deprecate and stop using Java15Compat class.
By: md_5 <git@md-5.net>
2016-07-29 17:28:25 +10:00
Bukkit/Spigot
f192600993 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:27 +10:00
Bukkit/Spigot
fef9177b36 Add non-mutative getCrossProduct method to Vector.
By: 0x277F <0x277F@gmail.com>
2016-02-05 21:08:42 -07:00
Bukkit/Spigot
76a64b3e2d Revert finite checks in locations. Fixes SPIGOT-628 and others
By: md_5 <git@md-5.net>
2015-02-28 09:43:52 +11:00
Bukkit/Spigot
925591bd64 Add isFinite util methods.
By: md_5 <git@md-5.net>
2015-02-26 21:27:34 +11:00
Bukkit/Spigot
55b9c40dda Move checkFinite methods to a util class.
By: md_5 <git@md-5.net>
2015-02-26 21:23:26 +11:00
Bukkit/Spigot
70bfc4d702 Only allow finite x,y,z and yaw,pitch values for Vector and Location
Many API methods rely on these to be finite (especially not NaN).

By: Jonas Konrad <me@yawk.at>
2014-12-27 16:48:21 +01:00
Bukkit/Spigot
bc78191ed2 Remove old bukkit command permission nodes.
By: FearThe1337 <admin@fearthe1337.com>
2014-12-11 21:15:55 +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
8344aacc6e Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: md_5 <git@md-5.net>
2014-11-26 08:15:59 +11:00
Bukkit/Spigot
32f2dca3ed Use region matching instead of sub-strings. Addresses BUKKIT-5275
By: Wesley Wolfe <weswolf@aol.com>
2014-01-04 12:50:19 -06: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
aa66c8025a Update Update Bukkit to 1.7.2
By: mbax <matt@phozop.net>
2013-11-13 17:53:49 -07:00
Bukkit/Spigot
db05700052 Use simple multiplication for squaring. Fixes BUKKIT-4836
This change adds a method to NumberConversions for squaring and
replaces uses of Math.pow(..., 2) with the new method for efficiency
reasons.

By: Wesley Wolfe <weswolf@aol.com>
2013-10-09 01:56:35 -05:00
Bukkit/Spigot
67439804f4 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-09-10 21:02:53 -05:00