Skip to content

Commit

Permalink
1.21.2 pre5 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnupbups committed Oct 16, 2024
1 parent e2c536b commit 3e9ca38
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <init> (ZLnet/minecraft/class_6862;IIII)V
ARG 1 worldGen
ARG 2 replaceableTag
Expand Down Expand Up @@ -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
5 changes: 3 additions & 2 deletions mappings/net/minecraft/entity/passive/BeeEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/util/math/BlockPos.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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 <init> (Lnet/minecraft/class_2382;)V
ARG 1 pos
METHOD method_10060 offset (JLnet/minecraft/class_2350;)J
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/util/math/ChunkPos.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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 <init> (II)V
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/util/math/GlobalPos.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions mappings/net/minecraft/util/math/Vec3i.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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 <p>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

0 comments on commit 3e9ca38

Please sign in to comment.