From 3e9ca383ebd57ec430d1faa4aa084f04207537d5 Mon Sep 17 00:00:00 2001 From: Shnupbups Date: Thu, 17 Oct 2024 01:38:50 +1100 Subject: [PATCH] 1.21.2 pre5 stuff --- .../net/minecraft/block/entity/SculkSpreadManager.mapping | 3 +++ mappings/net/minecraft/entity/passive/BeeEntity.mapping | 5 +++-- mappings/net/minecraft/util/math/BlockPos.mapping | 2 ++ mappings/net/minecraft/util/math/ChunkPos.mapping | 1 + mappings/net/minecraft/util/math/GlobalPos.mapping | 4 ++++ mappings/net/minecraft/util/math/Vec3i.mapping | 8 ++++++++ 6 files changed, 21 insertions(+), 2 deletions(-) diff --git a/mappings/net/minecraft/block/entity/SculkSpreadManager.mapping b/mappings/net/minecraft/block/entity/SculkSpreadManager.mapping index 48deb23721..774e379447 100644 --- a/mappings/net/minecraft/block/entity/SculkSpreadManager.mapping +++ b/mappings/net/minecraft/block/entity/SculkSpreadManager.mapping @@ -9,6 +9,7 @@ CLASS net/minecraft/class_7128 net/minecraft/block/entity/SculkSpreadManager FIELD field_37619 decayChance I FIELD field_37620 cursors Ljava/util/List; FIELD field_37621 LOGGER Lorg/slf4j/Logger; + FIELD field_54977 MAX_CURSOR_DISTANCE I METHOD (ZLnet/minecraft/class_6862;IIII)V ARG 1 worldGen ARG 2 replaceableTag @@ -107,3 +108,5 @@ CLASS net/minecraft/class_7128 net/minecraft/block/entity/SculkSpreadManager METHOD method_41511 (Lnet/minecraft/class_7128$class_7129;)Ljava/lang/Integer; ARG 0 cursor METHOD method_41512 getFaces ()Ljava/util/Set; + METHOD method_65074 isTooFarFrom (Lnet/minecraft/class_2338;)Z + ARG 1 pos diff --git a/mappings/net/minecraft/entity/passive/BeeEntity.mapping b/mappings/net/minecraft/entity/passive/BeeEntity.mapping index eab0437994..e6e9ad0468 100644 --- a/mappings/net/minecraft/entity/passive/BeeEntity.mapping +++ b/mappings/net/minecraft/entity/passive/BeeEntity.mapping @@ -60,10 +60,10 @@ CLASS net/minecraft/class_4466 net/minecraft/entity/passive/BeeEntity METHOD method_21788 onHoneyDelivered ()V METHOD method_21789 canEnterHive ()Z METHOD method_21790 updateBodyPitch ()V - METHOD method_21791 hasHive ()Z + METHOD method_21791 hasHivePos ()Z METHOD method_21792 getCropsGrownSincePollination ()I METHOD method_21793 addCropCounter ()V - METHOD method_21794 isHiveValid ()Z + METHOD method_21794 hasValidHive ()Z METHOD method_21797 setFlowerPos (Lnet/minecraft/class_2338;)V ARG 1 flowerPos METHOD method_21805 setHasNectar (Z)V @@ -102,6 +102,7 @@ CLASS net/minecraft/class_4466 net/minecraft/entity/passive/BeeEntity METHOD method_61464 clearFlowerPos ()V METHOD method_63007 isNightOrRaining (Lnet/minecraft/class_1937;)Z ARG 0 world + METHOD method_65073 getHive ()Lnet/minecraft/class_4482; CLASS class_4467 NotAngryGoal METHOD method_21814 canBeeStart ()Z METHOD method_21815 canBeeContinue ()Z diff --git a/mappings/net/minecraft/util/math/BlockPos.mapping b/mappings/net/minecraft/util/math/BlockPos.mapping index 319246b70d..0974955a59 100644 --- a/mappings/net/minecraft/util/math/BlockPos.mapping +++ b/mappings/net/minecraft/util/math/BlockPos.mapping @@ -17,6 +17,8 @@ CLASS net/minecraft/class_2338 net/minecraft/util/math/BlockPos FIELD field_18789 LOGGER Lorg/slf4j/Logger; FIELD field_25064 CODEC Lcom/mojang/serialization/Codec; FIELD field_48404 PACKET_CODEC Lnet/minecraft/class_9139; + FIELD field_54978 SIZE_BITS_XZ I + FIELD field_54979 MAX_XZ I METHOD (Lnet/minecraft/class_2382;)V ARG 1 pos METHOD method_10060 offset (JLnet/minecraft/class_2350;)J diff --git a/mappings/net/minecraft/util/math/ChunkPos.mapping b/mappings/net/minecraft/util/math/ChunkPos.mapping index a96da18080..f172c95962 100644 --- a/mappings/net/minecraft/util/math/ChunkPos.mapping +++ b/mappings/net/minecraft/util/math/ChunkPos.mapping @@ -9,6 +9,7 @@ CLASS net/minecraft/class_1923 net/minecraft/util/math/ChunkPos COMMENT The origin of the chunk position, {@code 0, 0}. FIELD field_54241 CODEC Lcom/mojang/serialization/Codec; FIELD field_54242 PACKET_CODEC Lnet/minecraft/class_9139; + FIELD field_54975 MAX_COORDINATE I FIELD field_9180 z I FIELD field_9181 x I METHOD (II)V diff --git a/mappings/net/minecraft/util/math/GlobalPos.mapping b/mappings/net/minecraft/util/math/GlobalPos.mapping index 00aa21a392..31c1301c3d 100644 --- a/mappings/net/minecraft/util/math/GlobalPos.mapping +++ b/mappings/net/minecraft/util/math/GlobalPos.mapping @@ -12,3 +12,7 @@ CLASS net/minecraft/class_4208 net/minecraft/util/math/GlobalPos ARG 1 pos METHOD method_29096 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD method_65075 isWithinRange (Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;I)Z + ARG 1 dimension + ARG 2 otherPos + ARG 3 maxDistance diff --git a/mappings/net/minecraft/util/math/Vec3i.mapping b/mappings/net/minecraft/util/math/Vec3i.mapping index 42497b38c7..ece86db580 100644 --- a/mappings/net/minecraft/util/math/Vec3i.mapping +++ b/mappings/net/minecraft/util/math/Vec3i.mapping @@ -172,3 +172,11 @@ CLASS net/minecraft/class_2382 net/minecraft/util/math/Vec3i ARG 5 z METHOD method_48305 (ILnet/minecraft/class_2382;)Lcom/mojang/serialization/DataResult; ARG 1 vec + METHOD method_65076 getChebyshevDistance (Lnet/minecraft/class_2382;)I + COMMENT {@return the Chebyshev distance between here and {@code vec}} + COMMENT + COMMENT

Chebyshev distance, also called chessboard distance, is the distance measured + COMMENT as the greatest of the differences of any of their coordinates. + COMMENT For example, the Chebyshev distance between {@code (0, 0, 0)} and {@code (3, 5, 1)} + COMMENT is {@code 5}. + ARG 1 vec