Commit Graph

3417 Commits

Author SHA1 Message Date
Tamion c8c11363a0 Add HiddenPotionEffect API
== AT ==
public net.minecraft.world.effect.MobEffectInstance hiddenEffect
2023-11-05 09:51:28 +01:00
Owen1212055 f24aec2051 Add EntityBlockStorage#clearEntities() 2021-04-05 18:12:29 -04:00
HexedHero 2329a7b1c8 Add more WanderingTrader API 2021-05-06 14:56:43 +01:00
Nassim Jahnke 3ab2001afb Add Channel initialization listeners 2021-04-29 21:19:33 +02:00
Jason Penilla b9cab64e46 Implement methods to convert between Component and Brigadier's Message 2021-04-24 02:09:32 -07:00
Jake Potrebic 80878ac918 More World API 2020-07-07 10:52:34 -07:00
Jake Potrebic 12f070c05a add get-set drop chance to EntityEquipment
== AT ==
public net.minecraft.world.entity.Mob getEquipmentDropChance(Lnet/minecraft/world/entity/EquipmentSlot;)F
2021-04-22 00:28:11 -07:00
Jake Potrebic 6a311ade3a add isDeeplySleeping to HumanEntity 2021-04-08 17:36:10 -07:00
Owen1212055 8cf2001602 Set area affect cloud rotation 2021-04-05 16:58:20 -04:00
Jason Penilla a6eda6cb37 Enhance console tab completions for brigadier commands
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2021-03-30 16:06:08 -07:00
Nassim Jahnke 85a8224261 Expose protocol version 2021-03-26 11:23:17 +01:00
Jake Potrebic d0185eb56e Expand world key API 2021-01-06 00:34:04 -08:00
Jake Potrebic 53ea19c9bd Add Block#isValidTool 2020-07-06 12:44:31 -07:00
AlexProgrammerDE 73deb32107 Improve ServerGUI
- Added logo to server frame
- Show tps in the server stats
2020-10-03 08:27:40 +02:00
Tom 90c30bbb0b Expose Tracked Players 2021-02-26 16:24:25 -06:00
Jason Penilla 41fd1852ae Merchant#getRecipes should return an immutable list 2021-02-10 14:53:36 -08:00
Trigary f8a55d3645 fix dead slime setSize invincibility 2021-02-05 22:12:13 +01:00
ysl3000 6b65e03d85 living entity allow attribute registration 2020-10-24 16:37:44 +02:00
Aleksander Jagiello 0312fd2b42 Add getMainThreadExecutor to BukkitScheduler 2021-01-24 22:17:54 +01:00
BillyGalbreath 6888386225 Allow adding items to BlockDropItemEvent 2021-01-20 14:23:37 -06:00
Nassim Jahnke a85863338c Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00
Madeline Miller b69f8fb10b Add BlockPreDispenseEvent 2021-01-17 13:16:09 +10:00
Jake Potrebic 239e7a6b37 Add RegistryAccess for managing Registries
RegistryAccess is independant from CraftServer and
doesn't require one to be created allowing the
org.bukkit.Registry class to be loaded earlier.

== AT ==
public net.minecraft.server.RegistryLayer STATIC_ACCESS
2023-02-27 18:28:39 -08:00
Mariell Hoversholm 23b8639dbf Add sendOpLevel API 2020-12-29 15:03:03 +01:00
TheViperShow 36eff9b616 Add BlockFailedDispenseEvent 2020-04-22 09:40:38 +02:00
Jake Potrebic 1e05072232 Add WorldGameRuleChangeEvent 2020-12-20 16:41:44 -08:00
Jake Potrebic b656aa3c21 Zombie API - breaking doors
== AT ==
public net.minecraft.world.entity.monster.Zombie supportsBreakDoorGoal()Z
2020-11-18 11:32:46 -08:00
Madeline Miller 38ea31d1cb API to get Material from Boats and Minecarts
== AT ==
public net.minecraft.world.entity.vehicle.AbstractBoat getDropItem()Lnet/minecraft/world/item/Item;
2020-12-31 12:48:19 +10:00
Aikar 119c616ab9 Additional Block Material API
Faster version for isSolid() that utilizes NMS's state for isSolid instead of the slower
process to do this in the Bukkit API

Adds API for buildable, replaceable, burnable too.
2020-12-30 19:43:01 -05:00
Jake Potrebic dad7e25da8 Add OBSTRUCTED reason to BedEnterResult 2020-12-24 12:43:39 -08:00
Mark Vainomaa 1cedeb97af Expose LivingEntity hurt direction 2020-12-13 05:32:05 +02:00
BillyGalbreath b22a956d7c Fix CraftSound backwards compatibility 2020-12-17 15:25:49 -06:00
Jake Potrebic 84581d0c6b Add missing default perms for commands 2020-11-16 12:01:52 -08:00
Nassim Jahnke e0fe76747b More lightning API
== AT ==
public net.minecraft.world.entity.LightningBolt life
public net.minecraft.world.entity.LightningBolt flashes
2020-07-26 14:44:09 +02:00
Nassim Jahnke d1d54d35bf Add PlayerItemCooldownEvent 2020-08-25 13:48:33 +02:00
Anrza 791377732e Add LivingEntity#clearActiveItem 2020-07-15 12:08:49 +02:00
Esophose 253e7ed6c8 Fix Player spawnParticle x/y/z precision loss 2020-10-03 18:57:47 -06:00
Ineusia c068010b34 Add Destroy Speed API
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2020-10-26 11:48:06 -05:00
Jake Potrebic 5b1f73e2dc Beacon API - custom effect ranges 2020-06-24 12:39:08 -06:00
Alfie Smith 2d042873d8 Item no age & no player pickup 2020-11-07 01:20:33 +00:00
Jason Penilla 9ac98063a0 Fix client lag on advancement loading
When new advancements are added via the UnsafeValues#loadAdvancement
API, it triggers a full datapack reload when this is not necessary. The
advancement is already loaded directly into the advancement registry,
and the point of saving the advancement to the Bukkit datapack seems to
be for persistence. By removing the call to reload datapacks when an
advancement is loaded, the client no longer completely freezes up when
adding a new advancement.
To ensure the client still receives the updated advancement data, we
manually reload the advancement data for all players, which
normally takes place as a part of the datapack reloading.
2020-10-31 11:49:01 -07:00
Mariell Hoversholm 8bac10ce5e Add ignore discounts API 2020-11-09 20:44:51 +01:00
oxygencraft 30de939553 Add getOfflinePlayerIfCached(String) 2020-10-25 18:34:50 +11:00
William Blake Galbreath 691c4ee7b6 Villager#resetOffers 2019-10-07 00:15:37 -05:00
Spottedleaf f24af9bc9c Optimise getType calls
Remove the map lookup for converting from Block->Bukkit Material
2020-06-03 11:37:13 -07:00
William Blake Galbreath 972b6a6f18 Entity#isTicking 2020-10-03 21:39:16 -05:00
Andrew Steinborn 2f55ab6d4e Lazily track plugin scoreboards by default
On servers with plugins that constantly churn through scoreboards, there is a risk of
degraded GC performance due to the number of scoreboards held on by weak references.
Most plugins don't even need the (vanilla) functionality that requires all plugin
scoreboards to be tracked by the server. Instead, only track scoreboards when an
objective is added with a non-dummy criteria.

This is a breaking change, however the change is a much more sensible default. In case
this breaks your workflow you can always force all scoreboards to be tracked with
settings.track-plugin-scoreboards in paper.yml.
2020-10-03 04:15:09 -04:00
MeFisto94 73b101005b Expose the Entity Counter to allow plugins to use valid and non-conflicting Entity Ids 2020-08-28 01:41:26 +02:00
JRoy 963cd88791 Add additional open container api to HumanEntity
== AT ==
public net/minecraft/world/level/block/state/BlockBehaviour getMenuProvider(Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider;
2020-08-26 02:12:31 -04:00
Aikar aebf9e869b Fix Entity Teleportation and cancel velocity if teleported
Uses correct setPositionRotation for Entity teleporting instead of setLocation
as this is how Vanilla teleports entities.

Cancel any pending motion when teleported.
2020-08-25 20:45:36 -04:00