Commit Graph

19448 Commits

Author SHA1 Message Date
MiniDigger | Martin
6143a7a97b Add Player Client Options API 2020-01-20 21:38:34 +01:00
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
JRoy
a690b2a859 Expose MinecraftServer#isRunning
This allows for plugins to detect if the server is actually turning off in onDisable rather than just plugins reloading.
2020-04-10 21:24:35 -04:00
William Blake Galbreath
c0e42aed8a Add tick times API 2020-04-05 22:22:58 -05:00
Trigary
0ee773e88b add hand to BlockMultiPlaceEvent 2020-03-01 22:43:34 +01:00
BillyGalbreath
fbcf4759fb Entity Jump API 2020-02-08 23:26:18 -06:00
William Blake Galbreath
599bf3512d Add ThrownEggHatchEvent
Adds a new event similar to PlayerEggThrowEvent, but without the Player requirement
(dispensers can throw eggs to hatch them, too).
2020-02-09 00:19:08 -06:00
Shane Freeder
d4ef0cde59 PlayerDeathEvent#shouldDropExperience 2019-12-24 00:35:31 +00:00
Jake Potrebic
1cf2aaef30 Improve Block#breakNaturally API
Adds bool param to trigger world particle effects

Adds bool param to trigger exp drops for blocks

Co-authored-by: William Blake Galbreath <Blake.Galbreath@GMail.com>
2020-01-02 12:25:16 -06:00
William Blake Galbreath
9a251fbd95 Expose the internal current tick 2019-04-20 19:47:29 -05:00
Shane Freeder
2cee31307e Set true custom payload channel size limit
This fixes compatibility with some mods that are sending very long channel names. Also gives developers the ability to send longer channel names.
2019-10-18 17:39:05 +01:00
simpleauthority
9fc26a2efb Amend PlayerInteractAtEntityEvent javadoc for ArmorStands 2019-07-11 10:35:56 -07:00
simpleauthority
d2e1163917 Add BlockSoundGroup interface
This PR adds the getSoundGroup() method in Block which returns a BlockSoundGroup
2019-05-28 03:41:28 -07:00
William Blake Galbreath
d1b40a9a13 Mob Spawner API Enhancements 2019-04-19 12:41:19 -05:00
Spottedleaf
315e1108a6 Add Heightmap API
Changed to use upstream's heightmap API - Machine_Maker
2018-12-01 19:00:36 -08:00
Spigot
8cffa3d88d Add PlayerSpawnLocationEvent - API & implementation.
By: ninja <xninja@openmailbox.org>
2014-04-08 14:06:25 +02:00
Spigot
34c09ee545 Rebuild patches from last few PRs
By: md_5 <git@md-5.net>
2014-05-06 16:10:35 +10:00
Spigot
92d543934d Add config option for the size cap of UserCache.
By: drXor <mcyoungsota@gmail.com>
2014-04-25 18:19:00 -04:00
Spigot
c1aa0f2704 Use different replacement blocks for normal, nether and end worlds in Orebfuscator
By: David <dmck2b@gmail.com>
2014-04-26 13:52:20 +01:00
Spigot
ed5cd5509d Automatically set connection throttle for bungee configurations
By: Zach Brown <Zbob750@live.com>
2014-05-04 22:59:31 -05:00
Spigot
b595aa7880 Remove the "Allow skull owners to be removed" patch as it was fixed upstream
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-05-04 12:38:30 +01:00
Spigot
50fd4d27f1 Upstream merge: possibly fix some head related bugs.
By: md_5 <git@md-5.net>
2014-05-04 10:22:14 +10:00
Spigot
70c8ad6011 Upstream merge: Fix ender crystal stack overflow
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-05-03 23:29:47 +01:00
Spigot
62fde18d1e Fix race condition that could kill connections before they
were initiated

By: Jonas Konrad <me@yawk.at>
2014-04-25 23:49:04 +02:00
Spigot
5f09e7b594 Upstream merge: Chicken jockey despawning and generation fixes
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-30 15:13:37 +01:00
Spigot
d5a12c4949 Allow skull owners to be removed
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-30 12:51:07 +01:00
Spigot
8167a3bf19 Remove a file that snuck in to the last commmit
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-29 09:30:17 +01:00
Spigot
d7b3486597 Disable Watchdog when restarting
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-29 09:24:36 +01:00
Spigot
ae7cef7135 Revert "Merge pull request #155 from yawkat/killed-connections-fix"
This reverts commit 5614cb1f44, reversing
changes made to 6c609c5ffe.

By: md_5 <git@md-5.net>
2014-04-27 10:52:18 +10:00
Spigot
5614cb1f44 Merge pull request #155 from yawkat/killed-connections-fix
Fix race condition that could kill connections before they were initiated
By: thinkofdeath <thinkofdeath@users.noreply.github.com>
2014-04-25 23:06:07 +01:00
Spigot
1d84e93c38 Fix race condition that could kill connections before they
were initiated

By: Jonas Konrad <me@yawk.at>
2014-04-25 23:49:04 +02:00
Spigot
6c609c5ffe Fix hoppers replacing the items with the left overs from removing instead taking the items off the stack
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-24 20:49:29 +01:00
Spigot
213d41a3fe Fix broken hopper logic when moving more than one item in a stack
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-24 20:07:39 +01:00
Spigot
b56d35552d Upstream merge
By: md_5 <git@md-5.net>
2014-04-24 16:27:12 +10:00
Spigot
a8030addd9 Actually remove the old patches
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-23 12:48:39 +01:00
Spigot
3309f466e2 Remove NBTTagCompound and related patches
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-23 12:44:02 +01:00
Spigot
6304013c92 Silence skull related console spam
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-23 10:29:21 +01:00
Spigot
c8df293dc3 Remove a line that would otherwise just be reiterating a set int
By: David <dmck2b+github@gmail.com>
2014-04-23 02:04:25 +01:00
Spigot
ae00c5f8b6 Prevent anvils from eating the spare items in the second slot
By: David <dmck2b+github@gmail.com>
2014-04-23 01:05:25 +01:00
Spigot
652addd44c Merge pull request #152 from Dmck2b/crashNoClassDefStopTheLockup
Prevent console lockup due to physics overload by only notifying on crash
By: thinkofdeath <thinkofdeath@users.noreply.github.com>
2014-04-21 13:08:35 +01:00
Spigot
ad36fb0482 Prevent the console from locing up, due to too many messages flooding it, but only notifing of issue of the server crashes
By: David <dmck2b+github@gmail.com>
2014-04-21 12:56:06 +01:00
Spigot
df297a84cd Swallow StackOverflowError when updating physics.
Prevents an otherwise unneeded crash.

By: David <dmck2b@gmail.com>
2014-04-21 17:01:24 +10:00
Spigot
80d7c3be44 Convert player skulls async
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-20 13:05:17 +00:00
Spigot
db03276a1c Don't special case 'invalid' usernames for UUIDs.
This renders any automatically generated username to have the same UUID, thus make pseudo players somewhat limited. When using such names for scoreboards etc you should be using our enhanced String based scoreboard API anyway.
Thanks @ElgarL for pointing this out.

By: md_5 <git@md-5.net>
2014-04-20 18:59:04 +10:00
Spigot
02044b4c35 Log null TileEntity Owner.
Should prevent a crash and provide some info on the location.

By: md_5 <git@md-5.net>
2014-04-20 11:17:14 +10:00
Spigot
a7b041f721 Add items per tick to the hopper configurations
By: md_5 <git@md-5.net>
2014-04-19 09:22:44 +10:00
Spigot
f8ca6ed867 More upstream merge
By: md_5 <git@md-5.net>
2014-04-19 09:15:23 +10:00
Spigot
1752ff24d2 Treat color codes as an end of a url
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-18 19:27:20 +00:00
Spigot
804a818172 Upstream merge
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-18 17:08:19 +00:00
Spigot
1f1443ed34 Upstream merge: 1.7.9
By: Thinkofdeath <thethinkofdeath@gmail.com>
2014-04-17 20:47:40 +01:00