13
0
geforkt von Mirrors/Paper
Commit graph

1694 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
a9e1194e19 SPIGOT-2387: Magma does not provide a block for EntityDamageEvent.
By: md_5 <git@md-5.net>
2016-06-11 16:11:51 +10:00
CraftBukkit/Spigot
e80d96c274 SPIGOT-2380: Hitting in the air will always load the chunk at 0,0
By: md_5 <git@md-5.net>
2016-06-11 09:21:44 +10:00
CraftBukkit/Spigot
077171a07e SPIGOT-2369: Tab completing non existant command
By: md_5 <git@md-5.net>
2016-06-09 20:47:39 +10:00
CraftBukkit/Spigot
3b8eb9f744 Add DamageCause.HOT_FLOOR
By: md_5 <git@md-5.net>
2016-06-09 12:45:07 +10:00
CraftBukkit/Spigot
8074673c1d Better map Zombie/Villager professions.
By: md_5 <git@md-5.net>
2016-06-09 12:20:30 +10:00
CraftBukkit/Spigot
a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +10:00
CraftBukkit/Spigot
604d9373c0 SPIGOT-249: Set skull owner by UUID
By: md_5 <git@md-5.net>
2016-06-01 21:39:49 +10:00
CraftBukkit/Spigot
d1bc45c836 SPIGOT-1292: BlockState based FlowerPot API.
By: md_5 <git@md-5.net>
2016-06-01 17:08:55 +10:00
CraftBukkit/Spigot
531c257647 SPIGOT-783: API for book generation data.
By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-03 00:10:06 +01:00
CraftBukkit/Spigot
a9862b5459 SPIGOT-713: APIs to manipulate Entity's silent status.
By: Sansko1337 <sanderknauff@hotmail.com>
2016-05-27 17:34:11 +02:00
CraftBukkit/Spigot
c1bd122e35 SPIGOT-2336: Zombie.setVillager(Z)V
By: md_5 <git@md-5.net>
2016-05-31 20:55:17 +10:00
CraftBukkit/Spigot
aa92b77bfe SPIGOT-2315: Neighbour chunk unload marking
By: md_5 <git@md-5.net>
2016-05-25 18:21:54 +10:00
CraftBukkit/Spigot
e5cc347b6e Implementation of interface to modify the pumpkin head "derp mode" of a snowman
By: minoneer <minoneer@gmail.com>
2016-05-18 00:42:14 +02:00
CraftBukkit/Spigot
07c0e6067b Implement TabCompleteEvent
By: md_5 <git@md-5.net>
2016-05-16 16:59:57 +10:00
CraftBukkit/Spigot
3d355b6e64 SPIGOT-2285: New CommandBlock types.
By: md_5 <git@md-5.net>
2016-05-16 16:38:43 +10:00
CraftBukkit/Spigot
141be4ba51 SPIGOT-2286: Don't store CraftBlockState light level
By: md_5 <git@md-5.net>
2016-05-16 16:37:22 +10:00
CraftBukkit/Spigot
3d3e6cdcad Fix some [but not all] chunk unload issues
By: md_5 <git@md-5.net>
2016-05-11 15:34:16 +10:00
CraftBukkit/Spigot
d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00
CraftBukkit/Spigot
6ada881202 SPIGOT-2206: playEffect doesn't accept sub classes of the expected data type
By: md_5 <git@md-5.net>
2016-04-26 09:35:17 +10:00
CraftBukkit/Spigot
e622278811 SPIGOT-2213: Fix custom anvil inventory
By: md_5 <git@md-5.net>
2016-04-24 16:20:53 +10:00
CraftBukkit/Spigot
4b22260d42 SPIGOT-2211: Fix offhand slot client refresh
By: md_5 <git@md-5.net>
2016-04-24 12:30:55 +10:00
CraftBukkit/Spigot
5893d23355 Missing import
By: md_5 <git@md-5.net>
2016-04-11 19:26:47 +10:00
CraftBukkit/Spigot
6eac1fc417 Properly validate boss bar progress
By: 2008Choco <hawkeboyz2@hotmail.com>
2016-04-11 19:16:25 +10:00
CraftBukkit/Spigot
8e83dbabf9 Fix broken potion serialization
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-10 20:54:16 +01:00
CraftBukkit/Spigot
cfffbb4d68 SPIGOT-2085 / SPIGOT-2087 / SPIGOT-2156: Rework internal PotionMeta state to be correct and less complex.
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-04-09 11:49:04 -04:00
CraftBukkit/Spigot
5c7c823a9a Begin console output with ANSI line erase.
By: Jofkos <JofkosDE@gmail.com>
2016-04-08 17:01:22 +02:00
CraftBukkit/Spigot
4d559fa1ca Update physics on attached block when setting data of attachable blocks
By: md_5 <git@md-5.net>
2016-04-09 12:57:19 +10:00
CraftBukkit/Spigot
1a22334d31 Support integer data values for Effect.VILLAGER_PLANT_GROW
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-04-06 12:26:49 +01:00
CraftBukkit/Spigot
863a77436f SPIGOT-2135: Also clear sit pathfinder on toggle status
By: md_5 <git@md-5.net>
2016-04-05 20:32:05 +10:00
CraftBukkit/Spigot
d2f7c88b8d SPIGOT-2118: Fix crash on chunk regen
By: md_5 <git@md-5.net>
2016-04-04 17:15:02 +10:00
CraftBukkit/Spigot
d76c6e0cf4 SPIGOT-2092: Directly set sittging status
By: md_5 <git@md-5.net>
2016-04-04 17:09:57 +10:00
CraftBukkit/Spigot
f9ba5f4744 Fix the default permission of /trigger
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-31 00:50:39 +01:00
CraftBukkit/Spigot
094f30f26d Update to Minecraft 1.9.2
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-30 20:50:59 +01:00
CraftBukkit/Spigot
98e7045a09 SPIGOT-2074: Correctly set custom world settings
By: md_5 <git@md-5.net>
2016-03-28 12:28:12 +11:00
CraftBukkit/Spigot
eb3bbd68cc SPIGOT-2060: Method to control whether entities collide
By: md_5 <git@md-5.net>
2016-03-27 20:19:41 +11:00
CraftBukkit/Spigot
461d9faf00 Implement getting / setting of Entity invulnerability
By: Sansko1337 <sanderknauff@hotmail.com>
2016-03-25 00:45:24 +01:00
CraftBukkit/Spigot
c75ec3cef3 SPIGOT-213: Add method to enable / disable AI for mobs
By: Redrield <purbleguy@gmail.com>
2016-03-26 01:42:27 -04:00
CraftBukkit/Spigot
3c7782562d SPIGOT-2049: Send the right attributes when updating scaled health
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-25 23:13:16 +00:00
CraftBukkit/Spigot
ace6224808 Fix a typo in CraftPotionUtil
By: Thinkofname <thinkofdeath@spigotmc.org>
2016-03-25 21:45:42 +00:00
CraftBukkit/Spigot
12ab2cfb28 SPIGOT-2039: Correctly check Potion Tags both with or without the "minecraft:" prefix, and default to UNCRAFTABLE if there is a completely garbage value.
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-23 23:42:15 -05:00
CraftBukkit/Spigot
637ea51428 CraftComplexPart should return getParent()'s status in isValid
By: Nathan Wolf <nathan@elmakers.com>
2016-03-22 14:19:59 -07:00
CraftBukkit/Spigot
07a80cec7f 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.
By: Matthew <stteg@hotmail.com>
2016-03-21 18:51:07 -04:00
CraftBukkit/Spigot
15f22a7986 SPIGOT-1934: Expand EnderDragon API - implement dragon phases
By: Matthew <stteg@hotmail.com>
2016-03-15 23:32:37 -04:00
CraftBukkit/Spigot
1a03d09e14 Implement isEnabled / setEnabled for CraftMinecartHopper
By: Matthew <stteg@hotmail.com>
2016-03-18 11:42:33 -04:00
CraftBukkit/Spigot
0d7ce64a2f SPIGOT-1988: Chorus Plant Generation
By: md_5 <git@md-5.net>
2016-03-20 19:02:48 +11:00
CraftBukkit/Spigot
fb5328bb3c SPIGOT-1904: AreaEffectCloud events and additional API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-12 12:12:25 -05:00
CraftBukkit/Spigot
95133063a1 SPIGOT-1980: Register new brewing slot
By: md_5 <git@md-5.net>
2016-03-20 10:22:24 +11:00
CraftBukkit/Spigot
75c3223fb3 SPIGOT-1976: Never unload in use chunks.
By: md_5 <git@md-5.net>
2016-03-19 14:40:23 +11:00
CraftBukkit/Spigot
3af9fd9395 Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location)
By: Matthew <stteg@hotmail.com>
2016-03-16 19:56:48 -04:00
CraftBukkit/Spigot
854e2a5110 Implement SpectralArrow#getGlowingTicks and SpectralArrow#setGlowingTicks(int)
By: Matthew <stteg@hotmail.com>
2016-03-17 15:00:24 -04:00
CraftBukkit/Spigot
902081bc92 Implement SpectralArrow entity
By: Matthew <stteg@hotmail.com>
2016-03-17 14:42:58 -04:00
CraftBukkit/Spigot
c5080500ff Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean)
By: Matthew <stteg@hotmail.com>
2016-03-16 21:48:53 -04:00
CraftBukkit/Spigot
05f89ee25c Implement EndGateway#getExitLocation and EndGateway#setExitLocation(Location)
By: Matthew <stteg@hotmail.com>
2016-03-16 21:30:40 -04:00
CraftBukkit/Spigot
a5edfa02ce Implement EndGateway state
By: Matthew <stteg@hotmail.com>
2016-03-16 20:50:55 -04:00
CraftBukkit/Spigot
f400279a5b Implement EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean)
By: Matthew <stteg@hotmail.com>
2016-03-16 19:53:18 -04:00
CraftBukkit/Spigot
9ec13752b3 Implement Boat#getWoodType and Boat#setWoodType(TreeSpecies)
By: Matthew <stteg@hotmail.com>
2016-03-16 19:08:24 -04:00
CraftBukkit/Spigot
f894964ecd Add hand used to BlockPlaceEvent.
By: AgentLV <contact@agentlv.net>
2016-03-14 23:26:23 +01:00
CraftBukkit/Spigot
7686c72be2 SPIGOT-1914: Compare PotionEffectType objects using Object#equals(Object) when searching for a custom effect to remove
By: Matthew <stteg@hotmail.com>
2016-03-13 17:39:44 -04:00
CraftBukkit/Spigot
587e2e1740 SPIGOT-1856 / SPIGOT-1920: Fix Statistic.DROP not returning value when provided with a Material
By: Matthew <stteg@hotmail.com>
2016-03-13 15:32:26 -04:00
CraftBukkit/Spigot
9382269cf0 SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe
By: md_5 <git@md-5.net>
2016-03-13 09:48:23 +11:00
CraftBukkit/Spigot
8f219bb7a6 SPIGOT-1571: Add Entity Glide Events.
By: 0x277F <0x277F@gmail.com>
2016-03-12 20:57:32 +11:00
CraftBukkit/Spigot
1ce9773dca SPIGOT-1901: Fix projectile launching.
By: md_5 <git@md-5.net>
2016-03-12 20:41:06 +11:00
CraftBukkit/Spigot
d42806b5b0 SPIGOT-1725: Fix dynamic scoreboard criteria on non-main scoreboards
By: md_5 <git@md-5.net>
2016-03-12 17:57:40 +11:00
CraftBukkit/Spigot
104519f08f SPIGOT-1638 / SPIGOT-1673: Rework Potions API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-02 20:43:58 -05:00
CraftBukkit/Spigot
c851dee005 SPIGOT-1806: Implement HumanEntity#getMainHand
By: Matthew <stteg@hotmail.com>
2016-03-11 13:01:26 -05:00
CraftBukkit/Spigot
45307a5099 SPIGOT-1862: Fix banners withj shields.
By: md_5 <git@md-5.net>
2016-03-10 16:34:33 +11:00
CraftBukkit/Spigot
b5a813d40d SPIGOT-1526 / SPIGOT-1809: Expand Inventory API
By: md_5 <git@md-5.net>
2016-03-07 17:20:24 +11:00
CraftBukkit/Spigot
2f46ee7dbf SPIGOT-1828: CraftBanner tile entity return null
By: md_5 <git@md-5.net>
2016-03-08 18:01:54 +11:00
CraftBukkit/Spigot
3a052a7919 SPIGOT-1823: Use fast chunk lookup in CraftWorld also
By: md_5 <git@md-5.net>
2016-03-07 15:52:48 +11:00
CraftBukkit/Spigot
099fbb9235 Fix regenerating chunks not updating visually
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-06 23:49:28 +00:00
CraftBukkit/Spigot
8474b6acc3 Added a playSound method to World which accepts a String parameter.
Similar to the respective method in Player.

By: Lukas Hennig <lukas@wirsindwir.de>
2016-03-06 12:20:38 +11:00
CraftBukkit/Spigot
d1ec671571 SPIGOT-1768: Fix Eye of Ender with custom world generators.
By: md_5 <git@md-5.net>
2016-03-06 11:45:25 +11:00
CraftBukkit/Spigot
03a58cbff4 SPIGOT-1776: Replace BossBar.hide/show with visibility.
By: md_5 <git@md-5.net>
2016-03-06 09:55:36 +11:00
CraftBukkit/Spigot
819131cad1 SPIGOT-1772: Use correct statistics for entities
By: BlackHole <black-hole@live.com>
2016-03-05 20:58:48 +01:00
CraftBukkit/Spigot
4fc9890f64 SPIGOT-1758: Apply correct ItemMeta to new CommandBlock types
By: md_5 <git@md-5.net>
2016-03-05 15:52:44 +11:00
CraftBukkit/Spigot
3cb5dd22bb SPIGOT-1549: Fix custom String sounds.
By: Lukas Hennig <lukas@wirsindwir.de>
2016-03-04 15:55:40 +11:00
CraftBukkit/Spigot
2e03112d2d SPIGOT-1721: Handle Enderman.getCarriedMaterial when not carrying.
By: md_5 <git@md-5.net>
2016-03-04 15:50:35 +11:00
CraftBukkit/Spigot
b3cf0dfe0a SPIGOT-1666: Expand Team option API
By: md_5 <git@md-5.net>
2016-03-03 19:12:48 +11:00
CraftBukkit/Spigot
a15545299d SPIGOT-1608: Add a way to get the hand used in PlayerInteract*Events
By: md_5 <git@md-5.net>
2016-03-04 15:24:51 +11:00
CraftBukkit/Spigot
f668c8bc0e Treat ShulkerBullet as Projectile
By: md_5 <git@md-5.net>
2016-03-03 17:30:03 +11:00
CraftBukkit/Spigot
4cd50efad7 Enable support of PotionMeta on SPLASH_POTION, LINGERING_POTION and TIPPED_ARROW.
By: Melair <melair@caldonia.net>
2016-03-02 17:51:36 +00:00
CraftBukkit/Spigot
4dd9f419ec SPIGOT-1683: Arrows are not projectiles
By: md_5 <git@md-5.net>
2016-03-03 20:59:10 +11:00
CraftBukkit/Spigot
6310bf54cb SPIGOT-1679: Shulker bullets are not projectiles.
By: md_5 <git@md-5.net>
2016-03-03 17:17:42 +11:00
CraftBukkit/Spigot
5d588f6f5d SPIGOT-1676: Launch projectiles with velocity
By: md_5 <git@md-5.net>
2016-03-03 16:52:19 +11:00
CraftBukkit/Spigot
4ca4351148 SPIGOT-1677: Fix attributes with only single underscore.
By: md_5 <git@md-5.net>
2016-03-03 16:38:57 +11:00
CraftBukkit/Spigot
c70fc5599e Don't round the location of playSound to the center of a block
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 16:02:36 +00:00
CraftBukkit/Spigot
6a24b56032 SPIGOT-1640: Fix spawning particles that use MaterialData
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 14:51:50 +00:00
CraftBukkit/Spigot
65738f6540 SPIGOT-1622: Add drop chance methods for off hand.
By: md_5 <git@md-5.net>
2016-03-02 17:03:20 +11:00
CraftBukkit/Spigot
371988b00e SPIGOT-1623: Use correct spawnParticle overloads.
By: md_5 <git@md-5.net>
2016-03-02 16:51:03 +11:00
CraftBukkit/Spigot
f7e9806a80 SPIGOT-1610: Treat clicking on an inventory window as clicking outside it
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 23:44:22 +00:00
CraftBukkit/Spigot
d0300bb4e0 SPIGOT-1607: Fix BlockPlaceEvent and BlockMultiPlaceEvent sometimes showing the wrong item used
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:37:08 +00:00
CraftBukkit/Spigot
453753b3a3 SPIGOT-1575: Fix PlayerInventory.setArmorContents
By: md_5 <git@md-5.net>
2016-03-02 06:58:45 +11:00
CraftBukkit/Spigot
644995a8e5 SPIGOT-1582: Add SkullType.DRAGON
By: md_5 <git@md-5.net>
2016-03-02 06:52:52 +11:00
CraftBukkit/Spigot
d0640b9cd7 SPIGOT-1576: Add more new 1.9 enchants.
By: md_5 <git@md-5.net>
2016-03-02 06:39:09 +11:00
CraftBukkit/Spigot
bfaa5525f9 SPIGOT-1567: Rework setItems to set slots correctly regardless of array reference.
By: md_5 <git@md-5.net>
2016-03-01 19:59:52 +11:00
CraftBukkit/Spigot
99001e5c52 SPIGOT-1523: Add FLY_INTO_WALL DamageCause to fix Elytra crash v2.
By: md_5 <git@md-5.net>
2016-03-01 17:35:18 +11:00
CraftBukkit/Spigot
42a4bc80e2 SPIGOT-1545: Populate Vanilla villager trades correctly.
By: md_5 <git@md-5.net>
2016-03-01 14:13:42 +11:00
CraftBukkit/Spigot
4d379a2627 SPIGOT-1528: Maintain static sound map due to oversight re: underscore :(
By: md_5 <git@md-5.net>
2016-03-01 14:04:41 +11:00
CraftBukkit/Spigot
aedd9af144 SPIGOT-1541: Fix firework launching
By: md_5 <git@md-5.net>
2016-03-01 13:46:07 +11:00
CraftBukkit/Spigot
343d04f7cd SPIGOT-1536: Fix playNote
By: md_5 <git@md-5.net>
2016-03-01 13:42:54 +11:00
CraftBukkit/Spigot
84d08ed896 Ignore FROSTED_ICE in meta unit tests.
By: md_5 <git@md-5.net>
2016-03-01 13:30:26 +11:00
CraftBukkit/Spigot
9958bd4c52 SPIGOT-1523: Crash when flying Elytra into wall.
By: md_5 <git@md-5.net>
2016-03-01 11:27:13 +11:00
CraftBukkit/Spigot
47dc73969e Run Biome test with AbstractTestingBase
By: md_5 <git@md-5.net>
2016-03-01 09:49:29 +11:00
CraftBukkit/Spigot
21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00
CraftBukkit/Spigot
2da480a9c8 [SPIGOT-1494] Really fix player skulls with custom texture but without owner.
By: BlackHole <black-hole@live.com>
2016-02-17 02:15:43 +01:00
CraftBukkit/Spigot
0b8791b7fc [SPIGOT-1465] Fix skulls with no owner not displaying texture.
By: md_5 <git@md-5.net>
2016-02-05 11:44:06 +11:00
CraftBukkit/Spigot
fd6787491b Strengthen CraftMetaSkull hasOwner method
By: Andrew <andrew@epifano.codes>
2016-02-02 16:37:15 +11:00
CraftBukkit/Spigot
9dd1f7fef4 Remove the length limit on inventory titles
1.8 no longer has a small limit like previous versions

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-01-29 10:29:12 +00:00
CraftBukkit/Spigot
94c5a50dc3 SPIGOT-1390: Fixed issues with Array.fill upper bound in setRegion
By: ryanbennitt <ryanbennitt@googlemail.com>
2016-01-01 14:03:17 +00:00
CraftBukkit/Spigot
21f51e5f5b SPIGOT-1235: Correctly validate MaterialData for playEffect.
Thanks Jikoo for the report / fix.

By: md_5 <git@md-5.net>
2015-10-18 19:40:00 +11:00
CraftBukkit/Spigot
1c505181d5 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.

By: Adam Thomas <aet2505@gmail.com>
2015-10-14 18:56:08 +01:00
CraftBukkit/Spigot
5f68a2157e 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.

By: md_5 <git@md-5.net>
2015-10-10 22:08:44 +11:00
CraftBukkit/Spigot
cc7273b066 SPIGOT-759: Add FireworkExplodeEvent.
By: DemonWav <demonwav@gmail.com>
2015-09-30 09:02:11 +10:00
CraftBukkit/Spigot
05031ccd5e 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.

By: BlackyPaw <kapilands@web.de>
2015-06-21 12:28:37 +02:00
CraftBukkit/Spigot
7684642aa9 SPIGOT-1076: Add HurtEntities API for FallingBlock.
By: md_5 <git@md-5.net>
2015-08-01 16:48:20 +10:00
CraftBukkit/Spigot
702701f4ce Add a missing break statement for openInventory, fixes opening dropper inventories
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-09-18 21:42:40 +01:00
CraftBukkit/Spigot
9cc3d2c1df Fixed how Dropper inventories are shown to players.
By: 0x277F <0x277F@gmail.com>
2015-09-17 15:14:32 -06:00
CraftBukkit/Spigot
08a3d51d7c SPIGOT-1192: Restore some behaviour to entity.getNearbyEntities
By: md_5 <git@md-5.net>
2015-09-18 15:15:56 +10:00
CraftBukkit/Spigot
921337db16 SPIGOT-1165: Restore getNearbyEntities behaviour to include spectators.
By: md_5 <git@md-5.net>
2015-09-06 14:54:41 +10:00
CraftBukkit/Spigot
4d40084c65 New ChunkGenerator.generate api for block ids and avoiding magic values.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-28 16:22:13 +03:00
CraftBukkit/Spigot
fa2e7e41c0 SPIGOT-1080: Added support for opening all inventories implementing Bukkit's Inventory class.
By: Riccardo Paolo Bestetti <riccardo.kyogre@live.it>
2015-07-30 18:34:01 +10:00
CraftBukkit/Spigot
c35a7254c5 Update for minor remapping changes.
By: md_5 <git@md-5.net>
2015-07-30 16:56:52 +10:00
CraftBukkit/Spigot
9a15d77433 SPIGOT-1068: Limit the number of patterns on banners
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-23 20:50:53 +01:00
CraftBukkit/Spigot
50a4a79f61 Prevent an Entity from riding itself.
By: Xor Boole <mcyoung@mit.edu>
2015-07-20 16:18:08 +10:00
CraftBukkit/Spigot
4a7005310e SPIGOT-1060: Allow custom generators to use block ids > 127 with bytes.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-18 23:06:31 +03:00
CraftBukkit/Spigot
06bf5fda59 SPIGOT-1051: CraftInventoryPlayer.setItem can cause NPE.
By: md_5 <git@md-5.net>
2015-07-18 12:43:33 +10:00
CraftBukkit/Spigot
d9151fa3c1 Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set.
By: Antony Riley <antony@cyberiantiger.org>
2015-07-15 19:47:59 +03:00
CraftBukkit/Spigot
3cb3a3bd2e Simplify getPlayerExact / try for exact match first in getPlayer.
By: md_5 <git@md-5.net>
2015-07-13 19:00:33 +10:00
CraftBukkit/Spigot
e19d7d24a2 Simplify OfflinePlayer.getPlayer() logic.
By: md_5 <git@md-5.net>
2015-07-13 18:54:08 +10:00
CraftBukkit/Spigot
f0c27fe66c Simplify isOnline() logic.
By: md_5 <git@md-5.net>
2015-07-13 18:30:25 +10:00
CraftBukkit/Spigot
6c1f679dd7 Implement ItemMergeEvent
By: Morphan1 <morphanone@gmail.com>
2015-06-26 05:55:33 -04:00
CraftBukkit/Spigot
af2b41da07 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.

By: Jofkos <JofkosDE@gmail.com>
2015-07-10 16:24:02 +10:00
CraftBukkit/Spigot
e9823c2717 SPIGOT-977: Use vanilla's handling for command messages for vanilla commands
Fixes gamerules that control the output of those messages

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 23:19:21 +01:00
CraftBukkit/Spigot
4f4f65f128 SPIGOT-986: Default back to skull ID 0 (SKELETON) whenever an invalid ID is encountered instead of throwing an AssertionError
By: BlackyPaw <kapilands@web.de>
2015-06-18 14:20:01 +02:00
CraftBukkit/Spigot
eb910f7764 SPIGOT-980: Fix NPE when setting items of offline players
By: DoctorDark <doctordark11@gmail.com>
2015-06-10 23:35:49 +01:00
CraftBukkit/Spigot
2d453c57bf Clean up World.getPlayers().
Original idea from CyberTiger, PR #150

By: md_5 <git@md-5.net>
2015-06-27 15:46:19 +10:00
CraftBukkit/Spigot
a06700d1aa SPIGOT-892: Set chicken egg baby age before adding it to world.
By: md_5 <git@md-5.net>
2015-06-12 16:00:08 +10:00
CraftBukkit/Spigot
181cd3fd33 SPIGOT-436: Add accompanying getSpectatorTarget().
By: md_5 <git@md-5.net>
2015-06-12 15:34:54 +10:00
CraftBukkit/Spigot
edcd4ced4b SPIGOT-973: Add marker API to ArmorStand
By: Nathan Wolf <nathan@elmakers.com>
2015-06-09 09:34:37 +10:00
CraftBukkit/Spigot
75912b19d6 SPIGOT-436: Add spectator camera API.
By: md_5 <git@md-5.net>
2015-06-07 17:54:29 +10:00
CraftBukkit/Spigot
4e24c96462 Serialize full skull item profile data in internal blob
By: Nathan Wolf <nathan@elmakers.com>
2015-04-16 07:51:08 -07:00
CraftBukkit/Spigot
c72d0324fc Update commands.yml headers
By: md_5 <git@md-5.net>
2015-06-01 19:23:31 +10:00
CraftBukkit/Spigot
a0a199a242 Remove unused bukkit.yml options and update links / info.
By: md_5 <git@md-5.net>
2015-05-31 12:11:56 +10:00
CraftBukkit/Spigot
4f2f0c69f2 Handle a missed case with our vanilla permissions override
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-30 00:06:18 +01:00
CraftBukkit/Spigot
a691408b2c Add ability to add a string to a scoreboard instead of a player
By: Matt <mattbdev@outlook.com>
2015-05-12 22:42:47 -04:00
CraftBukkit/Spigot
7a63a644d9 Send the packet for the correct container, rather than just the container that is active at the time. - SPIGOT-932
By: DemonWav <demonwav@gmail.com>
2015-05-27 14:59:06 -05:00
CraftBukkit/Spigot
ea2a79ee8a Send the set item packet to the client when an item is changed or added in a player's inventory - Addresses SPIGOT-883
By: DemonWav <demonwav@gmail.com>
2015-05-21 06:07:16 -05:00
CraftBukkit/Spigot
027da9d004 SPIGOT-769: Fix opening custom inventories.
By: md_5 <git@md-5.net>
2015-05-24 10:42:53 +10:00
CraftBukkit/Spigot
151cf48284 Default to BlockFace.SELF for null directions in getFacing
By: Nathan Wolf <nathan@elmakers.com>
2015-05-22 19:42:09 -07:00
CraftBukkit/Spigot
38b1bb1aef Update to 1.8.4
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-05-05 21:43:47 +01:00
CraftBukkit/Spigot
ed8ca79a65 Remove unneeded Java 1.5 Compat
By: Matt <mattbdev@outlook.com>
2015-04-29 11:45:43 -04:00
CraftBukkit/Spigot
d99a0ceffa Add the ability for commandblocks to be sent messages via the API.
By: Cory Redmond <acecheese@live.co.uk>
2015-04-13 02:15:16 +02:00
CraftBukkit/Spigot
019d3adf9b SPIGOT-581: Allow for unhandled nbt tags to be serialized to yaml
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-16 11:01:13 +01:00
CraftBukkit/Spigot
808e784719 SPIGOT-798: Allow for CustomPotionEffects to be empty
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-15 15:02:34 +01:00
CraftBukkit/Spigot
3f29c7ce26 Strip events from book pages on signing
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-14 10:28:18 +01:00
CraftBukkit/Spigot
3b1579527f SPIGOT-742: Throw an exception instead of passing null when the sender cannot be converted
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 11:51:04 +01:00
CraftBukkit/Spigot
ab841e7d50 Replace the two nextTickList sets with a single one that combines both
Should prevent them from going out of sync

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-04-13 11:04:38 +01:00
CraftBukkit/Spigot
12a5d5cc4d Implement World.getNearbyEntities
By: Nathan Wolf <nathan@elmakers.com>
2015-04-06 06:30:17 -07:00
CraftBukkit/Spigot
4a37ed5f42 Implement BlockStateMeta which allows creating and editting 1.8's blockEntityTag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-24 15:37:15 +00:00
CraftBukkit/Spigot
c52ea50ad9 SPIGOT-729: Revert the entity slice move
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:01:30 +00:00
CraftBukkit/Spigot
02c89ee898 Update the rename markers
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-19 21:29:12 +00:00
CraftBukkit/Spigot
3340f8d976 SPIGOT-716: Fix regenerating chunks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-17 21:17:56 +00:00
CraftBukkit/Spigot
4af7c7ec4b Move the entity slice loading
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 19:44:51 +00:00
CraftBukkit/Spigot
605de3306b SPIGOT-705: Fix possible CME
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-15 21:38:05 +00:00
CraftBukkit/Spigot
926a79cc93 SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit 79f99b0c7a)
By: md_5 <git@md-5.net>
2015-03-13 17:53:15 +11:00
CraftBukkit/Spigot
79f99b0c7a SPIGOT-323: Enchanting tables can no longer be force opened.
By: md_5 <git@md-5.net>
2015-01-05 09:59:31 +11:00
CraftBukkit/Spigot
d5926b189e SPIGOT-370: Remove LOCKED_CHEST
It doesn't exist anymore and has been deprecated for a year

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 17:49:10 +00:00
CraftBukkit/Spigot
131fe319af Fix getActivePotionEffects ignoring the particles flag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 13:18:06 +00:00
CraftBukkit/Spigot
06c94503e9 SPIGOT-678: Fix the particles flag being ignored in PotionMeta
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 11:54:31 +00:00
CraftBukkit/Spigot
e6c5eefd78 Add a unit test for map colors
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-07 12:57:59 +00:00
CraftBukkit/Spigot
85be409b13 Update to Minecraft 1.8.3
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-26 22:41:06 +00:00
CraftBukkit/Spigot
de334a068c SPIGOT-586: Fix a mistake in CraftMetaItem
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-18 10:19:38 +00:00
CraftBukkit/Spigot
8fc05d4620 Fix hashcode / equals / formatting.
By: md_5 <git@md-5.net>
2015-02-15 12:54:18 +11:00
CraftBukkit/Spigot
7cb1a44bc4 API for setting/getting hideFlags. Implementation of the hideFlags to be saved in NBT.
By: md_5 <git@md-5.net>
2015-02-15 12:47:07 +11:00
CraftBukkit/Spigot
ef269f1b15 Implement armor stand event.
By: FearThe1337 <admin@fearthe1337.com>
2015-02-15 12:24:14 +11:00
CraftBukkit/Spigot
64bac331e3 Add alternatives for deprecated methods
By: BillyGalbreath <BillyGalbreath@Hotmail.com>
2014-12-17 18:44:34 -06:00
CraftBukkit/Spigot
c566c08c10 SPIGOT-449: Fix the wrong caller being used in chain execute commands
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-25 15:17:48 +00:00
CraftBukkit/Spigot
31623099ad SPIGOT-456: Provide equals & hashCode methods for CraftObjective and CraftTeam
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-25 14:39:20 +00:00
CraftBukkit/Spigot
e37df9a195 Fix PerMaterialTest skipping useful tests for certain blocks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-25 11:59:37 +00:00
CraftBukkit/Spigot
c91dada6c4 SPIGOT-469: Increment and print reload count.
By: md_5 <git@md-5.net>
2015-01-25 10:31:31 +11:00
CraftBukkit/Spigot
df1d455fcb SPIGOT-443: Synchronize access to HANDLED_TAGS as Spigot uses it async
By: BuildTools <unconfigured@null.spigotmc.org>
2015-01-18 17:33:13 +00:00
CraftBukkit/Spigot
9adc314b7e SPIGOT-438: Correct CraftScoreboard.getObjective NPEing instead of returning null for missing objectives
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-17 23:10:08 +00:00
CraftBukkit/Spigot
06a42b5a28 Fix mismatch between teams and player teams.
By: md_5 <git@md-5.net>
2015-01-17 19:59:16 +11:00
CraftBukkit/Spigot
043b6a7eb4 SPIGOT-242: Fix scoreboard API.
In particular don't maintain an internal list of state, as this gets out of whack when Minecraft adds or removes scoreboards / teams.

By: md_5 <git@md-5.net>
2015-01-17 09:41:52 +11:00
CraftBukkit/Spigot
580c82a773 isThundering should just reflect thunder state.
By: md_5 <git@md-5.net>
2015-01-13 20:42:33 +11:00
CraftBukkit/Spigot
7f26add625 Fix the CraftWorld weather methods duplicating events.
By: md_5 <git@md-5.net>
2015-01-13 20:40:23 +11:00
CraftBukkit/Spigot
22294d1490 Fix SPIGOT-260: Item drops don't spill in correct place.
By: Hitoprl <hito.prl@gmail.com>
2015-01-03 18:34:33 +01:00
CraftBukkit/Spigot
3c10252b2f Fix off by one in CraftRabbit. Fixes SPIGOT-392
By: md_5 <git@md-5.net>
2015-01-10 14:15:34 +11:00
CraftBukkit/Spigot
04c9a53768 SPIGOT-387: Remove redundant custom vehicle handling.
By: md_5 <git@md-5.net>
2015-01-09 16:59:18 +11:00
CraftBukkit/Spigot
ee62ef3288 Whoops missed a file
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 23:36:55 +00:00
CraftBukkit/Spigot
a0ba0d3367 Redirect execute through our command system and allow entities to be CommandSenders
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-04 23:25:31 +00:00
CraftBukkit/Spigot
4b61c24b36 SPIGOT-323: Allow force creating enchant table containers. Usefullness is not guaranteed.
By: md_5 <git@md-5.net>
2015-01-05 10:05:01 +11:00
CraftBukkit/Spigot
2b9c73b324 SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit 25ab74e67e)
By: md_5 <git@md-5.net>
2015-01-05 10:00:26 +11:00
CraftBukkit/Spigot
25ab74e67e SPIGOT-323: Enchanting tables can no longer be force opened.
By: md_5 <git@md-5.net>
2015-01-05 09:59:31 +11:00
CraftBukkit/Spigot
3aa6b5e2f7 Actually return.
By: md_5 <git@md-5.net>
2015-01-05 09:25:27 +11:00
CraftBukkit/Spigot
6802819ab3 "Fix" SPIGOT-349 - don't allow + or ! in path.
By: md_5 <git@md-5.net>
2015-01-05 09:24:38 +11:00
CraftBukkit/Spigot
b29ae84fef Add null check before iterating over iterator.
By: Xor Boole <mcyoung@mit.edu>
2014-12-28 13:57:27 -04:00
CraftBukkit/Spigot
4335c4162c Remove DEBUG_ALL_BLOCK_STATES due to it being broken
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-28 16:56:54 +00:00
CraftBukkit/Spigot
54a4d6d1b4 SPIGOT-287: Fire a cancelled inventory open event for locked chests
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-28 15:14:53 +00:00
CraftBukkit/Spigot
c314a57c90 Remove tile entity tags for signs and command blocks
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-27 22:44:51 +00:00
CraftBukkit/Spigot
d15ac3e596 SPIGOT-298: Fix book serialization
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-27 12:13:28 +00:00
CraftBukkit/Spigot
34d157aca8 SPIGOT-279: Fix all metadata being cleared for items that support blockEntityTag on material mis-match
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-27 00:51:59 +00:00
CraftBukkit/Spigot
3abc015fc8 SPIGOT-136, SPIGOT-267: Store pages as chat component to retain chat events unless a plugin touches them
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-26 21:55:35 +00:00
CraftBukkit/Spigot
81fb4d905d Implement Rabbit types.
By: FearThe137 <admin@fearthe1337.com>
2014-12-06 22:45:51 +01:00
CraftBukkit/Spigot
54af1f70a4 SPIGOT-204: Add way to set block type without using IDs or updating physics.
By: md_5 <git@md-5.net>
2014-12-22 19:47:37 +11:00
CraftBukkit/Spigot
54cd8712d8 Fix EntityEquipment for armor stands and redirect the getters/setters to use it
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-21 23:26:42 +00:00
CraftBukkit/Spigot
e720dc550a Fix custom chunk generators. Fixes SPIGOT-193.
By: FearThe1337 <admin@fearthe1337.com>
2014-12-18 22:09:25 +01:00
CraftBukkit/Spigot
63a21cd261 SPIGOT-231 and SPIGOT-229. Fix itemframe behaviour.
Confirmed fix for itemframes not showing up. Based on the code in
CraftPainting.
Besids this fix we now pass null itemstacks directly to the
EntityItemFrame to allow the removal of items in ItemFrames.

By: FearThe1337 <admin@fearthe1337.com>
2014-12-17 23:45:49 +01:00
CraftBukkit/Spigot
2313c026d7 aW() does re register Attributes which causes a IllegalArgumentException. This fixes it and sets the Guardian back to a normal Guardian without any problem.
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-20 16:58:45 +01:00
CraftBukkit/Spigot
a0583c97d5 Implement NameTag visibility API for Teams.
By: Adam Thomas <aet2505@gmail.com>
2014-11-29 02:54:00 +00:00
CraftBukkit/Spigot
6ef454742b Use value from new potion effect particle visibility API.
By: 0x277F <0x277F@gmail.com>
2014-12-05 13:43:15 -07:00
CraftBukkit/Spigot
2f16839e81 SPIGOT-228: Don't deserialize meta of written books twice
By: FrozenBrain <carstenbamsti@gmail.com>
2014-12-16 15:05:43 +01:00
CraftBukkit/Spigot
7cbb980dac SPIGOT-236 - fix notes playing wrongly.
Formula is from BlockNote (NMS), slightly formatted different to be smaller.

By: FearThe1337 <admin@fearthe1337.com>
2014-12-17 17:00:10 +01:00
CraftBukkit/Spigot
5820e42b8d SPIGOT-210: Remove the exception when dropping a non-existant task
If the server crashes during chunk generation then the chunk would have never
been added to the executor, this caused a second exception to be thrown when
the server shutdown from the first exception

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-16 10:53:29 +00:00
CraftBukkit/Spigot
15691a2ab1 SPIGOT-152, SPIGOT-197: Add a system to handle new tags before an api is ready for them
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-15 15:44:57 +00:00
CraftBukkit/Spigot
77a6c4c7a7 SPIGOT-206 Further checks and fixes for Hanging entities.
Adds an check for existing entities before selecting the location allowing
for hanging entities to be spawned in blocks where there already is an
hanging entity at the default rotation.
Fixes the CraftHanging setRotation function to use the new 1.8 logic.

By: Stefan <admin@fearthe1337.com>
2014-12-14 17:22:59 +01:00
CraftBukkit/Spigot
4e3582a8db Fix entities freezing when a chunk is regenerated
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-15 13:46:41 +00:00
CraftBukkit/Spigot
e08cf83757 Implement WorldBorder API
By: TheCutter <info@thecutter.net>
2014-12-13 00:51:31 +01:00
CraftBukkit/Spigot
23b276843f Fix the spawning of HangingEntities by picking the right direction
Related to SPIGOT-206.
Currently HangingEntities should be located next to the block they are
hanging on. With the direction set to the opposite of the block they
are hanging from.
This code is modified to find the correct direction.

By: Stefan <admin@fearthe1337.com>
2014-12-13 17:26:00 +01:00
CraftBukkit/Spigot
33abca2c69 Rework the vanilla link fix so that hover/click events aren't lost
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-13 10:26:06 +00:00
CraftBukkit/Spigot
ed9ee15a91 SPIGOT-199: Default to white instead of black for chat messages
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-13 09:36:35 +00:00
CraftBukkit/Spigot
e589c32ef5 SPIGOT-189: Remove ListenerWrapper in favour of just doing it in EntityPlayer
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-12 19:27:37 +00:00
CraftBukkit/Spigot
4b848f5848 Wrap player's ICommandListener so that our permission system can handle permission
for vanilla commands

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-12 10:33:54 +00:00
CraftBukkit/Spigot
63d1f2368e Ignore errors when parsing books and treat them as old books
In previous versions there was a mistake with book handled which
may leave books in a broken state, this tries to handle that

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-12 09:40:48 +00:00
CraftBukkit/Spigot
5e8651df4c Update JLine
Later releases include the TerminalLineSettings patch. Also move call to AnsiConsole.systemInstall() to avoid patching AnsiWindowsTerminal.

By: zreed <zach@digitalforgemc.com>
2014-12-06 13:55:50 -05:00
CraftBukkit/Spigot
e8d166605c Implement displayblocks for minecarts (SPIGOT-14).
By: FearThe1337 <admin@fearthe1337.com>
2014-12-10 14:41:54 +01:00
CraftBukkit/Spigot
6a05856d6c using generator settings from WorldCreator to specify presets for FLAT or CUSTOMIZED world types
By: TheCutter <info@thecutter.net>
2014-12-05 19:55:52 +01:00
CraftBukkit/Spigot
c2571d4821 Add implementation of the elder Guardian API
By: md_5 <git@md-5.net>
2014-12-12 10:56:20 +11:00
CraftBukkit/Spigot
4620e4931a Merge pull request #43 in SPIGOT/craftbukkit from ~FEARTHE1337/craftbukkit:perm to master
* commit '9a9ef627b04e670233c175c25cf2d9bffb586d87':
  Add the new minecraft command permission nodes.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 21:43:19 +01:00
CraftBukkit/Spigot
9a9ef627b0 Add the new minecraft command permission nodes.
Previously bukkit ones were in bukkit. Moved to CraftBukkit with new prefixes.

By: FearThe1337 <admin@fearthe1337.com>
2014-12-11 21:36:02 +01:00
CraftBukkit/Spigot
f337b96b9e Re-enable selectors for players and the console using vanilla commands
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 20:05:48 +00:00
CraftBukkit/Spigot
7d1aaec723 Rewrite book handling, Fixes SPIGOT-182 and part of SPIGOT-164
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 19:38:09 +00:00
CraftBukkit/Spigot
2685b6f8ff Remove old dev comments
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-11 00:40:25 +00:00
CraftBukkit/Spigot
19e7299b99 Add some missing Tile Entities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 13:38:16 +00:00
CraftBukkit/Spigot
6ee362dcff Add CraftMetaTileEntity, fixes the previously broken tests
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 13:22:56 +00:00
CraftBukkit/Spigot
9284d1c164 Minor bug fixes
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 12:18:50 +00:00
CraftBukkit/Spigot
1c82ce69db Disable some tests whilst issues with them are looked into
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:50:45 +00:00
CraftBukkit/Spigot
5af21473a1 Fix isEmpty and hashCode for CraftMetaItem
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:42:37 +00:00
CraftBukkit/Spigot
ede266a186 Fix BlockEntityTag being stripped from items
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 11:36:31 +00:00
CraftBukkit/Spigot
0b4776d69d Make CraftMetaItem's attribute handling less strict on types
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-07 10:48:14 +00:00
CraftBukkit/Spigot
b8e4f690f8 Add basic support for executing commands from signs
TODO: Wrap the player in to allow for plugins to handle it better

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 23:10:47 +00:00
CraftBukkit/Spigot
475a7cb579 Use PlayerList's UUID->EntityPlayer map in CraftServer.getPlayer(UUID)
By: zreed <zach@digitalforgemc.com>
2014-12-05 01:44:14 -05:00
CraftBukkit/Spigot
986787060f Serialize baseColor as a string
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-04 10:10:24 +00:00
CraftBukkit/Spigot
6ab18a95eb Merge pull request #27 in SPIGOT/craftbukkit from ~AIKAR/craftbukkit:fixWorldSaveEvent to master
* commit '41eaea21ca7b66b835f7bfd21daa52ab6a84e7c5':
  Move WorldSaveEvent to proper location

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 20:37:32 +01:00
CraftBukkit/Spigot
41eaea21ca Move WorldSaveEvent to proper location
calling CraftWorld.save() currently does not call WorldSaveEvent, and WorldSaveEvent could fire on worlds that have saving disabled.

New location will always fire during a world save and only during an actual save.

By: Aikar <aikar@aikar.co>
2014-12-03 14:35:33 -05:00
CraftBukkit/Spigot
8e686281f5 Fix a issue with skulls that have a blank owner
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 19:04:19 +00:00
CraftBukkit/Spigot
f03d75f288 Merge pull request #5 in SPIGOT/craftbukkit from ~DMCK2B/craftbukkit:feature/implementDepthStrider to master
* commit 'c42ae2c5e4320f833e2de0b0347d22fe3ae80c5e':
  Implement the Depth Strider enchantment for the API

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 17:41:27 +01:00
CraftBukkit/Spigot
975c29d381 Add ANVIL and BEACON custom inventories. Also handle a few special cases for inventory sizes
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-01 03:19:24 +01:00
CraftBukkit/Spigot
7e5da5bf6f Minor formatting fixes
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-03 11:08:35 +00:00
CraftBukkit/Spigot
22718ff198 Missed a case
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 23:57:29 +00:00
CraftBukkit/Spigot
68581f9ef5 Don't wrap the y coordinate in World.getBlockAt
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 23:54:38 +00:00
CraftBukkit/Spigot
f75756a2e3 Fix CraftMetaBanner serialization.
By: BuildTools <unconfigured@null.spigotmc.org>
2014-12-02 15:29:04 +01:00
CraftBukkit/Spigot
d1fd719ab3 Merge pull request #21 in SPIGOT/craftbukkit from ~GENAZT/craftbukkit:bugfix/SPIGOT-93 to master
* commit 'b534c74a2093a6bec286c9312172b904ab1743ad':
  Forgot that i work in Bukkit... Screw sun conventions
  Implementation for the new rotation values. Fixes SPIGOT-93

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 13:23:46 +01:00
CraftBukkit/Spigot
05d746d1e4 [Slightly breaking] setType(Id) will not longer reuse the previous data value
of the block and instead reset the the data value to the block's default

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 12:03:02 +00:00
CraftBukkit/Spigot
503f116feb Fix tree related crashes due to lazy BlockState updating
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 11:51:49 +00:00
CraftBukkit/Spigot
b534c74a20 Forgot that i work in Bukkit... Screw sun conventions
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-02 00:20:31 +01:00
CraftBukkit/Spigot
db831ecc70 Implementation for the new rotation values. Fixes SPIGOT-93
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-02 00:13:25 +01:00
CraftBukkit/Spigot
91c612a012 Fix show player
By: Adam Thomas <aet2505@gmail.com>
2014-11-30 20:12:54 +00:00
CraftBukkit/Spigot
96856d7380 Add a somewhat hacky fix for plugins converting between book types
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 15:06:14 +00:00
CraftBukkit/Spigot
56cceb9b4e Fix Chunk.getTileEntities() (Fixes SPIGOT-62)
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 12:15:56 +00:00
CraftBukkit/Spigot
a621457aeb Correct the return value of getPlayerListName
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 10:30:32 +00:00
CraftBukkit/Spigot
4e7ba83133 Rewrite the level.dat properly. This fixes SPIGOT-46
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-29 20:33:33 +01:00
CraftBukkit/Spigot
ddd63044a6 SPIGOT-30: Fix restoring of WorldData when loading worlds
By: Mike Primm <mike@primmhome.com>
2014-11-29 09:34:54 -06:00
CraftBukkit/Spigot
c42ae2c5e4 Implement the Depth Strider enchantment for the API
By: Suddenly <suddenly@suddenly.coffee>
2014-11-29 15:13:43 +00:00
CraftBukkit/Spigot
3d5cd0953f Ignore invalid blocks in ChunkSnapshots
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 15:05:28 +00:00
CraftBukkit/Spigot
b6f610a49b Fix chunk snapshot generation (needed for Dynmap)
By: Mike Primm <mike@primmhome.com>
2014-11-28 18:30:59 -06:00
CraftBukkit/Spigot
a134a4961c Fix setAge and related methods
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 00:17:45 +00:00
CraftBukkit/Spigot
9c86c4b3ce Fix missed case in CraftBlock
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 00:14:46 +00:00
CraftBukkit/Spigot
520089d10e Remove extra color codes at the start from converted json chat
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 19:59:41 +00:00
CraftBukkit/Spigot
a419776f3c Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-26 08:32:16 +11:00
CraftBukkit/Spigot
2f44d66966 Allow teleportation of entities on vehicles. Fixes BUKKIT-4210
Up until Minecraft version 1.5 it was not possible to teleport entities
within vehicles. With the 1.5 update came the change in the Minecraft
teleportation logic to dismount before teleporting the entity, if
applicable.

This commit ammends the existing CraftBukkit logic for rejecting
teleportation for entities in vehicles to permit the action. Due to this
change, CraftBukkit is now in-line with Minecraft 1.5 teleportation logic.

By: bendude56 <bendude56@gmail.com>
2013-07-07 21:52:41 -06:00
CraftBukkit/Spigot
02fb3fd3d7 Implement ability to keep items on death via plugins. Adds BUKKIT-5724
When a player dies their inventory is normally scattered over the the area
in which they died. Plugins should be able to modify this behaviour by
defining whether or not the player's inventory will be dropped on the ground or waiting for the player when they eventually respawn.

This commit implements the methods included in the Bukkit half for the new
behaviour by acting upon the boolean flag. The boolean flag is tested
prior to clearing the inventory as well as prior to dropping the items on
the ground. If the flag is true (indicating "keep inventory"), the items
are not removed from the player's inventory and are not dropped on the
ground.

By: Jerom van der Sar <jerom.sar@hotmail.com>
2014-07-31 03:05:08 +02:00
CraftBukkit/Spigot
5d8e9e97fd Implement deprecated methods. Adds BUKKIT-5752
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-08-07 19:35:16 -05:00
CraftBukkit/Spigot
82a651c889 Use sensible AssertionError instead of ambiguous RuntimeException
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-08-07 19:29:28 -05:00
CraftBukkit/Spigot
9bf675b0b6 Fix removal of items from Item Frames. Fixes BUKKIT-5736
By: feildmaster <admin@feildmaster.com>
2014-08-02 16:03:50 -05:00
CraftBukkit/Spigot
38f3f4a701 Provide modifier functions to EntityDamageEvent. Fixes BUKKIT-5688
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-07-13 00:04:32 -05:00
CraftBukkit/Spigot
dfb55a6fe4 Put damage modifiers in Functions for event. Fixes BUKKIT-5681
By: Travis Watkins <amaranth@ubuntu.com>
2014-07-09 16:21:06 -05:00
CraftBukkit/Spigot
79e5718f39 Update CraftBukkit to Minecraft 1.7.10
By: Travis Watkins <amaranth@ubuntu.com>
2014-06-26 13:05:08 -05:00
CraftBukkit/Spigot
645fe18f1f Use 4787c23dce0f5ac856d8d398225828971a93a3ff Guava patch for onlinePlayers
This change improves the quality of life for plugin developers using
iterator iteration with side-effects. In the specified Guava patch, the
internal iterator no longer relies on the AbstractList iterator which
iterates by index, and will instead wrap the provided iterator in a
transformer given the Function.

By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-07-01 00:47:39 -05:00
CraftBukkit/Spigot
03a390e010 Implement new getOnlinePlayers. Adds BUKKIt-5668
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-06-24 16:11:25 -05:00
CraftBukkit/Spigot
de522b136d [Bleeding] Ignore damage done by LivingEntity.damage(). Fixes BUKKIT-5666
This matches behavior previous to new damage event API of not throwing
events for plugin-triggered damage.

By: t00thpick1 <t00thpick1dirko@gmail.com>
2014-06-22 22:54:05 -04:00
CraftBukkit/Spigot
50c4b76dfa [Bleeding] Implement new damage api. Fixes BUKKIT-5326, BUKKIT-3878.
This commit centralizes event handling to where damage is actually applied
to the entity to avoid bugs that have resulted from nodamageticks,
modifications to damage after the event has been called, and similar
mishaps. This also implements new API for getting and setting of
modifications made to the damage amount actually applied to the entity.
This is done by storing the change in the damage amount as each modifier
is applied by vanilla code.

The method that actually damages the armor worn by an entity has been
relocated beneath the event called as to not apply durability loss when
the event has been cancelled.

By: t00thpick1 <t00thpick1dirko@gmail.com>
2014-06-19 14:38:45 -04:00
CraftBukkit/Spigot
520077f254 Avoid checking for loaded chunks for lighting and entity ticking.
When a chunk is loaded the server tries to ensure it has its initial light
calculations done before sending it to the player. When ticking entities
the server tries to ensure the entity does not walk into an unloaded chunk.
To accomplish these the server checks a one chunk radius around the chunk
to be lit or a two chunk radius around the chunk the entity is in. These
lookups happen every tick even though their result is unlikely to change
that often. To reduce the cost of these checks we replace them with a
system to keep track of what neighbor chunks a chunk has loaded and update
it when chunks load or unload which is a much less frequent action. On a
server with ten players this change removes about 100,000 calls a tick to
LongObjectHashMap's containsKey method.

By: Travis Watkins <amaranth@ubuntu.com>
2014-06-16 19:01:55 -05:00
CraftBukkit/Spigot
151f12627a Use UUIDs in CraftPlayer equals and hashCode methods. Fixes BUKKIT-5634
By: Daniel Naylor <git@drnaylor.co.uk>
2014-05-26 20:33:10 +01:00
CraftBukkit/Spigot
93b3b6a162 Fix polarity of Bat.isAwake() and Bat.setAwake(boolean). Fixes BUKKIT-5624
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-05-20 03:13:35 -05:00
CraftBukkit/Spigot
82a09cfb9f Update CraftBukkit to use new YamlConfiguration encoding changes
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-05-14 05:49:04 -05:00
CraftBukkit/Spigot
f9d2ead6bf Implement awake flag for bats. Adds BUKKIT-5606
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-05-13 20:38:42 -05:00
CraftBukkit/Spigot
5b252941b0 Only set skull profile if it is a player skull. Fixes BUKKIT-5605
By: Travis Watkins <amaranth@ubuntu.com>
2014-05-12 23:19:22 -05:00
CraftBukkit/Spigot
1a9f318959 Avoid using the user cache in skull meta.
To handle changes in 1.7.9 we changed skull meta to use GameProfile
instances instead of strings of player names. This reflects what vanilla is
actually storing for skulls now. As skulls still require a name our API was
not changed and we instead look up the rest of the profile information from
the name. The way this was implemented made it so that deserializing a skull
or setting its name potentially involved a network request. As skull meta
itself does not actually require a complete profile we now simply create one
that only contains a name and leave populating it to the server when it is
actually needed.

By: Travis Watkins <amaranth@ubuntu.com>
2014-05-03 17:42:19 -05:00
CraftBukkit/Spigot
0640242e43 Implement inventory creation by type and title. Fixes BUKKIT-4045
With the current API it is possible to create an inventory with a specific
type, but it is not possible to give such an inventory a title other than
the default.

The commit changes that by adding a method to optionally supply the title
for the given inventory type and holder, creating the functionality to
display any supported inventory type with a 32 character length String.

If the inventory title supplied is larger than 32 characters then an
IllegalArgumentException is thrown stating so.

By: eueln <euelnd@gmail.com>
2013-04-11 14:20:41 -05:00
CraftBukkit/Spigot
f25a347ccd [Bleeding] Allow generation of cocoa trees.
By: GJ <gjmcferrin@gmail.com>
2014-04-28 10:18:55 -04:00
CraftBukkit/Spigot
56003af2f2 [Bleeding] Correct issues with MEGA_REDWOOD trees. Fixes BUKKIT-5568
In commit 6efeddfe57, TALL_REDWOOD was used instead of the proper TreeType
of MEGA_REDWOOD. Additionally, this fixes an issue in CraftWorld with an
improper boolean flag related to the generation of MEGA_REDWOOD trees.

By: GJ <gjmcferrin@gmail.com>
2014-04-28 09:49:33 -04:00
CraftBukkit/Spigot
741ad9885f Refactored BlockPlaceEvent and BlockChangeDelegate. Adds BUKKIT-5558
23 classes have been removed as they are no longer needed using the new
capture logic. This should help quite a bit with future MC updates.

BlockPlaceEvent Refactor

Before calling Item.interactWith, a recording flag is turned on for
setTypeAndData to capture a blockstate for each block that attempts to be set.
When a block place event is cancelled, the recorded blockstate, stack
size, and metadata will revert back to the captured state. If the event is
not cancelled, a notification will be sent to clients and block physics
will be updated.

BlockChangeDelegate Refactor

Now that we have the ability to capture blockstates through world, there
is no need to modify world gen classes with BlockChangeDelegate. Instead
we will simply capture blocks during world generation in order to "replay"
all of the captured blockstates to send back to delegates.
StructureGrowDelegate and BlockSapling.TreeGenerator have also been
removed as part of this change. BlockSapling and BlockMushroom will
capture blockstates the same as block placement and revert back any grow
events if needed.

By: bloodshot <jdroque@gmail.com>
2014-01-06 00:17:16 -05:00
CraftBukkit/Spigot
5c9c366ee5 Make AnvilInventory.getItem() use both containers. Fixes BUKKIT-2788
The AnvilInventory reports its size as the sum of the ingredient and
result inventories, but when trying to access the slots, only the
ingredient inventory is used, leading to an ArrayIndexOutOfBounds exception.

This change overrides getItem(I) and setItem(I) to use both inventories,
with the slot number adjusted based on their size.

By: Andre LeBlanc <andre@norcode.com>
2013-04-06 12:00:31 -04:00
CraftBukkit/Spigot
39e74188e0 Fix setting entity's target. Fixes BUKKIT-1358
Setting the goal target overrides the entity's will to do something
else. This makes it so entities like wolves with attack another player
with .setTarget(), instead of hanging next to their owner.

By: PaulBGD <ultimate@burngames.net>
2013-12-11 21:13:04 -06:00
CraftBukkit/Spigot
74050974c8 Catch exceptions when abandoning conversions. Fixes BUKKIT-5436
If a conversation is abandoned due to a player disconnecting and an
exception is thrown in a ConversationAbandonedListener, the server will
crash. This commit prevents the exception from propagating further up
the stack and instead just logs the error.

By: Devin Ryan <devin@forairan.com>
2014-02-22 21:18:44 -06:00
CraftBukkit/Spigot
b76c55a802 Check that item in hand is not null after book event. Fixes BUKKIT-5443
By: Des Herriott <des.herriott@gmail.com>
2014-02-27 12:32:21 +00:00
CraftBukkit/Spigot
25c4255d7c [Bleeding] Don't allow null display names. Fixes BUKKIT-5254
Currently, plugins can set a player's display name to null, which could
cause issues for other calls to getDisplayName that aren't expecting a null
value. This changes setDisplayName to follow the same logic as
setPlayerListName, which sets the player's name back to their unmodified
"vanilla" name if it receives a null value as a parameter.

By: GJ <gjmcferrin@gmail.com>
2014-01-31 09:42:03 -05:00
CraftBukkit/Spigot
c9d41122d1 [Bleeding] Return correct player SlotType. Fixes BUKKIT-3188
Previously, the SlotType for the last 4 slots in a player's inventory
returned QUICKBAR when it should have returned SlotType.CONTAINER. This
updates the code for determining slot type to return the proper value.

By: GJ <gjmcferrin@gmail.com>
2014-02-10 12:12:39 -05:00
CraftBukkit/Spigot
f94f5c576e [Bleeding] Return correct furnace SlotType. Fixes BUKKIT-5400
Previously, the SlotType for the 0 slot in a furnace returned CONTAINER,
when it should have returned SlotType.CRAFTING. This updates the code for
determining slot type to return the proper value.

By: GJ <gjmcferrin@gmail.com>
2014-02-10 11:26:42 -05:00