Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Remove a bunch of spurious _INVALID_ methods. | md_5 | 2018-01-05 | -159/+0 | |
| | |||||
* | print -> println in world start region preparation | md_5 | 2018-01-02 | -1/+1 | |
| | |||||
* | SPIGOT-3724: Make CraftMetaSkull work reliably for player skulls | md_5 | 2018-01-01 | -0/+4 | |
| | |||||
* | SPIGOT-355: API for Villager careers | Senmori | 2017-12-31 | -0/+63 | |
| | |||||
* | Send title timings before sending titles | md_5 | 2017-12-30 | -3/+3 | |
| | |||||
* | Remove unused private static final variable | md_5 | 2017-12-28 | -1/+0 | |
| | |||||
* | SPIGOT-3696: Clearing custom name of some blocks does not work | blablubbabc | 2017-12-17 | -1/+47 | |
| | |||||
* | Allow unloading all worlds except the main one | md_5 | 2017-12-16 | -1/+1 | |
| | |||||
* | SPIGOT-2892: Fix some clone implementations and add unit test | md_5 | 2017-12-16 | -0/+41 | |
| | |||||
* | Add ChunkDataTest from PR #157 | Antony Riley | 2017-12-08 | -0/+82 | |
| | |||||
* | SPIGOT-3684: Team#setColor does not trigger scoreboard update | md_5 | 2017-12-08 | -0/+1 | |
| | |||||
* | SPIGOT-3664: Add Material getter to ChunkSnapshot | md_5 | 2017-12-07 | -0/+6 | |
| | |||||
* | SPIGOT-3663: Add plugin parameter to hidePlayer+showPlayer. | Chris Cowan | 2017-12-05 | -7/+62 | |
| | |||||
* | Fix some formatting in CraftEventFactory | md_5 | 2017-11-22 | -17/+17 | |
| | |||||
* | SPIGOT-1505: PlayerItemMendEvent | Senmori | 2017-11-21 | -0/+9 | |
| | |||||
* | SPIGOT-690: Try to make force opened enchant tables work a bit better | md_5 | 2017-11-18 | -1/+4 | |
| | |||||
* | Add setSpawnLocation(Location) | Cory Redmond | 2017-11-18 | -0/+7 | |
| | |||||
* | Don't special case 'invalid' usernames for UUIDs. | md_5 | 2017-11-18 | -7/+0 | |
| | |||||
* | Use generics in health scaling methods | md_5 | 2017-11-17 | -5/+4 | |
| | |||||
* | CraftMetaFirework: AssertionError -> IllegalArgumentException | md_5 | 2017-11-17 | -2/+2 | |
| | |||||
* | SPIGOT-1891: Player.playNote should use RECORDS category | md_5 | 2017-11-14 | -2/+2 | |
| | | | | This is what NoteBlock.play etc uses. | ||||
* | SPIGOT-3649: Backwards check in playEffect | md_5 | 2017-11-13 | -1/+1 | |
| | |||||
* | Add Score.isScoreSet()Z API. | md_5 | 2017-11-10 | -0/+7 | |
| | |||||
* | Catch all exceptions from plugin conversation handling | md_5 | 2017-11-10 | -1/+9 | |
| | |||||
* | SPIGOT-3644: Fix missed yaw callsite update | md_5 | 2017-11-09 | -1/+1 | |
| | |||||
* | Implement max fuse tick & explosion radius methods to Creeper | Parker Hawke | 2017-11-08 | -0/+25 | |
| | |||||
* | SPIGOT-3629: Greatly expand entity effect API | md_5 | 2017-11-07 | -1/+6 | |
| | |||||
* | SPIGOT-3637: Adjust yaw yet again | md_5 | 2017-11-07 | -1/+1 | |
| | |||||
* | SPIGOT-3622: Issue in some combinations of spawn protection | md_5 | 2017-10-28 | -1/+1 | |
| | |||||
* | SPIGOT-3613: Success count not reset for exceptions. | md_5 | 2017-10-17 | -1/+1 | |
| | |||||
* | SPIGOT-3605: Spawn eggs not saving internal data | md_5 | 2017-10-09 | -0/+8 | |
| | |||||
* | Fix zombie professions | md_5 | 2017-10-09 | -2/+2 | |
| | |||||
* | SPIGOT-3587: Set head rotation when spawning entity | md_5 | 2017-10-01 | -0/+1 | |
| | |||||
* | SPIGOT-3565: Head yaw is "more accurate" for living entities | md_5 | 2017-09-28 | -2/+2 | |
| | |||||
* | Fix active async tasks not cancelled by CraftScheduler#cancelTasks(Plugin) | blablubbabc | 2017-09-28 | -1/+1 | |
| | |||||
* | Update to Minecraft 1.12.2 | md_5 | 2017-09-18 | -8/+8 | |
| | |||||
* | Remove outdated build delay. | md_5 | 2017-09-14 | -1/+1 | |
| | |||||
* | SPIGOT-3561: Fix selectors in SuccessCount | md_5 | 2017-09-09 | -1/+1 | |
| | |||||
* | SPIGOT-3553: Add OfflinePlayer based methods to SkullMeta | md_5 | 2017-09-06 | -0/+24 | |
| | |||||
* | SPIGOT-3551: Recursively unrestrict advancements | md_5 | 2017-09-06 | -0/+4 | |
| | |||||
* | Add BukkitTask#isCancelled | blablubbabc | 2017-09-02 | -4/+5 | |
| | |||||
* | SPIGOT-1107: Shift clicking and delegation for custom inventories | Jannyboy11 | 2017-08-18 | -237/+43 | |
| | | | | PR #398 | ||||
* | Fix CraftBanner initialisation. | Lukas Hennig | 2017-08-07 | -2/+3 | |
| | |||||
* | SPIGOT-3491: Add option to bypass permissions in advancements | md_5 | 2017-08-06 | -0/+7 | |
| | |||||
* | Improvements to BlockStates | Lukas Hennig | 2017-08-05 | -636/+512 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | Add build delay back | md_5 | 2017-08-04 | -1/+1 | |
| | |||||
* | Update to Minecraft 1.12.1 | md_5 | 2017-08-03 | -42/+3 | |
| | |||||
* | Remove outdated build delay. | md_5 | 2017-08-03 | -1/+1 | |
| | |||||
* | SPIGOT-3485: Launch shulker bullets as projectiles | md_5 | 2017-08-03 | -0/+7 | |
| | |||||
* | Implement BroadcastMessageEvent | BillyGalbreath | 2017-07-28 | -8/+18 | |
| |