Commit Graph

2813 Commits

Author SHA1 Message Date
md_5
5c23262f15 Update physics on attached block when setting data of attachable blocks 2016-04-09 12:57:19 +10:00
Thinkofname
8d16fc08f1 Support integer data values for Effect.VILLAGER_PLANT_GROW 2016-04-06 12:26:49 +01:00
md_5
3dc138d980 SPIGOT-2135: Also clear sit pathfinder on toggle status 2016-04-05 20:32:05 +10:00
md_5
60cb5b5603 SPIGOT-2118: Fix crash on chunk regen 2016-04-04 17:15:02 +10:00
md_5
4cc1807b25 SPIGOT-2092: Directly set sittging status 2016-04-04 17:09:57 +10:00
Thinkofname
8b61cc5208 Fix the default permission of /trigger 2016-03-31 00:50:39 +01:00
Thinkofname
6e527e5b88 Update to Minecraft 1.9.2 2016-03-30 21:06:51 +01:00
md_5
15222c84b4 SPIGOT-2074: Correctly set custom world settings 2016-03-28 12:28:12 +11:00
md_5
cd36f6f257 SPIGOT-2060: Method to control whether entities collide 2016-03-27 20:19:41 +11:00
Sansko1337
ea49b2eee9 Implement getting / setting of Entity invulnerability 2016-03-27 10:08:45 +11:00
Redrield
6067e54dd2 SPIGOT-213: Add method to enable / disable AI for mobs 2016-03-27 09:18:42 +11:00
Thinkofname
9554894553 SPIGOT-2049: Send the right attributes when updating scaled health 2016-03-25 23:13:16 +00:00
Thinkofname
6030bc464f Fix a typo in CraftPotionUtil 2016-03-25 21:45:42 +00:00
t00thpick1
0ff499cf03 SPIGOT-2039: Correctly check Potion Tags both with or without the "minecraft:" prefix, and default to UNCRAFTABLE if there is a completely garbage value. 2016-03-24 15:05:10 +11:00
Nathan Wolf
ace06bd9fd CraftComplexPart should return getParent()'s status in isValid 2016-03-23 22:06:50 +11:00
Matthew
c5d27c5f6f Only create PermissibleBase instance in CraftEntity the first time it is actually needed. Fixes static test cases for subclasses failing when perm field was instantiated. 2016-03-23 07:32:34 +11:00
Matthew
5fe510da59 SPIGOT-1934: Expand EnderDragon API - implement dragon phases 2016-03-23 07:30:12 +11:00
Matthew
52c7fc0a1a Implement isEnabled / setEnabled for CraftMinecartHopper 2016-03-20 20:26:21 +11:00
md_5
e56aa46656 SPIGOT-1988: Chorus Plant Generation 2016-03-20 19:02:48 +11:00
t00thpick1
b3f6de0da5 SPIGOT-1904: AreaEffectCloud events and additional API 2016-03-20 11:29:03 +11:00
md_5
105df861ed SPIGOT-1980: Register new brewing slot 2016-03-20 10:22:24 +11:00
md_5
4cd46b242b SPIGOT-1976: Never unload in use chunks. 2016-03-19 14:40:23 +11:00
Matthew
a12b1a4770 Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location) 2016-03-18 14:33:14 +11:00
Matthew
f09f7d8754 Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int) 2016-03-18 14:30:14 +11:00
Matthew
f332350969 Implement SpectralArrow entity 2016-03-18 14:30:14 +11:00
Matthew
e80114dff4 Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean) 2016-03-18 14:30:03 +11:00
Matthew
205982588f Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location) 2016-03-18 14:30:03 +11:00
Matthew
da444904c2 Implement EndGateway state 2016-03-18 14:30:03 +11:00
Matthew
6efa87306b Implement EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean) 2016-03-18 14:29:45 +11:00
Matthew
8cd69933c9 Implement Boat#getWoodType and Boat#setWoodType(TreeSpecies) 2016-03-18 14:29:33 +11:00
AgentLV
8b69bdd0d1 Add hand used to BlockPlaceEvent. 2016-03-16 07:14:10 +11:00
Matthew
e43b2780a5 SPIGOT-1914: Compare PotionEffectType objects using Object#equals(Object) when searching for a custom effect to remove 2016-03-14 16:54:57 +11:00
Matthew
0c7ae56148 SPIGOT-1856 / SPIGOT-1920: Fix Statistic.DROP not returning value when provided with a Material 2016-03-14 08:00:14 +11:00
md_5
55a85357a6 SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe 2016-03-13 09:48:23 +11:00
0x277F
1386bd3ddf SPIGOT-1571: Add Entity Glide Events. 2016-03-12 21:01:07 +11:00
md_5
2bf333e0fc SPIGOT-1901: Fix projectile launching. 2016-03-12 20:41:06 +11:00
md_5
0619f0eb3b SPIGOT-1725: Fix dynamic scoreboard criteria on non-main scoreboards 2016-03-12 17:57:40 +11:00
t00thpick1
4a8818c5fd SPIGOT-1638 / SPIGOT-1673: Rework Potions API 2016-03-12 12:38:22 +11:00
Matthew
1fefbf9b98 SPIGOT-1806: Implement HumanEntity#getMainHand 2016-03-12 08:15:43 +11:00
md_5
4c3da3f6e2 SPIGOT-1862: Fix banners withj shields. 2016-03-10 16:34:33 +11:00
md_5
daf45148d1 SPIGOT-1526 / SPIGOT-1809: Expand Inventory API 2016-03-09 16:33:08 +11:00
md_5
3cfd8ca3cb SPIGOT-1828: CraftBanner tile entity return null 2016-03-08 18:01:54 +11:00
md_5
20d9f644a6 SPIGOT-1823: Use fast chunk lookup in CraftWorld also 2016-03-07 15:52:56 +11:00
Thinkofdeath
0cd6711085 Fix regenerating chunks not updating visually 2016-03-06 23:50:19 +00:00
Lukas Hennig
92494d7dba Added a playSound method to World which accepts a String parameter.
Similar to the respective method in Player.
2016-03-06 12:20:38 +11:00
md_5
b6bb6beb63 SPIGOT-1768: Fix Eye of Ender with custom world generators. 2016-03-06 11:45:25 +11:00
md_5
d6a61e3e5d SPIGOT-1776: Replace BossBar.hide/show with visibility. 2016-03-06 09:55:36 +11:00
BlackHole
45171f0864 SPIGOT-1772: Use correct statistics for entities 2016-03-06 08:28:34 +11:00
md_5
94ba824302 SPIGOT-1758: Apply correct ItemMeta to new CommandBlock types 2016-03-05 15:52:44 +11:00
Lukas Hennig
ef13ca4444 SPIGOT-1549: Fix custom String sounds. 2016-03-04 15:55:40 +11:00
md_5
7863085a62 SPIGOT-1721: Handle Enderman.getCarriedMaterial when not carrying. 2016-03-04 15:50:35 +11:00
md_5
6742811d69 SPIGOT-1666: Expand Team option API 2016-03-04 15:24:57 +11:00
md_5
5a3813d7fe SPIGOT-1608: Add a way to get the hand used in PlayerInteract*Events 2016-03-04 15:24:51 +11:00
md_5
3e3516e3b2 Treat ShulkerBullet as Projectile 2016-03-04 07:22:10 +11:00
Melair
9056e66554 Enable support of PotionMeta on SPLASH_POTION, LINGERING_POTION and TIPPED_ARROW. 2016-03-04 07:19:33 +11:00
md_5
23ad72b4c8 SPIGOT-1683: Arrows are not projectiles 2016-03-03 20:59:10 +11:00
md_5
e2c5473e07 SPIGOT-1679: Shulker bullets are not projectiles. 2016-03-03 17:17:42 +11:00
md_5
78578ca517 SPIGOT-1676: Launch projectiles with velocity 2016-03-03 16:52:19 +11:00
md_5
4d3af9c19b SPIGOT-1677: Fix attributes with only single underscore. 2016-03-03 16:38:57 +11:00
Thinkofdeath
bad994e724 Don't round the location of playSound to the center of a block 2016-03-02 16:02:36 +00:00
Thinkofdeath
09b4549a29 SPIGOT-1640: Fix spawning particles that use MaterialData 2016-03-02 14:51:50 +00:00
md_5
b0411e8799 SPIGOT-1622: Add drop chance methods for off hand. 2016-03-02 17:03:20 +11:00
md_5
912dfae454 SPIGOT-1623: Use correct spawnParticle overloads. 2016-03-02 16:51:09 +11:00
Thinkofdeath
92602ad172 SPIGOT-1610: Treat clicking on an inventory window as clicking outside it 2016-03-01 23:44:22 +00:00
Thinkofdeath
1be3bd058f SPIGOT-1607: Fix BlockPlaceEvent and BlockMultiPlaceEvent sometimes showing the wrong item used 2016-03-01 21:37:08 +00:00
md_5
76c04254c1 SPIGOT-1575: Fix PlayerInventory.setArmorContents 2016-03-02 06:58:45 +11:00
md_5
be538b8a2a SPIGOT-1582: Add SkullType.DRAGON 2016-03-02 06:52:52 +11:00
md_5
dcbb2a45ab SPIGOT-1576: Add more new 1.9 enchants. 2016-03-02 06:39:09 +11:00
md_5
69e196f796 SPIGOT-1567: Rework setItems to set slots correctly regardless of array reference. 2016-03-01 19:59:52 +11:00
md_5
4831c56cdb SPIGOT-1523: Add FLY_INTO_WALL DamageCause to fix Elytra crash v2. 2016-03-01 17:35:18 +11:00
md_5
32587ed8e7 SPIGOT-1545: Populate Vanilla villager trades correctly. 2016-03-01 14:13:42 +11:00
md_5
41c02c0efd SPIGOT-1528: Maintain static sound map due to oversight re: underscore :( 2016-03-01 14:04:41 +11:00
md_5
8b5c9c15b0 SPIGOT-1541: Fix firework launching 2016-03-01 13:46:07 +11:00
md_5
fdaa09b23b SPIGOT-1536: Fix playNote 2016-03-01 13:42:54 +11:00
md_5
3879b98ac2 Ignore FROSTED_ICE in meta unit tests. 2016-03-01 13:30:26 +11:00
md_5
ea28c1e478 SPIGOT-1523: Crash when flying Elytra into wall. 2016-03-01 11:27:13 +11:00
md_5
3f5dfeb074 Run Biome test with AbstractTestingBase 2016-03-01 09:49:29 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
BlackHole
e1ebe524a7 [SPIGOT-1494] Really fix player skulls with custom texture but without owner. 2016-02-19 09:22:45 +11:00
md_5
69fe73e7d9 [SPIGOT-1465] Fix skulls with no owner not displaying texture. 2016-02-05 11:44:06 +11:00
Andrew
039621dd44 Strengthen CraftMetaSkull hasOwner method 2016-02-02 16:37:15 +11:00
Thinkofdeath
930a59c68c Remove the length limit on inventory titles
1.8 no longer has a small limit like previous versions
2016-01-29 10:29:12 +00:00
ryanbennitt
07c300164a SPIGOT-1390: Fixed issues with Array.fill upper bound in setRegion 2016-01-03 15:21:05 +11:00
md_5
18fbb24b46 SPIGOT-1235: Correctly validate MaterialData for playEffect.
Thanks Jikoo for the report / fix.
2015-10-18 19:40:00 +11:00
Adam Thomas
f4c67a5c32 SPIGOT-1232: CraftServer.getPlayer(String name) returns incorrect results in some cases.
Use the absolute value of the delta to prevent negative values resulting in a better match.
2015-10-18 19:38:46 +11:00
md_5
12698ea5ad SPIGOT-1230: Normalize null log names in ForwardLogHandler.
Not technically 100% correct since null != "null", but without sacrficing performance this is the best way to fix the issue in the current implementation.
2015-10-10 22:09:31 +11:00
DemonWav
d4e32cef0c SPIGOT-759: Add FireworkExplodeEvent. 2015-09-30 09:02:11 +10:00
BlackyPaw
8cc1683e83 SPIGOT-989: Cap assignment of pickup delays to Short.MAX_VALUE due to storage implementation constraints.
Changed assignment of pickup delays in such a way that they may not be larger than the value actually stored inside the NBT format that is Short.MAX_VALUE. Did not change method signature in order not to produce any shortening cast warnings in existing code. All values larger than 32767 are generally used to indicate that an item should never be picked up. Shortening this to 32767 will actually cause the pickup delay to never decrease, thus resulting in non-pickupable item stacks.
2015-09-30 08:48:28 +10:00
md_5
62a216966f SPIGOT-1076: Add HurtEntities API for FallingBlock. 2015-09-19 09:27:51 +10:00
Thinkofdeath
a0d2928ba4 Add a missing break statement for openInventory, fixes opening dropper inventories 2015-09-18 21:42:40 +01:00
0x277F
2d4f577bbf Fixed how Dropper inventories are shown to players. 2015-09-18 15:16:50 +10:00
md_5
701ae54ffc SPIGOT-1192: Restore some behaviour to entity.getNearbyEntities 2015-09-18 15:15:56 +10:00
md_5
5e9f698fac SPIGOT-1165: Restore getNearbyEntities behaviour to include spectators. 2015-09-06 14:54:41 +10:00
Antony Riley
880a53248e New ChunkGenerator.generate api for block ids and avoiding magic values. 2015-08-01 21:22:29 +10:00
Riccardo Paolo Bestetti
5e85956281 SPIGOT-1080: Added support for opening all inventories implementing Bukkit's Inventory class. 2015-07-31 18:47:09 +10:00
md_5
9935adc4ed Update for minor remapping changes. 2015-07-30 17:13:35 +10:00
Thinkofdeath
2642f9b344 SPIGOT-1068: Limit the number of patterns on banners 2015-07-23 20:50:53 +01:00
Xor Boole
3e9b5c93d6 Prevent an Entity from riding itself. 2015-07-20 16:18:08 +10:00
Antony Riley
87b9f46d72 SPIGOT-1060: Allow custom generators to use block ids > 127 with bytes. 2015-07-19 09:23:48 +10:00
md_5
09ddd9b35e SPIGOT-1051: CraftInventoryPlayer.setItem can cause NPE. 2015-07-18 12:43:33 +10:00
Antony Riley
bf4818b94a Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set. 2015-07-15 19:47:59 +03:00
md_5
b105298f2e Simplify getPlayerExact / try for exact match first in getPlayer. 2015-07-13 19:00:33 +10:00
md_5
65cd4d79fd Simplify OfflinePlayer.getPlayer() logic. 2015-07-13 18:54:08 +10:00
md_5
1f73bbb56a Simplify isOnline() logic. 2015-07-13 18:30:25 +10:00
Morphan1
2359f6fcb0 Implement ItemMergeEvent 2015-07-12 19:57:38 +10:00
Jofkos
a03743b3b4 Add basic sendTitle / resetTitle API.
More APIs to follow pending feedback of whether this is the preferred implementation. Methods marked as deprecated and subject to change, but work as is.
2015-07-10 16:24:02 +10:00
Thinkofdeath
f27339caf8 SPIGOT-977: Use vanilla's handling for command messages for vanilla commands
Fixes gamerules that control the output of those messages
2015-07-08 23:19:21 +01:00
BlackyPaw
e91aed81b3 SPIGOT-986: Default back to skull ID 0 (SKELETON) whenever an invalid ID is encountered instead of throwing an AssertionError 2015-06-28 08:44:27 +10:00
DoctorDark
d432434fd8 SPIGOT-980: Fix NPE when setting items of offline players 2015-06-27 15:48:22 +10:00
md_5
76c834a849 Clean up World.getPlayers().
Original idea from CyberTiger, PR #150
2015-06-27 15:46:19 +10:00
md_5
994b2aae3f SPIGOT-892: Set chicken egg baby age before adding it to world. 2015-06-21 09:20:07 +10:00
md_5
0dfb243c86 SPIGOT-436: Add accompanying getSpectatorTarget(). 2015-06-21 09:20:07 +10:00
Nathan Wolf
1880a9c0b6 SPIGOT-973: Add marker API to ArmorStand 2015-06-09 09:36:31 +10:00
md_5
f4ecc39ffc SPIGOT-436: Add spectator camera API. 2015-06-09 09:17:54 +10:00
Nathan Wolf
845336b511 Serialize full skull item profile data in internal blob 2015-06-07 20:31:01 +01:00
md_5
e8c64031b1 Update commands.yml headers 2015-06-01 19:23:31 +10:00
md_5
d33f0dd3ba Remove unused bukkit.yml options and update links / info. 2015-05-31 12:11:56 +10:00
Thinkofdeath
8c14eb49ef Handle a missed case with our vanilla permissions override 2015-05-30 00:06:18 +01:00
Matt
55202e1f99 Add ability to add a string to a scoreboard instead of a player 2015-05-29 19:36:14 +10:00
DemonWav
c637b933dc Send the packet for the correct container, rather than just the container that is active at the time. - SPIGOT-932 2015-05-28 17:19:36 +10:00
DemonWav
75f835c07a Send the set item packet to the client when an item is changed or added in a player's inventory - Addresses SPIGOT-883 2015-05-26 18:46:24 +10:00
md_5
25de1e6baf SPIGOT-769: Fix opening custom inventories. 2015-05-24 10:42:53 +10:00
Nathan Wolf
7bc9c08eb4 Default to BlockFace.SELF for null directions in getFacing 2015-05-24 09:25:02 +10:00
Thinkofdeath
a486600749 Update to 1.8.4 2015-05-17 10:32:59 +01:00
Matt
0a645a2726 Remove unneeded Java 1.5 Compat 2015-05-03 09:11:45 +10:00
Cory Redmond
7722428895 Add the ability for commandblocks to be sent messages via the API. 2015-04-19 09:15:15 +10:00
Thinkofdeath
8e5e4c189b SPIGOT-581: Allow for unhandled nbt tags to be serialized to yaml 2015-04-16 11:01:13 +01:00
Thinkofdeath
5b2764148d SPIGOT-798: Allow for CustomPotionEffects to be empty 2015-04-15 15:02:34 +01:00
Thinkofdeath
e4ca2af9c4 Strip events from book pages on signing 2015-04-14 10:28:34 +01:00
Thinkofdeath
a25c96eda7 SPIGOT-742: Throw an exception instead of passing null when the sender cannot be converted 2015-04-13 11:51:04 +01:00
Thinkofdeath
35d953bac8 Replace the two nextTickList sets with a single one that combines both
Should prevent them from going out of sync
2015-04-13 11:04:38 +01:00
Nathan Wolf
96c2c39245 Implement World.getNearbyEntities 2015-04-07 19:08:07 +10:00
Thinkofdeath
61ef214f91 Implement BlockStateMeta which allows creating and editting 1.8's blockEntityTag 2015-03-24 16:02:47 +00:00
Thinkofdeath
3fce0ec0f5 SPIGOT-729: Revert the entity slice move 2015-03-22 19:01:30 +00:00
Thinkofdeath
350cb9927e Update the rename markers 2015-03-19 21:29:33 +00:00
Thinkofdeath
234e60735c SPIGOT-716: Fix regenerating chunks 2015-03-17 21:17:56 +00:00
Thinkofdeath
30d751b362 Move the entity slice loading 2015-03-16 19:44:51 +00:00
Thinkofdeath
7f609b12b9 SPIGOT-705: Fix possible CME 2015-03-15 21:38:05 +00:00
md_5
6e0120a058 SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit bbe75338c1) 2015-03-13 17:53:15 +11:00
md_5
bbe75338c1 SPIGOT-323: Enchanting tables can no longer be force opened. 2015-03-13 17:48:57 +11:00
Thinkofdeath
2acb9e4ec3 SPIGOT-370: Remove LOCKED_CHEST
It doesn't exist anymore and has been deprecated for a year
2015-03-11 17:50:32 +00:00
Thinkofdeath
7f52bd6c95 Fix getActivePotionEffects ignoring the particles flag 2015-03-11 13:18:06 +00:00
Thinkofdeath
294d07dcc0 SPIGOT-678: Fix the particles flag being ignored in PotionMeta 2015-03-11 11:54:31 +00:00
Thinkofdeath
4e47c1c393 Add a unit test for map colors 2015-03-07 12:57:59 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
Thinkofdeath
3ee97a30eb SPIGOT-586: Fix a mistake in CraftMetaItem 2015-02-18 10:21:40 +00:00
md_5
726656b864 Fix hashcode / equals / formatting. 2015-02-15 12:54:18 +11:00
md_5
709f95833b API for setting/getting hideFlags. Implementation of the hideFlags to be saved in NBT. 2015-02-15 12:47:07 +11:00
FearThe1337
116514c162 Implement armor stand event. 2015-02-15 12:24:14 +11:00
BillyGalbreath
9648edfa61 Add alternatives for deprecated methods 2015-02-15 12:16:12 +11:00