Commit Graph

2825 Commits

Author SHA1 Message Date
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
AgentLV
8b69bdd0d1 Add hand used to BlockPlaceEvent. 2016-03-16 07:14:10 +11:00
Matthew
e43b2780a5 SPIGOT-1914: Compare PotionEffectType objects using Object#equals(Object) when searching for a custom effect to remove 2016-03-14 16:54:57 +11:00
Matthew
0c7ae56148 SPIGOT-1856 / SPIGOT-1920: Fix Statistic.DROP not returning value when provided with a Material 2016-03-14 08:00:14 +11:00
md_5
55a85357a6 SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe 2016-03-13 09:48:23 +11:00
0x277F
1386bd3ddf SPIGOT-1571: Add Entity Glide Events. 2016-03-12 21:01:07 +11:00
md_5
2bf333e0fc SPIGOT-1901: Fix projectile launching. 2016-03-12 20:41:06 +11:00
md_5
0619f0eb3b SPIGOT-1725: Fix dynamic scoreboard criteria on non-main scoreboards 2016-03-12 17:57:40 +11:00
t00thpick1
4a8818c5fd SPIGOT-1638 / SPIGOT-1673: Rework Potions API 2016-03-12 12:38:22 +11:00