mirror of https://github.com/FabricMC/yarn.git
24w03a/b more stuff (#3767)
* 24w03a/b more stuff * Javadocs, bug fixes, etc * More stuff
This commit is contained in:
parent
9e564d6402
commit
46d17a733a
|
@ -384,8 +384,8 @@ CLASS net/minecraft/class_4970 net/minecraft/block/AbstractBlock
|
|||
ARG 1 state
|
||||
METHOD method_9514 randomTick (Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
|
||||
COMMENT Called server-side when a block gets ticked randomly. This can be overridden to implement
|
||||
COMMENT various logics, most commonly plant growth. Default implementation calls
|
||||
COMMENT {@link #scheduledTick}. To control the rate of the action, use {@code random}.
|
||||
COMMENT various logics, most commonly plant growth. Default implementation does
|
||||
COMMENT nothing. To control the rate of the action, use {@code random}.
|
||||
COMMENT
|
||||
COMMENT <p>Random tick speed is controlled by the game rule {@link
|
||||
COMMENT net.minecraft.world.GameRules#RANDOM_TICK_SPEED randomTickSpeed} and can be disabled.
|
||||
|
@ -693,16 +693,14 @@ CLASS net/minecraft/class_4970 net/minecraft/block/AbstractBlock
|
|||
ARG 2 world
|
||||
ARG 3 pos
|
||||
METHOD method_9584 getRaycastShape (Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
|
||||
COMMENT @see @link AbstractBlockState#getRaycastShape
|
||||
COMMENT @see AbstractBlockState#getRaycastShape
|
||||
ARG 1 state
|
||||
ARG 2 world
|
||||
ARG 3 pos
|
||||
METHOD method_9588 scheduledTick (Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
|
||||
COMMENT Called server-side when a block receives a scheduled tick. This can be used like a timer.
|
||||
COMMENT Scheduled ticks are added using {@link
|
||||
COMMENT WorldAccess#scheduleBlockTick(BlockPos, Block, int)}. Additionally, {@link
|
||||
COMMENT #randomTick} by default calls this method; override {@link #randomTick} to disable this
|
||||
COMMENT behavior.
|
||||
COMMENT WorldAccess#scheduleBlockTick(BlockPos, Block, int)}.
|
||||
COMMENT
|
||||
COMMENT <p>Scheduled ticks are often used inside {@link #getStateForNeighborUpdate}.
|
||||
COMMENT
|
||||
|
|
|
@ -129,7 +129,7 @@ CLASS net/minecraft/class_5620 net/minecraft/block/cauldron/CauldronBehavior
|
|||
METHOD method_32210 emptyCauldron (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Ljava/util/function/Predicate;Lnet/minecraft/class_3414;)Lnet/minecraft/class_9062;
|
||||
COMMENT Empties a cauldron if it's full.
|
||||
COMMENT
|
||||
COMMENT @return a {@linkplain ItemActionResult#isAccepted successful} action result if emptied, {@link ItemActionResult#ASS_TO_DEFAULT_BLOCK_INTERACTION} otherwise
|
||||
COMMENT @return a {@linkplain ItemActionResult#isAccepted successful} action result if emptied, {@link ItemActionResult#PASS_TO_DEFAULT_BLOCK_INTERACTION} otherwise
|
||||
ARG 0 state
|
||||
COMMENT the cauldron block state
|
||||
ARG 1 world
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
CLASS net/minecraft/class_9111 net/minecraft/client/font/FreeTypeUtil
|
||||
FIELD field_48394 freeType J
|
||||
METHOD method_56143 initialize ()J
|
||||
METHOD method_56144 getErrorMessage (I)Ljava/lang/String;
|
||||
ARG 0 code
|
||||
METHOD method_56145 checkError (ILjava/lang/String;)V
|
||||
ARG 0 code
|
||||
ARG 1 description
|
||||
METHOD method_56146 getX (Lorg/lwjgl/util/freetype/FT_Vector;)F
|
||||
ARG 0 vec
|
||||
METHOD method_56147 set (Lorg/lwjgl/util/freetype/FT_Vector;FF)Lorg/lwjgl/util/freetype/FT_Vector;
|
||||
ARG 0 vec
|
||||
ARG 1 x
|
||||
ARG 2 y
|
||||
METHOD method_56148 release ()V
|
|
@ -10,3 +10,5 @@ CLASS net/minecraft/class_383 net/minecraft/client/font/RenderableGlyph
|
|||
METHOD method_2033 hasColor ()Z
|
||||
METHOD method_2034 getXMin ()F
|
||||
METHOD method_2035 getOversample ()F
|
||||
METHOD method_56129 getBearingX ()F
|
||||
METHOD method_56130 getAscent ()F
|
||||
|
|
|
@ -2,9 +2,13 @@ CLASS net/minecraft/class_395 net/minecraft/client/font/TrueTypeFont
|
|||
FIELD field_21839 buffer Ljava/nio/ByteBuffer;
|
||||
FIELD field_2319 excludedCharacters Lit/unimi/dsi/fastutil/ints/IntSet;
|
||||
FIELD field_2321 oversample F
|
||||
FIELD field_48383 face Lorg/lwjgl/util/freetype/FT_Face;
|
||||
METHOD <init> (Ljava/nio/ByteBuffer;Lorg/lwjgl/util/freetype/FT_Face;FFFFLjava/lang/String;)V
|
||||
ARG 1 buffer
|
||||
ARG 2 face
|
||||
ARG 3 size
|
||||
ARG 4 oversample
|
||||
ARG 5 shiftX
|
||||
ARG 6 shiftY
|
||||
ARG 7 excludedCharacters
|
||||
METHOD method_51884 getInfo ()Lorg/lwjgl/util/freetype/FT_Face;
|
||||
|
@ -16,6 +20,9 @@ CLASS net/minecraft/class_395 net/minecraft/client/font/TrueTypeFont
|
|||
FIELD field_2337 height I
|
||||
FIELD field_2338 width I
|
||||
METHOD <init> (Lnet/minecraft/class_395;FFIIFI)V
|
||||
ARG 4 y2
|
||||
ARG 5 y1
|
||||
ARG 2 bearingX
|
||||
ARG 3 ascent
|
||||
ARG 4 width
|
||||
ARG 5 height
|
||||
ARG 6 advance
|
||||
ARG 7 glyphIndex
|
||||
|
|
|
@ -237,6 +237,10 @@ CLASS net/minecraft/class_329 net/minecraft/client/gui/hud/InGameHud
|
|||
METHOD method_55808 (Lnet/minecraft/class_332;F)V
|
||||
ARG 1 context
|
||||
ARG 2 tickDelta
|
||||
METHOD method_56135 shouldRenderExperience ()Z
|
||||
METHOD method_56136 renderExperienceLevel (Lnet/minecraft/class_332;F)V
|
||||
ARG 1 context
|
||||
ARG 2 x
|
||||
CLASS class_6411 HeartType
|
||||
FIELD field_33946 POISONED Lnet/minecraft/class_329$class_6411;
|
||||
FIELD field_45329 fullTexture Lnet/minecraft/class_2960;
|
||||
|
|
|
@ -8,6 +8,7 @@ CLASS net/minecraft/class_8032 net/minecraft/client/gui/screen/AccessibilityOnbo
|
|||
FIELD field_41845 textWidget Lnet/minecraft/class_8019;
|
||||
FIELD field_42038 isNarratorUsable Z
|
||||
FIELD field_46008 onClose Ljava/lang/Runnable;
|
||||
FIELD field_48395 narratorWidget Lnet/minecraft/class_339;
|
||||
METHOD <init> (Lnet/minecraft/class_315;Ljava/lang/Runnable;)V
|
||||
ARG 1 gameOptions
|
||||
ARG 2 onClose
|
||||
|
|
|
@ -169,6 +169,7 @@ CLASS net/minecraft/class_437 net/minecraft/client/gui/screen/Screen
|
|||
COMMENT Renders the translucent background gradient used as the in-game screen background.
|
||||
ARG 1 context
|
||||
METHOD method_53870 getUsageNarrationText ()Lnet/minecraft/class_2561;
|
||||
METHOD method_56131 setInitialFocus ()V
|
||||
CLASS class_6390 SelectedElementNarrationData
|
||||
FIELD field_33825 selectable Lnet/minecraft/class_6379;
|
||||
FIELD field_33826 index I
|
||||
|
|
|
@ -18,6 +18,7 @@ CLASS net/minecraft/class_5519 net/minecraft/client/gui/screen/multiplayer/Socia
|
|||
FIELD field_26907 OFFLINE_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_26908 HIDDEN_OFFLINE_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_26909 BLOCKED_OFFLINE_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_32418 TOOLTIP_DELAY Ljava/time/Duration;
|
||||
FIELD field_33837 hideText Lnet/minecraft/class_2561;
|
||||
FIELD field_33838 showText Lnet/minecraft/class_2561;
|
||||
FIELD field_39622 reportButton Lnet/minecraft/class_4185;
|
||||
|
|
|
@ -12,6 +12,7 @@ CLASS net/minecraft/class_524 net/minecraft/client/gui/screen/world/EditWorldScr
|
|||
FIELD field_46891 CONFIRM_DESCRIPTION_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_46892 SAVE_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_46896 layout Lnet/minecraft/class_8667;
|
||||
FIELD field_48397 nameFieldWidget Lnet/minecraft/class_342;
|
||||
METHOD <init> (Lnet/minecraft/class_310;Lnet/minecraft/class_32$class_5143;Ljava/lang/String;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;)V
|
||||
ARG 1 client
|
||||
ARG 2 session
|
||||
|
@ -38,6 +39,8 @@ CLASS net/minecraft/class_524 net/minecraft/client/gui/screen/world/EditWorldScr
|
|||
ARG 1 button
|
||||
METHOD method_54602 (Lnet/minecraft/class_4185;Ljava/lang/String;)V
|
||||
ARG 1 name
|
||||
METHOD method_54603 (Lnet/minecraft/class_4185;)V
|
||||
ARG 1 button
|
||||
METHOD method_54604 (Lnet/minecraft/class_524;Lnet/minecraft/class_364;)V
|
||||
ARG 1 child
|
||||
METHOD method_54606 (Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_4185;)V
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
CLASS net/minecraft/class_9110 net/minecraft/client/gui/tooltip/TooltipState
|
||||
FIELD field_48390 tooltip Lnet/minecraft/class_7919;
|
||||
FIELD field_48391 delay Ljava/time/Duration;
|
||||
FIELD field_48392 renderCheckTime J
|
||||
FIELD field_48393 prevShouldRender Z
|
||||
METHOD method_56137 getTooltip ()Lnet/minecraft/class_7919;
|
||||
METHOD method_56138 setTooltip (Lnet/minecraft/class_7919;)V
|
||||
ARG 1 tooltip
|
||||
METHOD method_56139 appendNarrations (Lnet/minecraft/class_6382;)V
|
||||
ARG 1 builder
|
||||
METHOD method_56140 createPositioner (Lnet/minecraft/class_8030;ZZ)Lnet/minecraft/class_8000;
|
||||
ARG 1 focus
|
||||
ARG 2 hovered
|
||||
ARG 3 focused
|
||||
METHOD method_56141 setDelay (Ljava/time/Duration;)V
|
||||
ARG 1 delay
|
||||
METHOD method_56142 render (ZZLnet/minecraft/class_8030;)V
|
||||
ARG 1 hovered
|
||||
ARG 2 focused
|
||||
ARG 3 focus
|
|
@ -62,6 +62,7 @@ CLASS net/minecraft/class_339 net/minecraft/client/gui/widget/ClickableWidget
|
|||
METHOD method_47400 setTooltip (Lnet/minecraft/class_7919;)V
|
||||
ARG 1 tooltip
|
||||
METHOD method_47402 setTooltipDelay (Ljava/time/Duration;)V
|
||||
ARG 1 tooltipDelay
|
||||
METHOD method_48579 renderWidget (Lnet/minecraft/class_332;IIF)V
|
||||
ARG 1 context
|
||||
ARG 2 mouseX
|
||||
|
|
|
@ -88,3 +88,11 @@ CLASS net/minecraft/class_4410 net/minecraft/client/realms/gui/screen/RealmsCrea
|
|||
ARG 1 task
|
||||
CLASS class_4411 FrameButton
|
||||
FIELD field_20032 image Lnet/minecraft/class_2960;
|
||||
FIELD field_46130 TEXTURE_SIZE I
|
||||
FIELD field_48384 TEXTURE Lnet/minecraft/class_2960;
|
||||
FIELD field_48385 SIZE I
|
||||
FIELD field_48386 TEXTURE_MARGIN I
|
||||
METHOD <init> (Lnet/minecraft/class_4410;Lnet/minecraft/class_2561;Lnet/minecraft/class_2960;Lnet/minecraft/class_4185$class_4241;)V
|
||||
ARG 2 message
|
||||
ARG 3 image
|
||||
ARG 4 onPress
|
||||
|
|
|
@ -293,9 +293,13 @@ CLASS net/minecraft/class_4325 net/minecraft/client/realms/gui/screen/RealmsMain
|
|||
FIELD field_46676 START_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_46678 tooltip Lnet/minecraft/class_9110;
|
||||
FIELD field_46679 server Lnet/minecraft/class_4877;
|
||||
METHOD <init> (Lnet/minecraft/class_4325;Lnet/minecraft/class_4877;)V
|
||||
ARG 2 server
|
||||
METHOD method_54343 (Lnet/minecraft/class_8816;)V
|
||||
ARG 1 screen
|
||||
METHOD method_54344 showPopup ()V
|
||||
CLASS class_8841 ParentRealmSelectionListEntry
|
||||
FIELD field_46684 server Lnet/minecraft/class_4877;
|
||||
FIELD field_46685 tooltip Lnet/minecraft/class_9110;
|
||||
METHOD <init> (Lnet/minecraft/class_4325;Lnet/minecraft/class_4877;)V
|
||||
ARG 2 server
|
||||
|
|
|
@ -22,6 +22,14 @@ CLASS net/minecraft/class_4427 net/minecraft/client/realms/gui/screen/RealmsUplo
|
|||
FIELD field_20196 UPLOAD_LOCK Ljava/util/concurrent/locks/ReentrantLock;
|
||||
FIELD field_20503 statusTexts [Lnet/minecraft/class_2561;
|
||||
FIELD field_26526 VERIFYING_TEXT Lnet/minecraft/class_2561;
|
||||
FIELD field_48388 creationTask Lnet/minecraft/class_4445;
|
||||
FIELD field_48389 layout Lnet/minecraft/class_8132;
|
||||
METHOD <init> (Lnet/minecraft/class_4445;JILnet/minecraft/class_4410;Lnet/minecraft/class_34;)V
|
||||
ARG 1 creationTask
|
||||
ARG 2 worldId
|
||||
ARG 4 slotId
|
||||
ARG 5 parent
|
||||
ARG 6 selectedLevel
|
||||
METHOD method_21515 verify (Ljava/io/File;)Z
|
||||
ARG 1 archive
|
||||
METHOD method_21516 addFileToTarGz (Lorg/apache/commons/compress/archivers/tar/TarArchiveOutputStream;Ljava/lang/String;Ljava/lang/String;Z)V
|
||||
|
@ -42,6 +50,8 @@ CLASS net/minecraft/class_4427 net/minecraft/client/realms/gui/screen/RealmsUplo
|
|||
ARG 1 context
|
||||
METHOD method_21536 upload ()V
|
||||
METHOD method_21538 uploadCancelled ()V
|
||||
METHOD method_22105 (Lnet/minecraft/class_4429;)V
|
||||
ARG 1 result
|
||||
METHOD method_25276 (Lnet/minecraft/class_4185;)V
|
||||
ARG 1 button
|
||||
METHOD method_25277 (Lnet/minecraft/class_4185;)V
|
||||
|
@ -49,3 +59,5 @@ CLASS net/minecraft/class_4427 net/minecraft/client/realms/gui/screen/RealmsUplo
|
|||
METHOD method_27460 setStatusTexts ([Lnet/minecraft/class_2561;)V
|
||||
ARG 1 statusTexts
|
||||
METHOD method_37014 getNarration ()Lnet/minecraft/class_2561;
|
||||
METHOD method_56133 (Lnet/minecraft/class_4427;Lnet/minecraft/class_364;)V
|
||||
ARG 1 child
|
||||
|
|
|
@ -149,7 +149,7 @@ CLASS net/minecraft/class_757 net/minecraft/client/render/GameRenderer
|
|||
ARG 4 matrices
|
||||
METHOD method_3189 showFloatingItem (Lnet/minecraft/class_1799;)V
|
||||
ARG 1 floatingItem
|
||||
METHOD method_3190 updateTargetedEntity (F)V
|
||||
METHOD method_3190 updateCrosshairTarget (F)V
|
||||
ARG 1 tickDelta
|
||||
METHOD method_3192 render (FJZ)V
|
||||
ARG 1 tickDelta
|
||||
|
@ -396,6 +396,15 @@ CLASS net/minecraft/class_757 net/minecraft/client/render/GameRenderer
|
|||
METHOD method_55249 getRenderTypeBreezeWindProgram ()Lnet/minecraft/class_5944;
|
||||
METHOD method_55250 (Lnet/minecraft/class_5944;)V
|
||||
ARG 0 program
|
||||
METHOD method_56153 findCrosshairTarget (Lnet/minecraft/class_1297;DDF)Lnet/minecraft/class_239;
|
||||
ARG 1 camera
|
||||
ARG 2 blockInteractionRange
|
||||
ARG 4 entityInteractionRange
|
||||
ARG 6 tickDelta
|
||||
METHOD method_56154 ensureTargetInRange (Lnet/minecraft/class_239;Lnet/minecraft/class_243;D)Lnet/minecraft/class_239;
|
||||
ARG 0 hitResult
|
||||
ARG 1 cameraPos
|
||||
ARG 2 interactionRange
|
||||
CLASS 1
|
||||
METHOD method_45775 (Lnet/minecraft/class_2960;)Z
|
||||
ARG 0 id
|
||||
|
|
|
@ -132,6 +132,8 @@ CLASS net/minecraft/class_1011 net/minecraft/client/texture/NativeImage
|
|||
ARG 1 x
|
||||
ARG 2 y
|
||||
METHOD method_4316 makeGlyphBitmapSubpixel (Lorg/lwjgl/util/freetype/FT_Face;I)V
|
||||
ARG 1 face
|
||||
ARG 2 glyphIndex
|
||||
METHOD method_4317 copyFrom (Lnet/minecraft/class_1011;)V
|
||||
ARG 1 image
|
||||
METHOD method_4318 getFormat ()Lnet/minecraft/class_1011$class_1012;
|
||||
|
|
|
@ -170,6 +170,7 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
|
|||
FIELD field_24442 difficultyLocked Z
|
||||
FIELD field_24607 flatWorld Z
|
||||
FIELD field_26372 spawnAngle F
|
||||
FIELD field_48402 spawnPos Lnet/minecraft/class_2338;
|
||||
METHOD <init> (Lnet/minecraft/class_1267;ZZ)V
|
||||
ARG 1 difficulty
|
||||
ARG 2 hardcore
|
||||
|
|
|
@ -17,7 +17,7 @@ CLASS net/minecraft/class_2306 net/minecraft/command/EntitySelectorOptions
|
|||
METHOD method_9919 (Lnet/minecraft/class_1299;ZLnet/minecraft/class_1297;)Z
|
||||
ARG 2 entity
|
||||
METHOD method_9920 (Ljava/lang/String;ZLnet/minecraft/class_1297;)Z
|
||||
ARG 2 readerx
|
||||
ARG 2 entity
|
||||
METHOD method_9921 (Lnet/minecraft/class_2303;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture;
|
||||
ARG 1 builder
|
||||
ARG 2 consumer
|
||||
|
|
|
@ -690,7 +690,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
|
|||
METHOD method_32876 emitGameEvent (Lnet/minecraft/class_6880;)V
|
||||
COMMENT Emits a game event originating from this entity at this entity's position.
|
||||
COMMENT
|
||||
COMMENT @see #emitGameEvent(GameEvent, Entity)
|
||||
COMMENT @see #emitGameEvent(RegistryEntry, Entity)
|
||||
ARG 1 event
|
||||
METHOD method_33189 occludeVibrationSignals ()Z
|
||||
COMMENT {@return whether the entity should not emit vibrations}
|
||||
|
|
|
@ -9,6 +9,7 @@ CLASS net/minecraft/class_9064 net/minecraft/entity/EntityAttachmentType
|
|||
FIELD field_47748 NONE Ljava/util/List;
|
||||
FIELD field_47749 ZERO Lnet/minecraft/class_9064$class_9065;
|
||||
FIELD field_47750 AT_HEIGHT Lnet/minecraft/class_9064$class_9065;
|
||||
FIELD field_48321 WARDEN_CHEST Lnet/minecraft/class_9064$class_9065;
|
||||
METHOD create (FF)Ljava/util/List;
|
||||
ARG 1 width
|
||||
ARG 2 height
|
||||
|
@ -18,3 +19,6 @@ CLASS net/minecraft/class_9064 net/minecraft/entity/EntityAttachmentType
|
|||
METHOD method_55672 (FF)Ljava/util/List;
|
||||
ARG 0 width
|
||||
ARG 1 height
|
||||
METHOD method_56074 (FF)Ljava/util/List;
|
||||
ARG 0 width
|
||||
ARG 1 height
|
||||
|
|
|
@ -212,6 +212,14 @@ CLASS net/minecraft/class_1299 net/minecraft/entity/EntityType
|
|||
ARG 1 offsetY
|
||||
METHOD method_55692 nameTagAttachment (F)Lnet/minecraft/class_1299$class_1300;
|
||||
ARG 1 offsetY
|
||||
METHOD method_56075 attachment (Lnet/minecraft/class_9064;FFF)Lnet/minecraft/class_1299$class_1300;
|
||||
ARG 1 type
|
||||
ARG 2 offsetX
|
||||
ARG 3 offsetY
|
||||
ARG 4 offsetZ
|
||||
METHOD method_56076 attachment (Lnet/minecraft/class_9064;Lnet/minecraft/class_243;)Lnet/minecraft/class_1299$class_1300;
|
||||
ARG 1 type
|
||||
ARG 2 offset
|
||||
METHOD method_5900 (Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Lnet/minecraft/class_1297;
|
||||
ARG 0 type
|
||||
ARG 1 world
|
||||
|
|
|
@ -362,6 +362,8 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_55693 getScale ()F
|
||||
METHOD method_55694 getBaseDimensions (Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
|
||||
ARG 1 pose
|
||||
METHOD method_56077 clampScale (F)F
|
||||
ARG 1 scale
|
||||
METHOD method_56078 playSound (Lnet/minecraft/class_3414;)V
|
||||
ARG 1 sound
|
||||
METHOD method_56079 getSlotForHand (Lnet/minecraft/class_1268;)Lnet/minecraft/class_1304;
|
||||
|
|
|
@ -5,8 +5,14 @@ CLASS net/minecraft/class_4806 net/minecraft/entity/ai/brain/task/BreedTask
|
|||
FIELD field_30104 MAX_RANGE I
|
||||
FIELD field_30105 MIN_BREED_TIME I
|
||||
FIELD field_30106 RUN_TIME I
|
||||
FIELD field_48327 approachDistance I
|
||||
FIELD field_48328 DEFAULT_APPROACH_DISTANCE I
|
||||
METHOD <init> (Lnet/minecraft/class_1299;)V
|
||||
ARG 1 targetType
|
||||
METHOD <init> (Lnet/minecraft/class_1299;FI)V
|
||||
ARG 1 targetType
|
||||
ARG 2 speed
|
||||
ARG 3 approachDistance
|
||||
METHOD method_24542 getBreedTarget (Lnet/minecraft/class_1429;)Lnet/minecraft/class_1429;
|
||||
ARG 1 animal
|
||||
METHOD method_24545 (Lnet/minecraft/class_1429;Lnet/minecraft/class_1309;)Z
|
||||
|
|
|
@ -5,6 +5,7 @@ CLASS net/minecraft/class_4215 net/minecraft/entity/ai/brain/task/LookTargetUtil
|
|||
ARG 0 first
|
||||
ARG 1 second
|
||||
ARG 2 speed
|
||||
ARG 3 walkCompletionRange
|
||||
METHOD method_19550 canSee (Lnet/minecraft/class_4095;Lnet/minecraft/class_1309;)Z
|
||||
ARG 0 brain
|
||||
ARG 1 target
|
||||
|
@ -24,6 +25,7 @@ CLASS net/minecraft/class_4215 net/minecraft/entity/ai/brain/task/LookTargetUtil
|
|||
ARG 0 first
|
||||
ARG 1 second
|
||||
ARG 2 speed
|
||||
ARG 3 completionRange
|
||||
METHOD method_19949 give (Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;Lnet/minecraft/class_243;)V
|
||||
ARG 0 entity
|
||||
ARG 1 stack
|
||||
|
|
|
@ -63,8 +63,11 @@ CLASS net/minecraft/class_2945 net/minecraft/entity/data/DataTracker
|
|||
ARG 0 data
|
||||
ARG 1 value
|
||||
METHOD method_46361 write (Lnet/minecraft/class_9129;)V
|
||||
ARG 1 buf
|
||||
METHOD method_46362 fromBuf (Lnet/minecraft/class_9129;I)Lnet/minecraft/class_2945$class_7834;
|
||||
ARG 0 buf
|
||||
ARG 1 id
|
||||
METHOD method_46363 fromBuf (Lnet/minecraft/class_9129;ILnet/minecraft/class_2941;)Lnet/minecraft/class_2945$class_7834;
|
||||
ARG 0 buf
|
||||
ARG 1 id
|
||||
ARG 2 handler
|
||||
|
|
|
@ -41,7 +41,7 @@ CLASS net/minecraft/class_1291 net/minecraft/entity/effect/StatusEffect
|
|||
METHOD method_55651 (Ljava/util/function/BiConsumer;ILnet/minecraft/class_6880;Lnet/minecraft/class_1291$class_8634;)V
|
||||
ARG 3 attribute
|
||||
ARG 4 modifier
|
||||
METHOD method_55652 getFadeOutTicks ()I
|
||||
METHOD method_55652 getFadeTicks ()I
|
||||
METHOD method_5566 addAttributeModifier (Lnet/minecraft/class_6880;Ljava/lang/String;DLnet/minecraft/class_1322$class_1323;)Lnet/minecraft/class_1291;
|
||||
ARG 1 attribute
|
||||
ARG 2 uuid
|
||||
|
|
|
@ -63,8 +63,13 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
ARG 6 refreshable
|
||||
METHOD method_17355 openHandledScreen (Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;
|
||||
ARG 1 factory
|
||||
METHOD method_17356 playSound (Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
|
||||
ARG 1 event
|
||||
METHOD method_17356 playSoundToPlayer (Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
|
||||
COMMENT Plays {@code sound} to this player <strong>only</strong>.
|
||||
COMMENT
|
||||
COMMENT <p>Use {@link #playSound(SoundEvent, float, float)} to play sound that can be heard by
|
||||
COMMENT nearby players. Unlike that method, this method should be called on only one side
|
||||
COMMENT (i.e. either the server or the client, alone).
|
||||
ARG 1 sound
|
||||
ARG 2 category
|
||||
ARG 3 volume
|
||||
ARG 4 pitch
|
||||
|
@ -140,14 +145,26 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_55754 getBlockInteractionRange ()D
|
||||
METHOD method_55755 getEntityInteractionRange ()D
|
||||
METHOD method_56092 canInteractWithEntityIn (Lnet/minecraft/class_238;D)Z
|
||||
COMMENT {@return whether the player can interact with entity whose bounding box
|
||||
COMMENT is {@code box}}
|
||||
ARG 1 box
|
||||
ARG 2 range
|
||||
ARG 2 additionalRange
|
||||
COMMENT the player's additional interaction range added to {@linkplain
|
||||
COMMENT #getEntityInteractionRange the default range}
|
||||
METHOD method_56093 canInteractWithBlockAt (Lnet/minecraft/class_2338;D)Z
|
||||
COMMENT {@return whether the player can interact with block at {@code pos}}
|
||||
ARG 1 pos
|
||||
ARG 2 range
|
||||
ARG 2 additionalRange
|
||||
COMMENT the player's additional interaction range added to {@linkplain
|
||||
COMMENT #getBlockInteractionRange the default range}
|
||||
METHOD method_56094 canInteractWithEntity (Lnet/minecraft/class_1297;D)Z
|
||||
COMMENT {@return whether the player can interact with {@code entity}}
|
||||
COMMENT
|
||||
COMMENT <p>This returns {@code false} for {@linkplain Entity#isRemoved removed} entities.
|
||||
ARG 1 entity
|
||||
ARG 2 range
|
||||
ARG 2 additionalRange
|
||||
COMMENT the player's additional interaction range added to {@linkplain
|
||||
COMMENT #getEntityInteractionRange the default range}
|
||||
METHOD method_7254 unlockRecipes (Ljava/util/Collection;)I
|
||||
ARG 1 recipes
|
||||
METHOD method_7255 addExperience (I)V
|
||||
|
|
|
@ -323,7 +323,7 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item
|
|||
COMMENT <p>Tools and melee weapons should override this to damage the stack.
|
||||
COMMENT
|
||||
COMMENT @return whether the item's use stat should be incremented
|
||||
COMMENT @see ItemStack#damage(int, LivingEntity, java.util.function.Consumer)
|
||||
COMMENT @see ItemStack#damage(int, LivingEntity, EquipmentSlot)
|
||||
ARG 1 stack
|
||||
ARG 2 target
|
||||
ARG 3 attacker
|
||||
|
@ -347,7 +347,7 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item
|
|||
COMMENT
|
||||
COMMENT @return whether the item's use stat should be incremented
|
||||
COMMENT @see net.minecraft.block.AbstractBlock.AbstractBlockState#getHardness
|
||||
COMMENT @see ItemStack#damage(int, LivingEntity, java.util.function.Consumer)
|
||||
COMMENT @see ItemStack#damage(int, LivingEntity, EquipmentSlot)
|
||||
ARG 1 stack
|
||||
ARG 2 world
|
||||
ARG 3 state
|
||||
|
|
|
@ -259,6 +259,14 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
METHOD method_55067 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
|
||||
ARG 0 instance
|
||||
METHOD method_56098 isUnbreakable ()Z
|
||||
COMMENT {@return whether the item stack can never be broken}
|
||||
COMMENT
|
||||
COMMENT <p>Item stacks with {@value #UNBREAKABLE_KEY} NBT set to {@code 1b} cannot be damaged.
|
||||
COMMENT
|
||||
COMMENT @see Item#getMaxDamage
|
||||
COMMENT @see #isDamaged
|
||||
COMMENT @see #getDamage
|
||||
COMMENT @see #isDamageable
|
||||
METHOD method_7909 getItem ()Lnet/minecraft/class_1792;
|
||||
COMMENT {@return the item of this stack}
|
||||
COMMENT
|
||||
|
@ -454,24 +462,23 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT {@return a text consisting of the bracketed {@linkplain #getName stack name} that
|
||||
COMMENT can be hovered to show the item stack's tooltip}
|
||||
METHOD method_7956 damage (ILnet/minecraft/class_5819;Lnet/minecraft/class_3222;Ljava/lang/Runnable;)V
|
||||
COMMENT Damages this item stack. This method should be used when an entity, including a player,
|
||||
COMMENT damages the stack. This does not damage {@linkplain #isDamageable non-damageable}
|
||||
COMMENT Damages this item stack. This method should be used when a non-entity, such as a
|
||||
COMMENT dispenser, damages the stack. This does not damage {@linkplain #isDamageable non-damageable}
|
||||
COMMENT stacks, and the {@linkplain net.minecraft.enchantment.UnbreakingEnchantment
|
||||
COMMENT unbreaking enchantment} is applied to {@code amount} before damaging. Additionally,
|
||||
COMMENT if {@code entity} is a player in creative mode, the stack will not be damaged.
|
||||
COMMENT unbreaking enchantment} is applied to {@code amount} before damaging.
|
||||
COMMENT
|
||||
COMMENT <p>If {@code entity} is a player, this triggers {@link
|
||||
COMMENT <p>If {@code player} is not {@code null}, this triggers {@link
|
||||
COMMENT net.minecraft.advancement.criterion.Criteria#ITEM_DURABILITY_CHANGED}.
|
||||
COMMENT
|
||||
COMMENT <p>If the stack's damage is equal to or above {@linkplain Item#getMaxDamage the maximum
|
||||
COMMENT damage} (i.e. the item is "broken"), this will call {@code breakCallback}, decrement the
|
||||
COMMENT stack, and increment {@link net.minecraft.stat.Stats#BROKEN} if the stack is held
|
||||
COMMENT by a player. The callback should call {@link LivingEntity#sendEquipmentBreakStatus}
|
||||
COMMENT or {@link LivingEntity#sendToolBreakStatus}.
|
||||
COMMENT <p>When the item "breaks", that is, the stack's damage is equal to or above
|
||||
COMMENT {@linkplain Item#getMaxDamage the maximum damage}, {@code breakCallback} is run.
|
||||
COMMENT Callers should decrement the stack size inside the callback.
|
||||
ARG 1 amount
|
||||
ARG 2 random
|
||||
ARG 3 entity
|
||||
ARG 3 player
|
||||
COMMENT the player that damaged the stack, or {@code null} if no player is involved
|
||||
ARG 4 breakCallback
|
||||
COMMENT a callback run when the item "breaks"
|
||||
METHOD method_7958 hasGlint ()Z
|
||||
METHOD method_7959 setSubNbt (Ljava/lang/String;Lnet/minecraft/class_2520;)V
|
||||
COMMENT Sets the given NBT element in the item stack's custom NBT at the specified key.
|
||||
|
@ -498,6 +505,7 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT @see Item#getMaxDamage
|
||||
COMMENT @see #isDamaged
|
||||
COMMENT @see #getDamage
|
||||
COMMENT @see #isUnbreakable
|
||||
METHOD method_7964 getName ()Lnet/minecraft/class_2561;
|
||||
COMMENT {@return the custom name of the stack if it exists, or the item's name}
|
||||
METHOD method_7965 getBobbingAnimationTime ()I
|
||||
|
@ -509,22 +517,24 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT
|
||||
COMMENT @see <a href="#nbt-operations">Item Stack NBT Operations</a>
|
||||
METHOD method_7970 damage (ILnet/minecraft/class_1309;Lnet/minecraft/class_1304;)V
|
||||
COMMENT Damages this item stack. This method should be used when a non-entity, such as a
|
||||
COMMENT dispenser, damages the stack. This does not damage {@linkplain #isDamageable non-damageable}
|
||||
COMMENT Damages this item stack. This method should be used when an entity, including a player,
|
||||
COMMENT damages the stack. This does not damage {@linkplain #isDamageable non-damageable}
|
||||
COMMENT stacks, and the {@linkplain net.minecraft.enchantment.UnbreakingEnchantment
|
||||
COMMENT unbreaking enchantment} is applied to {@code amount} before damaging.
|
||||
COMMENT unbreaking enchantment} is applied to {@code amount} before damaging. Additionally,
|
||||
COMMENT if {@code entity} is a player in creative mode, the stack will not be damaged.
|
||||
COMMENT
|
||||
COMMENT <p>If {@code player} is not {@code null}, this triggers {@link
|
||||
COMMENT <p>If {@code entity} is a player, this triggers {@link
|
||||
COMMENT net.minecraft.advancement.criterion.Criteria#ITEM_DURABILITY_CHANGED}.
|
||||
COMMENT
|
||||
COMMENT <p>This method does not decrement the item count when the item "breaks". Callers should
|
||||
COMMENT check the returned value and decrement themselves.
|
||||
COMMENT
|
||||
COMMENT @return whether the stack's damage is equal to or above {@linkplain Item#getMaxDamage
|
||||
COMMENT the maximum damage} (i.e. whether the item is "broken")
|
||||
COMMENT <p>If the stack's damage is equal to or above {@linkplain Item#getMaxDamage the maximum
|
||||
COMMENT damage} (i.e. the item is "broken"), this will {@linkplain
|
||||
COMMENT LivingEntity#sendEquipmentBreakStatus send the equipment break status}, decrement the
|
||||
COMMENT stack, and increment {@link net.minecraft.stat.Stats#BROKEN} if the stack is held
|
||||
COMMENT by a player.
|
||||
ARG 1 amount
|
||||
ARG 2 entity
|
||||
ARG 3 slot
|
||||
COMMENT the slot in which the stack is held
|
||||
METHOD method_7971 split (I)Lnet/minecraft/class_1799;
|
||||
COMMENT {@return the copy of the stack "split" from the current stack with item count
|
||||
COMMENT being at most {@code amount}}
|
||||
|
@ -558,11 +568,11 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
|
|||
COMMENT Sets the stack's damage to {@code damage}.
|
||||
COMMENT
|
||||
COMMENT <p>This does not break the item if the damage reaches {@linkplain Item#getMaxDamage
|
||||
COMMENT the maximum}, unlike {@link #damage(int, LivingEntity, Consumer)}.
|
||||
COMMENT the maximum}, unlike {@link #damage(int, LivingEntity, EquipmentSlot)}.
|
||||
COMMENT
|
||||
COMMENT @see #getDamage
|
||||
COMMENT @see #damage(int, Random, ServerPlayerEntity)
|
||||
COMMENT @see #damage(int, LivingEntity, Consumer)
|
||||
COMMENT @see #damage(int, Random, ServerPlayerEntity, Runnable)
|
||||
COMMENT @see #damage(int, LivingEntity, EquipmentSlot)
|
||||
ARG 1 damage
|
||||
METHOD method_7976 getUseAction ()Lnet/minecraft/class_1839;
|
||||
METHOD method_7977 setCustomName (Lnet/minecraft/class_2561;)Lnet/minecraft/class_1799;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CLASS net/minecraft/class_3957 net/minecraft/recipe/CookingRecipeSerializer
|
||||
FIELD field_17552 recipeFactory Lnet/minecraft/class_1874$class_3958;
|
||||
FIELD field_46105 codec Lcom/mojang/serialization/Codec;
|
||||
FIELD field_48361 PACKET_CODEC Lnet/minecraft/class_9139;
|
||||
FIELD field_48361 packetCodec Lnet/minecraft/class_9139;
|
||||
METHOD <init> (Lnet/minecraft/class_1874$class_3958;I)V
|
||||
ARG 1 recipeFactory
|
||||
ARG 2 cookingTime
|
||||
|
|
|
@ -21,7 +21,6 @@ CLASS net/minecraft/class_1863 net/minecraft/recipe/RecipeManager
|
|||
COMMENT
|
||||
COMMENT @throws com.google.gson.JsonParseException if the recipe JSON is invalid
|
||||
COMMENT @return the read recipe
|
||||
COMMENT @see RecipeSerializer#read
|
||||
ARG 0 id
|
||||
COMMENT the recipe's ID
|
||||
ARG 1 json
|
||||
|
|
|
@ -285,6 +285,8 @@ CLASS net/minecraft/class_2378 net/minecraft/registry/Registry
|
|||
METHOD method_55841 getEntry (Lnet/minecraft/class_2960;)Ljava/util/Optional;
|
||||
ARG 1 id
|
||||
METHOD method_56159 getRandomEntry (Lnet/minecraft/class_6862;Lnet/minecraft/class_5819;)Ljava/util/Optional;
|
||||
COMMENT {@return a random entry from {@code tag}, or an empty {@link Optional} if the
|
||||
COMMENT tag is empty}
|
||||
ARG 1 tag
|
||||
ARG 2 random
|
||||
METHOD method_56160 (Lnet/minecraft/class_5819;Lnet/minecraft/class_6885$class_6888;)Ljava/util/Optional;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
CLASS net/minecraft/class_3952 net/minecraft/server/QueueingWorldGenerationProgressListener
|
||||
FIELD field_17472 progressListener Lnet/minecraft/class_3949;
|
||||
FIELD field_17473 queue Lnet/minecraft/class_3846;
|
||||
FIELD field_48272 running Z
|
||||
METHOD <init> (Lnet/minecraft/class_3949;Ljava/util/concurrent/Executor;)V
|
||||
ARG 1 progressListener
|
||||
ARG 2 executor
|
||||
|
|
|
@ -54,6 +54,7 @@ CLASS net/minecraft/class_3806 net/minecraft/server/dedicated/ServerPropertiesHa
|
|||
FIELD field_39982 COMMA_SPLITTER Lcom/google/common/base/Splitter;
|
||||
FIELD field_39983 worldGenProperties Lnet/minecraft/class_3806$class_7044;
|
||||
FIELD field_44985 logIps Z
|
||||
FIELD field_48270 acceptsTransfers Z
|
||||
METHOD method_16714 load (Ljava/nio/file/Path;)Lnet/minecraft/class_3806;
|
||||
ARG 0 path
|
||||
METHOD method_16715 (Ljava/lang/Integer;)Ljava/lang/Integer;
|
||||
|
|
|
@ -35,6 +35,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
|||
FIELD field_41750 RAIN_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
||||
FIELD field_41751 THUNDER_WEATHER_DURATION_PROVIDER Lnet/minecraft/class_6017;
|
||||
FIELD field_44857 randomSequences Lnet/minecraft/class_8565;
|
||||
FIELD field_48271 spawnChunkRadius I
|
||||
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Ljava/util/concurrent/Executor;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_5268;Lnet/minecraft/class_5321;Lnet/minecraft/class_5363;Lnet/minecraft/class_3949;ZJLjava/util/List;ZLnet/minecraft/class_8565;)V
|
||||
ARG 1 server
|
||||
ARG 2 workerExecutor
|
||||
|
|
|
@ -22,4 +22,6 @@ CLASS net/minecraft/class_3414 net/minecraft/sound/SoundEvent
|
|||
METHOD method_47956 of (Lnet/minecraft/class_2960;Ljava/util/Optional;)Lnet/minecraft/class_3414;
|
||||
ARG 0 id
|
||||
ARG 1 distanceToTravel
|
||||
METHOD method_47957 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
|
||||
ARG 0 instance
|
||||
METHOD method_47959 getStaticDistanceToTravel ()Ljava/util/Optional;
|
||||
|
|
|
@ -108,9 +108,9 @@ CLASS net/minecraft/class_1914 net/minecraft/village/TradeOffer
|
|||
COMMENT <p>Checks if the number of times this trade offer has been used
|
||||
COMMENT is greater than 0.
|
||||
METHOD method_53881 copy ()Lnet/minecraft/class_1914;
|
||||
METHOD method_56110 write (Lnet/minecraft/class_9129;)Lnet/minecraft/class_1914;
|
||||
METHOD method_56110 read (Lnet/minecraft/class_9129;)Lnet/minecraft/class_1914;
|
||||
ARG 0 buf
|
||||
METHOD method_56111 read (Lnet/minecraft/class_9129;Lnet/minecraft/class_1914;)V
|
||||
METHOD method_56111 write (Lnet/minecraft/class_9129;Lnet/minecraft/class_1914;)V
|
||||
ARG 0 buf
|
||||
ARG 1 offer
|
||||
METHOD method_56112 shouldIgnoreNbt ()Z
|
||||
|
|
|
@ -102,7 +102,7 @@ CLASS net/minecraft/class_6088 net/minecraft/world/WorldEvents
|
|||
COMMENT An item is composted in a composter.
|
||||
COMMENT <br>Plays the appropriate composting sound event and spawns composter particles.
|
||||
COMMENT <p>A {@code 1} should be passed as extra data if the use of the composter added to the level of compost inside.
|
||||
COMMENT <p>Called by {@link net.minecraft.block.ComposterBlock#onUse(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand, net.minecraft.util.hit.BlockHitResult) ComposterBlock#onUse},
|
||||
COMMENT <p>Called by {@link net.minecraft.block.ComposterBlock#onUse(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.entity.player.PlayerEntity, net.minecraft.util.hit.BlockHitResult) ComposterBlock#onUse},
|
||||
COMMENT {@link net.minecraft.block.ComposterBlock.ComposterInventory#markDirty() ComposterBlock.ComposterInventory#markDirty},
|
||||
COMMENT and {@link net.minecraft.entity.ai.brain.task.FarmerWorkTask#syncComposterEvent(net.minecraft.server.world.ServerWorld, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState) FarmerWorkTask#syncComposterEvent}
|
||||
FIELD field_31138 LAVA_EXTINGUISHED I
|
||||
|
|
|
@ -68,7 +68,6 @@ constant world_events net/minecraft/world/WorldEvents SNIFFER_EGG_CRACKS
|
|||
constant world_events net/minecraft/world/WorldEvents CRAFTER_CRAFTS
|
||||
constant world_events net/minecraft/world/WorldEvents CRAFTER_FAILS
|
||||
constant world_events net/minecraft/world/WorldEvents CRAFTER_SHOOTS
|
||||
constant world_events net/minecraft/world/WorldEvents GUST_DUST
|
||||
constant world_events net/minecraft/world/WorldEvents TRIAL_SPAWNER_SPAWNS_MOB
|
||||
constant world_events net/minecraft/world/WorldEvents TRIAL_SPAWNER_SPAWNS_MOB_AT_SPAWN_POS
|
||||
constant world_events net/minecraft/world/WorldEvents TRIAL_SPAWNER_DETECTS_PLAYER
|
||||
|
|
Loading…
Reference in New Issue