Commit graph

1619 commits

Author SHA1 Message Date
Nathan Adams
8fb141bfa0 Implemented new player flight methods. This implements BUKKIT-1281. This also fixes BUKKIT-1146. 2012-03-22 22:04:13 +00:00
EvilSeph
ca8b9a0bb4 Removed temporary hackish fix for the entity interactivity issues, fixed properly in MC1.2.4. 2012-03-22 17:40:07 -04:00
EvilSeph
ccbb4b479a Made Snowmen use a DamageCause MELTING for melting in hot biomes. Addresses BUKKIT-1244 2012-03-22 17:33:33 -04:00
EvilSeph
f6bcaa6b0a Fixed minecarts being dropped when crashing a boat. Fixes BUKKIT-1273 2012-03-22 16:58:13 -04:00
EvilSeph
c2cdeac09b Added configurable Connection Throttle. Addresses BUKKIT-1274 2012-03-22 16:56:15 -04:00
Nathan Adams
dda37aa18c Nuked TextWrapper. We don't need you anymore, old friend :( 2012-03-22 20:49:05 +00:00
Nathan Adams
9d09e7d016 Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1. 2012-03-22 20:39:39 +00:00
md_5
8dc7417a3d [Bleeding] Fixed bug involving pistons and powered rails. This fixes BUKKIT-517 2012-03-22 03:09:52 -04:00
md_5
8ad27aa01d Added BlockMinecartTrack and MinecartTrackLogic for diff visibility. 2012-03-22 03:09:33 -04:00
EvilSeph
8d35caf070 Kick for invalid carried item. 2012-03-22 02:55:50 -04:00
Mike Primm
f188afe794 [Bleeding] Prevent update inconsistencies on generation/decoration that span chunks. Fixes BUKKIT-871 2012-03-22 02:36:38 -04:00
Mike Primm
09a73d352c [Bleeding] Make sure biome data is initialized during generate - prevent uninitialized data being sent to client. Fixes BUKKIT-871 2012-03-22 02:34:54 -04:00
Mike Primm
6cd2a70803 Added for diff visibility:
- ChunkProviderGenerate
- ChunkProviderFlat
- ChunkProviderHell
- ChunkProviderTheEnd
2012-03-22 02:34:41 -04:00
rmichela
0a925ff067 [Bleeding] Added support for custom index help topics in help.yml. Addresses BUKKIT-1263 2012-03-22 00:50:10 -04:00
rmichela
eb3c092ef8 [Bleeding] Added option to completely disable all automatic help topic generation by adding "All" to the ignore-plugins list in help.yml. Addresses BUKKIT-1264 2012-03-22 00:50:09 -04:00
zml2008
31b1bc02ca [Bleeding] Fixed a StackOverflowError with command alias handling for Help. Addresses BUKKIT-1253 2012-03-22 00:50:09 -04:00
zml2008
8aee4c3f56 [Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161 2012-03-21 20:32:17 -04:00
zml2008
27acb4c41e Added WorldGenSwampTree for diff visibility 2012-03-21 20:32:05 -04:00
aPunch
169c2ee8cb [Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232 2012-03-21 16:05:07 -04:00
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
EvilSeph
3054d020d3 Disabled BukkitDLUpdaterServiceTests. Nice to have, but should not be run on every compile as it relies on DLB being up. Addresses BUKKIT-1140 2012-03-15 06:05:36 -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