Commit Graph

2933 Commits

Author SHA1 Message Date
md_5
4d99feddd0 Reduce outdated build delay further. 2016-12-01 10:19:09 +11:00
Xor Boole
eb6c1bf31a Add some expansions to Anvil Inventory API 2016-11-30 16:40:40 +11:00
md_5
fffaf07113 Fangs degree => radians (and back) 2016-11-30 09:56:09 +11:00
md_5
ff324aabe6 SPIGOT-2862: Cannot spawn evoker fangs 2016-11-30 08:37:06 +11:00
md_5
1c07d5c78f Add hitEntity to ProjectileHitEvent 2016-11-28 12:47:01 +11:00
md_5
c91ca4a541 Build expiry is now 1 week 2016-11-28 10:19:33 +11:00
md_5
d7cce99f01 Fix possible leaks in vanish API 2016-11-28 10:02:40 +11:00
md_5
ad0e4b31bf SPIGOT-2850: NPE in CraftInventoryCrafting 2016-11-27 17:03:28 +11:00
LukBukkit
6e887cd942 Added method for spawning a falling block with the BlockData 2016-11-26 19:23:20 +01:00
kaenganxt
2b7808f416 Fix banner color. Banners have inverted color bytes. 2016-11-25 21:02:13 +01:00
LukBukkit
5245147d00 SPIGOT-619: Force rotate head of entities when setting location. 2016-11-24 09:39:39 +11:00
md_5
83fd16e453 SPIGOT-2835: CraftBlock getDrops Returns Air 2016-11-23 22:02:36 +11:00
md_5
7691c87df6 SPIGOT-2824: Llama Strength API 2016-11-23 10:27:49 +11:00
md_5
b5b0a97d44 SPIGOT-2822: Droppers are droppers 2016-11-22 20:21:19 +11:00
md_5
a64b99c95a Add Unbreakable to ItemMeta 2016-11-22 14:35:54 +11:00
md_5
7359112e8c Implement default title for custom merchants 2016-11-22 10:53:36 +11:00
md_5
6220b5c542 SPIGOT-2817: Custom Merchant title omits color 2016-11-22 10:30:01 +11:00
md_5
691628ab5c Fix setCarryingChest not resizing horse inventory 2016-11-21 21:58:29 +11:00
Lukas Hennig
0b154b1852 SPIGOT-2272: Add API for virtual Merchants 2016-11-21 15:29:36 +11:00
BlackHole
7fc4255d1a SPIGOT-2810: Fix entity statistics 2016-11-20 20:10:39 +01:00
md_5
0f7c385941 SPIGOT-2801: Missing break in CraftMetaBlockState 2016-11-19 21:11:54 +11:00
md_5
092243c35d SPIGOT-2799: ItemFrame set null error 2016-11-19 20:28:04 +11:00
momothereal
89e6712cde Add additional APIs for Evoker / EvokerFangs 2016-11-19 18:53:57 +11:00
Senmori
bd2d7935c4 Implement isCursed for new enchantments 2016-11-19 16:07:51 +11:00
md_5
1d01e41570 SPIGOT-2798: Fix ShulkerBox BlockStateMeta 2016-11-19 15:59:04 +11:00
md_5
7564d60241 Add stopSound for specific sound category & unit test for SoundCategory 2016-11-19 14:27:18 +11:00
LukBukkit
63c13c5e62 Implement SoundCategory for playing sounds. 2016-11-19 14:20:13 +11:00
Senmori
26377b763b Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-19 13:40:06 +11:00
md_5
f15e07b1a9 SPIGOT-2793: Revert Nameable changes 2016-11-19 03:10:04 +11:00
md_5
88eede85cc SPIGOT-2792: Return PIG for broken spawners 2016-11-18 15:32:27 +11:00
md_5
0805f60443 SPIGOT-2789: ShulkerBox missing override 2016-11-18 12:00:17 +11:00
Senmori
5e51afde49 Get Colors from ShulkerBox; Implement CustomName for Tiles. 2016-11-18 11:28:49 +11:00
md_5
93b8244115 SPIGOT-2787: Keep performing getter null conversion at call sites 2016-11-18 11:07:02 +11:00
md_5
4bf2fc8782 SPIGOT-2786: Restore some fireworks code lost in update 2016-11-18 10:11:19 +11:00
md_5
4f63973ebb SPIGOT-2782: Custom Colors for Potions 2016-11-18 09:49:54 +11:00
md_5
d8c6364c4c Remove more redundant code 2016-11-18 09:28:11 +11:00
md_5
17e6e857b5 SPIGOT-2779: NPE when spawning firework with plugin 2016-11-18 09:22:40 +11:00
md_5
b2f82f0f7f Remove now redundant code 2016-11-18 09:14:51 +11:00
md_5
64032adfd2 Remove unit test based on now incorrect assumptions 2016-11-18 09:11:17 +11:00
md_5
162e961326 SPIGOT-2772, SPIGOT-2780: Improve empty ItemStack handling 2016-11-18 09:04:07 +11:00
md_5
0dedba43d1 SPIGOT-2773: More fully implement ShulkerBox meta 2016-11-18 08:50:38 +11:00
md_5
54450b727e SPIGOT-2768: Fully implement map color 2016-11-17 17:32:50 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
Senmori
51263e9718 Implement Entity Scoreboard Tags 2016-11-06 12:18:27 +11:00
md_5
cb2749768e SPIGOT-2757: Player#stopSound Stops All Sounds 2016-11-06 10:36:38 +11:00
md_5
33071ecfff SPIGOT-2752: Fix resetMaxHealth 2016-11-04 18:11:36 +11:00
Senmori
709783c131 Add Enchantment#isTreasure()Z
Determines if the enchantment is a treasure enchantment - only available via means other than the enchantment table.
2016-10-30 12:18:27 +11:00
hibo98
251a5b6382 Explicitly log exception from asynchronous tasks.
Previously an UnhandledException would be thrown and the stack trace / message would be printed to System.err in the default UncaughtExceptionHandler for ThreadGroup. This was undesirable as it meant that logging frameworks / exception monitors such as Sentry were unable to get the exception. Additionally it would cause the death of the thread in the ExecutorService. This change mimics the behaviour of exceptions occuring during synchronous tasks.
2016-10-24 18:49:06 +11:00
md_5
fd8d8cf404 SPIGOT-2737: Implement Statistic.PICKUP 2016-10-22 13:07:22 +11:00
Senmori
b6490dada5 SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface.
2016-10-21 16:35:55 +11:00
md_5
9558f31ebb SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour 2016-10-05 19:33:33 +11:00
md_5
ae93d4fb49 SPIGOT-2705: Portal cooldown getter / setter. 2016-10-01 12:26:20 +10:00
md_5
6af9f5b84a SPIGOT-2679: Add meta for StructureBlock 2016-09-18 09:58:54 +10:00
AgentLV
75a8885d1f Run sync tasks scheduled for the same tick FIFO 2016-09-11 15:03:27 +10:00
md_5
48b88ed202 SPIGOT-2656: HumanEntity#isHandRaised()Z 2016-09-04 11:59:41 +10:00
md_5
4d87c3422c SPIGOT-2644: Clearer error for invalid hanging spawns 2016-08-31 17:25:37 +10:00
md_5
2f5bda8a67 SPIGOT-2630: Console tab complete 2016-08-26 08:06:06 +10:00
md_5
60c1719354 SPIGOT-2618: Register permissions before plugin enabled.
Brings behaviour in line with command registration, and won't affect plugins which don't already error.
2016-08-25 13:11:42 +10:00
DemonWav
c74e2a7301 SPIGOT-215: Implement infrastructure for Location tab completes 2016-08-25 09:48:52 +10:00
md_5
6053c5c8ac SPIGOT-2578: Method to get PotionEffect of specific type. 2016-08-07 10:53:39 +10:00
md_5
29e1d72893 SPIGOT-2574: BlockPopulators added twice. 2016-08-06 10:04:06 +10:00
md_5
83a9dbdef6 SPIGOT-2559: Kill all entities when called with setHealth(0) 2016-07-30 10:06:07 +10:00
md_5
8cc5958404 Deprecate and stop using Java15Compat class. 2016-07-29 17:28:51 +10:00
md_5
21e3b05522 SPIGOT-2552: Aliases for Vanilla commands 2016-07-26 09:05:08 +10:00
md_5
09f1a19609 Hook into World for light getters due to additional validation. 2016-07-25 19:04:06 +10:00
md_5
9ff3d7f51f SPIGOT-2548: Don't special case spawn locations of falling blocks 2016-07-23 16:23:31 +10:00
md_5
2a5461deb1 Enhance Beacon Block API 2016-07-23 10:55:43 +10:00
redwallhp
7655e38a47 Implement basic Beacon Block API 2016-07-23 10:49:05 +10:00
md_5
7ae605218b Fall back to name if skull has no uuid when getting player. 2016-07-22 12:02:16 +10:00
md_5
02d704b55a SPIGOT-2503: Optimize block set 2016-07-08 14:05:22 +10:00
md_5
9c02c12179 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE 2016-07-08 12:51:32 +10:00
md_5
d7c257e120 SPIGOT-2490: Villager farming event 2016-07-08 11:12:40 +10:00
md_5
67b242440b SPIGOT-1515: Use CUSTOM reason for GENERIC damage 2016-07-02 14:01:31 +10:00
md_5
1628ce6240 SPIGOT-2474: Use .die() to set entity remove status 2016-07-02 11:24:14 +10:00
md_5
d3507d2818 SPIGOT-1364: sendMap should update entire map 2016-07-01 11:24:11 +10:00
md_5
45038571f9 SPIGOT-1341: Cancelled cake interact decreases client hunger 2016-07-01 11:20:31 +10:00
md_5
939423a8f1 SPIGOT-1181: Ensure Minecart command updates visually 2016-06-30 13:33:26 +10:00
md_5
1fe19a83f9 SPIGOT-1129: Fix spawning leash hitch without adjacent block 2016-06-30 13:21:22 +10:00
md_5
4c43856621 SPIGOT-1599: Allow teleporting disconnected players 2016-06-30 13:01:37 +10:00
md_5
00359a18fa SPIGOT-2456: Don't wipe tiles if type is still the same 2016-06-27 11:25:49 +10:00
md_5
0ebb9c7afa BUILDTOOLS-251: Make much of Bukkit locale independent 2016-06-26 19:32:05 +10:00
md_5
568e27fbd0 Fix air setting block updates 2016-06-26 12:31:24 +10:00
md_5
4c1e9342cb SPIGOT-1039: Improve DoubleChest semantics 2016-06-25 21:21:55 +10:00
Pokechu22
f068c5e843 MC-100524: Fix log files getting overwritten
https://bugs.mojang.com/browse/MC-100524

Log files were previously overwritten when more than 7 were created on the same day.  This is caused by Log4J's default behavior with DefaultRolloverStrategy, which defaults to a max of 7.

While a max of 1000 doesn't fully stop this problem from happening, for 1000 log files in a single day to be reached the server would have to restart faster than once every 1.5 minutes, which is unlikely to happen.  So 1000 seems like a good limit.  A higher max isn't used because when it gets higher, there are performance hits due to the way Log4J checks for the next file.
2016-06-25 20:44:50 +10:00
md_5
341da0730b SPIGOT-611: Improve setBlock for tile->tile transitions 2016-06-25 20:16:48 +10:00
Aikar
1953f52da1 SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.
2016-06-23 10:34:08 +10:00
Ryan Michela
9af379fc47 SPIGOT-1319: Add EntityBreedEvent 2016-06-19 20:14:09 +10:00
Roy Curtis
9856d8a183 Improvements to BookMeta API
* Added hasGeneration()
* Fixed `applyHash()` (used by `CraftMetaItem.hashCode()`) not taking generation into account
* Fixed `equalsCommon()` (used by `CraftMetaItem.equals()`) not taking generation into account
2016-06-16 10:50:15 +10:00
md_5
fb568fdc70 SPIGOT-2408: setTicksLived does not properly affect FallingSand 2016-06-13 18:16:15 +10:00
md_5
7964365c84 SPIGOT-2398: Armor stands still need to be treated special for gravity 2016-06-12 16:32:51 +10:00
md_5
0bc2724e51 SPIGOT-2376: Way to distinguish Zombie professions. 2016-06-12 10:28:09 +10:00
md_5
46233ffa8f Add Player.stopSound 2016-06-12 10:28:09 +10:00
md_5
6cbdec1f15 SPIGOT-2381: Use custom spawnreason for dropItem 2016-06-12 10:26:48 +10:00
md_5
1c2593826c SPIGOT-2389: Zombie.setVillager inverted 2016-06-12 10:14:25 +10:00
md_5
d5ecbd0e93 SPIGOT-2387: Magma does not provide a block for EntityDamageEvent. 2016-06-11 16:11:51 +10:00
md_5
6d3efa0634 SPIGOT-2380: Hitting in the air will always load the chunk at 0,0 2016-06-11 09:25:31 +10:00
md_5
5fc80916f5 SPIGOT-2369: Tab completing non existant command 2016-06-09 20:47:39 +10:00
md_5
9b4ad2a45f Add DamageCause.HOT_FLOOR 2016-06-09 12:45:07 +10:00
md_5
8b94601269 Better map Zombie/Villager professions. 2016-06-09 12:20:30 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
0cd0397a82 SPIGOT-249: Set skull owner by UUID 2016-06-03 20:41:49 +10:00
md_5
a28041daa7 SPIGOT-1292: BlockState based FlowerPot API. 2016-06-03 20:41:43 +10:00
Roy Curtis
cee5bbf00c SPIGOT-783: API for book generation data. 2016-06-03 20:41:28 +10:00
Sansko1337
dd0e968c6a SPIGOT-713: APIs to manipulate Entity's silent status. 2016-06-03 20:30:48 +10:00
md_5
5ff377a9b2 SPIGOT-2336: Zombie.setVillager(Z)V 2016-05-31 20:55:17 +10:00
md_5
ef3ccc94e0 SPIGOT-2315: Neighbour chunk unload marking 2016-05-25 18:21:54 +10:00
minoneer
d8637dfb7e Implementation of interface to modify the pumpkin head "derp mode" of a snowman 2016-05-19 20:41:00 +10:00
md_5
88157110ad Implement TabCompleteEvent 2016-05-16 16:59:57 +10:00
md_5
4e19de1295 SPIGOT-2285: New CommandBlock types. 2016-05-16 16:38:43 +10:00
md_5
88123f0569 SPIGOT-2286: Don't store CraftBlockState light level 2016-05-16 16:37:22 +10:00
md_5
7e9122e74d Fix some [but not all] chunk unload issues 2016-05-11 15:34:16 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
md_5
935f18b476 SPIGOT-2206: playEffect doesn't accept sub classes of the expected data type 2016-04-26 09:35:17 +10:00
md_5
7a6b1433e2 SPIGOT-2213: Fix custom anvil inventory 2016-04-24 16:20:53 +10:00
md_5
d884ab38d8 SPIGOT-2211: Fix offhand slot client refresh 2016-04-24 12:31:02 +10:00
md_5
a28f87a55c Missing import 2016-04-11 19:26:47 +10:00
2008Choco
767f028054 Properly validate boss bar progress 2016-04-11 19:16:52 +10:00
Thinkofname
420b983d59 Fix broken potion serialization 2016-04-10 20:54:16 +01:00
t00thpick1
d39a750709 SPIGOT-2085 / SPIGOT-2087 / SPIGOT-2156: Rework internal PotionMeta state to be correct and less complex. 2016-04-09 20:24:02 -04:00
Jofkos
8cb1b362eb Begin console output with ANSI line erase. 2016-04-09 12:59:17 +10:00
md_5
5c23262f15 Update physics on attached block when setting data of attachable blocks 2016-04-09 12:57:19 +10:00
Thinkofname
8d16fc08f1 Support integer data values for Effect.VILLAGER_PLANT_GROW 2016-04-06 12:26:49 +01:00
md_5
3dc138d980 SPIGOT-2135: Also clear sit pathfinder on toggle status 2016-04-05 20:32:05 +10:00
md_5
60cb5b5603 SPIGOT-2118: Fix crash on chunk regen 2016-04-04 17:15:02 +10:00
md_5
4cc1807b25 SPIGOT-2092: Directly set sittging status 2016-04-04 17:09:57 +10:00
Thinkofname
8b61cc5208 Fix the default permission of /trigger 2016-03-31 00:50:39 +01:00
Thinkofname
6e527e5b88 Update to Minecraft 1.9.2 2016-03-30 21:06:51 +01:00
md_5
15222c84b4 SPIGOT-2074: Correctly set custom world settings 2016-03-28 12:28:12 +11:00
md_5
cd36f6f257 SPIGOT-2060: Method to control whether entities collide 2016-03-27 20:19:41 +11:00
Sansko1337
ea49b2eee9 Implement getting / setting of Entity invulnerability 2016-03-27 10:08:45 +11:00
Redrield
6067e54dd2 SPIGOT-213: Add method to enable / disable AI for mobs 2016-03-27 09:18:42 +11:00
Thinkofname
9554894553 SPIGOT-2049: Send the right attributes when updating scaled health 2016-03-25 23:13:16 +00:00
Thinkofname
6030bc464f Fix a typo in CraftPotionUtil 2016-03-25 21:45:42 +00:00
t00thpick1
0ff499cf03 SPIGOT-2039: Correctly check Potion Tags both with or without the "minecraft:" prefix, and default to UNCRAFTABLE if there is a completely garbage value. 2016-03-24 15:05:10 +11:00
Nathan Wolf
ace06bd9fd CraftComplexPart should return getParent()'s status in isValid 2016-03-23 22:06:50 +11:00
Matthew
c5d27c5f6f Only create PermissibleBase instance in CraftEntity the first time it is actually needed. Fixes static test cases for subclasses failing when perm field was instantiated. 2016-03-23 07:32:34 +11:00
Matthew
5fe510da59 SPIGOT-1934: Expand EnderDragon API - implement dragon phases 2016-03-23 07:30:12 +11:00
Matthew
52c7fc0a1a Implement isEnabled / setEnabled for CraftMinecartHopper 2016-03-20 20:26:21 +11:00
md_5
e56aa46656 SPIGOT-1988: Chorus Plant Generation 2016-03-20 19:02:48 +11:00
t00thpick1
b3f6de0da5 SPIGOT-1904: AreaEffectCloud events and additional API 2016-03-20 11:29:03 +11:00
md_5
105df861ed SPIGOT-1980: Register new brewing slot 2016-03-20 10:22:24 +11:00
md_5
4cd46b242b SPIGOT-1976: Never unload in use chunks. 2016-03-19 14:40:23 +11:00
Matthew
a12b1a4770 Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location) 2016-03-18 14:33:14 +11:00
Matthew
f09f7d8754 Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int) 2016-03-18 14:30:14 +11:00
Matthew
f332350969 Implement SpectralArrow entity 2016-03-18 14:30:14 +11:00
Matthew
e80114dff4 Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean) 2016-03-18 14:30:03 +11:00
Matthew
205982588f Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location) 2016-03-18 14:30:03 +11:00
Matthew
da444904c2 Implement EndGateway state 2016-03-18 14:30:03 +11:00
Matthew
6efa87306b Implement EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean) 2016-03-18 14:29:45 +11:00
Matthew
8cd69933c9 Implement Boat#getWoodType and Boat#setWoodType(TreeSpecies) 2016-03-18 14:29:33 +11:00