Commit Graph

2747 Commits

Author SHA1 Message Date
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
Matthew
1fefbf9b98 SPIGOT-1806: Implement HumanEntity#getMainHand 2016-03-12 08:15:43 +11:00
md_5
4c3da3f6e2 SPIGOT-1862: Fix banners withj shields. 2016-03-10 16:34:33 +11:00
md_5
daf45148d1 SPIGOT-1526 / SPIGOT-1809: Expand Inventory API 2016-03-09 16:33:08 +11:00
md_5
3cfd8ca3cb SPIGOT-1828: CraftBanner tile entity return null 2016-03-08 18:01:54 +11:00
md_5
20d9f644a6 SPIGOT-1823: Use fast chunk lookup in CraftWorld also 2016-03-07 15:52:56 +11:00
Thinkofdeath
0cd6711085 Fix regenerating chunks not updating visually 2016-03-06 23:50:19 +00:00
Lukas Hennig
92494d7dba Added a playSound method to World which accepts a String parameter.
Similar to the respective method in Player.
2016-03-06 12:20:38 +11:00
md_5
b6bb6beb63 SPIGOT-1768: Fix Eye of Ender with custom world generators. 2016-03-06 11:45:25 +11:00
md_5
d6a61e3e5d SPIGOT-1776: Replace BossBar.hide/show with visibility. 2016-03-06 09:55:36 +11:00
BlackHole
45171f0864 SPIGOT-1772: Use correct statistics for entities 2016-03-06 08:28:34 +11:00
md_5
94ba824302 SPIGOT-1758: Apply correct ItemMeta to new CommandBlock types 2016-03-05 15:52:44 +11:00
Lukas Hennig
ef13ca4444 SPIGOT-1549: Fix custom String sounds. 2016-03-04 15:55:40 +11:00
md_5
7863085a62 SPIGOT-1721: Handle Enderman.getCarriedMaterial when not carrying. 2016-03-04 15:50:35 +11:00
md_5
6742811d69 SPIGOT-1666: Expand Team option API 2016-03-04 15:24:57 +11:00
md_5
5a3813d7fe SPIGOT-1608: Add a way to get the hand used in PlayerInteract*Events 2016-03-04 15:24:51 +11:00
md_5
3e3516e3b2 Treat ShulkerBullet as Projectile 2016-03-04 07:22:10 +11:00
Melair
9056e66554 Enable support of PotionMeta on SPLASH_POTION, LINGERING_POTION and TIPPED_ARROW. 2016-03-04 07:19:33 +11:00