Commit Graph
43 Commits
Author SHA1 Message Date
Illia BondarandGitHub a820bdaeb9 [ci skip] Some javadoc fixes 2025-04-22 13:55:41 +02:00
Illia BondarandGitHub 652cea57e8 Allow getAsString()-ing non-persistent entities (#12424) 2025-04-14 09:00:24 +02:00
SoSeDiKandGitHub b242f1eb15 Prevent day cycle on the client when using fixed time (#11924) 2025-01-11 10:59:50 +01:00
SoSeDiKandGitHub aac246ae29 Expand on entity serialization API (#11807) 2024-12-27 00:08:00 +01:00
SoSeDiKandJake Potrebic 1f6969e350 Allow getting/setting the sign's editor uuid (#10637)
* Allow getting/setting the sign's editor uuid

* rebased

---------

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2024-08-18 00:36:27 +03:00
SoSeDiK 079105010e Expose LivingEntity#canUseSlot (#10930) 2024-06-23 23:11:39 +03:00
SoSeDiK 2786ee1e8f Extend fishing API (#10634)
Adds a missing fishing state when the fish is lured and fires an event for it.
Also adds a way to control the fish swimming time towards the bobber.
2024-05-30 00:45:01 +03:00
SoSeDiK b00b419da9 Add a way to check whether the chest is blocked (#10635)
* More Chest Block API

* rebased and slight logic fixes
2024-05-05 20:57:28 +03:00
SoSeDiK a56d850e4b Expose #hasColor to leather armor (#10638) 2024-05-01 20:14:42 +03:00
SoSeDiK 71c03637bf Add EquipmentSlot#getOppositeHand (#10632) 2024-05-01 20:14:27 +03:00
SoSeDiK 6ad89448b8 Add GameMode#isInvulnerable (#10633) 2024-05-01 20:14:17 +03:00
SoSeDiK 58e7ac939f Expose canReach to mob pathfinding API (#10636) 2024-05-01 13:00:11 +03:00
SoSeDiK 95c2b76467 Correct typo in javadoc (#9944) 2023-11-13 20:25:46 +02:00
SoSeDiK 2dbdaa6b88 Cleanup old async commands patch (#8895) 2023-09-17 01:54:33 +03:00
SoSeDiK 7e34587a54 Properly clone custom nbt tags inside ItemMeta (#7849) 2023-08-22 07:59:31 +03:00
SoSeDiK 1316321c7f Expand Pose API (#8781) 2023-08-22 06:05:47 +03:00
SoSeDiK 903747cc3a Additional ExplosiveMinecart API (#8896) 2023-02-26 18:01:43 +02:00
SoSeDiK 49f3ef443a Expose pre-collision moving velocity to VehicleBlockCollisionEvent (#8457) 2022-12-28 00:56:19 +02:00
SoSeDiK 45821f2511 Fix locateNearestBiome nullability check (#8662) 2022-12-13 17:01:54 +02:00
SoSeDiK c30dcbbc4c Allow using degrees for ArmorStand rotations (#7847) 2022-11-26 03:42:30 +02:00
SoSeDiK e7b3fba8e6 Add EquipmentSlot convenience methods (#8477) 2022-10-23 02:50:12 +03:00
SoSeDiK 50c3dccb29 Add LivingEntity#swingHand(EquipmentSlot) convenience method (#8456) 2022-10-16 14:49:56 +03:00
SoSeDiK 254a07415d Allow changing bed's 'occupied' property (#8458) 2022-10-14 11:37:01 +03:00
SoSeDiK 683149f9a1 Elder Guardian appearance API (#8455) 2022-10-13 13:26:51 +03:00
SoSeDiK 9ff21585db Expose isUnderWater to Entity (#8454) 2022-10-11 15:43:10 +03:00
SoSeDiK 7b6d5e3a6b Fix EntityChangeBlockEvent#getBlockData for when sheep eats grass block (#7646) 2022-03-21 19:43:52 +01:00
SoSeDiK 05a5f029d5 Fix NPE when getting destroy speed of air (#6989) 2021-12-02 03:48:15 +02:00
SoSeDiK 4491c7e2ac Add missing fishing event state 2024-05-01 07:44:50 +03:00
SoSeDiK fd8df6aeed More Chest Block API 2024-05-01 08:22:13 +03:00
SoSeDiK 5e1dc7cf47 Expose #hasColor to leather armor 2024-05-01 10:58:50 +03:00
SoSeDiK 925c5a6760 Add GameMode#isInvulnerable 2024-05-01 06:56:21 +03:00
SoSeDiK c40bddd17f Expand Pose API 2023-01-11 20:59:02 +02:00
SoSeDiK 79cb2d4685 Add LivingEntity#swingHand(EquipmentSlot) convenience method 2022-10-11 22:35:56 +03:00
SoSeDiK d533ea2226 Add EquipmentSlot convenience methods 2022-10-16 15:28:49 +03:00
SoSeDiK ad084f6684 Elder Guardian appearance API 2022-10-11 20:38:47 +03:00
SoSeDiK 64cbea9119 Add missing fishing event state 2024-05-01 07:44:50 +03:00
SoSeDiK b50682ab2b More Chest Block API
== AT ==
public net.minecraft.world.level.block.ChestBlock isBlockedChestByBlock(Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z
2024-05-01 08:22:13 +03:00
SoSeDiK d5b93a0167 Expose #hasColor to leather armor 2024-05-01 10:58:50 +03:00
SoSeDiK 4c8c367eee Deep clone nbt tags in PDC 2022-05-26 03:30:05 +03:00
SoSeDiK 1cb5b6e838 Expand Pose API 2023-01-11 20:59:01 +02:00
SoSeDiK 735cda1084 Expose pre-collision moving velocity to VehicleBlockCollisionEvent 2022-10-11 23:30:32 +03:00
SoSeDiK 7224eecfb1 Elder Guardian appearance API 2022-10-11 20:38:47 +03:00
58f0db0820 Fix new block data for EntityChangeBlockEvent
Also standardizes how to handle EntityChangeBlockEvent before a removeBlock or destroyBlock
call. Always use 'state.getFluidState().createLegacyBlock()' to get the new state instead of
just using the 'air' state.

Also fixes the new block data for EntityBreakDoorEvent (a sub-event from
EntityChangeBlockEvent)

Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2022-03-21 20:00:53 +02:00