Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Make auxiliary worlds use the main scoreboard. Addresses BUKKIT-3984 | Wesley Wolfe | 2013-04-04 | -1/+1 |
| | | | | | | | | | | | When a world is created using our API, it does not use secondary world server and will maintain a reference to its own scoreboard. In vanilla, this is not an issue as there is only ever one world. Similarly to maps, an overwrite to the scoreboard reference has been added for when another world has been created. This should also address BUKKIT-3982 and BUKKIT-3985 | |||
* | Handle large chests correctly for hopper events. Fixes BUKKIT-3979 | Travis Watkins | 2013-04-04 | -2/+16 |
| | | | | | | | In commit 7710efc5f9 we corrected the handling of large chests as the destination for hoppers moving items but did not apply the same fix for large chests being the source or for droppers. This commit updates these to have the same fix. | |||
* | Implement Scoreboard API. Adds BUKKIT-3776 | mbax | 2013-04-04 | -29/+59 |
| | | | | | | | | | | | | | | | | | | This implementation facilitates the correspondence of the Bukkit Scoreboard API to the internal minecraft implementation. When the first scoreboard is loaded, the scoreboard manager will be created. It uses the newly added WeakCollection for handling plugin scoreboard references to update the respective objectives. When a scoreboard contains no more active references, it should be garbage collected. An active reference can be held by a still registered objective, team, and transitively a score for a still registered objective. An internal reference will also be kept if a player's specific scoreboard has been set, and will remain persistent until that player logs out. A player's specific scoreboard becomes the scoreboard used when determining team structure for the player's attacking damage and the player's vision. | |||
* | Add ScoreboardServer from mc-dev for diff visibility | mbax | 2013-04-04 | -0/+204 |
| | ||||
* | Add missing calls to BlockRedstoneEvent. Adds BUKKIT-3926 | gjmcferrin@gmail.com | 2013-04-03 | -0/+27 |
| | | | | | | | This adds calls to BlockRedstoneEvent for the new daylight sensor and trapped chest blocks. Note that the redstone level for trapped chests cannot be modified, as it is based on the number of players currently viewing the chest's inventory. | |||
* | Add BlockDaylightDetector from mc-dev for diff visibility | gjmcferrin@gmail.com | 2013-04-03 | -0/+71 |
| | ||||
* | Set world on fixed tile entity to avoid NPE. Addresses BUKKIT-3949 | Travis Watkins | 2013-04-01 | -0/+1 |
| | ||||
* | Fix mismatched tile entities for new blocks. Fixes BUKKIT-3949 | Travis Watkins | 2013-03-31 | -0/+16 |
| | ||||
* | Don't update physics when block place is cancelled. Fixes BUKKIT-3939 | Travis Watkins | 2013-03-31 | -2/+2 |
| | | | | | | | | | When a block placement happens we currently update physics on the attempted placement and update again if the placement is cancelled. To correct the first one we simply set the block without applying physics. To correct the second we have to add a new method to BlockState that lets us update without applying physics and use this method method when putting the block back. | |||
* | Limit hopper to valid directions. Fixes BUKKIT-3940 | Travis Watkins | 2013-03-31 | -1/+1 |
| | ||||
* | Add BlockHopper from mc-dev for diff visibility. | Travis Watkins | 2013-03-31 | -0/+166 |
| | ||||
* | Include anvil result in inventory size. Fixes BUKKIT-3741 | Travis Watkins | 2013-03-30 | -1/+1 |
| | ||||
* | Only call event when turning pressure plate on. Fixes BUKKIT-3881 | Travis Watkins | 2013-03-29 | -15/+17 |
| | ||||
* | Special case large chests for hopper events. Fixes BUKKIT-3916 | Travis Watkins | 2013-03-29 | -1/+8 |
| | | | | | | | | Large chests work in a different fashion as they are a combination of two other inventories. This causes their getOwner method to always return null as their is no correct return. To compensate for this for the hopper events we special case them to use their CraftBukkit counterpart that has the information we need for the event. | |||
* | Add Beacon block state for hopper events. Fixes BUKKIT-3932 | Travis Watkins | 2013-03-29 | -1/+1 |
| | ||||
* | Call PotionSplashEvent even for no effects. Fixes BUKKIT-3618 | EdGruberman | 2013-03-28 | -2/+2 |
| | | | | | | | | | | When a splash potion has no applicable effects we currently do not call PotionSplashEvent. This means plugins are unable to make custom potions with reliable splash handling as they have to relicate the functionality themselves. With this commit we simply make the event fire regardless of the effects on the potion. | |||
* | Call appropriate event for zombies igniting players. Adds BUKKIT-3915 | gjmcferrin@gmail.com | 2013-03-28 | -2/+12 |
| | ||||
* | Correct missed diff on skeletons. Fixes BUKKIT-3912 | Travis Watkins | 2013-03-28 | -1/+1 |
| | ||||
* | Improve calling of ProjectileHitEvent. Fixes BUKKIT-3872 | Andre LeBlanc | 2013-03-26 | -15/+4 |
| | ||||
* | Add missing semicolon | riking | 2013-03-25 | -1/+1 |
| | | | | | | | | I should try to compile before I say "this change is okay". I should try to compile before I say "this change is okay". I should try to compile before I say "this change is okay". I should try to compile before I say "this change is okay". for i in range(100) | |||
* | Allow plugins to enchant already enchanted items. Fixes BUKKIT-1956 | Kristofer Henriksson | 2013-03-25 | -1/+2 |
| | | | | | | This causes the server to generate PrepareItemEnchantEvent even in the case that an item is already enchanted or otherwise would normally not be enchantable. | |||
* | Call EntityChangeBlockEvent when boats destroy blocks. Fixes BUKKIT-3871 | Black-Hole | 2013-03-25 | -0/+13 |
| | ||||
* | Allow fishing success rate to be adjustable. Adds BUKKIT-3837 | Andre LeBlanc | 2013-03-25 | -7/+1 |
| | ||||
* | Cleanup comments, formatting, etc | Travis Watkins | 2013-03-25 | -332/+310 |
| | ||||
* | Add ability to change player item in hand. Adds BUKKIT-3318 | Patrick Seidel | 2013-03-24 | -0/+4 |
| | ||||
* | Don't assume all hoppers are blocks. Fixes BUKKIT-3883 | Travis Watkins | 2013-03-24 | -1/+8 |
| | ||||
* | Implement InventoryMoveItemEvent. Adds BUKKIT-3765 | Dennis Bliefernicht | 2013-03-23 | -6/+58 |
| | | | | | | This makes droppers, hoppers and hopper minecarts fire an InventoryMoveItemEvent whenever an item is being moved from or to another inventory. | |||
* | Fire VehicleEnterEvent for loaded chunks only. Fixes BUKKIT-3831 | me4502 | 2013-03-23 | -1/+1 |
| | ||||
* | ANSI color codes now reset text attributes. Fixes BUKKIT-3508 | James Clarke | 2013-03-23 | -1/+1 |
| | | | | The client resets all formatting after a color code is received, but currently the ANSI codes do not, and so the console does not accurately reflect the appearance of the formatted text. Instead, the ANSI color codes are now set to reset all text attributes. | |||
* | Cleanup and rework physical interaction events. Fixes BUKKIT-3686 | Travis Watkins | 2013-03-22 | -32/+54 |
| | | | | | | | | | | Currently when dealing with physical interactions with pressure plates and tripwires we immediately block their activation as soon as a single entity involved has their event cancelled. We also fire events whenever an entity intersects the block a wooden button is in even if they aren't actually pressing it. To correct this we move the button interaction to the correct place and modify all three to only block the activation if every entity is blocked from using them instead of just one of them. | |||
* | Implement Dropper interface. Adds BUKKIT-3750 | Xephi | 2013-03-21 | -1/+1 |
| | ||||
* | Add BlockDropper for diff visibility | Xephi | 2013-03-21 | -0/+55 |
| | ||||
* | Add ability to modify ThrownPotion properties. Adds BUKKIT-3197 | Olof Larsson | 2013-03-21 | -1/+1 |
| | ||||
* | Add Fish (Hook) entity to PlayerFishEvent. Adds BUKKIT-1025 | Andre LeBlanc | 2013-03-20 | -7/+12 |
| | ||||
* | Update CraftBukkit to Minecraft 1.5.1 | Travis Watkins | 2013-03-20 | -220/+296 |
| | ||||
* | Really don't filter out -1 data in ItemStack. | Travis Watkins | 2013-03-20 | -4/+6 |
| | ||||
* | Handle filled buckets dispensing up and down. Fixes BUKKIT-3814 | Travis Watkins | 2013-03-20 | -10/+8 |
| | ||||
* | Don't filter out -1 data in ItemStack. Fixes BUKKIT-3824 | Travis Watkins | 2013-03-20 | -2/+2 |
| | ||||
* | Readd missed diff for minecart container size. Fixes BUKKIT-3826 | Travis Watkins | 2013-03-20 | -1/+1 |
| | ||||
* | BlockState for Command Blocks. Adds BUKKIT-3805. | Nate Mortensen | 2013-03-19 | -1/+1 |
| | ||||
* | Only filter data on block items, not all items. | Travis Watkins | 2013-03-18 | -1/+1 |
| | ||||
* | Add /testfor command support to command block. Adds BUKKIT-3813 | Travis Watkins | 2013-03-18 | -2/+23 |
| | ||||
* | Only set player weather if a plugin requested it. | Travis Watkins | 2013-03-18 | -1/+4 |
| | | | | | | | If the server changes the weather it will set the per-player weather variable and future changes will not apply. We should only set this variable when a plugin is requesting per-player weather and not when the server it doing it. | |||
* | Implement per-player Weather API. Adds BUKKIT-812 | T00thpick1 | 2013-03-18 | -2/+25 |
| | ||||
* | Implement new cause versions of BlockIgniteEvent. Addresses BUKKIT-3609, ↵ | Yariv Livay | 2013-03-18 | -77/+41 |
| | | | | BUKKIT-3656, BUKKIT-3657 | |||
* | Implement InventoryPickupItemEvent. Adds BUKKIT-3798 | Travis Watkins | 2013-03-18 | -0/+9 |
| | ||||
* | Add missing getOwner method for container minecarts. | Travis Watkins | 2013-03-16 | -0/+7 |
| | ||||
* | Allow special crafting data value on items. Fixes BUKKIT-3780 | Travis Watkins | 2013-03-16 | -0/+6 |
| | ||||
* | Fire BlockDispenseEvent for new dispenser behaviors. Fixes BUKKIT-3774 | Travis Watkins | 2013-03-16 | -5/+131 |
| | ||||
* | Add new DispenseBehavior files from mc-dev for diff visibility. | Travis Watkins | 2013-03-16 | -0/+127 |
| |