mirror of https://github.com/FabricMC/yarn.git
Some EntryListWidget and entity methods and javadocs (#1812)
* Some EntryListWidget and entity methods and javadocs * Update mappings/net/minecraft/entity/mob/PiglinEntity.mapping Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping Co-authored-by: Gegy <gegy1000@gmail.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: Gegy <gegy1000@gmail.com>
This commit is contained in:
parent
02e09de6e1
commit
34b70efdb0
|
@ -105,15 +105,25 @@ CLASS net/minecraft/class_350 net/minecraft/client/gui/widget/EntryListWidget
|
|||
CLASS class_351 Entry
|
||||
FIELD field_22752 list Lnet/minecraft/class_350;
|
||||
METHOD method_25343 render (Lnet/minecraft/class_4587;IIIIIIIZF)V
|
||||
COMMENT Renders an entry in a list.
|
||||
ARG 1 matrices
|
||||
COMMENT the matrix stack used for rendering
|
||||
ARG 2 index
|
||||
COMMENT the index of the entry
|
||||
ARG 3 y
|
||||
COMMENT the Y coordinate of the entry
|
||||
ARG 4 x
|
||||
COMMENT the X coordinate of the entry
|
||||
ARG 5 entryWidth
|
||||
COMMENT the width of the entry
|
||||
ARG 6 entryHeight
|
||||
COMMENT the height of the entry
|
||||
ARG 7 mouseX
|
||||
COMMENT the X coordinate of the mouse
|
||||
ARG 8 mouseY
|
||||
COMMENT the Y coordinate of the mouse
|
||||
ARG 9 hovered
|
||||
COMMENT whether the mouse is hovering over the entry
|
||||
ARG 10 tickDelta
|
||||
CLASS class_352 Entries
|
||||
FIELD field_2146 entries Ljava/util/List;
|
||||
|
|
|
@ -189,6 +189,10 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_27302 shouldDisplaySoulSpeedEffects ()Z
|
||||
METHOD method_27303 isOnSoulSpeedBlock ()Z
|
||||
METHOD method_28306 createBrainProfile ()Lnet/minecraft/class_4095$class_5303;
|
||||
METHOD method_29499 triggerItemPickedUpByEntityCriteria (Lnet/minecraft/class_1542;)V
|
||||
COMMENT Called to trigger advancement criteria when an entity picks up an item
|
||||
COMMENT thrown by a player.
|
||||
ARG 1 item
|
||||
METHOD method_29501 removeSoulSpeedBoost ()V
|
||||
METHOD method_29502 addSoulSpeedBoostIfNeeded ()V
|
||||
METHOD method_29503 hurtByWater ()Z
|
||||
|
|
|
@ -180,11 +180,11 @@ CLASS net/minecraft/class_4838 net/minecraft/entity/mob/PiglinBrain
|
|||
ARG 1 player
|
||||
METHOD method_29947 getNearestDetectedPlayer (Lnet/minecraft/class_5418;)Ljava/util/Optional;
|
||||
ARG 0 piglin
|
||||
METHOD method_30087 getSoundEvent (Lnet/minecraft/class_4836;Lnet/minecraft/class_4168;)Lnet/minecraft/class_3414;
|
||||
METHOD method_30087 getSound (Lnet/minecraft/class_4836;Lnet/minecraft/class_4168;)Lnet/minecraft/class_3414;
|
||||
ARG 0 piglin
|
||||
ARG 1 activity
|
||||
METHOD method_30089 swapItemWithOffHand (Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)V
|
||||
ARG 0 piglin
|
||||
ARG 1 stack
|
||||
METHOD method_30091 getOptionalSoundEvent (Lnet/minecraft/class_4836;)Ljava/util/Optional;
|
||||
METHOD method_30091 getCurrentActivitySound (Lnet/minecraft/class_4836;)Ljava/util/Optional;
|
||||
ARG 0 piglin
|
||||
|
|
|
@ -25,8 +25,17 @@ CLASS net/minecraft/class_4836 net/minecraft/entity/mob/PiglinEntity
|
|||
ARG 1 stack
|
||||
METHOD method_24845 equipToOffHand (Lnet/minecraft/class_1799;)V
|
||||
ARG 1 stack
|
||||
METHOD method_24846 (Lnet/minecraft/class_1799;)Z
|
||||
METHOD method_24846 canEquipStack (Lnet/minecraft/class_1799;)Z
|
||||
COMMENT Returns whether this piglin can equip into or replace current equipment slot.
|
||||
ARG 1 stack
|
||||
METHOD method_26089 getTopMostPassenger (Lnet/minecraft/class_1297;I)Lnet/minecraft/class_1297;
|
||||
COMMENT Returns the passenger entity at {@code maxLevel} in a stacked riding (riding on
|
||||
COMMENT an entity that is riding on another entity, etc).
|
||||
COMMENT
|
||||
COMMENT <p>If the number of stacked entities is less than {@code maxLevel}, returns the
|
||||
COMMENT top most passenger entity.
|
||||
ARG 1 entity
|
||||
ARG 2 maxLevel
|
||||
METHOD method_26953 createPiglinAttributes ()Lnet/minecraft/class_5132$class_5133;
|
||||
METHOD method_26954 setCannotHunt (Z)V
|
||||
ARG 1 cannotHunt
|
||||
|
|
|
@ -111,6 +111,8 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
ARG 1 entityTag
|
||||
METHOD method_7274 getEnderChestInventory ()Lnet/minecraft/class_1730;
|
||||
METHOD method_7276 isSleepingLongEnough ()Z
|
||||
COMMENT Returns whether this player has been sleeping long enough to count towards
|
||||
COMMENT resetting the time of day and weather of the server.
|
||||
METHOD method_7277 addCritParticles (Lnet/minecraft/class_1297;)V
|
||||
ARG 1 target
|
||||
METHOD method_7278 getEnchantmentTableSeed ()I
|
||||
|
@ -200,6 +202,7 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_7336 setGameMode (Lnet/minecraft/class_1934;)V
|
||||
ARG 1 gameMode
|
||||
METHOD method_7337 isCreative ()Z
|
||||
COMMENT Returns whether this player is in creative mode.
|
||||
METHOD method_7338 isCreativeLevelTwoOp ()Z
|
||||
METHOD method_7339 increaseStat (Lnet/minecraft/class_2960;I)V
|
||||
ARG 1 stat
|
||||
|
|
Loading…
Reference in New Issue