summaryrefslogtreecommitdiffstats
path: root/nms-patches
Commit message (Collapse)AuthorAgeLines
...
* SPIGOT-3674: Take into account max stack size for PlayerDropItemEventmd_52017-12-03-1/+1
|
* SPIGOT-3668: Missing EntityToggleGlideEvent in creative modemd_52017-11-28-3/+16
|
* SPIGOT-1505: PlayerItemMendEventSenmori2017-11-21-3/+17
|
* Fix mismatched setArrowCount methodmd_52017-11-17-1/+1
|
* Fix dispensing bone meal not having the correct data valueThinkofdeath2017-11-17-1/+1
|
* Implement max fuse tick & explosion radius methods to CreeperParker Hawke2017-11-08-0/+11
|
* SPIGOT-3638: Don't process async chat on shutting down servermd_52017-11-08-25/+30
|
* SPIGOT-3637: Adjust yaw yet againmd_52017-11-07-82/+95
|
* Fix bad diffmd_52017-10-13-6/+6
|
* SPIGOT-3607: Bad yaw from armorstands treated as livingmd_52017-10-13-0/+12
|
* SPIGOT-3603: Fix client timing out in scenarios where it sends no packets.md_52017-10-09-1/+1
|
* SPIGOT-3598: Persist all beacon effectsblablubbabc2017-10-07-0/+13
| | | | Regardless of if they are possible in Vanilla by default.
* Temporarily shift L7 timeout value to L4 value of 30s.md_52017-10-06-0/+9
|
* Supress harmless teleport errormd_52017-10-01-0/+9
|
* SPIGOT-3571: Packet handling must be synchronousmd_52017-09-19-10/+18
|
* Update to Minecraft 1.12.2md_52017-09-18-133/+105
|
* SPIGOT-3513: Correctly set size for freshly spawned Minecartsmd_52017-08-16-2/+13
|
* Fix a few chunk saving race conditionsGeoff Crossland2017-08-11-17/+70
| | | | | * ChunkRegionLoader.c() picks an entry in the save queue, removes that entry from the save queue and then actually writes the entry to the region file. So, between the last two steps, the entry is neither in the save queue nor is it in the region file; if somebody loads the chunk again (with ChunkRegionLoader.loadChunk()) in that gap, they'll get old data. I've delayed the removal until the saving is done. * ChunkRegionLoader.c() also records the coords of the chunks it's currently saving in this.c. ChunkRegionLoader.a(ChunkCoordIntPair, NBTTagCompound), which adds an entry to the save queue, stops the addition of an entry if its coords are in this.c. Now, I'm guessing that Mojang's intended purpose for this mechanism was to prevent multiple parallel writes for the same chunk. The "stops the addition" bit above should then be something like "block until it's no longer in c"; in fact, the vanilla implementation is "discard the new state of the chunk". I've taken the easy route to solving this, by just making ChunkRegionLoader.c() synchronized (since, in normal use, only the chunk saving thread is in here).
* SPIGOT-3497: Cancelled EntityPortalEvent leads to incorrect behaviourmd_52017-08-08-7/+8
|
* SPIGOT-3496, MC-92282: Set mob type of mob-spawner reverts after single ↵Lukas Hennig2017-08-08-1/+9
| | | | | | | spawn wave. Fixes CreatureSpawner.setSpawnedType and a vanilla issue related to setting the mob type of a mob-spawner via spawn_egg.
* SPIGOT-3491: Add option to bypass permissions in advancementsmd_52017-08-06-8/+40
|
* Improvements to BlockStatesLukas Hennig2017-08-05-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Actually capture all the data of TileEntities. This is done by creating a copy of the TileEntity. The methods of BlockState which currently directly access the TileEntity reference will modify the data of that TileEntity-snapshot instead. * With the call to BlockState.update, the captured TileEntity data gets applied to the current TileEntity in the world. * Methods which trigger block specific actions will use the current TileEntity from the world. * CraftBlockState does not hand out the wrapped or the snapshot TileEntity directly. Instead, it provides an applyTo method to copy the data to a given TileEntity and a method to directly get a copy of the TileEntity NBT data represented by the BlockState. CraftMetaBlockState was updated to make use of that. * Added #getSnapshotInventory() to bukkit which allows modifiying the captured inventory snapshots of containers. * Tried to clarify which methods only work if the BlockState is placed, which methods require the block in the world to still be of the same type (methods which trigger actions), and that .getInventory() directly modifies the inventory of the block in the world if the BlockState is placed and becomes invalid if the block type is changed. Backwards compatibility * If the BlockState acts as InventoryHolder, getInventory() will still return the inventory directly backed by the TileEntity in the world (like before), and not the snapshot inventory. This compromise should reduce the potential of these changes to break existing plugins, or craftbukkit's own use of BlockState. * The snapshot's inventory can be accessed by a new method getSnapshotInventory() * In case the BlockState is not placed (if it was retrieved from the MetaBlockState of an item), the getInventory() method will however return the snapshot inventory. So that when the BlockState gets applied back to the item, the inventory changes are properly included. * With the changes to CraftMetaBlockState it is no longer required to call the update method before passing a modified BlockState to the CraftMetaBlockState. For backwards compatibility the update method will simply return true for a non-placed BlockState, without actually doing anything. Impact on plugins * Restoring blocks now actually works as expected, properly restoring the TileEntity data, reglardless if the block changed its type in the meantime. * Plugins are now consistently required to call the update method in order to apply changes to blocks. Though, regarding the Javadoc they should have been required to do so anyways. * New feature: Plugins can take and modify inventory snapshots. * Breaking change: If a plugin gets the BlockState of a block in the world, modifies the inventory returned by .getInventory(), and then tries to use the same BlockState to apply the TileEntity data to an ItemStack block meta, the ItemStack will use the snapshot inventory, disregarding the changes made to the inventory returned by .getInventory(). This is the compromise of .getInventory() returning the inventory directly backed by the TileEntity in the world. Other fixes related to BlockState: * TileEntityContainer#getLocation() will run into a NPE if the TileEntity is non-placed (ex. when getting the BlockState from a CraftMetaBlockState). * Beacon.getEntitiesInRange() would previously throw a NPE if called for a non-placed BlockState. It was changed to now require to be placed and use the current TileEntity in the world. If the TileEntity in the world is no longer a beacon, it will return an empty list. * EndGateway now supports setting and getting the exit location even for non-placed EndGateways (inside BlockStateMeta) by using / returning a location with world being null.
* SPIGOT-3492: Ensure player functionality uses their specific scoreboardmd_52017-08-05-6/+12
|
* Update to Minecraft 1.12.1md_52017-08-03-209/+167
|
* SPIGOT-3486: Missing check in redstone placementmd_52017-08-03-0/+11
|
* SPIGOT-3487: Llama doesn't drop chestmd_52017-08-03-0/+19
|
* SPIGOT-3482: ProjectileHitEvent for shulker bullet and llama spitmd_52017-08-02-0/+16
|
* SPIGOT-3456: Expand calling of ServerCommandEventmd_52017-07-28-4/+13
| | | | Existing usage preserved by checking sender.
* SPIGOT-3403: Add an EntityPickupItemEventmd_52017-07-28-25/+56
|
* SPIGOT-3463: Spurious item drops from eventmd_52017-07-28-69/+104
|
* SPIGOT-3461: Standardise plugin load timingmd_52017-07-26-8/+12
|
* SPIGOT-3432: Add playNote support for new soundsmd_52017-07-24-17/+30
|
* SPIGOT-3440: Non player entities should not make new portalsmd_52017-07-22-7/+12
|
* SPIGOT-3433: Improve AreaEffectCloud#getSourcemd_52017-07-22-9/+9
|
* Fix memory leak in PlayerListmd_52017-07-17-35/+139
|
* SPIGOT-3417: Event for shearing snowmanmd_52017-07-15-5/+20
|
* SPIGOT-3407: Set damager for evoker fangsmd_52017-07-08-0/+12
|
* SPIGOT-3382: Ensure players can pickup stuffmd_52017-06-26-1/+1
|
* SPIGOT-3377: Fix subspace bubble advancementmd_52017-06-26-1/+1
|
* SPIGOT-3379: Generalise canPickupItems to other entities.md_52017-06-26-28/+38
|
* SPIGOT-3376: Fix nested functionsmd_52017-06-26-28/+42
|
* SPIGOT-3373: Fix /execute in gameloop functionsmd_52017-06-25-5/+23
|
* SPIGOT-3324: Improve tameable damage handlingmd_52017-06-24-28/+29
|
* SPIGOT-3368: Allow anvil level cost to be overwritten by propertiesmd_52017-06-23-9/+14
|
* SPIGOT-3364: Correct EntityResurrectEventmd_52017-06-23-1/+10
|
* Fix nether world border center not adjustingmd_52017-06-18-0/+31
|
* SPIGOT-3329: Allow per world loot tablesmd_52017-06-15-6/+5
|
* SPIGOT-3337: Use special data value to indicate multiple recipe choicesmd_52017-06-15-2/+2
|
* Fix detection of missing or invalid tile entities for End portals and gatewaysJacob Martin2017-06-12-2/+2
|
* SPIGOT-3328: EntityTameEvent for Parrotsmd_52017-06-12-0/+93
|