Commit Graph
8 Commits
Author SHA1 Message Date
Jake Potrebic ff36991035 Added PlayerTradeEvent
[Amendment: Alexander <protonull@protonmail.com>]
PlayerTradeEvent is used for player purchases from villagers and wandering
traders, but not custom merchants created via Bukkit.createMerchant(). During
discussions in Discord it was decided that it'd be better to add a new event
that PlayerTradeEvent inherits from than change getVillager()'s annotation to
@Nullable, especially since that'd also infringe on the implication of the
event being about villager trades.
2020-07-02 16:10:10 -07:00
Jake Potrebic 3234f24141 Add OBSTRUCTED reason to BedEnterResult 2020-12-24 12:43:30 -08:00
Jake Potrebic 40ac3e15db Beacon API - custom effect ranges 2020-06-24 12:38:15 -06:00
Jake PotrebicandMeFisto94 f610d0b477 Add methods to get translation keys
Co-authored-by: MeFisto94 <MeFisto94@users.noreply.github.com>
2020-08-11 19:17:46 +02:00
Jake Potrebic e034549a33 added 2 new TargetReasons for 1.16 mob behavior 2020-07-03 15:05:54 -07:00
Jake PotrebicandWilliam Blake Galbreath 1cf2aaef30 Improve Block#breakNaturally API
Adds bool param to trigger world particle effects

Adds bool param to trigger exp drops for blocks

Co-authored-by: William Blake Galbreath <Blake.Galbreath@GMail.com>
2020-01-02 12:25:16 -06:00
Jake Potrebic 30e04bfa2f Add Position 2022-03-20 10:42:28 -07:00
Jake Potrebic 4fd928df47 Code Generation
Currently includes generated key holder classes for types
used in the Registry Modification API
2023-05-26 18:14:44 -07:00