mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-03 13:27:23 +01:00
API 'done'
This commit is contained in:
parent
08ab8edb76
commit
7936e7a615
418 changed files with 56 additions and 84 deletions
patches/api
API-for-creating-command-sender-which-forwards-feedb.patchAPI-to-get-a-BlockState-without-a-snapshot.patchAbility-to-apply-mending-to-XP-API.patchAbility-to-change-PlayerProfile-in-AsyncPreLoginEven.patchAbility-to-get-Tile-Entities-from-a-chunk-without-sn.patchAdd-API-for-item-entity-health.patchAdd-API-for-quit-reason.patchAdd-API-for-resetting-a-single-score.patchAdd-API-methods-to-control-if-armour-stands-can-move.patchAdd-API-to-get-Material-from-Boats-and-Minecarts.patchAdd-API-to-get-exact-interaction-point-in-PlayerInte.patchAdd-APIs-to-replace-OfflinePlayer-getLastPlayed.patchAdd-Adventure-message-to-PlayerAdvancementDoneEvent.patchAdd-ArmorStand-Item-Meta.patchAdd-Ban-Methods-to-Player-Objects.patchAdd-BaseComponent-sendMessage-methods-to-CommandSend.patchAdd-BeaconEffectEvent.patchAdd-BellRevealRaiderEvent.patchAdd-BellRingEvent.patchAdd-Block-isValidTool.patchAdd-BlockBreakBlockEvent.patchAdd-BlockFailedDispenseEvent.patchAdd-BlockLockCheckEvent.patchAdd-BlockPreDispenseEvent.patchAdd-BlockSoundGroup-interface.patchAdd-CompostItemEvent-and-EntityCompostItemEvent.patchAdd-Destroy-Speed-API.patchAdd-ElderGuardianAppearanceEvent.patchAdd-Entity-Body-Yaw-API.patchAdd-EntityBlockStorage-clearEntities.patchAdd-EntityDyeEvent-and-CollarColorable-interface.patchAdd-EntityFertilizeEggEvent.patchAdd-EntityInsideBlockEvent.patchAdd-EntityKnockbackByEntityEvent-and-EntityPushedByE.patchAdd-EntityLoadCrossbowEvent.patchAdd-EntityPortalReadyEvent.patchAdd-EntityTeleportEndGatewayEvent.patchAdd-EntityZapEvent.patchAdd-EquipmentSlot-convenience-methods.patchAdd-FastUtil-to-Bukkit.patchAdd-GS4-Query-event.patchAdd-GameEvent-tags.patchAdd-Git-information-to-version-command-on-startup.patchAdd-Heightmap-API.patchAdd-ItemFactory-getSpawnEgg-API.patchAdd-ItemStack-Recipe-API-helper-methods.patchAdd-ItemStackRecipeChoice-Draft-API.patchAdd-LivingEntity-clearActiveItem.patchAdd-LivingEntity-getTargetEntity.patchAdd-LivingEntity-swingHand-EquipmentSlot-convenience.patchAdd-Material-Tags.patchAdd-MetadataStoreBase.removeAll-Plugin.patchAdd-Mob-Goal-API.patchAdd-Mob-lookAt-API.patchAdd-More-Creeper-API.patchAdd-Moving-Piston-API.patchAdd-NamespacedKey-biome-methods.patchAdd-OBSTRUCTED-reason-to-BedEnterResult.patchAdd-PaperRegistry.patchAdd-PhantomPreSpawnEvent.patchAdd-Player-Client-Options-API.patchAdd-Player-Warden-Warning-API.patchAdd-Player-getFishHook.patchAdd-PlayerArmorChangeEvent.patchAdd-PlayerAttackEntityCooldownResetEvent.patchAdd-PlayerConnectionCloseEvent.patchAdd-PlayerFlowerPotManipulateEvent.patchAdd-PlayerInitialSpawnEvent.patchAdd-PlayerInventorySlotChangeEvent.patchAdd-PlayerItemCooldownEvent.patchAdd-PlayerItemFrameChangeEvent.patchAdd-PlayerJumpEvent.patchAdd-PlayerKickEvent-causes.patchAdd-PlayerLocaleChangeEvent.patchAdd-PlayerPostRespawnEvent.patchAdd-PlayerSetSpawnEvent.patchAdd-PlayerShearBlockEvent.patchAdd-PlayerSignCommandPreprocessEvent.patchAdd-PlayerStopUsingItemEvent.patchAdd-PlayerUseUnknownEntityEvent.patchAdd-Position.patchAdd-PrePlayerAttackEntityEvent.patchAdd-PrepareResultEvent-PrepareGrindstoneEvent.patchAdd-ProjectileCollideEvent.patchAdd-PufferFishStateChangeEvent.patchAdd-Raw-Byte-Entity-Serialization.patchAdd-Raw-Byte-ItemStack-Serialization.patchAdd-Sneaking-API-for-Entities.patchAdd-String-based-Action-Bar-API.patchAdd-StructuresLocateEvent.patchAdd-TNTPrimeEvent.patchAdd-TameableDeathMessageEvent.patchAdd-TargetHitEvent-API.patchAdd-ThrownEggHatchEvent.patchAdd-Tick-TemporalUnit.patchAdd-UnknownCommandEvent.patchAdd-WardenAngerChangeEvent.patchAdd-WaterBottleSplashEvent.patchAdd-WhitelistToggleEvent.patchAdd-World.getEntity-UUID-API.patch
|
@ -9,10 +9,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
--- a/src/main/java/org/bukkit/Tag.java
|
||||
+++ b/src/main/java/org/bukkit/Tag.java
|
||||
@@ -0,0 +0,0 @@ public interface Tag<T extends Keyed> extends Keyed {
|
||||
* Vanilla tag representing entities which are dismounted when underwater.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
Tag<EntityType> SKELETONS = ENTITY_TYPES_SKELETONS;
|
||||
+
|
||||
Tag<EntityType> ENTITY_TYPES_DISMOUNTS_UNDERWATER = Bukkit.getTag(REGISTRY_ENTITY_TYPES, NamespacedKey.minecraft("dismounts_underwater"), EntityType.class);
|
||||
+ // Paper start
|
||||
+ String REGISTRY_GAME_EVENTS = "game_events";
|
||||
+
|
||||
+ /**
|
||||
|
@ -24,6 +24,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ * Tag for game events that are ignored if the entity is sneaking
|
||||
+ */
|
||||
+ Tag<GameEvent> GAME_EVENT_IGNORE_VIBRATIONS_SNEAKING = Bukkit.getTag(REGISTRY_GAME_EVENTS, NamespacedKey.minecraft("ignore_vibrations_sneaking"), GameEvent.class);
|
||||
// Paper end
|
||||
+
|
||||
+ /**
|
||||
+ * Tag for game events that an allay can listen to
|
||||
+ */
|
||||
+ Tag<GameEvent> GAME_EVENT_ALLAY_CAN_LISTEN = Bukkit.getTag(REGISTRY_GAME_EVENTS, NamespacedKey.minecraft("allay_can_listen"), GameEvent.class);
|
||||
+ // Paper end
|
||||
|
||||
/**
|
||||
* Returns whether or not this tag has an entry for the specified item.
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue