AlphaBlend
2c5b2a8f6f
Add method to get the source of a TNTPrimed. Adds BUKKIT-3815
2013-03-21 12:47:46 -06:00
James Clarke
816a7f1559
Ignore all .DS_Store files, not just the one in the project root.
2013-03-21 01:20:08 -04:00
Andre LeBlanc
83e0e0770a
Add Fish (Hook) entity to PlayerFishEvent. Adds BUKKIT-1025
2013-03-20 15:58:37 -07:00
nitnelave
ddec7117ee
Implement unit test for hasGravity(). Adds BUKKIT-3832
2013-03-20 18:44:22 -04:00
Travis Watkins
696543cf3f
Update CraftBukkit to Minecraft 1.5.1
2013-03-20 15:09:23 -05:00
Travis Watkins
6aaa1e83df
Really don't filter out -1 data in ItemStack.
2013-03-20 11:11:47 -05:00
Travis Watkins
b325ffc8f6
Handle filled buckets dispensing up and down. Fixes BUKKIT-3814
2013-03-20 10:24:22 -05:00
Travis Watkins
2fc755cc65
Don't filter out -1 data in ItemStack. Fixes BUKKIT-3824
2013-03-20 09:44:17 -05:00
Travis Watkins
26d1f9189a
Readd missed diff for minecart container size. Fixes BUKKIT-3826
2013-03-20 09:44:17 -05:00
Nate Mortensen
dc19d3788f
BlockState for Command Blocks. Adds BUKKIT-3805.
2013-03-19 20:54:38 -06:00
Edmond Poon
e639690e45
Validate Server method input. Addresses BUKKIT-3687
...
CraftServer methods that implement the Server interface will throw an
IllegalArgumentException if a method cannot operate on a null input
and given a null pointer.
This causes methods to fail early and identify that a plugin is
responsible for passing in an invalid argument. This will only
change the exception thrown, if there originally was a thrown
exception. This helps with hunting down legitimate problems
with CraftBukkit.
2013-03-18 23:40:10 -06:00
Warren
abee2151ea
Remove point about squashing commits.
2013-03-18 23:49:15 -03:00
Kane York
370b912dd6
Add link to CONTRIBUTING.md in README
2013-03-18 19:26:15 -07:00
EvilSeph
aabfe5a560
Pull Contributing Guidelines and Requirements into CONTRIBUTING.md
2013-03-18 22:14:15 -04:00
Travis Watkins
51d4e647fb
Only filter data on block items, not all items.
2013-03-18 18:22:13 -05:00
Travis Watkins
d26336eb40
Add /testfor command support to command block. Adds BUKKIT-3813
2013-03-18 17:12:21 -05:00
Travis Watkins
596047aa6b
Only set player weather if a plugin requested it.
...
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.
2013-03-18 13:58:16 -05:00
T00thpick1
1bde25bb33
Implement per-player Weather API. Adds BUKKIT-812
2013-03-18 13:03:54 -05:00
Yariv Livay
a7a5f273e3
Implement new cause versions of BlockIgniteEvent. Addresses BUKKIT-3609, BUKKIT-3656, BUKKIT-3657
2013-03-18 12:47:01 -05:00
Travis Watkins
2e6cfdb3cc
Implement InventoryPickupItemEvent. Adds BUKKIT-3798
2013-03-18 12:35:43 -05:00
Michael Limiero
2642fbdf7e
Make CraftMinecartHopper work as InventoryHolder. Adds BUKKIT-3796
2013-03-18 12:16:37 -05:00
Chad Waters
93fd33e218
Implement Entity.isOnGround(). Adds BUKKIT-3787
2013-03-17 22:25:05 -05:00
Travis Watkins
5df704bf5a
Use name given to command block instead of "@". Fixes BUKKIT-3803
2013-03-17 20:19:32 -05:00
Michael Limiero
d802168cd5
Implement Hopper block state and inventory methods. Adds BUKKIT-3749
2013-03-17 12:59:27 -05:00
Travis Watkins
6f68fc4ba4
Add missing getOwner method for container minecarts.
2013-03-16 18:32:01 -05:00
Travis Watkins
737e8c5127
Allow special crafting data value on items. Fixes BUKKIT-3780
2013-03-16 18:16:00 -05:00
Travis Watkins
5515b0ee2b
Handle double trapped chest inventory. Fixes BUKKIT-3772
2013-03-16 17:14:21 -05:00
Travis Watkins
0e60f1f7b8
Fire BlockDispenseEvent for new dispenser behaviors. Fixes BUKKIT-3774
2013-03-16 16:55:27 -05:00
Travis Watkins
fbe609bdbe
Add new DispenseBehavior files from mc-dev for diff visibility.
2013-03-16 16:48:08 -05:00
Travis Watkins
ff1c1daf69
Allow data on tool items. Fixes BUKKIT-3773
2013-03-16 14:51:22 -05:00
Travis Watkins
2e47a1eb80
Comment out vanilla debug message.
2013-03-16 13:45:42 -05:00
Travis Watkins
515830cda9
Filter negative values for all items.
2013-03-16 13:26:29 -05:00
Travis Watkins
6d88d545e9
Filter data for items that shouldn't have it and filter wool.
...
We used to fall Item.filterData() for this but that method is meant for
converting item data to block data during placement and does the wrong
thing for this case. Instead we just see if the item should have data and
if not set it to zero. We also have to filter wool data explicitly because
clients crash when given invalid wool data.
2013-03-16 13:14:09 -05:00
Travis Watkins
a76a5bd36f
Ignore invalid inventory slots. Fixes BUKKIT-3737
2013-03-16 10:28:12 -05:00
Travis Watkins
9a38f2022a
Use Chest block state for trapped chests. Fixes BUKKIT-3762
2013-03-16 09:46:32 -05:00
Travis Watkins
5903b9f5ca
Don't set health directly, will interfere with scoreboard system.
2013-03-16 08:57:57 -05:00
Travis Watkins
7466321212
Limit mob names to 64 chars to avoid client crash. Fixes BUKKIT-3753
2013-03-16 08:32:31 -05:00
Travis Watkins
4fa8c24e42
Always consume bonemeal when used on a sapling. Fixes BUKKIT-3755
...
In Minecraft 1.5 saplings do not grow with a single use of bonemeal anymore.
Our code assumes they will and only takes away bonemeal from the player
when the tree grows successfully (not cancelled by a plugin). Instead we
now always remove a bonemeal even if a plugin is the reason a tree didn't
grow as this matches the vanilla logic more closely.
2013-03-16 08:05:03 -05:00
Travis Watkins
d47849df8c
Remove duplicate place logic for snow. Fixes BUKKIT-3756
2013-03-16 07:38:54 -05:00
Wesley Wolfe
2cb9cbf05c
Handle the newly refactored minecarts.
2013-03-16 02:15:51 -05:00
Travis Watkins
b2c72b968e
Use proper naming convention for boolean methods.
2013-03-15 14:25:37 -05:00
Travis Watkins
83d29e461c
Update CraftBukkit to Minecraft 1.5
2013-03-15 13:28:59 -05:00
Wesley Wolfe
ba6e4c38cf
Fix compilation error with exception names
2013-03-02 16:33:35 -06:00
Nate Mortensen
032c7366ad
Use the correct CB object for ContainerBrewingStand. Fixes BUKKIT-3357
2013-03-02 16:01:14 -06:00
Eimref
cf7dfeda62
Add proper logging for custom channel exceptions.
2013-03-02 15:57:00 -06:00
Travis Watkins
f6c574dd04
Implement PlayerItemConsumeEvent. Adds BUKKIT-2349
2013-03-02 00:33:46 -06:00
Andrzej Pomirski
993e19b3fb
Close inventory on teleport. FIXES BUKKIT-3021.
2013-02-10 17:22:34 -06:00
EdGruberman
d06e597ca5
Check TravelAgent.findOrCreate(Location) for null; Fixes BUKKIT-3590
...
If a custom TravelAgent is used and returns null for findOrCreate method
a NullPointerException will occur.
Conflicts:
src/main/java/net/minecraft/server/PlayerList.java
2013-02-10 17:21:59 -06:00
James Clarke
5bb81b75c7
Set CraftTravelAgent.DEFAULT to a non-null value. Fixes BUKKIT-3578
...
Currently, CraftTravelAgent will call s() on the passed-in WorldServer in order to set DEFAULT. However, s() will always return null at this point, because WorldServer.P will still be null, as it is set after the constructor is called. Instead, we set CraftTravelAgent.DEFAULT to the instance that is being constructed.
2013-02-06 16:45:22 -06:00
feildmaster
2e99e02094
Use entity UUID instead of EntityID for metadata. Fixes BUKKIT-3582
...
The entity id is a non-unique, non-persistent value, and will cause
entities to lose their respective meta data on chunk unloading, and
teleportation.
2013-02-06 16:32:19 -06:00