Commit Graph
61 Commits
Author SHA1 Message Date
BillyGalbreath 6888386225 Allow adding items to BlockDropItemEvent 2021-01-20 14:23:37 -06:00
William Blake Galbreath 48c492c4d1 Add EntityMoveEvent 2020-02-11 21:56:48 -06:00
William Blake Galbreath d4892b5c73 Add toggle for always placing the dragon egg 2020-11-26 11:47:24 +00:00
BillyGalbreath d9c0a60246 MC-4: Fix item position desync
This fixes item position desync (MC-4) by running the item coordinates
through the encode/decode methods of the packet that causes the precision
loss, which forces the server to lose the same precision as the client
keeping them in sync.
2020-12-08 20:24:52 -06:00
BillyGalbreath b22a956d7c Fix CraftSound backwards compatibility 2020-12-17 15:25:49 -06:00
William Blake Galbreath 22069fd885 Climbing should not bypass cramming gamerule 2020-08-23 20:59:00 +02:00
William Blake Galbreath 416280fc29 Fix item locations dropped from campfires
Fixes #4259 by not flooring the blockposition among other weirdness
Vanilla Issue: MC-267622
2020-10-03 20:32:25 -05:00
William Blake Galbreath 691c4ee7b6 Villager#resetOffers 2019-10-07 00:15:37 -05:00
William Blake Galbreath c2be5a5354 Fix deop kicking non-whitelisted player when white list is not enabled 2020-10-03 22:00:27 -05:00
William Blake Galbreath 972b6a6f18 Entity#isTicking 2020-10-03 21:39:16 -05:00
BillyGalbreath 4f4d4ac73e Add more Evoker API
== AT ==
public net.minecraft.world.entity.monster.Evoker setWololoTarget(Lnet/minecraft/world/entity/animal/Sheep;)V
public net.minecraft.world.entity.monster.Evoker getWololoTarget()Lnet/minecraft/world/entity/animal/Sheep;
2020-08-23 15:28:35 +02:00
BillyGalbreath f1a2ddbc7b Add zombie targets turtle egg config 2020-08-23 15:47:34 +02:00
BillyGalbreath 15b58660bb Add moon phase API 2020-08-23 16:32:11 +02:00
William Blake Galbreath b77fd7dd24 Fix SpawnChangeEvent not firing for all use-cases 2020-08-22 23:36:21 +02:00
William Blake Galbreath a7e8ccc630 Add playPickupItemAnimation to LivingEntity 2020-08-23 19:36:22 +02:00
William Blake Galbreath 760f623ace Fix SPIGOT-5885 Unable to disable advancements 2020-07-10 12:38:12 -05:00
William Blake Galbreath 1110af5fe2 Fix SPIGOT-5824 Bukkit world-container is not used 2020-07-10 13:12:33 -05:00
William Blake Galbreath 3ceb5297a3 Fix arrows never despawning MC-125757
This forces the despawn counter to start ticking regardless of
state after the arrow has been alive for 200 ticks (10 seconds)
instead of getting stuck in a never despawn state (bubble columns,
etc).
2020-07-08 11:24:30 -05:00
William Blake Galbreath ea5eaa7503 Add PrepareResultEvent
Adds a new event for all crafting stations that generate a result slot item

Anvil, Grindstone and Smithing now extend this event
2020-07-03 11:58:56 -05:00
William Blake Galbreath e3bd1e8117 Add entity liquid API
== AT ==
public net.minecraft.world.entity.Entity isInRain()Z
public net.minecraft.world.entity.Entity isInBubbleColumn()Z
2020-07-02 18:11:43 -05:00
e91df097e9 ExperienceOrb merging/stacking API and fixes
Adds an option for maximum exp value when merging orbs

Adds ExperienceOrbMergeEvent
Fired when the server is about to merge 2 experience orbs
as entities. Plugins can cancel it if they want to ensure experience orbs do not lose important
metadata such as spawn reason, or conditionally move data from source to target.

Fixes an issue where the stacked count was not taking into account
for mending repairs and when merging with spigot's merge-on-spawn
logic

== AT ==
public net.minecraft.world.entity.ExperienceOrb count

Co-authored-by: Aikar <aikar@aikar.co>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2017-11-10 23:03:12 -05:00
William Blake Galbreath 8a71e1c7da Add phantom creative and insomniac controls 2020-04-25 15:13:41 -05:00
William Blake Galbreath db792f5e1d Add tick times API and /mspt command 2020-04-05 22:23:14 -05:00
William Blake Galbreath fd378a7262 Add option to allow iron golems to spawn in air 2019-04-13 16:50:58 -05:00
William Blake Galbreath fa7c667a3e Make the GUI graph fancier 2020-02-02 04:00:40 -06:00
William Blake Galbreath 196c153504 Add option to nerf pigmen from nether portals 2020-02-07 14:36:56 -06:00
BillyGalbreath 0dd8044178 Entity Jump API
== AT ==
public net.minecraft.world.entity.LivingEntity jumping
2020-02-08 23:26:11 -06:00
William Blake Galbreath 4e20691d59 Add ThrownEggHatchEvent
Adds a new event similar to PlayerEggThrowEvent, but without the Player requirement
(dispensers can throw eggs to hatch them, too).
2020-02-09 00:19:05 -06:00
William Blake Galbreath e4290a3697 Bees get gravity in void. Fixes MC-167279 2020-01-26 16:30:19 -06:00
William Blake Galbreath 0e5a5711fc Prevent bees loading chunks checking hive position 2020-01-05 17:24:34 -06:00
William Blake Galbreath a0dc4eeb99 Add option to disable pillager patrols 2019-10-09 21:46:15 -05:00
William Blake Galbreath 3084b4ce9b Expose the internal current tick 2019-04-20 19:47:34 -05:00
William Blake Galbreath b68af3dfa1 Mob Spawner API Enhancements
== AT ==
public net.minecraft.world.level.BaseSpawner isNearPlayer(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z
public net.minecraft.world.level.BaseSpawner delay(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V
public net.minecraft.world.level.BaseSpawner setNextSpawnData(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/SpawnData;)V
2019-04-19 12:41:13 -05:00
BillyGalbreath ea164c2f4a Add more Zombie API
== AT ==
public net.minecraft.world.entity.monster.Zombie isSunSensitive()Z
2018-10-07 04:29:59 -05:00
BillyGalbreath 8f806f31bb Check Drowned for Villager Aggression Config 2018-10-10 21:22:44 -05:00
BillyGalbreath a24fb45a27 Add more Witch API
== AT ==
public net.minecraft.world.entity.monster.Witch usingTime
2018-10-12 14:10:46 -05:00
BillyGalbreath fb18e19bb0 Turtle API
== AT ==
public net.minecraft.world.entity.animal.Turtle getHomePos()Lnet/minecraft/core/BlockPos;
public net.minecraft.world.entity.animal.Turtle setHasEgg(Z)V
public net.minecraft.world.entity.animal.Turtle isGoingHome()Z
public net.minecraft.world.entity.animal.Turtle setGoingHome(Z)V
public net.minecraft.world.entity.animal.Turtle isTravelling()Z
public net.minecraft.world.entity.animal.Turtle setTravelling(Z)V
2018-09-29 16:08:23 -05:00
BillyGalbreath a75d433b3e Add sun related API
== AT ==
public net.minecraft.world.entity.Mob isSunBurnTick()Z
2018-10-07 00:54:21 -05:00
BillyGalbreath 5a43ef8127 Add LivingEntity#getTargetEntity 2018-09-22 00:33:08 -05:00
BillyGalbreath 46109028f9 Honor EntityAgeable.ageLock 2018-09-23 20:59:53 -05:00
BillyGalbreath ca341c9de8 Allow chests to be placed with NBT data 2018-09-08 18:43:31 -05:00
BillyGalbreath 0e656d111b Expose attack cooldown methods for Player 2018-09-04 15:02:00 -05:00
BillyGalbreath 228730983d Add ray tracing methods to LivingEntity 2018-09-03 18:20:03 -05:00
BillyGalbreath bfd8b7bcef Add More Creeper API 2018-08-24 11:50:26 -05:00
BillyGalbreath f6b20dccfc Add PhantomPreSpawnEvent 2018-08-25 19:56:51 -05:00
BillyGalbreath 14aa197675 Slime Pathfinder Events 2018-08-24 08:18:42 -05:00
BillyGalbreath f20fbf5477 AnvilDamageEvent 2018-07-20 23:37:03 -05:00
BillyGalbreath da011362dc SkeletonHorse Additions 2018-07-27 22:36:31 -05:00
BillyGalbreath 925d397466 PlayerLaunchProjectileEvent 2018-07-21 03:11:03 -05:00
BillyGalbreath a949eef7aa PlayerElytraBoostEvent 2018-07-21 01:59:59 -05:00
BillyGalbreath e054d501fb EnderDragon Events 2018-07-21 01:51:27 -05:00
BillyGalbreath b7f23ee86d Add config to disable ender dragon legacy check 2018-06-22 10:38:31 -05:00
BillyGalbreath 2d9d74f9a9 Make shield blocking delay configurable 2018-06-16 01:18:16 -05:00
BillyGalbreath ec3ae43c82 Add PlayerAdvancementCriterionGrantEvent 2018-01-19 08:15:29 -06:00
BillyGalbreath d00d3df166 Reset spawner timer when spawner event is cancelled 2017-07-31 01:45:19 -05:00
BillyGalbreath 08aaee1b77 Ocelot despawns should honor nametags and leash 2017-07-31 01:54:40 -05:00
BillyGalbreath c2f10d08a9 LivingEntity#setKiller
== AT ==
public net.minecraft.world.entity.LivingEntity lastHurtByPlayerTime
2017-07-31 01:49:48 -05:00
BillyGalbreath 760d9e300f Entity#fromMobSpawner() 2017-06-18 18:17:05 -05:00
BillyGalbreath 8eb7ab6946 PlayerAttemptPickupItemEvent 2017-06-11 16:30:30 -05:00
BillyGalbreath eb52c5e2f2 PlayerPickupItemEvent#setFlyAtPlayer 2017-05-07 06:26:09 -05:00
BillyGalbreath b41abcdb68 Item#canEntityPickup 2017-05-05 03:57:17 -05:00