Commit Graph

242 Commits

Author SHA1 Message Date
Tassu
6d98fbc47d Implement furnace cook speed multiplier API
Signed-off-by: Tassu <git@tassu.me>
2018-09-13 08:45:01 +03:00
Spottedleaf
8170ae9d64 Allow Blocks to be accessed via a long key
The key can be retrieved via methods Location#toBlockKey() and
Block#getBlockKey()

World provides lookup for blocks by long key via method World#getBlockAtKey(long)

The formatting for the key is as follows:

10 bit y|27 bit z|27 bit x

The y value is considered unsigned while z and x are considered two's complement

Y range: [0, 1023]
X, Z range: [-67 108 864, 67 108 863]
2018-08-14 21:42:10 -07:00
Aikar
142b065979 Add setPlayerProfile API for Skulls
This allows you to create already filled textures on Skulls to avoid texture lookups
which commonly cause rate limit issues with Mojang API
2018-01-19 00:29:28 -05:00
Aikar
8306cc5b4f API to get a BlockState without a snapshot
This allows you to get a BlockState without creating a snapshot, operating
on the real tile entity.

This is useful for where performance is needed
2017-11-06 21:10:01 -05:00
Zach Brown
0c37d20354 Fix upstream javadocs 2017-06-10 16:59:40 -05:00
Aikar
397d3cac4b LootTable API
Provides API to control what Loot Table an object uses.

Also provides an Event to control if a lootable inventory should
auto replenish for a player.

Provides methods to determine players looted state for an object
2016-05-01 15:19:49 -04:00
Riley Park
15081a5912 Adventure
Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
2021-01-29 17:21:55 +01:00
Bukkit/Spigot
88499aa05b Update to Minecraft 1.21.4
By: md_5 <git@md-5.net>
2024-12-04 03:20:00 +11:00
Bukkit/Spigot
0381154988 SPIGOT-7964: Fix typo in Deprecation annotation
By: md_5 <git@md-5.net>
2024-11-25 20:01:43 +11:00
Bukkit/Spigot
0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
Bukkit/Spigot
a45964ac0e #1073: Make Biome an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-01 08:05:31 +11:00
Bukkit/Spigot
4243e6b666 #1072: Fix bad naming for Vault State methods
By: Doc <nachito94@msn.com>
2024-10-29 06:43:24 +11:00
Bukkit/Spigot
cd27f1b0c7 Update to Minecraft 1.21.2
By: md_5 <git@md-5.net>
2024-10-23 02:15:00 +11:00
Bukkit/Spigot
42cd6c82ff #1058: Add tests for Minecraft registry <-> Bukkit fields
By: DerFrZocker <derrieple@gmail.com>
2024-09-27 08:15:05 +10:00
Bukkit/Spigot
baffaf0195 SPIGOT-7873: Add powered state for skulls
By: md_5 <git@md-5.net>
2024-08-24 07:41:52 +10:00
Bukkit/Spigot
d767353e69 SPIGOT-7837: Support data pack banner patterns
By: Doc <nachito94@msn.com>
2024-07-27 10:14:38 +10:00
Bukkit/Spigot
6db0f40e5b #973: Improve spawner API and add API for Trial Spawners
By: coll1234567 <joshl5324@gmail.com>
2024-06-28 07:06:14 +10:00
Bukkit/Spigot
5c69fd52f0 Update to Minecraft 1.21
By: md_5 <git@md-5.net>
2024-06-14 01:05:00 +10:00
Bukkit/Spigot
b0df4fc813 #1020: Cast instead of using #typed when getting BlockType and ItemType to better work with testing / mocks
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:15:10 +10:00
Bukkit/Spigot
0ece9a991b Fix copy-pasted BlockType.Typed documentation
By: md_5 <git@md-5.net>
2024-05-06 20:20:54 +10:00
Bukkit/Spigot
b7f877a67d Fix Javadoc reference
By: md_5 <git@md-5.net>
2024-05-05 10:18:53 +10:00
Bukkit/Spigot
fc9e5af885 #919: Add internal ItemType and BlockType, delegate Material methods to them
By: Jishuna <joshl5324@gmail.com>
Also-by: Bjarne Koll <lynxplay101@gmail.com>
Also-by: DerFrZocker <derrieple@gmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-05 10:08:51 +10:00
Bukkit/Spigot
92293c1b89 #1004: Improve field rename handling and centralize conversion between bukkit and string more
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 08:19:04 +10:00
Bukkit/Spigot
9f064c2cc7 #995: Add required feature to MinecraftExperimental for easy lookups
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 18:19:37 +10:00
Bukkit/Spigot
d9a704e3f6 SPIGOT-5336: Field name parity with Minecraft keys
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 01:15:00 +10:00
Bukkit/Spigot
f3502f6dac Update to Minecraft 1.20.5
By: md_5 <git@md-5.net>
2024-04-24 01:15:00 +10:00
Bukkit/Spigot
ef44483fd2 #982: Add API to copy BlockState to a new Location
By: lbenav8095 <lubensaico@gmail.com>
2024-04-07 12:22:08 +10:00
Bukkit/Spigot
5479913288 #986: Add more Conduit API
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-07 12:05:21 +10:00
Bukkit/Spigot
9237bcc204 SPIGOT-7417, #967: Add Sign#getTargetSide and Sign#getAllowedEditor
By: Jishuna <joshl5324@gmail.com>
2024-02-17 14:02:35 +11:00
Bukkit/Spigot
2803610916 #961: Add BlockData#copyTo
By: Jishuna <joshl5324@gmail.com>
2024-01-15 20:33:15 +11:00
Bukkit/Spigot
b48b712546 SPIGOT-7554, #954: Add DecoratedPotInventory
By: BlackHole <black-hole@live.com>
2023-12-28 08:03:18 +11:00
Bukkit/Spigot
f3d18a30c1 SPIGOT-6903, #945: Add BlockData#getMapColor
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:51 +11:00
Bukkit/Spigot
460ea2aff9 #940: Create registry for banner pattern and cat type
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:24:14 +11:00
Bukkit/Spigot
ff37b12c68 Fix error in Crafter documentation
By: md_5 <git@md-5.net>
2023-12-06 04:03:59 +11:00
Bukkit/Spigot
d569990c3b Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
2023-12-06 03:40:00 +11:00
Bukkit/Spigot
90df6eb97a #915: Add support for virtual entities
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:25 +13:00
Bukkit/Spigot
be348c55c4 SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
By: Lauriichan <laura.endress@playuniverse.org>
2023-09-29 06:54:33 +10:00
Bukkit/Spigot
156224dbfa #912: Update Minecraft Wiki URLs
By: Doc <nachito94@msn.com>
2023-09-25 18:53:42 +10:00
Bukkit/Spigot
6f4bee4eb0 #890: Add more Sculk API (bloom, shriek, bloom event)
By: Collin <collinjbarber@gmail.com>
2023-09-06 20:43:33 +10:00
Bukkit/Spigot
e8181b5107 SPIGOT-7422, #887: Add API to set sherds on decorated pots
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-07-19 07:41:29 +10:00
Bukkit/Spigot
c110fcda22 SPIGOT-7403: Add direct API for waxed signs
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-23 09:58:56 +10:00
Bukkit/Spigot
8f69d9dde3 SPIGOT-7380: Add PlayerInteractEvent#getClickedPosition and ChiseledBookshelf#getSlot
By: Jishuna <joshl5324@gmail.com>
2023-06-17 14:31:36 +10:00
Bukkit/Spigot
738ff02e72 #867: Add Player#sendBlockUpdate to send tile entity updates
By: Yannick Lamprecht <yannicklamprecht@live.de>
2023-06-14 18:36:08 +10:00
Bukkit/Spigot
486c2ad801 #799: Adjust CreatureSpawner to allow for spawners with no mob type
By: Doc <nachito94@msn.com>
2023-06-11 11:05:12 +10:00
Bukkit/Spigot
59e77b485a Update to Minecraft 1.20
By: md_5 <git@md-5.net>
2023-06-08 01:30:00 +10:00
Bukkit/Spigot
3ccdb11aab Don't let Sign extend SignSide, mark API as experimental
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-05-24 20:30:51 -04:00
Bukkit/Spigot
0ca2940380 #845: Add preliminary support for multi sided signs
By: Yannick Lamprecht <yannicklamprecht@live.de>
2023-05-25 07:21:30 +10:00
Bukkit/Spigot
bec81a9aff #831: Add a standard of annotations for Minecraft experimental things and API
By: Doc <nachito94@msn.com>
Also-by: 2008Choco <hawkeboyz2@hotmail.com>
2023-04-07 09:41:58 +10:00
Bukkit/Spigot
aba85bb096 #837: Add more bell API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-02 14:35:12 +10:00
Bukkit/Spigot
7b5c280187 #839: Add BlockData#rotate and BlockData#mirror
By: Jishuna <joshl5324@gmail.com>
2023-04-02 13:32:01 +10:00