zerg960
96c4bb7da6
[Bleeding] Account for new rare drops in EntityDeath events. Fixes BUKKIT-1105
2012-03-21 13:24:59 -04:00
Celtic Minstrel
1c95413f49
[Bleeding] Fix for creeper getDrops() not reporting the music disk if it was killed by a skeleton. Addresses BUKKIT-1133
2012-03-21 13:11:47 -04:00
Celtic Minstrel
5ba8928041
[Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
...
- Allows drops in creative mode by adding items to the getDrops() list
- Contents of containers are not reported
- Contents of storage minecarts are not reported
2012-03-21 12:42:51 -04:00
Celtic Minstrel
8d62de7055
Added for diff visibility:
...
- BlockBed
- BlockDeadBush
- BlockLongGrass
- BlockVine
2012-03-20 22:17:47 -04:00
Celtic Minstrel
784aa3b602
[Bleeding] Fix the openInventory methods for custom inventories. Fixes BUKKIT-1248
...
Details:
- The attributes of custom inventory views are no longer ignored
- Enchanting or crafting inventories no longer ignore the passed inventory and open a new one
- Inventories associated with tile entities no longer raise a class cast exception if there was no associated tile entity
- InventoryOpenEvent and InventoryCloseEvent (if they already had some other inventory open) now fire in all cases
- If for any reason the inventory failed to open, the method now returns null instead of returned the previous inventory they had open (or the default inventory, if none)
2012-03-20 21:31:42 -04:00
Celtic Minstrel
43001ca2a8
[Bleeding] Only fire CraftItemEvent if there's actually an item there to craft (ie, don't fire it for a click on an empty result slot). Fixes BUKKIT-1250
2012-03-20 21:18:14 -04:00
Celtic Minstrel
93732e21bc
[Bleeding] Fixed NullPointerException in InventoryView.setCursor() if you tried to empty the cursor by setting it to null. Fixes BUKKIT-1043
2012-03-20 20:45:26 -04:00
Celtic Minstrel
288662bfae
[Bleeding] Fix some return types that could lead to ArrayStoreException
2012-03-20 20:43:12 -04:00
Celtic Minstrel
b9a71db046
[Bleeding] Make crafting and enchanting inventories keep track of their owner rather than returning null. Addresses BUKKIT-1209
2012-03-20 20:30:54 -04:00
Celtic Minstrel
4bcbe2d235
[Bleeding] Add Chest.getBlockInventory() for convenience; this always returns a single chest inventory. Addresses BUKKIT-1247
2012-03-20 19:41:35 -04:00
Celtic Minstrel
cd9779196b
[Bleeding] Add iterator() with starting index. Addresses BUKKIT-1246
2012-03-20 19:40:44 -04:00
md_5
7966531113
[Bleeding] Completely fix the tree generation algorithm to make it near identical to vanilla as well as fix potential bugs associated with disappearing saplings.
2012-03-20 06:38:03 -04:00
aPunch
ea60181a87
[Bleeding] Added way to get/set if Iron Golem was player created. Addresses BUKKIT-1229
2012-03-20 05:13:36 -04:00
Wesley Wolfe
68b98d4c8f
[Bleeding] Implement ExpBottleEvent; Addresses BUKKIT-888
2012-03-20 03:24:57 -04:00
Wesley Wolfe
9055a20d71
Added EntityThrownExpBottle for diff visibility.
2012-03-20 03:24:08 -04:00
Celtic Minstrel
71a51b024b
Reverted invalid clone. Fixes BUKKIT-1198
2012-03-16 17:10:42 -04:00
rmichela
82fab5b2d5
[Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193
2012-03-16 03:49:36 -04:00
rmichela
4589e943f6
[Bleeding] Added support for color codes in help.yml. Addresses BUKKIT-1191
2012-03-16 03:12:48 -04:00
rmichela
46429c6cb9
[Bleeding] Implemented the command-topics-in-master-index option in help.yml. Addresses BUKKIT-1189
...
When false, help topics that start with a slash are omitted from the mater index.
2012-03-16 03:10:25 -04:00
rmichela
f87e053c66
[Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180
2012-03-16 02:48:19 -04:00
rmichela
184faf1f29
[Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178
2012-03-16 02:44:05 -04:00
EvilSeph
fc697a4f44
Fixed translation issue in EntityMinecart. Addresses BUKKIT-980
2012-03-16 02:38:57 -04:00
Celtic Minstrel
241cf1c664
[Bleeding] Allow custom inventory views to change their type to BREWING or ENCHANTING, and also allow them to change their title and size. Fixes BUKKIT-1190
2012-03-15 23:54:00 -04:00
Celtic Minstrel
db5f804482
[Bleeding] Check top inventory type when determining whether a click event is a craft event. Fixes BUKKIT-1112
...
- Credit to Taufiq Hoven for locating the root cause of the issue.
2012-03-15 23:24:54 -04:00
Celtic Minstrel
f7da5d2ad7
[Bleeding] Disabled data filtering for mob spawners. Addresses BUKKIT-329
2012-03-15 23:24:34 -04:00
Celtic Minstrel
5c8fd4995f
[Bleeding] Implemented Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
...
- Custom inventories also respect this setting now.
2012-03-15 22:44:10 -04:00
Celtic Minstrel
66e067f373
[Bleeding] Make InventoryView.setItem(-999, item) drop the item on the ground by default.
2012-03-15 22:26:27 -04:00
Celtic Minstrel
83265005f6
[Bleeding] Made ItemStack constructors not default to an amount of 0. Fixes BUKKIT-610
2012-03-15 22:17:09 -04:00
Celtic Minstrel
76cc488402
[Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
2012-03-15 22:13:46 -04:00
Celtic Minstrel
f27427ad19
Fix some improper item cloning instances that would have dropped enchantments
2012-03-15 21:47:37 -04:00
Wesley Wolfe
77ceb0002c
Fix losing enchants from stacked items in custom inventories
2012-03-15 21:47:29 -04:00
EvilSeph
42822ddca4
Re-added EntityCombust event to skeletons. Fixes BUKKIT-1188
2012-03-15 18:48:44 -04:00
Celtic Minstrel
92f771a022
[Bleeding] Implemented ProjectileLaunchEvent. Addresses BUKKIT-284
2012-03-15 07:18:59 -04:00
feildmaster
b4c9ad518a
[Bleeding] Call DamageEvent before CombustEvent for Arrows. Fixes BUKKIT-1100
2012-03-15 06:05:49 -04:00
md_5
c90a7a52e7
[Bleeding] Fixed maxStack being incorrectly set to 0 in custom craft inventories. Fixes BUKKIT-1181
2012-03-15 05:30:44 -04:00
feildmaster
4503167283
Fixed EntityDamageByEntityEvent to call for every attackable entity. Fixes BUKKIT-1129, Fixes BUKKIT-1054 and Fixes BUKKIT-147.
2012-03-15 05:11:48 -04:00
EvilSeph
c625d00351
Stop loading the 'flying' setting from player.dat until it is properly implemented and used in NMS. Fixes BUKKIT-1183
2012-03-15 05:00:37 -04:00
EvilSeph
adebd466fb
Added PlayerAbilities for diff visibility.
2012-03-15 04:54:59 -04:00
EvilSeph
5a6878b9b1
Made stepping on Redstone Ore fire PlayerInteract events for players, EntityInteract events for other entities. Fixes BUKKIT-1163 and fixes BUKKIT-1182
...
Note: the client seems to predict redstone ore interacting, so you may see
ore lighting up when it shouldn't be. However, cancelled events should
function as expected.
2012-03-15 04:38:16 -04:00
EvilSeph
16c6cbe5eb
Added BlockRedstoneOre for diff visibility.
2012-03-15 00:33:56 -04:00
zml2008
868eaf571c
[Bleeding] Call a LAVA BlockIgniteEvent in another place in BlockStationary. Fixes BUKKIT-970
...
Also adds CraftEventFactory.callEvent(Event), which returns the event called. Currently only used for n.m.s.BlockStationary's lava
BlockIgniteEvent calls.
2012-03-15 00:33:55 -04:00
EvilSeph
2a4167d8a5
Made snowmen in rain or water fire EntityDamage events with DamageCause DROWNING. Fixes BUKKIT-1165
2012-03-14 01:29:02 -04:00
EvilSeph
373afd1b22
Made snowmen melting fire EntityDamage events with DamageCause FIRE_TICK. Fixes BUKKIT-1164
2012-03-14 01:27:31 -04:00
Celtic Minstrel
f219f0efe9
Implemented Enchantment.conflictsWith(). Addresses BUKKIT-1159
2012-03-13 22:23:33 -04:00
Celtic Minstrel
28c1f571d2
[Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
2012-03-13 19:43:07 -04:00
EvilSeph
b37872c1a6
Made PlayerInteractEvent fire for digging within spawn for informational purposes only. Fixes BUKKIT-1086
2012-03-13 19:15:20 -04:00
feildmaster
06b814fd7e
[Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134
2012-03-11 16:31:11 -04:00
feildmaster
69ee00b6f0
Adding PathfinderGoalBreakDoor for diff visibility.
2012-03-11 16:30:44 -04:00
EvilSeph
1b6ca577f5
Fixed translation issue and enderman not spawning when The End is generated. Fixes BUKKIT-1115
2012-03-11 07:04:54 -04:00
EvilSeph
0f659850b2
Made golems spawning respect spawn-animals for real. Fixes BUKKIT-1124
2012-03-11 06:28:03 -04:00
rmichela
8ddd2f0566
[Bleeding] Help index now identifies itself as "Help: Index" rather than "Help: null"
2012-03-11 03:49:27 -04:00
EvilSeph
c84af98ccd
Made World.refreshChunk() refresh the chunk, thanks zerg960! Fixes BUKKIT-1014
2012-03-11 03:38:29 -04:00
feildmaster
4545336fdf
Only remove blocks when golem is successfully spawned. Fixes BUKKIT-1094
2012-03-11 01:30:16 -05:00
EvilSeph
433efec68f
Fixed BlockStateListPopulator in EntityEnderDragon not being populated. Fixes BUKKIT-1130
2012-03-11 00:42:43 -05:00
EvilSeph
2aad49eecc
Made ender pearls use the player's yaw and pitch. Fixes BUKKIT-1056
2012-03-11 00:11:41 -05:00
Kevin Ingersoll
49ff166d15
Fixed potential packet loss issue with vanish API. Fixes BUKKIT-1125
2012-03-10 23:19:15 -05:00
Mike Primm
bdd2139c78
[Bleeding] Add getWorldType() and getGenerateStructures() to CraftServer. Fixes BUKKIT-855
2012-03-10 18:36:28 -05:00
Mike Primm
eaa56941f3
[Bleeding] Make zero (or very small) explosions do no damage. Fixes BUKKIT-931
2012-03-10 18:36:27 -05:00
rmichela
996832ff6c
[Bleeding] Added support for amending help topic visibility permissions in help.yml. Addresses BUKKIT-1113
2012-03-10 18:36:27 -05:00
rmichela
a8b2c6d04e
[Bleeding] Implemented command aliases in help. Addresses BUKKIT-1028
2012-03-10 17:56:20 -05:00
rmichela
03ce67c38c
[Bleeding] Moved DefaultHelpTopic and GenericCommandHelpTopic to public bukkit api.
2012-03-10 17:56:07 -05:00
rmichela
378424a1a1
[Bleeding] Added support for linking custom CommandExecutor types to a HelpTopicFactory. Fixes BUKKIT-1027
2012-03-10 17:55:44 -05:00
EvilSeph
5c757df673
Made iron golems spawning to defend villagers respect spawn-animals. Fixes BUKKIT-1124
2012-03-10 16:56:21 -05:00
EvilSeph
ae6b3711ea
Made zombie invasions respect spawn-monsters setting. Fixes BUKKIT-1123
2012-03-10 16:31:21 -05:00
EvilSeph
f534863552
Make setting slots to AIR set them to null. Addresses BUKKIT-1043
2012-03-10 15:54:10 -05:00
EvilSeph
68c89fcac9
Fixed enchanting in Creative. Fixes BUKKIT-1119
2012-03-10 15:52:56 -05:00
feildmaster
77ef051095
[Bleeding] Added new target events. Fixes BUKKIT-935
2012-03-10 02:08:33 -05:00
feildmaster
a967d6e371
Added PathfinderGoalTarget, PathfinderGoalArrowAttack, PathfinderGoalMeleeAttack for diff visibility.
2012-03-10 02:07:23 -05:00
EvilSeph
08bd33a3ed
Made entering an end portal from The End move the player to their bed spawn if it exists. Fixes BUKKIT-1061
2012-03-10 01:52:45 -05:00
EvilSeph
6f40a22e16
Made feeding wolves fire EntityRegainHealth events. Fixes BUKKIT-1111
2012-03-09 22:45:26 -05:00
EvilSeph
fce3386aa0
Added EntityTame event. Fixes BUKKIT-1109
2012-03-09 22:26:21 -05:00
EvilSeph
e625999f24
Added EntityWolf for diff visibility.
2012-03-09 22:26:21 -05:00
Nathan Adams
36406afa6b
Re-re-fixed block transmutation
2012-03-10 03:18:04 +00:00
Nathan Adams
cf9d00a71a
Re-fixed block transmutation
2012-03-10 03:12:39 +00:00
EvilSeph
848344250d
Fixed sheep not firing events when eating grass. Fixes BUKKIT-1104
2012-03-09 14:36:21 -05:00
EvilSeph
9b5a4d68b9
Added PathfinderGoalEatTile for diff visibility.
2012-03-09 14:25:44 -05:00
EvilSeph
c4b4afa14d
Fixed being unable to use water in The End. Fixes BUKKIT-1002
2012-03-09 13:35:04 -05:00
EvilSeph
ec2713b256
Added WorldProviderTheEnd for diff visibility.
2012-03-09 13:34:27 -05:00
EvilSeph
d1dd96f560
Made Chunk.getEntities() account for the world height increase. Fixes BUKKIT-1059
2012-03-09 13:09:15 -05:00
EvilSeph
45cf927446
(Re)restricted the nether to 128 world height. Fixes BUKKIT-976
2012-03-09 12:08:59 -05:00
SpaceManiac
a602d5c8c1
[Bleeding] Implemented getting the hostname a player used to log in. Addresses BUKKIT-984
2012-03-09 11:46:06 -05:00
Mike Primm
97669f8d90
[Bleeding] Add updated interfaces for custom chunk generation. Addresses BUKKIT-874
2012-03-09 11:46:06 -05:00
Mike Primm
796a9ba8fd
Add vanilla ChunkSection.java from mc-dev for diff visibility.
2012-03-09 01:10:29 -05:00
EvilSeph
cbdcb44a11
Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090
2012-03-08 22:12:54 -05:00
EvilSeph
ec555a71e3
Added VillageSiege for diff visibility.
2012-03-08 22:08:37 -05:00
EvilSeph
ecb00bba85
Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089
2012-03-08 21:57:46 -05:00
EvilSeph
f5ce8627c6
Added Village for diff visibility.
2012-03-08 21:54:29 -05:00
EvilSeph
43a00954f5
Made PlayerPortalEvent fire when leaving The End. Fixes BUKKIT-478
2012-03-08 19:50:01 -05:00
EvilSeph
f26fbc3bf3
Fixed EnderPearls not being limited to the world they were used in. Fixes BUKKIT-658
2012-03-08 19:31:10 -05:00
EvilSeph
8ecdfe9eed
Added missing filters to addEntity. Fixes BUKKIT-794
2012-03-08 18:09:32 -05:00
Mike Primm
1e06e150b6
[Bleeding] Only do unload-all on tick when last player leaves. Fixes BUKKIT-1060
2012-03-08 16:27:01 -05:00
aPunch
0ba2d285f0
[Bleeding] Made Iron Golems and Ocelots throw EntityDeathEvent. This fixes BUKKIT-1010.
2012-03-08 02:17:46 -05:00
aPunch
1c641ed982
Added EntityIronGolem and EntityOcelot for diff visibility.
2012-03-08 02:14:41 -05:00
Mike Primm
a029f32ccd
[Bleeding] Add APIs for editing biome data, fix existing code to use persistent biome data. Addresses BUKKIT-1075
2012-03-08 01:53:06 -05:00
rmichela
b5e92871eb
[Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986
2012-03-08 01:29:49 -05:00
EvilSeph
7a8ef4f6a4
Extremely hackish fix for the entity interactivity issue. Fixes BUKKIT-960
2012-03-07 23:51:55 -05:00
EvilSeph
b5af5adc7e
Fixed the dreaded GSOD crash. Fixes BUKKIT-1040
2012-03-07 22:07:37 -05:00
Tahg
2ff8a8749f
Fixed copy error in DoubleChest's inventory
2012-03-05 15:28:59 -05:00
Eric Stokes
2feb2ea124
Fix worlds loading improperly. Fixes BUKKIT-991
...
This patch fixes an incorrect path being passed to the WorldLoaderListener. It expects the world container, then checks convertable on the name.
2012-03-03 21:04:31 -05:00
Tahg
4ac2b08320
Added missing null check for enchantments. Fixes BUKKIT-897
2012-03-03 05:59:40 -05:00