13
0
geforkt von Mirrors/Paper
Commit graph

2814 Commits

Autor SHA1 Nachricht Datum
CraftBukkit/Spigot
020a6a58b2 SPIGOT-5105: The EntityTag nbt tag disappears from preset armor_stand items.
By: md_5 <git@md-5.net>
2019-06-29 16:55:36 +10:00
CraftBukkit/Spigot
d6d34c98e7 SPIGOT-5106: Config option to prevent plugins with incompatible API's from loading
By: md_5 <git@md-5.net>
2019-06-29 16:36:58 +10:00
CraftBukkit/Spigot
4d4628bf1c Update to Minecraft 1.14.3
By: md_5 <git@md-5.net>
2019-06-25 06:44:52 +10:00
CraftBukkit/Spigot
257ba6c003 SPIGOT-5098: Add a method to allow colored sign changes
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-06-22 16:22:53 +02:00
CraftBukkit/Spigot
9d2d82c126 SPIGOT-5094: Allow opening merchant for wandering traders and hide the xp bar for custom merchants
By: blablubbabc <lukas@wirsindwir.de>
2019-06-21 05:06:16 +02:00
CraftBukkit/Spigot
21a654cdfe SPIGOT-5097: Bukkit.clearRecipes() no longer working
By: md_5 <git@md-5.net>
2019-06-22 18:24:23 +10:00
CraftBukkit/Spigot
3a28cb13b9 Fix setting game rules via the API
By: md_5 <git@md-5.net>
2019-06-21 20:35:22 +10:00
CraftBukkit/Spigot
a8155d2399 Update to Minecraft 1.14.3-pre4
By: md_5 <git@md-5.net>
2019-06-21 20:00:00 +10:00
CraftBukkit/Spigot
0297d9de8a Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-06-21 19:52:34 +10:00
CraftBukkit/Spigot
eabf410768 SPIGOT-5089: UnsupportedOperationException on setting villager memory to null
By: md_5 <git@md-5.net>
2019-06-19 18:42:51 +10:00
CraftBukkit/Spigot
b8dc3168ff SPIGOT-5061: Add explode and ignite methods to Creeper
By: i509VCB <null>
2019-06-14 17:21:29 -05:00
CraftBukkit/Spigot
260bd8c7c4 Optimize getEntitiesByClasses slightly
By: blablubbabc <lukas@wirsindwir.de>
2019-06-16 11:13:42 +10:00
CraftBukkit/Spigot
700f1c0ef8 SPIGOT-5072: Process phantom, cat and patrol spawning in CustomChunkGenerator
By: md_5 <git@md-5.net>
2019-06-16 11:12:08 +10:00
CraftBukkit/Spigot
d53dd95127 SPIGOT-5010: World#getEntitiesByClass/es also return entities in border chunks.
By: blablubbabc <lukas@wirsindwir.de>
2019-06-15 03:39:04 +02:00
CraftBukkit/Spigot
c1cc0cddf5 SPIGOT-5034: FoodLevelChangeEvent add getItem method
By: md_5 <git@md-5.net>
2019-06-14 19:41:36 +10:00
CraftBukkit/Spigot
95dbf2457d SPIGOT-5047: Correct slot types for 1.14 inventories
By: md_5 <git@md-5.net>
2019-06-13 21:26:04 +10:00
CraftBukkit/Spigot
aa1f7c7569 SPIGOT-5067: Add item meta for 1.14 spawn eggs
By: md_5 <git@md-5.net>
2019-06-13 20:51:39 +10:00
CraftBukkit/Spigot
37a786ec29 Add Player#openBook(ItemStack) method
This PR adds the openBook(ItemStack) method to Player that allows opening a
Material.WRITTEN_BOOK for a player on demand.

By: simpleauthority <jacob@algorithmjunkie.com>
2019-06-06 01:08:11 -07:00
CraftBukkit/Spigot
672c7bfa97 SPIGOT-2000: Picking up items to shield slot working inconsistently when inventory is full
By: PurkkaKoodari <purkka@purkka.codes>
2019-06-06 01:32:32 +03:00
CraftBukkit/Spigot
223b5e4c95 SPIGOT-5037: Player.openMerchant does not show merchant level
By: md_5 <git@md-5.net>
2019-06-07 19:48:12 +10:00
CraftBukkit/Spigot
aaf46051fc SPIGOT-5028: Villager#setVillagerExperience() doesn't work
By: md_5 <git@md-5.net>
2019-06-06 20:46:32 +10:00
CraftBukkit/Spigot
a5abba4a51 SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles
By: md_5 <git@md-5.net>
2019-06-02 19:51:26 +10:00
CraftBukkit/Spigot
d7c1a6ed5f SPIGOT-5010: World.getEntities returns entities in border chunks
By: md_5 <git@md-5.net>
2019-05-31 06:56:00 +10:00
CraftBukkit/Spigot
624908bdfc Show incorrect size passed into createInventory
By: md_5 <git@md-5.net>
2019-05-29 19:58:01 +10:00
CraftBukkit/Spigot
ca6d40aa64 SPIGOT-4992: Various villager issues due to broken mapping
By: md_5 <git@md-5.net>
2019-05-28 20:43:33 +10:00
CraftBukkit/Spigot
569660215f Update to Minecraft 1.14.2
By: md_5 <git@md-5.net>
2019-05-28 06:30:00 +10:00
CraftBukkit/Spigot
5f2275f40a SPIGOT-4946: Add VillagerCareerChangeEvent
By: i509VCB <null>
2019-05-25 20:58:11 -05:00
CraftBukkit/Spigot
e2b8949bf3 SPIGOT-4752: Fixed inconsistency between isChunkLoaded and chunk load/unload events
By: blablubbabc <lukas@wirsindwir.de>
2019-05-16 01:11:20 +02:00
CraftBukkit/Spigot
a7f92c8388 SPIGOT-4972: Cannot add contextual data to loot table API
By: md_5 <git@md-5.net>
2019-05-23 20:48:20 +10:00
CraftBukkit/Spigot
817d83e1bb SPIGOT-4968: Jukebox.setPlaying(null) causes error
By: md_5 <git@md-5.net>
2019-05-21 12:09:42 +10:00
CraftBukkit/Spigot
3ebcb8237b SPIGOT-4925: Uppercase world names no longer supported
By: md_5 <git@md-5.net>
2019-05-20 19:49:07 +10:00
CraftBukkit/Spigot
82335a22f1 SPIGOT-4961: Cannot open various inventories
By: md_5 <git@md-5.net>
2019-05-20 19:46:20 +10:00
CraftBukkit/Spigot
cd9d8451fd SPIGOT-4958: API to set map trackingPosition
By: md_5 <git@md-5.net>
2019-05-20 19:29:51 +10:00
CraftBukkit/Spigot
d8a6d9eb41 SPIGOT-4962: Bubble column blocks not classified as liquid
By: md_5 <git@md-5.net>
2019-05-20 19:27:02 +10:00
CraftBukkit/Spigot
acd04ff0d0 SPIGOT-4833: Allow access to LivingEntity memories
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-05-19 19:58:41 +10:00
CraftBukkit/Spigot
f19a688ffc SPIGOT-4943: Zombie villager conversion player API.
Also resetting the conversion player when stopping a conversion.

By: blablubbabc <lukas@wirsindwir.de>
2019-05-17 14:08:33 +02:00
CraftBukkit/Spigot
4d27af3c76 SPIGOT-4938: Call EntityPickupItemEvent for dolphins
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 23:19:52 +02:00
CraftBukkit/Spigot
453eb0afe4 SPIGOT-4948: Lectern.getInventory should return a LecternInventory
By: Brokkonaut <hannos17@gmx.de>
2019-05-17 20:18:13 +02:00
CraftBukkit/Spigot
609921674a SPIGOT-4935: Lore deserializes incorrectly from previous versions
By: md_5 <git@md-5.net>
2019-05-15 17:07:47 +10:00
CraftBukkit/Spigot
0a6bbfbdde SPIGOT-4929: Beacon inventory getType() returns CHEST
By: md_5 <git@md-5.net>
2019-05-14 21:31:49 +10:00
CraftBukkit/Spigot
788fd7eedc Update to Minecraft 1.14.1
By: md_5 <git@md-5.net>
2019-05-14 10:00:00 +10:00
CraftBukkit/Spigot
1825747f6d Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-05-14 08:50:43 +10:00
CraftBukkit/Spigot
41043ef48b Load custom worlds from correct location
By: md_5 <git@md-5.net>
2019-05-12 16:59:21 +10:00
CraftBukkit/Spigot
f3e26f2572 SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow
By: md_5 <git@md-5.net>
2019-05-12 11:22:21 +10:00
CraftBukkit/Spigot
b407bebd8d SPIGOT-4900: Rearchitect multiworld support for better compat with new villager AI
By: md_5 <git@md-5.net>
2019-05-12 11:15:48 +10:00
CraftBukkit/Spigot
7a93a50d32 Add BlockShearEntityEvent for Dispensers shearing Sheep
By: nathat890 <nathat890@outlook.com>
2019-05-07 16:50:57 +01:00
CraftBukkit/Spigot
cacd7ce457 SPIGOT-4891: LecternInventory.getType() should return InventoryType.LECTERN
By: Brokkonaut <hannos17@gmx.de>
2019-05-07 23:52:16 +02:00
CraftBukkit/Spigot
b1a791b5e5 SPIGOT-4887: Villager level minimum is 1
By: blablubbabc <lukas@wirsindwir.de>
2019-05-07 15:36:56 +02:00
CraftBukkit/Spigot
4f21c71d98 SPIGOT-4880: Potion effects with unknown names.
By: md_5 <git@md-5.net>
2019-05-07 09:22:45 +10:00
CraftBukkit/Spigot
f2ce39c748 SPIGOT-4874: Use empty loot context
Appears to work irrespective of what the loot table requires

By: md_5 <git@md-5.net>
2019-05-06 20:00:27 +10:00
CraftBukkit/Spigot
1915b49ec3 SPIGOT-4872: LootTables missing a few loot tables
By: md_5 <git@md-5.net>
2019-05-06 08:40:15 +10:00
CraftBukkit/Spigot
e413f6ef8f SPIGOT-4871: Manually opened double chest doesn't have close animation
By: md_5 <git@md-5.net>
2019-05-05 18:39:58 +10:00
CraftBukkit/Spigot
7a47bcf55b SPIGOT-4834: API for Villager levels and experience
By: md_5 <git@md-5.net>
2019-05-05 12:03:20 +10:00
CraftBukkit/Spigot
0ddb44f00c SPIGOT-4840: CartographyInventory not returned for InventoryClickEvent.getClickedInventory on result slot
By: md_5 <git@md-5.net>
2019-05-05 09:46:41 +10:00
CraftBukkit/Spigot
5a40b00a62 SPIGOT-4863: --eraseCache doesn't work
By: md_5 <git@md-5.net>
2019-05-04 20:54:32 +10:00
CraftBukkit/Spigot
61d087fec5 SPIGOT-4835: Manually opened chest doesn't have close animation
By: md_5 <git@md-5.net>
2019-05-03 17:57:05 +10:00
CraftBukkit/Spigot
d90f2f4bfd SPIGOT-4831: setKeepSpawnInMemory to false does not work
By: md_5 <git@md-5.net>
2019-05-02 15:15:53 +10:00
CraftBukkit/Spigot
f6bee952be SPIGOT-4836: Breaking barrier block causes error
By: md_5 <git@md-5.net>
2019-05-02 09:23:16 +10:00
CraftBukkit/Spigot
12ecbc64a0 SPIGOT-4802: Add CrossbowMeta
By: md_5 <git@md-5.net>
2019-05-01 20:18:01 +10:00
CraftBukkit/Spigot
a70a255937 SPIGOT-4714: Broadcasts can no longer be done from secondary threads
By: md_5 <git@md-5.net>
2019-05-01 18:46:18 +10:00
CraftBukkit/Spigot
e5cb6d7c49 SPIGOT-4820: Villager Type API
By: md_5 <git@md-5.net>
2019-05-01 18:39:43 +10:00
CraftBukkit/Spigot
2e24df6eb1 Regular arrow spawn method should not have changed type
By: md_5 <git@md-5.net>
2019-05-01 18:14:52 +10:00
CraftBukkit/Spigot
03d3b41708 SPIGOT-4822: Existing world fails to load
By: md_5 <git@md-5.net>
2019-05-01 18:10:27 +10:00
CraftBukkit/Spigot
39114e773e SPIGOT-4825: Clearly error on asynchronous tile access
By: md_5 <git@md-5.net>
2019-05-01 17:05:21 +10:00
CraftBukkit/Spigot
1596138194 SPIGOT-4823: Crash picking up arrows
By: md_5 <git@md-5.net>
2019-05-01 06:48:56 +10:00
CraftBukkit/Spigot
abedca6a94 World#spawnArrow should return an AbstractArrow now
By: md_5 <git@md-5.net>
2019-04-30 21:31:08 +10:00
CraftBukkit/Spigot
60ed569599 SPIGOT-4819: Continue refactoring of Arrow-related APIs
By: md_5 <git@md-5.net>
2019-04-30 21:23:11 +10:00
CraftBukkit/Spigot
a2a0f9e6d3 SPIGOT-4816: Editing book causes glitchy behaviour
By: md_5 <git@md-5.net>
2019-04-30 15:33:35 +10:00
CraftBukkit/Spigot
a3c770141e SPIGOT-4818: Unit test banner patterns
By: md_5 <git@md-5.net>
2019-04-30 15:20:11 +10:00
CraftBukkit/Spigot
4d73820fbb SPIGOT-4803: Fox related APIs
By: md_5 <git@md-5.net>
2019-04-28 17:59:12 +10:00
CraftBukkit/Spigot
b84b23c451 Add TradeSelectEvent
By: Coleman Yantis <diamonddagger590@gmail.com>
2019-04-28 12:35:28 +10:00
CraftBukkit/Spigot
bfea9a3269 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:38:01 +10:00
CraftBukkit/Spigot
74061abe72 Allow direct opening of another player's inventory
Not recommended - bugs may result, especially re: slot updates

By: md_5 <git@md-5.net>
2019-04-27 13:14:40 +10:00
CraftBukkit/Spigot
51a9b6ad0f SPIGOT-4784: Collar colour API for Cats
By: md_5 <git@md-5.net>
2019-04-27 12:52:52 +10:00
CraftBukkit/Spigot
65ed9737c3 Loosen restrictions on inventory sizing
Allows creating (but not opening) inventories created eg via Bukkit.createInventory(..., InventoryType.PLAYER);

By: md_5 <git@md-5.net>
2019-04-27 12:50:43 +10:00
CraftBukkit/Spigot
520c838a5c SPIGOT-4753: Add Pose API
By: md_5 <git@md-5.net>
2019-04-27 10:27:05 +10:00
CraftBukkit/Spigot
fb196561cb SPIGOT-4778: Bell Attachment is missing
By: md_5 <git@md-5.net>
2019-04-27 09:33:00 +10:00
CraftBukkit/Spigot
f8494aa951 Add variant API to MushroomCow
By: md_5 <git@md-5.net>
2019-04-26 14:48:19 +10:00
CraftBukkit/Spigot
e7a5cc8f06 Don't concurrently execute ChunkGenerators by default
By: md_5 <git@md-5.net>
2019-04-26 12:08:59 +10:00
CraftBukkit/Spigot
660fe1b0df SPIGOT-4751: Update mappings version
By: md_5 <git@md-5.net>
2019-04-26 09:08:32 +10:00
CraftBukkit/Spigot
71dfecfe22 SPIGOT-4744: Cannot spawn Cat entity
By: md_5 <git@md-5.net>
2019-04-25 14:59:08 +10:00
CraftBukkit/Spigot
c3e41306a8 SPIGOT-4742: Make Sign Colorable
By: md_5 <git@md-5.net>
2019-04-25 14:49:23 +10:00
CraftBukkit/Spigot
c9a23d73a0 Replace ItemTag API with new API that also expands to Tiles and Entities
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-04-25 14:36:46 +10:00
CraftBukkit/Spigot
4198bf7e21 SPIGOT-4741: InventoryHolder no longer returns DoubleChest
By: md_5 <git@md-5.net>
2019-04-25 13:57:18 +10:00
CraftBukkit/Spigot
badc255efc Update to Minecraft 1.14
By: md_5 <git@md-5.net>
2019-04-25 12:00:00 +10:00
CraftBukkit/Spigot
2f808394c5 SPIGOT-4736: Serialized ItemStack Lore Doesn't Deserialize
By: md_5 <git@md-5.net>
2019-04-25 10:06:40 +10:00
CraftBukkit/Spigot
455eafa839 SPIGOT-4735: ProjectileHitEvent Fires Immediately
By: md_5 <git@md-5.net>
2019-04-25 09:23:21 +10:00
CraftBukkit/Spigot
5faa894081 SPIGOT-4728: Fix clicking on custom ender chests
By: md_5 <git@md-5.net>
2019-04-24 22:02:45 +10:00
CraftBukkit/Spigot
db7e2f9830 SPIGOT-4725: Virtual Merchant GUI crashes server
By: md_5 <git@md-5.net>
2019-04-24 10:10:41 +10:00
CraftBukkit/Spigot
950a1e4bb8 SPIGOT-4718: Fix creating odd inventory sizes
By: md_5 <git@md-5.net>
2019-04-24 10:01:54 +10:00
CraftBukkit/Spigot
545d8a9948 SPIGOT-4726: Lore not being applied to new items
By: md_5 <git@md-5.net>
2019-04-24 09:54:58 +10:00
CraftBukkit/Spigot
1a66e298de Apply outdated build delay
By: md_5 <git@md-5.net>
2019-04-24 09:52:43 +10:00
CraftBukkit/Spigot
4e5e39eda9 SPIGOT-4727: Fix CraftEvil for legacy plugins
By: md_5 <git@md-5.net>
2019-04-24 09:40:42 +10:00
CraftBukkit/Spigot
b15c3451a2 Fix weird test import in EnderDragonPhaseTest
By: md_5 <git@md-5.net>
2019-04-23 21:28:41 +10:00
CraftBukkit/Spigot
e9906a5c82 SPIGOT-4717: Fix adding recipes after clearRecipes is called
By: md_5 <git@md-5.net>
2019-04-23 20:53:56 +10:00
CraftBukkit/Spigot
09673c1a03 Apply import ordering rules to CraftBukkit classes
By: md_5 <git@md-5.net>
2019-04-23 14:54:36 +10:00
CraftBukkit/Spigot
7afe4d02f8 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:30 +10:00
CraftBukkit/Spigot
a0f2b74c8d Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
CraftBukkit/Spigot
0e98365784 Remove outdated build delay.
By: md_5 <git@md-5.net>
2019-04-22 16:44:07 +10:00
CraftBukkit/Spigot
dee9a212cf SPIGOT-4677: Add minecraft.admin.command_feedback permission
By: md_5 <git@md-5.net>
2019-04-20 13:24:20 +10:00
CraftBukkit/Spigot
3d88c2acc0 Remove the Damage tag from items when it is 0.
CraftBukkit (and Minecraft as well in some cases, such as when getting
an item from the creative inventory menu) will omit the Damage tag when
it is zero. However, minecraft will add the tag in some situations
nevertheless, such as when loading the ItemStack, or when explictly
setting the item undamaged.

These items (with and without the Damage tag for undamaged items) will
be considered as different by minecraft and CraftBukkit in various
situations, even though they should not. In CraftBukkit these items will
actually only be considered unsimilar if the items' metadata is not
'empty' (if it contains other additional metadata, such as enchantments,
etc.).

If the item's tag is empty after removing the Damage tag, it gets
completely removed. The setRepairCost function was adapted to behave in
the same way (removal of the tag if it becomes empty).

By: blablubbabc <lukas@wirsindwir.de>
2019-04-18 11:56:42 +02:00
CraftBukkit/Spigot
f890a5eedc SPIGOT-4681: Note about additional world creation on STARTUP
By: md_5 <git@md-5.net>
2019-04-08 20:32:00 +10:00
CraftBukkit/Spigot
6111c0258c SPIGOT-4684: Update persistence of converting zombie villagers
By: md_5 <git@md-5.net>
2019-04-08 20:29:18 +10:00
CraftBukkit/Spigot
aa642d5805 SPIGOT-4691: Fix custom world generator when placing tiles
By: md_5 <git@md-5.net>
2019-04-05 19:59:47 +11:00
CraftBukkit/Spigot
e2b8f51764 Added Entity#setRotation.
Unlike Entity#teleport this can also be used while the entity is inside a vehicle.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-26 03:34:56 +01:00
CraftBukkit/Spigot
dd5715f7af SPIGOT-4686: Enchantment ordering nondeterministic
By: md_5 <git@md-5.net>
2019-04-02 21:13:05 +11:00
CraftBukkit/Spigot
10b207e39b SPIGOT-4673: EntitySpawnEvent should not be called for players
By: md_5 <git@md-5.net>
2019-03-26 20:42:04 +11:00
CraftBukkit/Spigot
48640d6365 SPIGOT-4674: Allow spawning hanging on top/bottom of block
By: md_5 <git@md-5.net>
2019-03-22 20:33:20 +11:00
CraftBukkit/Spigot
f600caaf6a Prepare for imminent Java 12 release
By: md_5 <git@md-5.net>
2019-03-17 12:53:55 +11:00
CraftBukkit/Spigot
dcc541a4a0 Mappings Update
By: md_5 <git@md-5.net>
2019-03-17 11:48:53 +11:00
CraftBukkit/Spigot
7a7e9aa31e SPIGOT-4666: Force parameter in HumanEntity#sleep
Also moved the application of the force parameter inside EntityHuman, to
no longer allow bypassing of very essential checks.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-13 04:48:19 +01:00
CraftBukkit/Spigot
6caa3d0de8 Don't ignore newlines in PlayerListHeader/Footer
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-03-10 11:04:15 +11:00
CraftBukkit/Spigot
6846b3d2d9 SPIGOT-4646: Test + fix InventoryWrapper.getContents
By: md_5 <git@md-5.net>
2019-03-05 16:59:40 +11:00
CraftBukkit/Spigot
a257532ba2 SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
2019-03-05 16:47:33 +11:00
CraftBukkit/Spigot
d0fdcfcf41 Add love mode API to Animals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-02-27 21:56:25 +00:00
CraftBukkit/Spigot
0d8ed5d869 Fix line endings in CraftDefaultPermissions
By: md_5 <git@md-5.net>
2019-02-25 19:41:44 +11:00
CraftBukkit/Spigot
ae98c2723b Fix experience reward flag gets lost during MerchantRecipe conversion
By: blablubbabc <lukas@wirsindwir.de>
2019-02-22 19:15:59 +01:00
CraftBukkit/Spigot
da599af692 SPIGOT-4632: BlockState location is not fixed
By: md_5 <git@md-5.net>
2019-02-21 20:32:44 +11:00
CraftBukkit/Spigot
4d93e94dbd Fix CraftInventoryMerchant#getSelectedRecipe if there is no active merchant recipe.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-21 03:06:11 +01:00
CraftBukkit/Spigot
961fc0efe5 Load custom permissions after default permissions.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-17 17:07:56 +01:00
CraftBukkit/Spigot
9ff569d110 Make tags Keyed
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 13:11:51 +10:00
CraftBukkit/Spigot
08d42377e0 Added a method to get a list of tags
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 12:55:01 +10:00
CraftBukkit/Spigot
a6ec0de609 Fix EntityPickupItemEvent getRemaining / PlayerInventory#canHold
Without this change the calculation of fitting items was incorrect, so event.getRemaining() did return 0 when it should not be 0.

By: Brokkonaut <hannos17@gmx.de>
2019-02-12 04:49:24 +01:00
CraftBukkit/Spigot
9b0979baaa Update outdated spigot link
By: md_5 <git@md-5.net>
2019-02-09 10:42:26 +11:00
CraftBukkit/Spigot
d39743e20c Fix incorrect method descriptor in previous commit
By: md_5 <git@md-5.net>
2019-02-06 08:08:45 +11:00
CraftBukkit/Spigot
d4aca3321d SPIGOT-4608: Improve quality of MapMeta APIs
By: md_5 <git@md-5.net>
2019-02-05 21:29:03 +11:00
CraftBukkit/Spigot
8b6d75b06e SPIGOT-4193: API for selecting entities by strings
By: md_5 <git@md-5.net>
2019-01-31 15:08:25 +11:00
CraftBukkit/Spigot
b8ededbf19 SPIGOT-4597: Make BlockDropItemEvent use a list
By: md_5 <git@md-5.net>
2019-01-30 11:20:39 +11:00
CraftBukkit/Spigot
a3499fa700 SPIGOT-4598: Shift click on custom workbench inventory causes crash
By: md_5 <git@md-5.net>
2019-01-30 11:10:04 +11:00
CraftBukkit/Spigot
38c8747ab6 Consistent multiple choice APIs for RecipeChoice.
By: md_5 <git@md-5.net>
2019-01-25 13:59:11 +11:00
CraftBukkit/Spigot
92278020ef Add CookTimeTotal API to Furnace
By: md_5 <git@md-5.net>
2019-01-23 10:26:43 +11:00
CraftBukkit/Spigot
09b5837195 SPIGOT-4587: Enforce at least one valid choice for FurnaceRecipe
By: md_5 <git@md-5.net>
2019-01-21 10:39:24 +11:00
CraftBukkit/Spigot
4ae33ae930 SPIGOT-4576: Fix attributes in itemstack internal data being lost
By: md_5 <git@md-5.net>
2019-01-14 10:20:24 +11:00
CraftBukkit/Spigot
1f4d52d582 SPIGOT-4577: Fix loss of int/double custom tags when serialized to yaml
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-01-13 16:25:17 +01:00
CraftBukkit/Spigot
ca571f46b4 Clarify exception thrown when setting drop chance for player inventory
By: md_5 <git@md-5.net>
2019-01-13 14:10:45 +11:00
CraftBukkit/Spigot
5a915978fa SPIGOT-4570: Add FluidLevelChangeEvent
By: md_5 <git@md-5.net>
2019-01-08 21:23:11 +11:00
CraftBukkit/Spigot
73e6e274ff SPIGOT-4566: Don't special case NETHER_PORTAL teleport reason from plugins
By: md_5 <git@md-5.net>
2019-01-08 09:26:34 +11:00
CraftBukkit/Spigot
cf0f429119 Cap Objective Score Length
Adds a check for Score arguments that would crash the client

By: hauno <imhauno@gmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
b05a252b02 Cross World Entity Teleportation
Use Entity.teleportTo for cross-world teleportation in CraftEntity.

By: Andrew Krieger <Slizyboy@hotmail.com>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
bda697612e Check for blank OfflinePlayer Names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
3eede450ed Cap Channel Registrations
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
fe7c2ee97f Identify CraftScheduler threads with useful names
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
CraftBukkit/Spigot
ec15f56573 Remove redundant BlockPosition creation from sleep API
By: md_5 <git@md-5.net>
2019-01-02 22:58:07 +11:00
CraftBukkit/Spigot
5aff480181 Add RecipeChoice.ExactChoice API for NBT matches on ingredients
By: md_5 <git@md-5.net>
2019-01-02 15:56:21 +11:00
CraftBukkit/Spigot
1336c4afb9 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:41:31 +11:00
CraftBukkit/Spigot
92b2d3a400 Replace version constants with methods to prevent compiler inlining
By: md_5 <git@md-5.net>
2018-12-30 16:00:31 +11:00
CraftBukkit/Spigot
adabfc807a Use API method to create offset command completions
By: md_5 <git@md-5.net>
2018-12-28 10:34:51 +11:00
CraftBukkit/Spigot
cf4055b264 SPIGOT-3747: Add API for force loaded chunks
By: md_5 <git@md-5.net>
2018-12-27 12:44:50 +11:00
CraftBukkit/Spigot
92e8783d1e SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent
By: md_5 <git@md-5.net>
2018-12-27 12:19:45 +11:00
CraftBukkit/Spigot
aa6ac2b0e2 SPIGOT-2864: Make Arrow / Item setTicksLived behave like FallingBlock
By: md_5 <git@md-5.net>
2018-12-27 12:02:17 +11:00
CraftBukkit/Spigot
b9c01d1768 SPIGOT-1811: Death message not shown on respawn screen
By: md_5 <git@md-5.net>
2018-12-27 11:37:19 +11:00
CraftBukkit/Spigot
d085b4781b Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
2018-12-26 10:40:14 +11:00
CraftBukkit/Spigot
6631f07cae Do not use deprecated ItemSpawnEvent constructor
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
fbbba56eca SPIGOT-4547: Call EntitySpawnEvent as general spawn fallback event
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
1f95e4ef1c Add API to get / set base arrow damage
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
70789fee2e Add CraftMagicNumbers.MAPPINGS_VERSION for use by NMS plugins
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
d7e312278d Mappings Update
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
CraftBukkit/Spigot
239b2828db SPIGOT-4551: Ignore invalid attribute modifier slots
By: md_5 <git@md-5.net>
2018-12-25 09:27:17 +11:00
CraftBukkit/Spigot
1471b6a942 Reduce copying of positions from block states
By: md_5 <git@md-5.net>
2018-12-22 11:32:11 +11:00
CraftBukkit/Spigot
9ac4c1601e SPIGOT-4493: Allow burnt out furnaces to remain lit like Vanilla whilst retaining SPIGOT-844 API
By: md_5 <git@md-5.net>
2018-12-22 11:04:31 +11:00
CraftBukkit/Spigot
ecd55ecaab Fix Jukebox API not synchronizing playing data with state
By: md_5 <git@md-5.net>
2018-12-22 11:01:20 +11:00
CraftBukkit/Spigot
d6e57b855b SPIGOT-4503: Add API to insert complete ItemStack into Jukebox
By: md_5 <git@md-5.net>
2018-12-22 10:50:57 +11:00
CraftBukkit/Spigot
c030d74398 Make CraftBlockState use BlockPosition
By: md_5 <git@md-5.net>
2018-12-22 10:28:43 +11:00
CraftBukkit/Spigot
1d3a5b9292 SPIGOT-4543: Jukebox playing calls should not use legacy data
By: md_5 <git@md-5.net>
2018-12-22 10:24:13 +11:00
CraftBukkit/Spigot
20287f3b40 Tweak Block.getTemperature to return actual block temperature
By: md_5 <git@md-5.net>
2018-12-19 10:53:08 +11:00
CraftBukkit/Spigot
0cbe91dd0f SPIGOT-2151: Add support for getting simple bounding box of a block
By: Evoluseis <contact@evoluseis.me>
2018-12-17 19:11:04 -05:00
CraftBukkit/Spigot
42831b84cd Add BlockData#getAsString(boolean) to hide unspecified states
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-12-16 18:21:29 -05:00
CraftBukkit/Spigot
0d2bc86153 SPIGOT-4534: CreatureSpawnEvent not being called for CHUNK_GEN
By: md_5 <git@md-5.net>
2018-12-17 12:30:16 +11:00
CraftBukkit/Spigot
bbf578d00a SPIGOT-4526: Add conversion time API for Zombie & subclasses
By: md_5 <git@md-5.net>
2018-12-13 14:10:36 +11:00
CraftBukkit/Spigot
83baf22bde Mappings Update
By: md_5 <git@md-5.net>
2018-12-13 11:00:00 +11:00
CraftBukkit/Spigot
d2a0453b60 Add PlayerSpawned API for Endermites
By: md_5 <git@md-5.net>
2018-12-10 10:39:54 +11:00
CraftBukkit/Spigot
21a5dbe50f Use ImmutableList rather than AbstractList for CraftMetaBook
Although the AbstracList implementation does return a list, it is a
of a form that does not play well with libraries using reflection,
such as Gson. Leveraging a stream and the ImmutableList collector,
this process is greatly simplified (and cleaner).

By: Javacraft <frelling@java-craft.com>
2018-12-05 19:44:07 -05:00
CraftBukkit/Spigot
98ccac33d9 Fix setRecipes(List) not setting Knowledge Book recipes.
Iterator source for recipe NamespacedKeys is changed to use method
parameter 'recipes' specifying recipes to be added, rather than class
property 'recipes', to which recipes are added.

By: Javacraft <frelling@java-craft.com>
2018-12-05 19:22:03 -05:00
CraftBukkit/Spigot
102dee7d4f Mappings Update
By: md_5 <git@md-5.net>
2018-12-06 10:00:00 +11:00
CraftBukkit/Spigot
e9e6bec4e5 Add list of entities to EntityTransformEvent & move die calls
By: nathat890 <nathat890@outlook.com>
2018-12-05 09:51:20 +11:00
CraftBukkit/Spigot
b69f1de549 SPIGOT-4347: Add API to allow storing arbitrary values on ItemStacks
By: Bjarne Koll <LynxPlay101@gmail.com>
2018-12-01 20:26:23 +11:00
CraftBukkit/Spigot
7124aea9c6 Add Vanilla help to default permissions
By: md_5 <git@md-5.net>
2018-12-03 15:16:27 +11:00
CraftBukkit/Spigot
44708f20d8 Tweak outdated windows
By: md_5 <git@md-5.net>
2018-11-28 15:22:20 +11:00
CraftBukkit/Spigot
1114d726cd SPIGOT-4500: callSyncMethod broken
By: md_5 <git@md-5.net>
2018-11-24 17:52:29 +11:00
CraftBukkit/Spigot
9e6d9e593e SPIGOT-4498: Crash on startup
By: md_5 <git@md-5.net>
2018-11-23 14:20:59 +11:00
CraftBukkit/Spigot
273056bd1a SPIGOT-4496: Undeprecate MapView.getId and make int
By: md_5 <git@md-5.net>
2018-11-23 11:50:48 +11:00
CraftBukkit/Spigot
dcef5ef747 SPIGOT-4472: Add Consumer scheduler methods
By: md_5 <git@md-5.net>
2018-11-23 11:40:18 +11:00
CraftBukkit/Spigot
699739c7f0 SPIGOT-4489: NOTE_BLOCK incorrectly has BlockStateMeta
By: md_5 <git@md-5.net>
2018-11-16 15:18:28 +11:00
CraftBukkit/Spigot
6fd5f1379b SPIGOT-4339: Add EntityTransformEvent
Thanks klugemonkey for some contributions in https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/351/overview

By: nathat890 <nathat890@outlook.com>
2018-11-14 14:10:22 +11:00
CraftBukkit/Spigot
3433c5e374 Add API to manipulate boss bar of entities and those created by commands
By: Yannick Lamprecht <yannicklamprecht@live.de>
2018-11-10 20:22:39 +11:00
CraftBukkit/Spigot
6f6c96bd33 SPIGOT-4469: Age API for EndGateway
By: md_5 <git@md-5.net>
2018-11-06 18:12:31 +11:00
CraftBukkit/Spigot
ed68e3973e SPIGOT-4438: Add choice API to furnace recipes
By: md_5 <git@md-5.net>
2018-11-03 21:04:33 +11:00
CraftBukkit/Spigot
88f0b69603 API to get client side view distance.
By: md_5 <git@md-5.net>
2018-11-02 21:24:14 +11:00
CraftBukkit/Spigot
3adff790f9 Remove note about development build
By: md_5 <git@md-5.net>
2018-11-02 19:19:00 +11:00
CraftBukkit/Spigot
6c57828988 SPIGOT-4395: Additions to PlayerBedEnterEvent.
Contributions by blablubbabc as well - https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/500/overview

By: Ugleh <troti@ymail.com>
2018-11-02 18:31:00 +11:00
CraftBukkit/Spigot
bd22f8a46c Make natural item dropping mimic Vanilla
Make sure we don't regress SPIGOT-260 by using exact drop method like Entity does

By: md_5 <git@md-5.net>
2018-10-31 20:09:21 +11:00
CraftBukkit/Spigot
5ba0644847 SPIGOT-4376: Add draft BlockDropItemEvent
By: AndaBlock <anda.block12345@outlook.de>
2018-10-31 19:55:04 +11:00
CraftBukkit/Spigot
43b017f431 SPIGOT-4455: ChunkData.getType returns legacy material
By: md_5 <git@md-5.net>
2018-10-29 07:17:59 +11:00
CraftBukkit/Spigot
b092fdb392 SPIGOT-4447: Clear error for people trying to set an item as a block
By: md_5 <git@md-5.net>
2018-10-27 08:21:49 +11:00
CraftBukkit/Spigot
77d92cd515 SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
By: md_5 <git@md-5.net>
2018-10-27 08:15:41 +11:00
CraftBukkit/Spigot
369edcded9 Add ray tracing and bounding box API
By: blablubbabc <lukas@wirsindwir.de>
2018-10-26 19:59:42 +11:00
CraftBukkit/Spigot
4614a811c9 SPIGOT-4443: Scoreboard RenderType API
By: md_5 <git@md-5.net>
2018-10-26 19:38:41 +11:00
CraftBukkit/Spigot
a194267323 Update to Minecraft 1.13.2
By: md_5 <git@md-5.net>
2018-10-23 06:00:00 +11:00
CraftBukkit/Spigot
6fe7587c8f Remove outdated build delay.
By: md_5 <git@md-5.net>
2018-10-23 05:57:42 +11:00
CraftBukkit/Spigot
6f0acecee5 Add Block#isPassable
By: blablubbabc <lukas@wirsindwir.de>
2018-10-12 00:54:10 +02:00
CraftBukkit/Spigot
be0cc7cf03 Catch plugins setting null Material or BlockData to blocks
By: md_5 <git@md-5.net>
2018-10-13 09:43:05 +11:00
CraftBukkit/Spigot
d41b707a1b Implement maximum repair cost API to AnvilInventory
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-10-05 21:48:54 -04:00
CraftBukkit/Spigot
ba6edc9b8c SPIGOT-4411: Document use of null for shulker colours
By: md_5 <git@md-5.net>
2018-10-06 10:17:06 +10:00
CraftBukkit/Spigot
30980b852c Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-29 19:24:51 -04:00
CraftBukkit/Spigot
0de14a04dd SPIGOT-4399: Add attribute modifier equality test
By: Nathan Wolf <nathan@elmakers.com>
2018-09-26 17:21:53 -07:00
CraftBukkit/Spigot
a0b017be88 SPIGOT-4398: Set ASM7_EXPERIMENTAL flag
By: md_5 <git@md-5.net>
2018-09-27 20:54:14 +10:00
CraftBukkit/Spigot
686bbbbc2b SPIGOT-4397: isChunkGenerated API
By: md_5 <git@md-5.net>
2018-09-26 17:19:16 +10:00
CraftBukkit/Spigot
1075b02812 API to generate filled explorer maps
By: Ugleh <troti@ymail.com>
2018-09-24 19:32:34 +10:00
CraftBukkit/Spigot
4aeb1a6fcd SPIGOT-4391: Sign editable API
By: md_5 <git@md-5.net>
2018-09-24 15:01:10 +10:00
CraftBukkit/Spigot
f30fa96d60 SPIGOT-4389: Fix empty custom inventory title
By: md_5 <git@md-5.net>
2018-09-23 19:14:32 +10:00
CraftBukkit/Spigot
1447b01a56 Don't throw error on invalid data in CraftMetaItem.
By: Senmori <thesenmori@gmail.com>
2018-09-22 10:25:27 -04:00
CraftBukkit/Spigot
0cd71e5e07 Increase expiration time to 10 days
By: md_5 <git@md-5.net>
2018-09-22 17:14:27 +10:00
CraftBukkit/Spigot
ded48a6734 Add API to locate structures.
By: Senmori <thesenmori@gmail.com>
2018-09-21 08:49:54 -04:00
CraftBukkit/Spigot
5df4c4d300 SPIGOT-1916: Attribute modifiers for ItemStacks
By: Senmori <thesenmori@gmail.com>
2018-09-21 20:47:37 +10:00
CraftBukkit/Spigot
109005b578 Implement BatToggleSleepEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-09-16 12:57:03 -04:00
CraftBukkit/Spigot
8ad7440dbd SPIGOT-4373: Item display colours are white by default
Should probably look at all this code at some point

By: md_5 <git@md-5.net>
2018-09-16 08:30:11 +10:00
CraftBukkit/Spigot
18c459de8d SPIGOT-4363: Bad colours in leather armor
By: md_5 <git@md-5.net>
2018-09-11 20:44:34 +10:00
CraftBukkit/Spigot
41347a700a SPIGOT-4314: Ability to change item in frame without playing sound
By: simpleauthority <jacob@algorithmjunkie.com>
2018-09-11 00:09:10 -07:00
CraftBukkit/Spigot
5ac0aa1dbb SPIGOT-4352: MoistureChangeEvent
By: md_5 <git@md-5.net>
2018-09-09 18:53:38 +10:00
CraftBukkit/Spigot
e548ec8ea7 Add ServerLoadEvent
By: Pante <matthiasngeozhongsim@yahoo.com>
2018-09-08 13:37:15 +10:00
CraftBukkit/Spigot
eeb96c0247 SPIGOT-4348: Use online player for setting skull owner if possible
By: md_5 <git@md-5.net>
2018-09-06 20:47:37 +10:00
CraftBukkit/Spigot
7ef8f672e0 Add getFacing method to get the current cardinal direction an entity is facing.
By: Senmori <thesenmori@gmail.com>
2018-09-02 18:28:53 -04:00
CraftBukkit/Spigot
44e4798b95 SPIGOT-4338: breedCause API
By: md_5 <git@md-5.net>
2018-09-01 19:28:12 +10:00
CraftBukkit/Spigot
eb271172ce Fix unbound shaped recipe ingredients
By: md_5 <git@md-5.net>
2018-09-01 14:12:20 +10:00
CraftBukkit/Spigot
b4f00b45eb Expand Recipe API to allow multiple Materials per slot
By: md_5 <git@md-5.net>
2018-09-01 11:04:48 +10:00
CraftBukkit/Spigot
3f8a87dfc5 SPIGOT-4325: Validate coordinate arguments in Chunk/ChunkSnapshot
By: md_5 <git@md-5.net>
2018-08-29 07:44:36 +10:00
CraftBukkit/Spigot
da45a06d52 SPIGOT-4321: Team#getSuffix returns the prefix
By: md_5 <git@md-5.net>
2018-08-29 07:26:59 +10:00
CraftBukkit/Spigot
e75b0ca57e SPIGOT-4319: Conduit damage should be a block event
By: md_5 <git@md-5.net>
2018-08-28 21:00:24 +10:00
CraftBukkit/Spigot
979887d20e SPIGOT-4318: More missing spawn eggs
By: md_5 <git@md-5.net>
2018-08-27 21:01:46 +10:00
CraftBukkit/Spigot
6e786d4111 Fix some formatting in CraftLootable
By: md_5 <git@md-5.net>
2018-08-27 18:32:35 +10:00
CraftBukkit/Spigot
844b70144f SPIGOT-4316: Do even less processing when block placement without physics requested
By: md_5 <git@md-5.net>
2018-08-27 18:27:59 +10:00
CraftBukkit/Spigot
2e41945330 SPIGOT-4313: Unsupported plugin should not crash server
By: md_5 <git@md-5.net>
2018-08-27 12:57:04 +10:00
CraftBukkit/Spigot
891ea11907 SPIGOT-4310: Reset villager career level with trades
By: md_5 <git@md-5.net>
2018-08-27 07:00:56 +10:00
CraftBukkit/Spigot
2eeecfdb92 Fix some tests randomly failing
By: md_5 <git@md-5.net>
2018-08-26 20:44:50 +10:00
CraftBukkit/Spigot
0a468a6738 SPIGOT-4307: Fix hacky API for banners on shields
By: md_5 <git@md-5.net>
2018-08-26 19:18:56 +10:00
CraftBukkit/Spigot
3edc1cf4e0 SPIGOT-4301: Fix more invalid enchants
By: md_5 <git@md-5.net>
2018-08-26 18:48:32 +10:00
CraftBukkit/Spigot
fbec5a9647 SPIGOT-4309: Add "forced" display of particles
By: md_5 <git@md-5.net>
2018-08-26 18:26:09 +10:00
CraftBukkit/Spigot
9fb6b929e8 Add additional tests for CraftBlockData
By: Senmori <thesenmori@gmail.com>
2018-08-25 01:35:40 -04:00
CraftBukkit/Spigot
f578d94680 Update to Minecraft 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 12:00:00 +10:00
CraftBukkit/Spigot
034c12d001 Add note about 1.13.1
By: md_5 <git@md-5.net>
2018-08-26 13:58:37 +10:00
CraftBukkit/Spigot
0be99ea5b2 Remove reflection from CraftBlockData
By: md_5 <git@md-5.net>
2018-08-25 08:39:04 +10:00
CraftBukkit/Spigot
90eefedd86 SPIGOT-4298: Block command sender returns wrong block
By: md_5 <git@md-5.net>
2018-08-22 08:52:17 +10:00
CraftBukkit/Spigot
827d433b65 SPIGOT-4296: Ensure recipe group set in craft translation
By: md_5 <git@md-5.net>
2018-08-21 18:19:37 +10:00
CraftBukkit/Spigot
d54bf8e32b launchProjectile Fish -> FishHook
Thanks Senmori & SpoonFed on IRC

By: md_5 <git@md-5.net>
2018-08-20 18:13:45 +10:00
CraftBukkit/Spigot
7b1ac0159a SPIGOT-4292: Ignore itemstacks with invalid enchants
By: md_5 <git@md-5.net>
2018-08-20 12:49:31 +10:00
CraftBukkit/Spigot
6a88bd220a SPIGOT-4283: Allow setting recipe groups
By: md_5 <git@md-5.net>
2018-08-17 20:40:54 +10:00
CraftBukkit/Spigot
56db52c14b SPIGOT-4276: Fix untyped statistics causing client errors
By: BlackHole <black-hole@live.com>
2018-08-15 23:51:10 +02:00
CraftBukkit/Spigot
02605d55b6 SPIGOT-4271: Fix API error when enderman are not carrying a block
By: md_5 <git@md-5.net>
2018-08-15 08:51:18 +10:00
CraftBukkit/Spigot
bfe8887cfc SPIGOT-4261: Missing turtle / phantom spawn egg meta
By: md_5 <git@md-5.net>
2018-08-13 18:22:57 +10:00
CraftBukkit/Spigot
39c4334d76 SPIGOT-1936: LootTable API
By: Senmori <thesenmori@gmail.com>
2018-08-12 18:39:51 +10:00
CraftBukkit/Spigot
277f0db6c9 SPIGOT-4258: Add Player.updateCommands method
By: md_5 <git@md-5.net>
2018-08-12 09:41:00 +10:00
CraftBukkit/Spigot
408d2a55d6 Fix regression in item priority conversion
By: md_5 <git@md-5.net>
2018-08-12 08:04:52 +10:00
CraftBukkit/Spigot
8a4ae7cde3 Switch around item conversion code as well
By: md_5 <git@md-5.net>
2018-08-11 20:19:12 +10:00
CraftBukkit/Spigot
c21a237a3f SPIGOT-4253: Add way to prioritise item conversion
By: md_5 <git@md-5.net>
2018-08-11 17:43:41 +10:00
CraftBukkit/Spigot
422f1f548e Expand GameRule API
By: Senmori <thesenmori@gmail.com>
2018-08-11 11:24:33 +10:00
CraftBukkit/Spigot
0cd7eb6750 Improve entity hierarchy by adding Mob interface.
By: md_5 <git@md-5.net>
2018-08-10 19:48:09 +10:00
CraftBukkit/Spigot
a41e9fe8a5 Add Unit Tests for geHardness and getBlastResistance
By: Christos Miniotis <chrismin1302@gmail.com>
2018-08-08 04:06:36 +03:00
CraftBukkit/Spigot
2cc5274b68 SPIGOT-4233: Fix some missing handled NBT tags
By: md_5 <git@md-5.net>
2018-08-06 20:10:02 +10:00
CraftBukkit/Spigot
a24a2c26ae Add merging and matching of parsed BlockData
By: md_5 <git@md-5.net>
2018-08-06 14:40:06 +10:00
CraftBukkit/Spigot
2c8962edfa SPIGOT-4230: Improve legacy block types
By: md_5 <git@md-5.net>
2018-08-05 10:04:19 +10:00
CraftBukkit/Spigot
95095d9c58 SPIGOT-4223: Fix inventories using the same TileEntity instance.
By: Senmori <thesenmori@gmail.com>
2018-08-03 19:09:57 -04:00
CraftBukkit/Spigot
fe0d154d53 Potion particles should default to true
By: md_5 <git@md-5.net>
2018-08-03 20:01:12 +10:00
CraftBukkit/Spigot
8173a8a7f6 SPIGOT-4217: Account for ShowIcon to allow custom tipped arrows to merge
By: md_5 <git@md-5.net>
2018-08-03 19:57:09 +10:00
CraftBukkit/Spigot
33f46cbebf SPIGOT-4221: Update surrounding blocks for cancelled break/place
By: md_5 <git@md-5.net>
2018-08-03 11:34:26 +10:00
CraftBukkit/Spigot
db594e7895 Tweak outdated windows
By: md_5 <git@md-5.net>
2018-08-03 09:13:30 +10:00
CraftBukkit/Spigot
b4349f5a60 SPIGOT-3936: Add isInteractable to Material
By: Christos Miniotis <chrismin1302@gmail.com>
2018-08-02 15:26:02 +03:00
CraftBukkit/Spigot
baacb621a6 Fix ChunkData material alone being treated as legacy
By: md_5 <git@md-5.net>
2018-08-03 08:53:52 +10:00
CraftBukkit/Spigot
e9fc2452ed SPIGOT-4214: Catch attempts to create BlockData for items
By: md_5 <git@md-5.net>
2018-08-02 20:24:56 +10:00
CraftBukkit/Spigot
bb6a5d8612 SPIGOT-4199: Riptide related APIs
By: md_5 <git@md-5.net>
2018-08-02 09:38:52 +10:00
CraftBukkit/Spigot
9fedd75309 Pre size legacy hash tables
By: md_5 <git@md-5.net>
2018-08-02 09:07:01 +10:00
CraftBukkit/Spigot
51e1d686e1 Fix merchant inventories with custom titles
By: blablubbabc <lukas@wirsindwir.de>
2018-08-01 08:49:53 +10:00
CraftBukkit/Spigot
9dfef07bb5 SPIGOT-4204: Allow passing data to AreaEffectCloud particles
By: md_5 <git@md-5.net>
2018-08-01 08:21:02 +10:00
CraftBukkit/Spigot
dc7b94233e SPIGOT-4029: Add event for commands being sent to client
By: md_5 <git@md-5.net>
2018-07-31 10:46:09 +10:00
CraftBukkit/Spigot
a0dd99dc78 SPIGOT-4197: Account for double trapped chests
By: md_5 <git@md-5.net>
2018-07-31 09:14:44 +10:00
CraftBukkit/Spigot
94950beea7 SPIGOT-227: Add entity persistent flag
Non-persistent entities won't get saved when the chunk saves the entities.
Entities that are passengers of a non-persistent entity won't get saved.
Players won't save their vehicle, if the player is directly or
indirectly riding a non-persistent entity.

By: blablubbabc <lukas@wirsindwir.de>
2018-06-14 19:59:21 +02:00
CraftBukkit/Spigot
9f139c21fc Update default spawn-limits
By: md_5 <git@md-5.net>
2018-07-30 10:47:23 +10:00
CraftBukkit/Spigot
2a1c32b754 Include class path in legacy conversion errors.
By: md_5 <git@md-5.net>
2018-07-30 09:19:07 +10:00
CraftBukkit/Spigot
9735d97608 SPIGOT-1714: Draft API for player list header / footer
By: md_5 <git@md-5.net>
2018-07-29 21:30:31 +10:00
CraftBukkit/Spigot
53dc3c4b9c SPIGOT-4182: Implement cursor captions
By: md_5 <git@md-5.net>
2018-07-29 15:10:08 +10:00
CraftBukkit/Spigot
9123e804dc SPIGOT-4177: Change behaviour of item display names yet again
By: md_5 <git@md-5.net>
2018-07-29 09:24:42 +10:00
CraftBukkit/Spigot
9202a305e9 Update default config links
By: md_5 <git@md-5.net>
2018-07-28 18:34:37 +10:00
CraftBukkit/Spigot
90e0341727 SPIGOT-4166: Fix Tags being corrupted by early access (and not reflecting reloads)
By: md_5 <git@md-5.net>
2018-07-28 14:39:35 +10:00
CraftBukkit/Spigot
94177423d1 SPIGOT-4168: Patch up some legacy calls
By: md_5 <git@md-5.net>
2018-07-28 10:23:32 +10:00
CraftBukkit/Spigot
f97fd5873f SPIGOT-4164: Treat new _AIR blocks as air
By: md_5 <git@md-5.net>
2018-07-28 08:28:56 +10:00
CraftBukkit/Spigot
5bdad5e046 SPIGOT-4159: Fix Player.launchProjectile(Trident.class)
By: md_5 <git@md-5.net>
2018-07-27 14:29:02 +10:00
CraftBukkit/Spigot
c3205e4e12 SPIGOT-4137: Fix World.regenerateChunk
By: md_5 <git@md-5.net>
2018-07-25 19:32:06 +10:00
CraftBukkit/Spigot
64f2fdae29 SPIGOT-3981: Make custom inventories return specialised types where practical.
By: Senmori <thesenmori@gmail.com>
2018-07-25 18:03:26 +10:00
CraftBukkit/Spigot
8ee6f8cd25 SPIGOT-4147: Fix ItemFrames not able to be placed UP or DOWN
By: Senmori <thesenmori@gmail.com>
2018-07-24 18:41:49 -04:00
CraftBukkit/Spigot
7c8edd3ea1 SPIGOT-4135: Fix DOLPHINS_GRACE PotionEffectType Wrapper.
By: md_5 <git@md-5.net>
2018-07-24 22:17:20 +10:00
CraftBukkit/Spigot
17822f33ef SPIGOT-4128: Skip hopeless entity conversion
By: md_5 <git@md-5.net>
2018-07-24 20:46:49 +10:00
CraftBukkit/Spigot
7c7ba573a9 SPIGOT-4132: Fix missing break in RedstoneWire.setFace
By: md_5 <git@md-5.net>
2018-07-24 12:46:21 +10:00
CraftBukkit/Spigot
969eecd95e SPIGOT-4131: Fix typo affecting setting BlockData
By: md_5 <git@md-5.net>
2018-07-24 12:04:34 +10:00
CraftBukkit/Spigot
a5a9d41dc6 SPIGOT-4128: Greatly improve spawn egg deserialization
By: md_5 <git@md-5.net>
2018-07-24 10:49:48 +10:00
CraftBukkit/Spigot
9ca157b2b6 SPIGOT-4123: Fix display names cleared by plugins / serialization
By: md_5 <git@md-5.net>
2018-07-24 10:47:51 +10:00
CraftBukkit/Spigot
6ecf05152e Add map ID API
By: md_5 <git@md-5.net>
2018-07-24 10:18:06 +10:00
CraftBukkit/Spigot
dd007977eb SPIGOT-4120: Store BlockData enum mappings per class
By: md_5 <git@md-5.net>
2018-07-24 10:08:34 +10:00
CraftBukkit/Spigot
f69e943876 SPIGOT-4122: Fix an instance of legacy item inequalities
By: md_5 <git@md-5.net>
2018-07-24 08:57:58 +10:00
CraftBukkit/Spigot
fb4c827ec7 SPIGOT-4124: Fix misplaced PISTON_HEAD
By: md_5 <git@md-5.net>
2018-07-24 08:25:13 +10:00
CraftBukkit/Spigot
f07fb63fb3 SPIGOT-824: SpongeAbsorbEvent
By: Articdive <articdive@gmail.com>
2018-07-23 17:20:52 +10:00
CraftBukkit/Spigot
f4d1912ded SPIGOT-4112: scoreboard display names are not nullable
By: md_5 <git@md-5.net>
2018-07-23 11:46:23 +10:00
CraftBukkit/Spigot
2e7d945edc Just throw section signs into components a la Mojang
By: md_5 <git@md-5.net>
2018-07-23 10:48:28 +10:00
CraftBukkit/Spigot
383a522c59 Fix Player.playNote
By: md_5 <git@md-5.net>
2018-07-22 14:40:48 +10:00
CraftBukkit/Spigot
1e014acb80 Update to Minecraft 1.13
By: md_5 <git@md-5.net>
2018-07-22 12:00:00 +10:00
CraftBukkit/Spigot
5bc15c40d8 SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads
By: md_5 <git@md-5.net>
2018-07-21 11:20:38 +10:00
CraftBukkit/Spigot
2a1945fae1 SPIGOT-4100: Ignore invalid item display names
By: md_5 <git@md-5.net>
2018-07-21 09:54:08 +10:00
CraftBukkit/Spigot
8eca53392b CraftBlock.toString shouldn't make legacy call
By: md_5 <git@md-5.net>
2018-07-20 16:10:48 +10:00
CraftBukkit/Spigot
15a21299da SPIGOT-840, SPIGOT-2522: [Draft] Add EntityPotionEffectChangeEvent
Discussion ongoing in PR #449

By: kaenganxt <kaenganxt@mc-anura.de>
2018-07-20 16:04:37 +10:00
CraftBukkit/Spigot
8ca7918c56 Fix bad old API call in CraftBlockState
By: md_5 <git@md-5.net>
2018-07-20 10:32:17 +10:00
CraftBukkit/Spigot
e5c63f2b0c Update EntityChangeBlockEvent to new BlockData API
By: md_5 <git@md-5.net>
2018-07-20 10:29:34 +10:00
CraftBukkit/Spigot
6826aaee8f SPIGOT-4074: Fix createBlockData succeeding on garbage
By: md_5 <git@md-5.net>
2018-07-20 10:20:15 +10:00
CraftBukkit/Spigot
9f86013d8a SPIGOT-4047: Ignore non-existent potions
By: md_5 <git@md-5.net>
2018-07-19 11:34:19 +10:00
CraftBukkit/Spigot
1185891544 SPIGOT-4046: Fix selectors in tick functions
By: md_5 <git@md-5.net>
2018-07-19 10:58:31 +10:00
CraftBukkit/Spigot
cda2741121 SPIGOT-4049: Books lose NBT data
By: md_5 <git@md-5.net>
2018-07-19 10:12:55 +10:00
CraftBukkit/Spigot
39de92187e Revert "SPIGOT-4035: Enforce case-sensitivity for chat format code matching."
Minecraft allows uppercase colour codes.

This reverts commit 844204b345.

By: md_5 <git@md-5.net>
2018-07-19 10:07:04 +10:00
CraftBukkit/Spigot
2f839ed6de SPIGOT-4041: Fix regressed item naming
By: md_5 <git@md-5.net>
2018-07-18 17:39:04 +10:00
CraftBukkit/Spigot
9440c6cd75 SPIGOT-4040: Further increase team related limits
By: md_5 <git@md-5.net>
2018-07-18 17:11:44 +10:00
CraftBukkit/Spigot
88909dc795 Fix Block.setType alone being treated as legacy
By: md_5 <git@md-5.net>
2018-07-18 16:59:41 +10:00
CraftBukkit/Spigot
5e42cbdb42 Delete Block.setData byte methods from API
By: md_5 <git@md-5.net>
2018-07-18 16:55:44 +10:00
CraftBukkit/Spigot
b926eff988 SPIGOT-4020: Fix DustOptions colouring
By: md_5 <git@md-5.net>
2018-07-18 16:40:31 +10:00
CraftBukkit/Spigot
88ee63f959 Fix changes that got lost late in development cycle
By: md_5 <git@md-5.net>
2018-07-18 14:13:20 +10:00
CraftBukkit/Spigot
f50cda3c51 SPIGOT-4028: Improve legacy ItemStack conversion
By: md_5 <git@md-5.net>
2018-07-18 14:01:15 +10:00
CraftBukkit/Spigot
01e8982b04 SPIGOT-4037: Improve legacy BlockState.setData
By: md_5 <git@md-5.net>
2018-07-18 09:53:50 +10:00
CraftBukkit/Spigot
07fa7316e0 SPIGOT-4036: Handle regular/uncoloured shulker boxes
By: md_5 <git@md-5.net>
2018-07-18 09:45:27 +10:00
CraftBukkit/Spigot
199b4654cd Amend previous unit test to use JSON rather than toString for validation
By: md_5 <git@md-5.net>
2018-07-18 09:40:51 +10:00
CraftBukkit/Spigot
844204b345 SPIGOT-4035: Enforce case-sensitivity for chat format code matching.
This maintains case-insensitivity for URL matching, and adds a unit test to verify correct conversion via CraftChatMessage.

By: Hex <hex@hex.lc>
2018-07-17 16:42:30 -06:00
CraftBukkit/Spigot
be907fd21b SPIGOT-4030: Improve CraftItemStack.hasItemMeta
By: md_5 <git@md-5.net>
2018-07-17 17:13:55 +10:00
CraftBukkit/Spigot
ac0ac69ea5 SPIGOT-4031: Improve bounds checking in CraftInventoryView.
By: Hex <hex@hex.lc>
2018-07-16 22:47:47 -06:00
CraftBukkit/Spigot
11239259a0 SPIGOT-4026: Clicking on command error suggestion should return verbatim input
By: md_5 <git@md-5.net>
2018-07-17 06:49:40 +10:00
CraftBukkit/Spigot
dbebb4f89b SPIGOT-4022: Improve utility of Entity.getName for non-players
By: md_5 <git@md-5.net>
2018-07-17 06:36:08 +10:00
CraftBukkit/Spigot
55c801dcce Fix completion of multiple arguments in Bukkit commands
By: md_5 <git@md-5.net>
2018-07-16 21:03:46 +10:00
CraftBukkit/Spigot
e64f8938ce SPIGOT-4017: Increase Team related length limits
By: md_5 <git@md-5.net>
2018-07-16 19:15:26 +10:00
CraftBukkit/Spigot
a04c494980 Standardise empty string as null / not set
By: md_5 <git@md-5.net>
2018-07-16 16:20:26 +10:00
CraftBukkit/Spigot
9856b80c22 SPIGOT-4016: Fix clearing custom names
By: md_5 <git@md-5.net>
2018-07-16 14:39:01 +10:00
CraftBukkit/Spigot
45bc3007b4 Add ignore-vanilla-permissions option to assist with disabling default commands
By: md_5 <git@md-5.net>
2018-07-16 12:06:06 +10:00
CraftBukkit/Spigot
c712031a0d CraftBanner also needs to use wool data
By: md_5 <git@md-5.net>
2018-07-16 10:37:56 +10:00
CraftBukkit/Spigot
5d2f9be56c SPIGOT-4015: Make CraftTeam tie into backing prefix/suffix
By: md_5 <git@md-5.net>
2018-07-16 10:20:53 +10:00
CraftBukkit/Spigot
c5cc779f03 SPIGOT-4008: Fix server-icon loading
By: md_5 <git@md-5.net>
2018-07-16 10:08:07 +10:00
CraftBukkit/Spigot
cfe3572a0e SPIGOT-4011: Clear error for plugin misusing ChunkData
By: md_5 <git@md-5.net>
2018-07-16 09:01:23 +10:00
CraftBukkit/Spigot
4ce8158350 Fish / Dolphin should be WaterMob, and WaterMob Creature
By: md_5 <git@md-5.net>
2018-07-16 08:51:34 +10:00
CraftBukkit/Spigot
e034ae75f7 SPIGOT-4004: Fix banner pattern colouring
By: md_5 <git@md-5.net>
2018-07-15 23:18:42 +10:00
CraftBukkit/Spigot
22abf2aab6 Validate world in CraftServer.createChunkData
By: md_5 <git@md-5.net>
2018-07-15 19:52:26 +10:00
CraftBukkit/Spigot
886827a6f4 SPIGOT-4003: Fix TropicalFish.getType
By: md_5 <git@md-5.net>
2018-07-15 18:52:21 +10:00
CraftBukkit/Spigot
4a0fd18b27 Add javadocs to new CraftBlockData utility methods.
By: Senmori <thesenmori@gmail.com>
2018-07-15 02:25:03 -04:00
CraftBukkit/Spigot
11cdaa50a3 Add EntityToggleSwimEvent and isSwimming / setSwimming API
By: md_5 <git@md-5.net>
2018-07-15 16:17:35 +10:00
CraftBukkit/Spigot
444ecb9903 SPIGOT-4002: Fix usage of default: statements in 1.13 plugins compiled w/ Eclipse
By: md_5 <git@md-5.net>
2018-07-15 15:00:35 +10:00
CraftBukkit/Spigot
7e0a66fdd5 Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
CraftBukkit/Spigot
d1e91a8adb Player metadata really should be keyed by UUID not name
By: md_5 <git@md-5.net>
2018-07-11 20:02:32 +10:00
CraftBukkit/Spigot
772c19a770 Add validation checks to CraftPlayer.teleport
By: md_5 <git@md-5.net>
2018-07-11 09:06:48 +10:00
CraftBukkit/Spigot
2458ceb0f8 SPIGOT-3976: Add some additional toStrings to CraftEntity classes
By: md_5 <git@md-5.net>
2018-06-27 20:27:52 +10:00
CraftBukkit/Spigot
0e8e610b0e SPIGOT-3619: Improve CraftScheduler#isCurrentlyRunning
* No longer returns opposite of what it should
* Works for sync tasks as well

By: blablubbabc <lukas@wirsindwir.de>
2018-06-17 15:04:25 +02:00
CraftBukkit/Spigot
2fff732946 Remove outdated build delay.
By: md_5 <git@md-5.net>
2018-06-17 13:02:54 +10:00
CraftBukkit/Spigot
bab7fe16a5 Implement Arrow tile methods
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-05-01 15:27:59 -04:00
CraftBukkit/Spigot
a002698e90 SPIGOT-3923: Defer PlayerInventory ItemStack change to 1.13
By: md_5 <git@md-5.net>
2018-05-05 08:22:40 +10:00
CraftBukkit/Spigot
1663f776d0 SPIGOT-3920: Make player inventories consistently return null for empty stacks
By: md_5 <git@md-5.net>
2018-05-04 17:09:46 +10:00
CraftBukkit/Spigot
8e14ee2168 SPIGOT-3908: Fix signed books incorrect defaulting to unresolved
By: md_5 <git@md-5.net>
2018-04-19 08:03:39 +10:00
CraftBukkit/Spigot
79e06952d3 SPIGOT-3904: Consolidate book handling code
By: md_5 <git@md-5.net>
2018-04-16 19:19:38 +10:00
CraftBukkit/Spigot
d54b9c77e9 SPIGOT-3886: Plugin exceptions in map rendering should not crash server
By: md_5 <git@md-5.net>
2018-04-08 20:03:12 +10:00
CraftBukkit/Spigot
39a4128d9d Remove magic values in scheduler package
By: Senmori <thesenmori@gmail.com>
2018-03-07 13:41:24 -05:00
CraftBukkit/Spigot
d769b80901 Add setTarget and getTarget to Slime.
By: Senmori <thesenmori@gmail.com>
2018-02-26 20:52:09 -05:00
CraftBukkit/Spigot
ec3128505e Add missing WEARABLE EnchantmentTarget
By: md_5 <git@md-5.net>
2018-02-19 20:48:27 +11:00
CraftBukkit/Spigot
17078ba66a SPIGOT-3824: Return the direct vehicle of an entity, not the root vehicle
By: BlackHole <black-hole@live.com>
2018-02-16 23:14:36 +01:00
CraftBukkit/Spigot
c3bf431172 Fix incorrect unit test name
By: md_5 <git@md-5.net>
2018-02-16 10:33:36 +11:00
CraftBukkit/Spigot
5de19851fb Fix bad usage of setter in previous commit
By: md_5 <git@md-5.net>
2018-02-12 10:38:09 +11:00
CraftBukkit/Spigot
9355bb0ed9 Expand Structure Block API
By: Senmori <thesenmori@gmail.com>
2018-02-12 10:29:51 +11:00
CraftBukkit/Spigot
4377f7fede SPIGOT-3813: Player.setHealth not reliable in conjunction with attribute API
By: md_5 <git@md-5.net>
2018-02-12 08:59:32 +11:00
CraftBukkit/Spigot
4eeeca56d9 SPIGOT-3812: Workbench from Bukkit.createInventory does not update
By: md_5 <git@md-5.net>
2018-02-12 08:43:11 +11:00
CraftBukkit/Spigot
e7c0344002 SPIGOT-3807: Improve getEyeHeight
By: md_5 <git@md-5.net>
2018-02-10 12:17:00 +11:00
CraftBukkit/Spigot
7453a5a9eb Expand EnderSignal API
By: Senmori <thesenmori@gmail.com>
2018-02-03 17:48:41 +11:00
CraftBukkit/Spigot
a626609da1 SPIGOT-2911: Implement AbstractHorseInventory
By: md_5 <git@md-5.net>
2018-01-28 09:55:16 +11:00
CraftBukkit/Spigot
6f9c0bf3cb Expand CreatureSpawner API
By: Senmori <thesenmori@gmail.com>
2018-01-24 17:18:25 +11:00
CraftBukkit/Spigot
4cb801b840 Unit tests for Material.isItem
By: md_5 <git@md-5.net>
2018-01-16 09:57:47 +11:00
CraftBukkit/Spigot
b7e9ff9023 SPIGOT-3751: BossBar flag methods reversed
By: md_5 <git@md-5.net>
2018-01-10 12:40:38 +11:00
CraftBukkit/Spigot
7e3f873771 Fix Block PistonMoveReaction
By: md_5 <git@md-5.net>
2018-01-10 10:47:26 +11:00
CraftBukkit/Spigot
05db940713 Fix opening shulker inventories
By: md_5 <git@md-5.net>
2018-01-08 16:07:18 +11:00
CraftBukkit/Spigot
30fe3b362c Remove a bunch of spurious _INVALID_ methods.
By: md_5 <git@md-5.net>
2018-01-05 13:04:18 +11:00
CraftBukkit/Spigot
2f48bbf4cd print -> println in world start region preparation
By: md_5 <git@md-5.net>
2018-01-02 20:24:33 +11:00
CraftBukkit/Spigot
39edf63dc2 SPIGOT-3724: Make CraftMetaSkull work reliably for player skulls
By: md_5 <git@md-5.net>
2018-01-01 12:15:43 +11:00
CraftBukkit/Spigot
9a972c6f30 SPIGOT-355: API for Villager careers
By: Senmori <thesenmori@gmail.com>
2017-12-31 21:21:03 +11:00
CraftBukkit/Spigot
7fc559ec56 Send title timings before sending titles
By: md_5 <git@md-5.net>
2017-12-30 13:39:54 +11:00
CraftBukkit/Spigot
a024f4c8d2 Remove unused private static final variable
By: md_5 <git@md-5.net>
2017-12-28 14:47:57 +11:00
CraftBukkit/Spigot
02b4af5356 SPIGOT-3696: Clearing custom name of some blocks does not work
By: blablubbabc <lukas@wirsindwir.de>
2017-12-16 03:43:04 +01:00
CraftBukkit/Spigot
f6d4eae5c3 Allow unloading all worlds except the main one
By: md_5 <git@md-5.net>
2017-12-16 10:19:00 +11:00
CraftBukkit/Spigot
dfa7c9eedb SPIGOT-2892: Fix some clone implementations and add unit test
By: md_5 <git@md-5.net>
2017-12-16 10:18:34 +11:00
CraftBukkit/Spigot
9a2cfd9957 Add ChunkDataTest from PR #157
By: Antony Riley <antony@cyberiantiger.org>
2017-12-08 19:37:15 +11:00
CraftBukkit/Spigot
1a8d9ecfc8 SPIGOT-3684: Team#setColor does not trigger scoreboard update
By: md_5 <git@md-5.net>
2017-12-08 09:31:20 +11:00
CraftBukkit/Spigot
43c03ad8af SPIGOT-3664: Add Material getter to ChunkSnapshot
By: md_5 <git@md-5.net>
2017-12-07 10:25:16 +11:00
CraftBukkit/Spigot
69777fb8dc SPIGOT-3663: Add plugin parameter to hidePlayer+showPlayer.
By: Chris Cowan <agentme49@gmail.com>
2017-12-02 16:58:41 -08:00
CraftBukkit/Spigot
afb2211b12 Fix some formatting in CraftEventFactory
By: md_5 <git@md-5.net>
2017-11-22 17:05:59 +11:00
CraftBukkit/Spigot
1256b90fd8 SPIGOT-1505: PlayerItemMendEvent
By: Senmori <thesenmori@gmail.com>
2017-11-21 10:17:31 +11:00
CraftBukkit/Spigot
cd791fe451 SPIGOT-690: Try to make force opened enchant tables work a bit better
By: md_5 <git@md-5.net>
2017-11-18 10:48:16 +11:00
CraftBukkit/Spigot
a8a168aba4 Add setSpawnLocation(Location)
By: Cory Redmond <ace@ac3-servers.eu>
2016-07-11 02:20:23 +01:00
CraftBukkit/Spigot
82913cc71b Don't special case 'invalid' usernames for UUIDs.
By: md_5 <git@md-5.net>
2014-04-20 18:58:00 +10:00
CraftBukkit/Spigot
2a6be42be0 Use generics in health scaling methods
By: md_5 <git@md-5.net>
2017-11-17 11:08:26 +11:00
CraftBukkit/Spigot
70c2a1b52a CraftMetaFirework: AssertionError -> IllegalArgumentException
By: md_5 <git@md-5.net>
2017-11-17 10:15:14 +11:00
CraftBukkit/Spigot
162a64ac95 SPIGOT-1891: Player.playNote should use RECORDS category
This is what NoteBlock.play etc uses.

By: md_5 <git@md-5.net>
2017-11-14 09:57:46 +11:00
CraftBukkit/Spigot
660b7ed1b6 SPIGOT-3649: Backwards check in playEffect
By: md_5 <git@md-5.net>
2017-11-13 08:47:04 +11:00
CraftBukkit/Spigot
648dd6e32f Add Score.isScoreSet()Z API.
By: md_5 <git@md-5.net>
2017-11-10 10:50:58 +11:00
CraftBukkit/Spigot
b6ce01dac8 Catch all exceptions from plugin conversation handling
By: md_5 <git@md-5.net>
2017-11-10 10:44:27 +11:00
CraftBukkit/Spigot
d87e31cf51 SPIGOT-3644: Fix missed yaw callsite update
By: md_5 <git@md-5.net>
2017-11-09 13:07:25 +11:00
CraftBukkit/Spigot
4a0e197bb8 Implement max fuse tick & explosion radius methods to Creeper
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-11-07 07:38:58 -05:00
CraftBukkit/Spigot
8e873a6220 SPIGOT-3629: Greatly expand entity effect API
By: md_5 <git@md-5.net>
2017-11-07 19:32:24 +11:00
CraftBukkit/Spigot
f7d75ce15b SPIGOT-3637: Adjust yaw yet again
By: md_5 <git@md-5.net>
2017-11-07 17:21:38 +11:00
CraftBukkit/Spigot
5f46670617 SPIGOT-3622: Issue in some combinations of spawn protection
By: md_5 <git@md-5.net>
2017-10-28 16:00:15 +11:00
CraftBukkit/Spigot
e3d53900c0 SPIGOT-3613: Success count not reset for exceptions.
By: md_5 <git@md-5.net>
2017-10-17 21:08:43 +11:00
CraftBukkit/Spigot
009d5ad78b SPIGOT-3605: Spawn eggs not saving internal data
By: md_5 <git@md-5.net>
2017-10-09 18:32:45 +11:00
CraftBukkit/Spigot
b147b1834f Fix zombie professions
By: md_5 <git@md-5.net>
2017-10-09 18:18:11 +11:00
CraftBukkit/Spigot
28399d699f SPIGOT-3587: Set head rotation when spawning entity
By: md_5 <git@md-5.net>
2017-10-01 11:01:49 +11:00
CraftBukkit/Spigot
32a52470be SPIGOT-3565: Head yaw is "more accurate" for living entities
By: md_5 <git@md-5.net>
2017-09-28 16:23:14 +10:00
CraftBukkit/Spigot
6f9b17e08b Fix active async tasks not cancelled by CraftScheduler#cancelTasks(Plugin)
By: blablubbabc <lukas@wirsindwir.de>
2017-08-29 13:19:14 +02:00
CraftBukkit/Spigot
5e3ba4ff73 Update to Minecraft 1.12.2
By: md_5 <git@md-5.net>
2017-09-18 20:00:00 +10:00
CraftBukkit/Spigot
65ab757f26 Remove outdated build delay.
By: md_5 <git@md-5.net>
2017-09-14 21:39:04 +10:00
CraftBukkit/Spigot
a939c0b974 SPIGOT-3561: Fix selectors in SuccessCount
By: md_5 <git@md-5.net>
2017-09-09 12:51:18 +10:00
CraftBukkit/Spigot
e594b59798 SPIGOT-3553: Add OfflinePlayer based methods to SkullMeta
By: md_5 <git@md-5.net>
2017-09-06 16:14:21 +10:00
CraftBukkit/Spigot
d68b0a0f44 SPIGOT-3551: Recursively unrestrict advancements
By: md_5 <git@md-5.net>
2017-09-06 16:07:41 +10:00
CraftBukkit/Spigot
587e93b11a Add BukkitTask#isCancelled
By: blablubbabc <lukas@wirsindwir.de>
2017-08-29 13:46:18 +02:00
CraftBukkit/Spigot
c1ec43fdd8 SPIGOT-1107: Shift clicking and delegation for custom inventories
PR #398

By: Jannyboy11 <jannyboy11@gmail.com>
2017-08-18 18:52:09 +10:00
CraftBukkit/Spigot
1ca95d2193 Fix CraftBanner initialisation.
By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-07 03:30:41 +02:00
CraftBukkit/Spigot
89b3d6e8a6 SPIGOT-3491: Add option to bypass permissions in advancements
By: md_5 <git@md-5.net>
2017-08-06 09:07:24 +10:00
CraftBukkit/Spigot
8844b9ade9 Improvements to BlockStates
* Actually capture all the data of TileEntities. This is done by creating a copy of the TileEntity. The methods of BlockState which currently directly access the TileEntity reference will modify the data of that TileEntity-snapshot instead.
* With the call to BlockState.update, the captured TileEntity data gets applied to the current TileEntity in the world.
* Methods which trigger block specific actions will use the current TileEntity from the world.
* CraftBlockState does not hand out the wrapped or the snapshot TileEntity directly. Instead, it provides an applyTo method to copy the data to a given TileEntity and a method to directly get a copy of the TileEntity NBT data represented by the BlockState. CraftMetaBlockState was updated to make use of that.
* Added #getSnapshotInventory() to bukkit which allows modifiying the captured inventory snapshots of containers.
* Tried to clarify which methods only work if the BlockState is placed, which methods require the block in the world to still be of the same type (methods which trigger actions), and that .getInventory() directly modifies the inventory of the block in the world if the BlockState is placed and becomes invalid if the block type is changed.

Backwards compatibility

* If the BlockState acts as InventoryHolder, getInventory() will still return the inventory directly backed by the TileEntity in the world (like before), and not the snapshot inventory. This compromise should reduce the potential of these changes to break existing plugins, or craftbukkit's own use of BlockState.
* The snapshot's inventory can be accessed by a new method getSnapshotInventory()
* In case the BlockState is not placed (if it was retrieved from the MetaBlockState of an item), the getInventory() method will however return the snapshot inventory. So that when the BlockState gets applied back to the item, the inventory changes are properly included.
* With the changes to CraftMetaBlockState it is no longer required to call the update method before passing a modified BlockState to the CraftMetaBlockState. For backwards compatibility the update method will simply return true for a non-placed BlockState, without actually doing anything.

Impact on plugins
* Restoring blocks now actually works as expected, properly restoring the TileEntity data, reglardless if the block changed its type in the meantime.
* Plugins are now consistently required to call the update method in order to apply changes to blocks. Though, regarding the Javadoc they should have been required to do so anyways.
* New feature: Plugins can take and modify inventory snapshots.
* Breaking change: If a plugin gets the BlockState of a block in the world, modifies the inventory returned by .getInventory(), and then tries to use the same BlockState to apply the TileEntity data to an ItemStack block meta, the ItemStack will use the snapshot inventory, disregarding the changes made to the inventory returned by .getInventory(). This is the compromise of .getInventory() returning the inventory directly backed by the TileEntity in the world.

Other fixes related to BlockState:
* TileEntityContainer#getLocation() will run into a NPE if the TileEntity is non-placed (ex. when getting the BlockState from a CraftMetaBlockState).
* Beacon.getEntitiesInRange() would previously throw a NPE if called for a non-placed BlockState. It was changed to now require to be placed and use the current TileEntity in the world. If the TileEntity in the world is no longer a beacon, it will return an empty list.
* EndGateway now supports setting and getting the exit location even for non-placed EndGateways (inside BlockStateMeta) by using / returning a location with world being null.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-05 14:37:19 +10:00
CraftBukkit/Spigot
ad7106f650 Add build delay back
By: md_5 <git@md-5.net>
2017-08-04 16:09:17 +10:00
CraftBukkit/Spigot
0cda4f9617 Update to Minecraft 1.12.1
By: md_5 <git@md-5.net>
2017-08-03 23:00:00 +10:00
CraftBukkit/Spigot
4ba3003a60 Remove outdated build delay.
By: md_5 <git@md-5.net>
2017-08-03 21:10:43 +10:00
CraftBukkit/Spigot
cdeade672d SPIGOT-3485: Launch shulker bullets as projectiles
By: md_5 <git@md-5.net>
2017-08-03 08:23:27 +10:00
CraftBukkit/Spigot
01bccda243 Implement BroadcastMessageEvent
By: BillyGalbreath <Blake.Galbreath@GMail.com>
2017-07-16 18:45:08 -05:00
CraftBukkit/Spigot
aba05b661c SPIGOT-3461: Standardise plugin load timing
By: md_5 <git@md-5.net>
2017-07-26 13:20:29 +10:00
CraftBukkit/Spigot
6d76725098 Correct scheduler behaviour with intervals of >= Integer.MAX_VALUE (circa 3 years).
By: md_5 <git@md-5.net>
2017-07-25 15:36:44 +10:00
CraftBukkit/Spigot
f4e233550c SPIGOT-3432: Add playNote support for new sounds
By: md_5 <git@md-5.net>
2017-07-24 17:41:08 +10:00
CraftBukkit/Spigot
8bafc76ff2 SPIGOT-3433: Improve AreaEffectCloud#getSource
By: md_5 <git@md-5.net>
2017-07-22 09:51:22 +10:00
CraftBukkit/Spigot
b4a099c163 SPIGOT-3428: Recover from invalid firework data
By: md_5 <git@md-5.net>
2017-07-19 09:56:35 +10:00
CraftBukkit/Spigot
16a95139f7 SPIGOT-3425: Correct slot type calculation
By: md_5 <git@md-5.net>
2017-07-16 11:03:19 +10:00
CraftBukkit/Spigot
8f5c16fce3 SPIGOT-3423: Don't treat technical piston block as BlockStateMeta
By: md_5 <git@md-5.net>
2017-07-16 10:48:21 +10:00
CraftBukkit/Spigot
7145fd4941 SPIGOT-3417: Event for shearing snowman
By: md_5 <git@md-5.net>
2017-07-15 09:53:22 +10:00
CraftBukkit/Spigot
e6c3102b03 SPIGOT-3416: Cap team prefix / suffix at correct value of 16
By: md_5 <git@md-5.net>
2017-07-13 12:42:45 +10:00
CraftBukkit/Spigot
bb0a0c3231 SPIGOT-3409: Improve performance of registering stupid amounts of permissions in plugin.yml
By: md_5 <git@md-5.net>
2017-07-10 21:05:47 +10:00
CraftBukkit/Spigot
e626522be7 SPIGOT-3407: Set damager for evoker fangs
By: md_5 <git@md-5.net>
2017-07-08 22:40:54 +10:00
CraftBukkit/Spigot
b7f6ba2171 Increase expiration time to two weeks.
By: md_5 <git@md-5.net>
2017-07-04 20:52:11 +10:00
CraftBukkit/Spigot
faa9a96c90 SPIGOT-3387: Prevent null enchantments in ItemMeta
By: BlackHole <black-hole@live.com>
2017-06-28 18:37:22 +02:00
CraftBukkit/Spigot
1396c4c1ec SPIGOT-3381: Save older serialized enchants
By: md_5 <git@md-5.net>
2017-06-26 09:49:28 +10:00
CraftBukkit/Spigot
71404da149 SPIGOT-3379: Generalise canPickupItems to other entities.
By: md_5 <git@md-5.net>
2017-06-26 08:34:52 +10:00
CraftBukkit/Spigot
c2453f20d4 SPIGOT-3336: HideFlags will now serialize as a List rather than a Set.
HideFlags will be serialized as a list and deserialized as an Iterable.
This will allow maximum flexibility on both the formats it can be
serialized into and formats it can be deserialized from.

By: Jeremy Wood <farachan@gmail.com>
2017-06-14 09:17:14 -04:00
CraftBukkit/Spigot
e97c71d131 Treat Vanilla commands as Bukkit Commands
By: md_5 <git@md-5.net>
2017-06-21 19:14:51 +10:00
CraftBukkit/Spigot
50ba730c54 Increase expire time to 7 days
By: md_5 <git@md-5.net>
2017-06-17 17:45:09 +10:00
CraftBukkit/Spigot
0fab9a4f3a SPIGOT-3342: Fix invalid usage of null in InventoryWrapper
By: md_5 <git@md-5.net>
2017-06-15 20:25:06 +10:00
CraftBukkit/Spigot
ba73b2a397 Add PistonMoveReaction getters for Entity
By: md_5 <git@md-5.net>
2017-06-12 19:23:24 +10:00
CraftBukkit/Spigot
df475be109 SPIGOT-3331: New map colours don't display
By: md_5 <git@md-5.net>
2017-06-12 19:16:30 +10:00
CraftBukkit/Spigot
c354c54394 SPIGOT-3304: Respect duration from Vanilla /weather
By: md_5 <git@md-5.net>
2017-06-09 16:17:08 +10:00
CraftBukkit/Spigot
ea595a5dcf Update to Minecraft 1.12
By: md_5 <git@md-5.net>
2017-06-08 18:00:00 +10:00
CraftBukkit/Spigot
1bcf144211 SPIGOT-3286: Call BlockFormEvent for Concrete Powder -> Concrete
By: md_5 <git@md-5.net>
2017-06-03 17:39:03 +10:00
CraftBukkit/Spigot
da806eea9c SPIGOT-3283: Don't allow plugin induced infinite velocity / position
By: md_5 <git@md-5.net>
2017-06-02 18:44:37 +10:00
CraftBukkit/Spigot
23a6a85a95 SPIGOT-3284: Allow TNTPrimed#getSource to return invalid entities
Eg dead players.

By: md_5 <git@md-5.net>
2017-06-02 18:28:30 +10:00
CraftBukkit/Spigot
ea6ca4328a Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
2017-05-30 21:25:59 +10:00
CraftBukkit/Spigot
f69eb04edc SPIGOT-3277: Fix Entity.eject()
By: BlackHole <black-hole@live.com>
2017-05-28 22:27:57 +02:00
CraftBukkit/Spigot
57f7c8fb18 Add color API for Teams
By: md_5 <git@md-5.net>
2017-05-28 11:00:02 +10:00
CraftBukkit/Spigot
a6491eb83e SPIGOT-3272: Fix duplicate creative inventory
This change properly identifies the creative inventory as one with 5 crafting slots (as that's the default set in ContainerPlayer, and handled properly in other containers), instead of having the same inventory twice (which breaks slot identification).

By: Pokechu22 <Pokechu022@gmail.com>
2017-05-26 20:20:59 -07:00
CraftBukkit/Spigot
07fc30bf6d SPIGOT-439: Add player locale related APIs.
By: MiniDigger <admin@minidigger.me>
2017-05-26 23:37:06 +02:00
CraftBukkit/Spigot
691c25561d Ensure gameLoop function gets selectors applied.
By: md_5 <git@md-5.net>
2017-05-26 16:43:56 +10:00
CraftBukkit/Spigot
724dc2b59b SPIGOT-3253: Fix entity yaw changes
By: md_5 <git@md-5.net>
2017-05-20 11:16:28 +10:00
CraftBukkit/Spigot
530fe41851 Update to Minecraft 1.12-pre5
By: md_5 <git@md-5.net>
2017-05-19 21:00:13 +10:00
CraftBukkit/Spigot
5284eb89a3 SPIGOT-3248: Don't set shoulder compounds of EntityHuman to null
By: BlackHole <black-hole@live.com>
2017-05-17 20:26:51 +02:00
CraftBukkit/Spigot
5317a74e0a Misc advancement / recipe reload fixes including SPIGOT-3240
By: md_5 <git@md-5.net>
2017-05-16 21:22:07 +10:00
CraftBukkit/Spigot
4c88ea37ee SPIGOT-3240: Temporarily stub out rarely used resetRecipes method to fix some issues.
By: md_5 <git@md-5.net>
2017-05-16 06:58:37 +10:00
CraftBukkit/Spigot
ea922d07c1 SPIGOT-3238: Add Server.advancementIterator
By: md_5 <git@md-5.net>
2017-05-15 08:25:53 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
b8446f770b Change book limit to allow for automatically generated colour codes
By: md_5 <git@md-5.net>
2017-05-14 11:19:38 +10:00
CraftBukkit/Spigot
d082966e85 Remove outdated build delay.
By: md_5 <git@md-5.net>
2017-05-14 10:35:01 +10:00
CraftBukkit/Spigot
fe7337fc10 Set health before entity death.
By: Lukas Hennig <lukas@wirsindwir.de>
2017-04-24 18:20:14 +02:00
CraftBukkit/Spigot
8803cfc46a SPIGOT-3215: Call BlockPhysicsEvent for tall plants
By: BlackHole <black-hole@live.com>
2017-05-01 01:21:20 +02:00
CraftBukkit/Spigot
de05a02353 SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client.
By: md_5 <git@md-5.net>
2017-04-30 13:20:43 +10:00
CraftBukkit/Spigot
f965ee5c7f Implement getColor / setColor for Shulker entity
By: Matthew <stteg@hotmail.com>
2017-04-29 17:11:43 -04:00
CraftBukkit/Spigot
c5b0a788e9 SPIGOT-3207: Fix hiding players in a BukkitRunnable after joining
This happened because "joining" wasn't cleared until the player was ticked.  Runnables (presumably) ran _after_ the player list packet was sent, but before the player was ticked; thus, the player list packet was sent, but not cleared.  The fix is to replace joining with hasSentListPacket, which is set immediately before sending any player list packets (thus, if hidePlayer is called after, it sees that the list packet has been sent and sends a new one to reset it).  With this fix, the player is added to the list and then removed shortly afterwards.

The reason why running /hideall in the example wouldn't fix the invisibility is because the server already thinks the player's been removed from the list (as they're hidden), and thus doesn't want to send another hide packet.  This is correct behavior assuming that they get hidden correctly the first time, which they now do.

By: Pokechu22 <Pokechu022@gmail.com>
2017-04-27 21:53:31 -07:00
CraftBukkit/Spigot
7baa3d8ac1 Implement getColor / setColor for TippedArrow
By: Matthew <stteg@hotmail.com>
2017-04-26 20:28:27 -04:00
CraftBukkit/Spigot
b47c79c77a Skip invalid enchants in CraftMetaItem
By: md_5 <git@md-5.net>
2017-04-26 15:45:52 +10:00
CraftBukkit/Spigot
82c0a41a0d Create NBT TypeId helper class
By: Senmori <thesenmori@gmail.com>
2017-04-21 23:10:22 -04:00
CraftBukkit/Spigot
b690df1231 Enforce proper limits on books.
By: md_5 <git@md-5.net>
2017-04-20 21:45:42 +10:00
CraftBukkit/Spigot
8d75072425 Implement cooldown API
By: md_5 <git@md-5.net>
2017-04-19 18:04:32 +10:00
CraftBukkit/Spigot
1e5121ed78 Inventory getContents Cleanup
By: Lukas Hennig <lukas@wirsindwir.de>
2017-04-17 18:09:15 +10:00
CraftBukkit/Spigot
ace33e4d68 Make CraftJukebox.isPlaying locally consistent
By: md_5 <git@md-5.net>
2017-04-16 08:26:51 +10:00
CraftBukkit/Spigot
46de596c57 Add correct interfaces for comparator / daylight detector
By: md_5 <git@md-5.net>
2017-04-16 08:16:49 +10:00
CraftBukkit/Spigot
aa4bae9d6f Fix some blockstate consistency issues.
By: md_5 <git@md-5.net>
2017-04-15 18:01:44 +10:00
CraftBukkit/Spigot
16807cc431 SPIGOT-3182: Fix tab-completion in command blocks without leading slash
By: Pokechu22 <Pokechu022@gmail.com>
2017-04-13 17:57:47 -07:00
CraftBukkit/Spigot
c37f72b58c SPIGOT-3157: Use Vanilla gamemode change code
By: md_5 <git@md-5.net>
2017-03-31 21:21:11 +11:00
CraftBukkit/Spigot
34fe9e8377 Add Chunk.isSlimeChunk to check if a chunk can spawn slimes
By: Senmori <thesenmori@gmail.com>
2017-03-23 12:42:01 -04:00
CraftBukkit/Spigot
1c486f86db Add Material.isFuel to check if a material is a furnace fuel.
By: Phoenix616 <mail@moep.tv>
2017-03-23 23:18:32 +01:00
CraftBukkit/Spigot
f0c1225026 Fix trailing whitespace in CraftChunk
By: md_5 <git@md-5.net>
2017-03-23 20:19:29 +11:00
CraftBukkit/Spigot
3d517d9d80 Properly validate player experience bar progress
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-03-19 18:31:40 -04:00
CraftBukkit/Spigot
49200e382f Add getWidth + getHeight for Entity
By: bramhaag <bramhagens@hotmail.nl>
2017-03-18 11:08:37 +01:00
CraftBukkit/Spigot
cedf1495bd SPIGOT-3128: Shift VehicleCreateEvent calling.
By: md_5 <git@md-5.net>
2017-03-15 20:48:47 +11:00
CraftBukkit/Spigot
843a9ac2db Don't call super update on unplaced command block metas
By: md_5 <git@md-5.net>
2017-03-10 20:30:20 +11:00
CraftBukkit/Spigot
0df899a244 Add more notch inventory conversions
By: md_5 <git@md-5.net>
2017-03-10 20:03:31 +11:00
CraftBukkit/Spigot
862f4e6c0d SPIGOT-3114: Initialize custom SHULKER_BOX slots
By: md_5 <git@md-5.net>
2017-03-10 20:01:31 +11:00
CraftBukkit/Spigot
f6f4501444 SPIGOT-3110: SHULKER_BOX InventoryType
By: md_5 <git@md-5.net>
2017-03-08 17:56:08 +11:00
CraftBukkit/Spigot
11c88dc8f2 SPIGOT-3108: Hack around mirroring empty item stacks
By: md_5 <git@md-5.net>
2017-03-08 14:33:40 +11:00
CraftBukkit/Spigot
ed87a3caf9 SPIGOT-3068: API for localized item names
By: md_5 <git@md-5.net>
2017-02-16 11:49:46 +11:00
CraftBukkit/Spigot
0a74e4d700 SPIGOT-2152: Method to set resource pack + hash.
By: Max Lee <mail@moep.tv>
2017-02-14 14:00:30 +01:00
CraftBukkit/Spigot
0a07809cce SPIGOT-3054: Correct LLamaSpit launching
By: md_5 <git@md-5.net>
2017-02-09 09:14:44 +11:00
CraftBukkit/Spigot
10d09dbcc2 SPIGOT-3051: Set pitch/yaw for spawned boats
By: md_5 <git@md-5.net>
2017-02-06 11:58:42 +11:00
CraftBukkit/Spigot
3f242883c4 Add implementation for LlamaSpit in ProjectileSource#launchProjectile
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-01-31 21:12:17 -05:00
CraftBukkit/Spigot
52753fe5e1 Increase expiration time to two weeks.
By: md_5 <git@md-5.net>
2017-01-31 21:39:17 +11:00
CraftBukkit/Spigot
634ad7d00e SPIGOT-3040: Round health to float for validation
By: md_5 <git@md-5.net>
2017-01-28 11:41:09 +11:00
CraftBukkit/Spigot
b05bba2d39 SPIGOT-3037: WorldBorder#isInside(Location)
By: md_5 <git@md-5.net>
2017-01-26 11:16:39 +11:00
CraftBukkit/Spigot
03cf4ffdf1 Add API to set Arrow pickup status
By: xGhOsTkiLLeRx <ratchet.player@gmx.de>
2017-01-18 10:01:28 +11:00
CraftBukkit/Spigot
d6082cde7f SPIGOT-3003: Fix custom dropper / beacons.
By: md_5 <git@md-5.net>
2017-01-11 09:53:16 +11:00
CraftBukkit/Spigot
c4d20d3951 10 day build expire
By: md_5 <git@md-5.net>
2017-01-09 10:38:33 +11:00
CraftBukkit/Spigot
e63cab01fc SPIGOT-826: Add method to retrieve entity by UUID
By: Zach Brown <zach.brown@destroystokyo.com>
2017-01-04 21:28:31 -06:00
CraftBukkit/Spigot
0bd65c1b02 SPIGOT-2640: API for multiple passengers per entity
By: md_5 <git@md-5.net>
2017-01-04 10:53:07 +11:00
CraftBukkit/Spigot
a1cc3a4382 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion.
By: md_5 <git@md-5.net>
2017-01-02 16:13:25 +11:00
CraftBukkit/Spigot
86649dea13 Recover spawn egg data from UNSPECIFIC meta.
By: md_5 <git@md-5.net>
2017-01-02 15:29:11 +11:00
CraftBukkit/Spigot
85a119a172 SPIGOT-2977: Pass setAmount(0) through to wrapped ItemStack.
This class needs to be rewritten with more consistent semantics and alignment with Minecraft losing null, but that is probably a job for 1.12

By: md_5 <git@md-5.net>
2017-01-02 10:04:19 +11:00
CraftBukkit/Spigot
2d5ab1f7b5 SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant
By: md_5 <git@md-5.net>
2016-12-27 09:01:22 +11:00
CraftBukkit/Spigot
14eb034e4b Increase expire time to 7 days
By: md_5 <git@md-5.net>
2016-12-26 09:39:59 +11:00
CraftBukkit/Spigot
6333307ee3 SPIGOT-2957 getSeaLevel() should return the real sea level, not a hard-coded value
By: Ryan Michela <deltahat@gmail.com>
2016-12-25 11:26:00 -05:00
CraftBukkit/Spigot
d338127ab9 SPIGOT-2127: Add DamageCause.ENTITY_SWEEP_ATTACK
By: md_5 <git@md-5.net>
2016-12-23 22:39:33 +11:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +11:00
CraftBukkit/Spigot
348449a44a SPIGOT-2923: Added PotionEffectType#getColor()
By: Lukas Hennig <lukas@wirsindwir.de>
2016-12-16 17:22:21 +01:00
CraftBukkit/Spigot
fe586949bf SPIGOT-2924: Improve handling of Jukeboxes playing nothing.
By: md_5 <git@md-5.net>
2016-12-17 09:45:14 +11:00
CraftBukkit/Spigot
d69f49d486 SPIGOT-1036: Add API to manipulate sendTitle timings.
By: md_5 <git@md-5.net>
2016-12-16 09:48:14 +11:00
CraftBukkit/Spigot
b4a50e447b SPIGOT-2908: Correctly spawn LlamaSpit
By: md_5 <git@md-5.net>
2016-12-10 12:10:28 +11:00
CraftBukkit/Spigot
9e8988306c Use CraftEventFactory for BlockFormEvent
By: md_5 <git@md-5.net>
2016-12-09 12:45:21 +11:00
CraftBukkit/Spigot
cd5305a554 Add API to get default value of an Attribute
By: md_5 <git@md-5.net>
2016-12-09 12:31:08 +11:00
CraftBukkit/Spigot
597dc19283 SPIGOT-2894: Preserve unreadable spawn egg data in memory
By: md_5 <git@md-5.net>
2016-12-07 10:44:57 +11:00
CraftBukkit/Spigot
9c16a5f61a Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.

By: Xor Boole <mcyoung@mit.edu>
2016-12-06 21:39:20 +11:00
CraftBukkit/Spigot
dd89db67a5 SPIGOT-1592: Implement ItemMeta for Spawn Eggs
The Minecraft implementation of spawn eggs is able to construct an entity using all data that is present in the save format, however since the Bukkit API has no such way to construct an entity unattached to a world, and it appears creating such a way is a very challenging task, the decision was instead made to add this API now that 1.11 has entities which may not be represented by data values.
In the future it may be possible to implement a more expanded API cognate with this one.

By: Matthew <stteg@hotmail.com>
2016-12-06 21:15:10 +11:00
CraftBukkit/Spigot
e40bffa82a SPIGOT-2890: SetBiome not saving changes
By: md_5 <git@md-5.net>
2016-12-06 20:46:04 +11:00
CraftBukkit/Spigot
5443bf1110 #326: Convert BlockMeta to handle older serialized items.
By: Jacob Martin <jjm_223@hotmail.com>
2016-12-03 10:51:53 +11:00
CraftBukkit/Spigot
bdf0df74a9 SPIGOT-911: Add hitBlock to PorjectileHitEvent
By: md_5 <git@md-5.net>
2016-12-02 09:38:50 +11:00
CraftBukkit/Spigot
a00951dd57 SPIGOT-2871: Improve BlockStates + BlockStateMeta
By: md_5 <git@md-5.net>
2016-12-02 09:29:33 +11:00
CraftBukkit/Spigot
159538aaba Reduce outdated build delay further.
By: md_5 <git@md-5.net>
2016-12-01 10:19:09 +11:00
CraftBukkit/Spigot
e593f348c8 Add some expansions to Anvil Inventory API
By: Xor Boole <mcyoung@mit.edu>
2016-11-30 16:40:40 +11:00
CraftBukkit/Spigot
ccedad711d Fangs degree => radians (and back)
By: md_5 <git@md-5.net>
2016-11-30 09:56:09 +11:00
CraftBukkit/Spigot
e12c8edd14 SPIGOT-2862: Cannot spawn evoker fangs
By: md_5 <git@md-5.net>
2016-11-30 08:37:06 +11:00
CraftBukkit/Spigot
5cdc0bbd0e Add hitEntity to ProjectileHitEvent
By: md_5 <git@md-5.net>
2016-11-28 12:47:01 +11:00
CraftBukkit/Spigot
ad94b29ad6 Build expiry is now 1 week
By: md_5 <git@md-5.net>
2016-11-28 10:19:33 +11:00
CraftBukkit/Spigot
1070f2682f Fix possible leaks in vanish API
By: md_5 <git@md-5.net>
2016-11-28 10:02:40 +11:00
CraftBukkit/Spigot
8399bc349a SPIGOT-2850: NPE in CraftInventoryCrafting
By: md_5 <git@md-5.net>
2016-11-27 17:03:28 +11:00
CraftBukkit/Spigot
c6077651a7 Added method for spawning a falling block with the BlockData
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-26 19:23:20 +01:00
CraftBukkit/Spigot
0069e6122a Fix banner color. Banners have inverted color bytes.
By: kaenganxt <kaenganxt@yahoo.de>
2016-11-25 21:02:13 +01:00
CraftBukkit/Spigot
4ed4ac8d00 SPIGOT-619: Force rotate head of entities when setting location.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-23 22:21:08 +01:00
CraftBukkit/Spigot
2f768a3cfb SPIGOT-2835: CraftBlock getDrops Returns Air
By: md_5 <git@md-5.net>
2016-11-23 22:02:36 +11:00
CraftBukkit/Spigot
6b773ce751 SPIGOT-2824: Llama Strength API
By: md_5 <git@md-5.net>
2016-11-23 10:27:49 +11:00
CraftBukkit/Spigot
90d646054a SPIGOT-2822: Droppers are droppers
By: md_5 <git@md-5.net>
2016-11-22 20:21:19 +11:00
CraftBukkit/Spigot
1eee4ff9cb Add Unbreakable to ItemMeta
By: md_5 <git@md-5.net>
2016-11-22 14:35:54 +11:00
CraftBukkit/Spigot
fe2d118352 Implement default title for custom merchants
By: md_5 <git@md-5.net>
2016-11-22 10:53:36 +11:00
CraftBukkit/Spigot
22dd0c1849 SPIGOT-2817: Custom Merchant title omits color
By: md_5 <git@md-5.net>
2016-11-22 10:30:01 +11:00
CraftBukkit/Spigot
db370129b4 Fix setCarryingChest not resizing horse inventory
By: md_5 <git@md-5.net>
2016-11-21 21:56:17 +11:00
CraftBukkit/Spigot
f6dd4eff69 SPIGOT-2272: Add API for virtual Merchants
By: Lukas Hennig <lukas@wirsindwir.de>
2016-11-21 15:29:36 +11:00
CraftBukkit/Spigot
8d52a891a4 SPIGOT-2810: Fix entity statistics
By: BlackHole <black-hole@live.com>
2016-11-20 20:10:39 +01:00
CraftBukkit/Spigot
a61117da28 SPIGOT-2801: Missing break in CraftMetaBlockState
By: md_5 <git@md-5.net>
2016-11-19 21:11:54 +11:00
CraftBukkit/Spigot
c8c4604bfd SPIGOT-2799: ItemFrame set null error
By: md_5 <git@md-5.net>
2016-11-19 20:28:04 +11:00
CraftBukkit/Spigot
0816d8a06f Add additional APIs for Evoker / EvokerFangs
By: momothereal <momothereal.mc@gmail.com>
2016-11-19 18:53:57 +11:00
CraftBukkit/Spigot
5fd13b693b Implement isCursed for new enchantments
By: Senmori <thesenmori@gmail.com>
2016-11-18 23:46:27 -05:00
CraftBukkit/Spigot
1159a15bf0 SPIGOT-2798: Fix ShulkerBox BlockStateMeta
By: md_5 <git@md-5.net>
2016-11-19 15:59:04 +11:00
CraftBukkit/Spigot
38fb5c2469 Add stopSound for specific sound category & unit test for SoundCategory
By: md_5 <git@md-5.net>
2016-11-19 14:27:18 +11:00
CraftBukkit/Spigot
de0b8db8ad Implement SoundCategory for playing sounds.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 14:20:13 +11:00
CraftBukkit/Spigot
a43e456dca Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:41 +11:00
CraftBukkit/Spigot
3fd399bd50 SPIGOT-2793: Revert Nameable changes
By: md_5 <git@md-5.net>
2016-11-19 03:10:04 +11:00
CraftBukkit/Spigot
9cf6536881 SPIGOT-2792: Return PIG for broken spawners
By: md_5 <git@md-5.net>
2016-11-18 15:32:27 +11:00
CraftBukkit/Spigot
2fb5813dc8 SPIGOT-2789: ShulkerBox missing override
By: md_5 <git@md-5.net>
2016-11-18 12:00:17 +11:00
CraftBukkit/Spigot
bd1ee334c6 Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:41 +11:00
CraftBukkit/Spigot
7e4dfe78e5 SPIGOT-2787: Keep performing getter null conversion at call sites
By: md_5 <git@md-5.net>
2016-11-18 11:07:02 +11:00
CraftBukkit/Spigot
c1a05bcbea SPIGOT-2786: Restore some fireworks code lost in update
By: md_5 <git@md-5.net>
2016-11-18 10:11:19 +11:00
CraftBukkit/Spigot
e5bc8e659e SPIGOT-2782: Custom Colors for Potions
By: md_5 <git@md-5.net>
2016-11-18 09:49:54 +11:00
CraftBukkit/Spigot
42ec813009 Remove more redundant code
By: md_5 <git@md-5.net>
2016-11-18 09:28:11 +11:00
CraftBukkit/Spigot
43609f7ab2 SPIGOT-2779: NPE when spawning firework with plugin
By: md_5 <git@md-5.net>
2016-11-18 09:22:40 +11:00
CraftBukkit/Spigot
3567940dda Remove now redundant code
By: md_5 <git@md-5.net>
2016-11-18 09:14:51 +11:00
CraftBukkit/Spigot
a75c80e93d Remove unit test based on now incorrect assumptions
By: md_5 <git@md-5.net>
2016-11-18 09:11:17 +11:00
CraftBukkit/Spigot
2513cf0b73 SPIGOT-2772, SPIGOT-2780: Improve empty ItemStack handling
By: md_5 <git@md-5.net>
2016-11-18 09:04:07 +11:00
CraftBukkit/Spigot
1150126304 SPIGOT-2773: More fully implement ShulkerBox meta
By: md_5 <git@md-5.net>
2016-11-18 08:50:38 +11:00
CraftBukkit/Spigot
1801a1d84a SPIGOT-2768: Fully implement map color
By: md_5 <git@md-5.net>
2016-11-17 17:24:20 +11:00
CraftBukkit/Spigot
4e412ab4e3 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:41:03 +11:00
CraftBukkit/Spigot
49bc1c57f9 Implement Entity Scoreboard Tags
By: Senmori <thesenmori@gmail.com>
2016-11-06 12:14:14 +11:00
CraftBukkit/Spigot
0fcb2058cf SPIGOT-2757: Player#stopSound Stops All Sounds
By: md_5 <git@md-5.net>
2016-11-06 10:36:38 +11:00
CraftBukkit/Spigot
2215fc8e24 SPIGOT-2752: Fix resetMaxHealth
By: md_5 <git@md-5.net>
2016-11-04 18:11:36 +11:00
CraftBukkit/Spigot
259427c8af Add Enchantment#isTreasure()Z
Determines if the enchantment is a treasure enchantment - only available via means other than the enchantment table.

By: Senmori <thesenmori@gmail.com>
2016-10-25 11:16:50 -04:00
CraftBukkit/Spigot
714d2583c4 Explicitly log exception from asynchronous tasks.
Previously an UnhandledException would be thrown and the stack trace / message would be printed to System.err in the default UncaughtExceptionHandler for ThreadGroup. This was undesirable as it meant that logging frameworks / exception monitors such as Sentry were unable to get the exception. Additionally it would cause the death of the thread in the ExecutorService. This change mimics the behaviour of exceptions occuring during synchronous tasks.

By: hibo98 <hibo98.niklas@gmail.com>
2016-10-24 18:47:47 +11:00
CraftBukkit/Spigot
4f9f31ccc0 SPIGOT-2737: Implement Statistic.PICKUP
By: md_5 <git@md-5.net>
2016-10-22 13:07:22 +11:00
CraftBukkit/Spigot
0228a9574e SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface.

By: Senmori <thesenmori@gmail.com>
2016-10-21 16:35:55 +11:00
CraftBukkit/Spigot
11234326be SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour
By: md_5 <git@md-5.net>
2016-10-05 19:33:33 +11:00
CraftBukkit/Spigot
502373d73c SPIGOT-2705: Portal cooldown getter / setter.
By: md_5 <git@md-5.net>
2016-10-01 12:26:20 +10:00
CraftBukkit/Spigot
40acfc98f2 SPIGOT-2679: Add meta for StructureBlock
By: md_5 <git@md-5.net>
2016-09-18 09:58:54 +10:00
CraftBukkit/Spigot
2a63c00f21 Run sync tasks scheduled for the same tick FIFO
By: AgentLV <contact@agentlv.net>
2016-09-10 23:09:29 +02:00
CraftBukkit/Spigot
e6363be8b3 SPIGOT-2656: HumanEntity#isHandRaised()Z
By: md_5 <git@md-5.net>
2016-09-04 11:59:41 +10:00
CraftBukkit/Spigot
6711effca1 SPIGOT-2644: Clearer error for invalid hanging spawns
By: md_5 <git@md-5.net>
2016-08-31 17:25:37 +10:00
CraftBukkit/Spigot
89ad42c3ab SPIGOT-2630: Console tab complete
By: md_5 <git@md-5.net>
2016-08-26 08:06:06 +10:00
CraftBukkit/Spigot
29623943f1 SPIGOT-2618: Register permissions before plugin enabled.
Brings behaviour in line with command registration, and won't affect plugins which don't already error.

By: md_5 <git@md-5.net>
2016-08-25 13:11:42 +10:00
CraftBukkit/Spigot
e82ad8c82f SPIGOT-215: Implement infrastructure for Location tab completes
By: DemonWav <demonwav@gmail.com>
2016-08-25 09:48:52 +10:00
CraftBukkit/Spigot
44ea5ef72b SPIGOT-2578: Method to get PotionEffect of specific type.
By: md_5 <git@md-5.net>
2016-08-07 10:53:39 +10:00
CraftBukkit/Spigot
42a06f7c4b SPIGOT-2574: BlockPopulators added twice.
By: md_5 <git@md-5.net>
2016-08-06 10:04:06 +10:00
CraftBukkit/Spigot
1e446f7eac SPIGOT-2559: Kill all entities when called with setHealth(0)
By: md_5 <git@md-5.net>
2016-07-30 10:06:07 +10:00
CraftBukkit/Spigot
bd38417962 Deprecate and stop using Java15Compat class.
By: md_5 <git@md-5.net>
2016-07-29 17:28:51 +10:00
CraftBukkit/Spigot
f54537460b SPIGOT-2552: Aliases for Vanilla commands
By: md_5 <git@md-5.net>
2016-07-26 09:05:08 +10:00
CraftBukkit/Spigot
fa09d39f84 Hook into World for light getters due to additional validation.
By: md_5 <git@md-5.net>
2016-07-25 19:04:06 +10:00
CraftBukkit/Spigot
0237142cbd SPIGOT-2548: Don't special case spawn locations of falling blocks
By: md_5 <git@md-5.net>
2016-07-23 16:23:31 +10:00
CraftBukkit/Spigot
4e6c8a8362 Enhance Beacon Block API
By: md_5 <git@md-5.net>
2016-07-23 10:55:43 +10:00
CraftBukkit/Spigot
467c8686b0 Implement basic Beacon Block API
By: redwallhp <mcredwallhp@gmail.com>
2016-07-18 03:40:07 -04:00
CraftBukkit/Spigot
234b54be67 Fall back to name if skull has no uuid when getting player.
By: md_5 <git@md-5.net>
2016-07-22 12:02:16 +10:00
CraftBukkit/Spigot
09f5487458 SPIGOT-2503: Optimize block set
By: md_5 <git@md-5.net>
2016-07-08 14:05:22 +10:00
CraftBukkit/Spigot
b46eb8a572 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE
By: md_5 <git@md-5.net>
2016-07-08 12:51:32 +10:00
CraftBukkit/Spigot
9797cf7e43 SPIGOT-2490: Villager farming event
By: md_5 <git@md-5.net>
2016-07-08 11:12:40 +10:00
CraftBukkit/Spigot
52f38c04ff SPIGOT-1515: Use CUSTOM reason for GENERIC damage
By: md_5 <git@md-5.net>
2016-07-02 14:01:31 +10:00
CraftBukkit/Spigot
f2ad797555 SPIGOT-2474: Use .die() to set entity remove status
By: md_5 <git@md-5.net>
2016-07-02 11:24:14 +10:00
CraftBukkit/Spigot
d10a277066 SPIGOT-1364: sendMap should update entire map
By: md_5 <git@md-5.net>
2016-07-01 11:24:11 +10:00
CraftBukkit/Spigot
9f63f2a371 SPIGOT-1341: Cancelled cake interact decreases client hunger
By: md_5 <git@md-5.net>
2016-07-01 11:20:31 +10:00
CraftBukkit/Spigot
4013505f8c SPIGOT-1181: Ensure Minecart command updates visually
By: md_5 <git@md-5.net>
2016-06-30 13:33:26 +10:00
CraftBukkit/Spigot
acd31bf4fb SPIGOT-1129: Fix spawning leash hitch without adjacent block
By: md_5 <git@md-5.net>
2016-06-30 13:21:22 +10:00
CraftBukkit/Spigot
a44a8f29d0 SPIGOT-1599: Allow teleporting disconnected players
By: md_5 <git@md-5.net>
2016-06-30 13:01:37 +10:00
CraftBukkit/Spigot
3c256b8c84 SPIGOT-2456: Don't wipe tiles if type is still the same
By: md_5 <git@md-5.net>
2016-06-27 11:25:49 +10:00
CraftBukkit/Spigot
f155cbbaf2 BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
2016-06-26 19:32:05 +10:00
CraftBukkit/Spigot
861ba7b0e9 Fix air setting block updates
By: md_5 <git@md-5.net>
2016-06-26 12:31:24 +10:00
CraftBukkit/Spigot
e6584da1b0 SPIGOT-1039: Improve DoubleChest semantics
By: md_5 <git@md-5.net>
2016-06-25 21:21:55 +10:00
CraftBukkit/Spigot
b020388b99 MC-100524: Fix log files getting overwritten
https://bugs.mojang.com/browse/MC-100524

Log files were previously overwritten when more than 7 were created on the same day.  This is caused by Log4J's default behavior with DefaultRolloverStrategy, which defaults to a max of 7.

While a max of 1000 doesn't fully stop this problem from happening, for 1000 log files in a single day to be reached the server would have to restart faster than once every 1.5 minutes, which is unlikely to happen.  So 1000 seems like a good limit.  A higher max isn't used because when it gets higher, there are performance hits due to the way Log4J checks for the next file.

By: Pokechu22 <Pokechu022@gmail.com>
2016-06-22 22:13:38 -07:00
CraftBukkit/Spigot
f7d15d7d59 SPIGOT-611: Improve setBlock for tile->tile transitions
By: md_5 <git@md-5.net>
2016-06-25 20:16:48 +10:00
CraftBukkit/Spigot
26aaa4aceb SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.

By: Aikar <aikar@aikar.co>
2016-06-21 19:08:09 -04:00
CraftBukkit/Spigot
8e8c7d72aa SPIGOT-1319: Add EntityBreedEvent
By: Ryan Michela <deltahat@gmail.com>
2016-06-18 22:00:39 -07:00
CraftBukkit/Spigot
b62f1bfe83 Improvements to BookMeta API
* Added hasGeneration()
* Fixed `applyHash()` (used by `CraftMetaItem.hashCode()`) not taking generation into account
* Fixed `equalsCommon()` (used by `CraftMetaItem.equals()`) not taking generation into account

By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-14 22:40:46 +01:00
CraftBukkit/Spigot
b2c01f26da SPIGOT-2408: setTicksLived does not properly affect FallingSand
By: md_5 <git@md-5.net>
2016-06-13 18:16:15 +10:00
CraftBukkit/Spigot
f5e45ed35f SPIGOT-2398: Armor stands still need to be treated special for gravity
By: md_5 <git@md-5.net>
2016-06-12 16:32:51 +10:00
CraftBukkit/Spigot
989192ea0b SPIGOT-2376: Way to distinguish Zombie professions.
By: md_5 <git@md-5.net>
2016-06-11 12:07:17 +10:00
CraftBukkit/Spigot
ec0a8a1910 Add Player.stopSound
By: md_5 <git@md-5.net>
2016-06-11 09:13:54 +10:00
CraftBukkit/Spigot
5dffeea6ee SPIGOT-2381: Use custom spawnreason for dropItem
By: md_5 <git@md-5.net>
2016-06-12 10:26:48 +10:00
CraftBukkit/Spigot
bf1945bcfd SPIGOT-2389: Zombie.setVillager inverted
By: md_5 <git@md-5.net>
2016-06-12 10:14:25 +10:00
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