parchment-1.16.5:2021.10.17 com mojang blaze3d audio class: Channel path: com/mojang/blaze3d/audio/Channel method: <init> method: attachBufferStream (Lnet/minecraft/client/sounds/AudioStream;)V params: 1: stream method: attachStaticBuffer (Lcom/mojang/blaze3d/audio/SoundBuffer;)V params: 1: buffer method: calculateBufferSize (Ljavax/sound/sampled/AudioFormat;I)I params: 0: format, 1: sampleAmount method: lambda$attachStaticBuffer$0 method: lambda$pumpBuffers$1 (I)V params: 1: bufferName method: linearAttenuation (F)V params: 1: linearAttenuation method: pumpBuffers method: setLooping method: setPitch method: setRelative method: setSelfPosition (Lnet/minecraft/world/phys/Vec3;)V params: 1: source method: setVolume class: Library path: com/mojang/blaze3d/audio/Library method: acquireChannel (Lcom/mojang/blaze3d/audio/Library$Pool;)Lcom/mojang/blaze3d/audio/Channel; params: 1: pool Acquires a sound channel based on the given mode.
method: releaseChannel (Lcom/mojang/blaze3d/audio/Channel;)V params: 1: channel class: Library$1 path: com/mojang/blaze3d/audio/Library$1 method: release (Lcom/mojang/blaze3d/audio/Channel;)Z params: 1: source class: Library$ChannelPool path: com/mojang/blaze3d/audio/Library$ChannelPool method: release (Lcom/mojang/blaze3d/audio/Channel;)Z params: 1: channel class: Library$CountingChannelPool path: com/mojang/blaze3d/audio/Library$CountingChannelPool method: <init> method: release (Lcom/mojang/blaze3d/audio/Channel;)Z params: 1: source class: Listener path: com/mojang/blaze3d/audio/Listener method: setGain method: setListenerOrientation (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;)V params: 1: clientViewVector, 2: viewVectorRaised method: setListenerPosition (Lnet/minecraft/world/phys/Vec3;)V params: 1: position class: OggAudioStream path: com/mojang/blaze3d/audio/OggAudioStream method: <init> (Ljava/io/InputStream;)V params: 1: input method: convertMono (Ljava/nio/FloatBuffer;Lcom/mojang/blaze3d/audio/OggAudioStream$OutputConcat;)V params: 1: channel, 2: output method: convertStereo (Ljava/nio/FloatBuffer;Ljava/nio/FloatBuffer;Lcom/mojang/blaze3d/audio/OggAudioStream$OutputConcat;)V params: 1: leftChannel, 2: rightChannel, 3: output method: read (I)Ljava/nio/ByteBuffer; params: 1: size method: readFrame (Lcom/mojang/blaze3d/audio/OggAudioStream$OutputConcat;)Z params: 1: output class: OggAudioStream$OutputConcat path: com/mojang/blaze3d/audio/OggAudioStream$OutputConcat method: <init> method: put class: OpenAlUtil path: com/mojang/blaze3d/audio/OpenAlUtil method: alErrorToString (I)Ljava/lang/String; params: 0: errorCode method: alcErrorToString (I)Ljava/lang/String; params: 0: errorCode method: audioFormatToOpenAl (Ljavax/sound/sampled/AudioFormat;)I params: 0: format method: checkALCError (JLjava/lang/String;)Z params: 0: deviceHandle, 2: operationState method: checkALError (Ljava/lang/String;)Z params: 0: operationState class: SoundBuffer path: com/mojang/blaze3d/audio/SoundBuffer method: <init> (Ljava/nio/ByteBuffer;Ljavax/sound/sampled/AudioFormat;)V params: 1: data, 2: format font class: GlyphInfo path: com/mojang/blaze3d/font/GlyphInfo method: getAdvance class: GlyphProvider path: com/mojang/blaze3d/font/GlyphProvider method: getGlyph (I)Lcom/mojang/blaze3d/font/RawGlyph; params: 1: character class: RawGlyph path: com/mojang/blaze3d/font/RawGlyph method: upload (II)V params: 1: xOffset, 2: yOffset class: TrueTypeGlyphProvider path: com/mojang/blaze3d/font/TrueTypeGlyphProvider method: <init> (Ljava/nio/ByteBuffer;Lorg/lwjgl/stb/STBTTFontinfo;FFFFLjava/lang/String;)V params: 1: fontMemory, 2: font, 3: height, 4: oversample, 5: shiftX, 6: shiftY, 7: skip method: getGlyph (I)Lcom/mojang/blaze3d/font/TrueTypeGlyphProvider$Glyph; params: 1: character method: lambda$getSupportedGlyphs$0 class: TrueTypeGlyphProvider$Glyph path: com/mojang/blaze3d/font/TrueTypeGlyphProvider$Glyph method: <init> (Lcom/mojang/blaze3d/font/TrueTypeGlyphProvider;IIIIFFI)V params: 2: minWidth, 3: maxWidth, 4: minHeight, 5: maxHeight, 6: advance, 7: bearingX, 8: index method: upload (II)V params: 1: xOffset, 2: yOffset pipeline class: RenderTarget path: com/mojang/blaze3d/pipeline/RenderTarget method: _bindWrite (Z)V params: 1: setViewport method: _blitToScreen (IIZ)V params: 1: width, 2: height, 3: disableBlend method: _resize (IIZ)V params: 1: width, 2: height, 3: clearError method: bindWrite (Z)V params: 1: setViewport method: blitToScreen (II)V params: 1: width, 2: height method: blitToScreen (IIZ)V params: 1: width, 2: height, 3: disableBlend method: clear (Z)V params: 1: clearError method: copyDepthFrom (Lcom/mojang/blaze3d/pipeline/RenderTarget;)V params: 1: otherTarget method: createBuffers (IIZ)V params: 1: width, 2: height, 3: clearError method: resize (IIZ)V params: 1: width, 2: height, 3: clearError method: setClearColor (FFFF)V params: 1: red, 2: green, 3: blue, 4: alpha method: setFilterMode (I)V params: 1: filterMode platform class: ClipboardManager path: com/mojang/blaze3d/platform/ClipboardManager method: getClipboard (JLorg/lwjgl/glfw/GLFWErrorCallbackI;)Ljava/lang/String; params: 1: window, 3: errorCallback method: pushClipboard (JLjava/nio/ByteBuffer;[B)V params: 0: window, 2: buffer, 3: clipboardContent method: setClipboard (JLjava/lang/String;)V params: 1: window, 3: clipboardContent class: DebugMemoryUntracker path: com/mojang/blaze3d/platform/DebugMemoryUntracker method: untrack method: untrack (Lorg/lwjgl/system/Pointer;)V params: 0: pointer class: DisplayData path: com/mojang/blaze3d/platform/DisplayData method: <init> (IILjava/util/OptionalInt;Ljava/util/OptionalInt;Z)V params: 1: width, 2: height, 3: fullscreenWidth, 4: fullscreenHeight, 5: isFullscreen class: GLX path: com/mojang/blaze3d/platform/GLX method: _getRefreshRate (Lcom/mojang/blaze3d/platform/Window;)I params: 0: window method: _init (IZ)V params: 0: debugVerbosity, 1: synchronous method: _setGlfwErrorCallback (Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V params: 0: errorCallback method: _shouldClose (Lcom/mojang/blaze3d/platform/Window;)Z params: 0: window method: lambda$_initGlfw$0 (Ljava/lang/Integer;Ljava/lang/String;)V params: 0: errorId method: lambda$_initGlfw$1 (Ljava/util/List;IJ)V params: 1: errorId method: make (Ljava/lang/Object;Ljava/util/function/Consumer;)Ljava/lang/Object; params: 0: value, 1: consumer method: make (Ljava/util/function/Supplier;)Ljava/lang/Object; params: 0: supplier class: GlDebug path: com/mojang/blaze3d/platform/GlDebug method: enableDebugCallback (IZ)V params: 0: debugVerbosity, 1: synchronous method: printDebugLog (IIIIIJJ)V params: 0: source, 1: type, 2: id, 3: severity, 4: messageLength, 5: message, 7: userParam method: printUnknownToken (I)Ljava/lang/String; params: 0: token method: severityToString (I)Ljava/lang/String; params: 0: severity method: sourceToString (I)Ljava/lang/String; params: 0: source method: typeToString (I)Ljava/lang/String; params: 0: type class: GlStateManager path: com/mojang/blaze3d/platform/GlStateManager method: _activeTexture method: _bindTexture method: _blendEquation method: _blendFunc (II)V params: 0: sourceFactor, 1: destFactor method: _blendFuncSeparate (IIII)V params: 0: srcFactor, 1: dstFactor, 2: srcFactorAlpha, 3: dstFactorAlpha method: _clear (IZ)V params: 0: mask, 1: checkError method: _clearColor (FFFF)V params: 0: red, 1: green, 2: blue, 3: alpha method: _clearDepth method: _clearStencil method: _colorMask (ZZZZ)V params: 0: red, 1: green, 2: blue, 3: alpha method: _deleteTexture method: _deleteTextures method: _depthFunc method: _depthMask method: _disableVertexAttribArray method: _enableVertexAttribArray method: _genTextures method: _getInteger method: _getString (I)Ljava/lang/String; params: 0: name method: _getTexImage (IIIIJ)V params: 0: tex, 1: level, 2: format, 3: type, 4: pixels method: _getTexLevelParameter (III)I params: 0: target, 1: level, 2: parameterName method: _glBindBuffer (II)V params: 0: target, 1: buffer method: _glBindFramebuffer (II)V params: 0: target, 1: framebuffer method: _glBlitFrameBuffer (IIIIIIIIII)V params: 0: srcX0, 1: srcY0, 2: srcX1, 3: srcY1, 4: dstX0, 5: dstY0, 6: dstX1, 7: dstY1, 8: mask, 9: filter method: _glBufferData (ILjava/nio/ByteBuffer;I)V params: 0: target, 1: data, 2: usage method: _glCopyTexSubImage2D (IIIIIIII)V params: 0: target, 1: level, 2: xOffset, 3: yOffset, 4: x, 5: y, 6: width, 7: height method: _glDeleteBuffers method: _glDeleteFramebuffers (I)V params: 0: frameBuffer method: _glFramebufferTexture2D (IIIII)V params: 0: target, 1: attachment, 2: texTarget, 3: texture, 4: level method: _glGetAttribLocation (ILjava/lang/CharSequence;)I params: 0: program, 1: name method: _glGetUniformLocation (ILjava/lang/CharSequence;)I params: 0: program, 1: name method: _glUniform1 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: _glUniform1 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: _glUniform1i (II)V params: 0: location, 1: value method: _glUniform2 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: _glUniform2 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: _glUniform3 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: _glUniform3 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: _glUniform4 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: _glUniform4 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: _glUniformMatrix2 (IZLjava/nio/FloatBuffer;)V params: 0: location, 1: transpose, 2: value method: _glUniformMatrix3 (IZLjava/nio/FloatBuffer;)V params: 0: location, 1: transpose, 2: value method: _glUniformMatrix4 (IZLjava/nio/FloatBuffer;)V params: 0: location, 1: transpose, 2: value method: _glUseProgram method: _logicOp (I)V params: 0: logicOperation method: _pixelStore (II)V params: 0: parameterName, 1: param method: _polygonMode (II)V params: 0: face, 1: mode method: _polygonOffset (FF)V params: 0: factor, 1: units method: _readPixels (IIIIIILjava/nio/ByteBuffer;)V params: 0: x, 1: y, 2: width, 3: height, 4: format, 5: type, 6: pixels method: _scissorBox (IIII)V params: 0: x, 1: y, 2: width, 3: height method: _stencilFunc (III)V params: 0: func, 1: ref, 2: mask method: _stencilMask method: _stencilOp (III)V params: 0: sfail, 1: dpfail, 2: dppass method: _texImage2D (IIIIIIIILjava/nio/IntBuffer;)V params: 0: target, 1: level, 2: internalFormat, 3: width, 4: height, 5: border, 6: format, 7: type, 8: pixels method: _texParameter (IIF)V params: 0: target, 1: parameterName, 2: parameter method: _texParameter (III)V params: 0: target, 1: parameterName, 2: parameter method: _texSubImage2D (IIIIIIIIJ)V params: 0: target, 1: level, 2: xOffset, 3: yOffset, 4: width, 5: height, 6: format, 7: type, 8: pixels method: _vertexAttribPointer (IIIZIJ)V params: 0: index, 1: size, 2: type, 3: normalized, 4: stride, 5: pointer method: _viewport (IIII)V params: 0: x, 1: y, 2: width, 3: height method: glActiveTexture method: glAttachShader (II)V params: 0: program, 1: shader method: glBlendFuncSeparate (IIII)V params: 0: sFactorRGB, 1: dFactorRGB, 2: sFactorAlpha, 3: dFactorAlpha method: glCheckFramebufferStatus method: glCompileShader method: glCreateShader method: glDeleteProgram method: glDeleteShader method: glGetProgramInfoLog (II)Ljava/lang/String; params: 0: program, 1: maxLength method: glGetProgrami (II)I params: 0: program, 1: pname method: glGetShaderInfoLog (II)Ljava/lang/String; params: 0: shader, 1: maxLength method: glGetShaderi (II)I params: 0: shader, 1: pname method: glLinkProgram method: setupGui3DDiffuseLighting (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;)V params: 0: lightingVector1, 1: lightingVector2 method: setupGuiFlatDiffuseLighting (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;)V params: 0: lighting1, 1: lighting2 method: setupLevelDiffuseLighting (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;Lcom/mojang/math/Matrix4f;)V params: 0: lightingVector1, 1: lightingVector2, 2: matrix class: GlStateManager$BooleanState path: com/mojang/blaze3d/platform/GlStateManager$BooleanState method: <init> method: setEnabled class: GlStateManager$DestFactor path: com/mojang/blaze3d/platform/GlStateManager$DestFactor method: <init> (Ljava/lang/String;II)V params: 3: value class: GlStateManager$LogicOp path: com/mojang/blaze3d/platform/GlStateManager$LogicOp method: <init> (Ljava/lang/String;II)V params: 3: value class: GlStateManager$SourceFactor path: com/mojang/blaze3d/platform/GlStateManager$SourceFactor method: <init> (Ljava/lang/String;II)V params: 3: value class: InputConstants path: com/mojang/blaze3d/platform/InputConstants method: getKey (II)Lcom/mojang/blaze3d/platform/InputConstants$Key; params: 0: keyCode, 1: scanCode method: getKey (Ljava/lang/String;)Lcom/mojang/blaze3d/platform/InputConstants$Key; params: 0: name method: grabOrReleaseMouse (JIDD)V params: 0: window, 2: cursorValue, 3: xPos, 5: yPos method: isKeyDown (JI)Z params: 0: window, 2: key method: setupKeyboardCallbacks (JLorg/lwjgl/glfw/GLFWKeyCallbackI;Lorg/lwjgl/glfw/GLFWCharModsCallbackI;)V params: 0: window, 2: keyCallback, 3: charModifierCallback method: setupMouseCallbacks (JLorg/lwjgl/glfw/GLFWCursorPosCallbackI;Lorg/lwjgl/glfw/GLFWMouseButtonCallbackI;Lorg/lwjgl/glfw/GLFWScrollCallbackI;Lorg/lwjgl/glfw/GLFWDropCallbackI;)V params: 0: window, 2: cursorPositionCallback, 3: mouseButtonCallback, 4: scrollCallback, 5: dragAndDropCallback method: updateRawMouseInput (JZ)V params: 0: window, 2: enableRawMouseMotion class: InputConstants$Key path: com/mojang/blaze3d/platform/InputConstants$Key method: <init> (Ljava/lang/String;Lcom/mojang/blaze3d/platform/InputConstants$Type;I)V params: 1: name, 2: type, 3: value method: equals (Ljava/lang/Object;)Z params: 1: other class: InputConstants$Type path: com/mojang/blaze3d/platform/InputConstants$Type method: <init> (Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)V params: 3: defaultPrefix, 4: displayTextSupplier method: addKey (Lcom/mojang/blaze3d/platform/InputConstants$Type;Ljava/lang/String;I)V params: 0: type, 1: name, 2: keyCode method: getOrCreate (I)Lcom/mojang/blaze3d/platform/InputConstants$Key; params: 1: keyCode method: lambda$static$0 (Ljava/lang/Integer;Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: key, 1: translationKey method: lambda$static$1 (Ljava/lang/Integer;Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: key, 1: translationKey method: lambda$static$2 (Ljava/lang/Integer;Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: key, 1: translationKey class: Lighting path: com/mojang/blaze3d/platform/Lighting method: setupLevel (Lcom/mojang/math/Matrix4f;)V params: 0: matrix method: setupNetherLevel (Lcom/mojang/math/Matrix4f;)V params: 0: matrix class: MemoryTracker path: com/mojang/blaze3d/platform/MemoryTracker method: createByteBuffer (I)Ljava/nio/ByteBuffer; params: 0: capacity Creates and returns a direct byte buffer with the specified capacity. Applies native ordering to speed up access.
method: createFloatBuffer (I)Ljava/nio/FloatBuffer; params: 0: capacity Creates and returns a direct float buffer with the specified capacity. Applies native ordering to speed up access.
class: Monitor path: com/mojang/blaze3d/platform/Monitor method: <init> method: getMode (I)Lcom/mojang/blaze3d/platform/VideoMode; params: 1: index method: getPreferredVidMode (Ljava/util/Optional;)Lcom/mojang/blaze3d/platform/VideoMode; params: 1: videoMode method: getVideoModeIndex (Lcom/mojang/blaze3d/platform/VideoMode;)I params: 1: videoMode class: MonitorCreator path: com/mojang/blaze3d/platform/MonitorCreator method: createMonitor (J)Lcom/mojang/blaze3d/platform/Monitor; params: 1: monitor class: NativeImage path: com/mojang/blaze3d/platform/NativeImage method: <init> (IIZ)V params: 1: width, 2: height method: <init> (Lcom/mojang/blaze3d/platform/NativeImage$Format;IIZ)V params: 1: format, 2: width, 3: height method: <init> (Lcom/mojang/blaze3d/platform/NativeImage$Format;IIZJ)V params: 1: format, 2: width, 3: height, 4: useStbFree, 5: pixels method: _upload (IIIIIIIZZZZ)V params: 1: level, 2: xOffset, 3: yOffset, 4: unpackSkipPixels, 5: unpackSkipRows, 6: width, 7: height, 8: blur, 9: clamp, 10: mipmap, 11: autoClose method: combine (IIII)I params: 0: alpha, 1: blue, 2: green, 3: red method: copyFrom (Lcom/mojang/blaze3d/platform/NativeImage;)V params: 1: other method: copyFromFont (Lorg/lwjgl/stb/STBTTFontinfo;IIIFFFFII)V params: 1: info, 2: glyphIndex, 3: width, 4: height, 5: scaleX, 6: scaleY, 7: shiftX, 8: shiftY, 9: x, 10: y Renders given glyph into this image
method: copyRect (IIIIIIZZ)V params: 1: xFrom, 2: yFrom, 3: xToDelta, 4: yToDelta, 5: width, 6: height, 7: mirrorX, 8: mirrorY method: downloadTexture (IZ)V params: 1: level, 2: opaque method: fillRect (IIIII)V params: 1: x, 2: y, 3: width, 4: height, 5: value method: fromBase64 (Ljava/lang/String;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: string method: getA method: getB method: getG method: getLuminanceOrAlpha method: getPixelRGBA method: getR method: read (Lcom/mojang/blaze3d/platform/NativeImage$Format;Ljava/io/InputStream;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: format, 1: textureStream method: read (Lcom/mojang/blaze3d/platform/NativeImage$Format;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: format, 1: textureData method: read (Ljava/io/InputStream;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: textureStream method: read (Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: textureData method: resizeSubRectTo (IIIILcom/mojang/blaze3d/platform/NativeImage;)V params: 1: x, 2: y, 3: width, 4: height, 5: image method: setFilter (ZZ)V params: 0: linear, 1: mipmap method: setPixelRGBA (III)V params: 1: x, 2: y, 3: abgrColor method: upload (IIIIIIIZZ)V params: 1: level, 2: xOffset, 3: yOffset, 4: unpackSkipPixels, 5: unpackSkipRows, 6: width, 7: height, 8: mipmap, 9: autoClose method: upload (IIIIIIIZZZZ)V params: 1: level, 2: xOffset, 3: yOffset, 4: unpackSkipPixels, 5: unpackSkipRows, 6: width, 7: height, 8: blur, 9: clamp, 10: mipmap, 11: autoClose method: upload (IIIZ)V params: 1: level, 2: xOffset, 3: yOffset, 4: mipmap method: writeToChannel (Ljava/nio/channels/WritableByteChannel;)Z params: 1: channel method: writeToFile (Ljava/io/File;)V params: 1: file method: writeToFile (Ljava/nio/file/Path;)V params: 1: path class: NativeImage$Format path: com/mojang/blaze3d/platform/NativeImage$Format method: <init> (Ljava/lang/String;IIIZZZZZIIIIIZ)V params: 3: components, 4: glFormat, 5: hasRed, 6: hasGreen, 7: hasBlue, 8: hasLuminance, 9: hasAlpha, 10: redOffset, 11: greenOffset, 12: blueOffset, 13: luminanceOffset, 14: alphaOffset, 15: supportedByStb method: getStbFormat (I)Lcom/mojang/blaze3d/platform/NativeImage$Format; params: 0: channels class: NativeImage$InternalGlFormat path: com/mojang/blaze3d/platform/NativeImage$InternalGlFormat method: <init> (Ljava/lang/String;II)V params: 3: glFormat class: NativeImage$WriteCallback path: com/mojang/blaze3d/platform/NativeImage$WriteCallback method: <init> (Ljava/nio/channels/WritableByteChannel;)V params: 1: output class: PngInfo path: com/mojang/blaze3d/platform/PngInfo method: <init> (Ljava/lang/String;Ljava/io/InputStream;)V params: 1: fileName, 2: textureStream method: createCallbacks (Ljava/io/InputStream;)Lcom/mojang/blaze3d/platform/PngInfo$StbReader; params: 0: textureStream class: PngInfo$StbReader path: com/mojang/blaze3d/platform/PngInfo$StbReader method: eof (J)I params: 1: functionPointer method: read (JI)I params: 1: address, 3: capacity method: read (JJI)I params: 1: functionPointer, 3: adress, 5: capacity method: skip method: skip (JI)V params: 1: functionPointer, 3: offset class: PngInfo$StbReaderBufferedChannel path: com/mojang/blaze3d/platform/PngInfo$StbReaderBufferedChannel method: <init> (Ljava/nio/channels/ReadableByteChannel;)V params: 1: channel method: fillReadBuffer method: read (JI)I params: 1: address, 3: capacity method: skip class: PngInfo$StbReaderSeekableByteChannel path: com/mojang/blaze3d/platform/PngInfo$StbReaderSeekableByteChannel method: <init> (Ljava/nio/channels/SeekableByteChannel;)V params: 1: channel method: eof (J)I params: 1: functionPointer method: read (JI)I params: 1: address, 3: capacity method: skip class: ScreenManager path: com/mojang/blaze3d/platform/ScreenManager method: <init> (Lcom/mojang/blaze3d/platform/MonitorCreator;)V params: 1: monitorCreator method: clamp (III)I params: 0: value, 1: min, 2: max method: findBestMonitor (Lcom/mojang/blaze3d/platform/Window;)Lcom/mojang/blaze3d/platform/Monitor; params: 1: window method: getMonitor (J)Lcom/mojang/blaze3d/platform/Monitor; params: 1: monitorID method: onMonitorChange (JI)V params: 1: monitorID, 3: opCode class: TextureUtil path: com/mojang/blaze3d/platform/TextureUtil method: bind method: initTexture (Ljava/nio/IntBuffer;II)V params: 0: buffer, 1: width, 2: height method: prepareImage (III)V params: 0: textureId, 1: width, 2: height method: prepareImage (IIII)V params: 0: textureId, 1: mipmapLevel, 2: width, 3: height method: prepareImage (Lcom/mojang/blaze3d/platform/NativeImage$InternalGlFormat;III)V params: 0: pixelFormat, 1: textureId, 2: width, 3: height method: prepareImage (Lcom/mojang/blaze3d/platform/NativeImage$InternalGlFormat;IIII)V params: 0: pixelFormat, 1: textureId, 2: mipmapLevel, 3: width, 4: height method: readResource (Ljava/io/InputStream;)Ljava/nio/ByteBuffer; params: 0: inputStream method: readResourceAsString (Ljava/io/InputStream;)Ljava/lang/String; params: 0: inputStream method: releaseTextureId class: VideoMode path: com/mojang/blaze3d/platform/VideoMode method: <init> (IIIIII)V params: 1: width, 2: height, 3: redBits, 4: greenBits, 5: blueBits, 6: refreshRate method: <init> (Lorg/lwjgl/glfw/GLFWVidMode$Buffer;)V params: 1: bufferVideoMode method: <init> (Lorg/lwjgl/glfw/GLFWVidMode;)V params: 1: glfwVideoMode method: equals (Ljava/lang/Object;)Z params: 1: other method: read (Ljava/lang/String;)Ljava/util/Optional; params: 0: videoMode class: Window path: com/mojang/blaze3d/platform/Window method: <init> (Lcom/mojang/blaze3d/platform/WindowEventHandler;Lcom/mojang/blaze3d/platform/ScreenManager;Lcom/mojang/blaze3d/platform/DisplayData;Ljava/lang/String;Ljava/lang/String;)V params: 1: eventHandler, 2: screenManager, 3: displayData, 4: preferredFullscreenVideoMode, 5: title method: bootCrash (IJ)V params: 0: error, 1: description method: calculateScale (IZ)I params: 1: guiScale, 2: forceUnicode method: checkGlfwError (Ljava/util/function/BiConsumer;)V params: 0: errorConsumer method: defaultErrorCallback (IJ)V params: 1: error, 2: description method: getWindow ()J Gets a pointer to the native window object that is passed to GLFW.
method: onEnter (JZ)V params: 1: window, 3: cursorEntered method: onFocus (JZ)V params: 1: window, 3: hasFocus method: onFramebufferResize (JII)V params: 1: window, 3: framebufferWidth, 4: framebufferHeight method: onMove (JII)V params: 1: window, 3: x, 4: y method: onResize (JII)V params: 1: window, 3: width, 4: height method: readIconPixels (Ljava/io/InputStream;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;Ljava/nio/IntBuffer;)Ljava/nio/ByteBuffer; params: 1: textureStream, 2: x, 3: y, 4: channelInFile method: setErrorSection (Ljava/lang/String;)V params: 1: errorSection method: setFramerateLimit method: setGuiScale (D)V params: 1: scaleFactor method: setIcon (Ljava/io/InputStream;Ljava/io/InputStream;)V params: 1: iconStream16X, 2: iconStream32X method: setPreferredFullscreenVideoMode (Ljava/util/Optional;)V params: 1: preferredFullscreenVideoMode method: setTitle (Ljava/lang/String;)V params: 1: title method: updateFullscreen (Z)V params: 1: vsyncEnabled method: updateRawMouseInput (Z)V params: 1: enableRawMouseMotion method: updateVsync class: WindowEventHandler path: com/mojang/blaze3d/platform/WindowEventHandler method: setWindowActive shaders class: AbstractUniform path: com/mojang/blaze3d/shaders/AbstractUniform method: set method: set method: set (FFF)V params: 1: x, 2: y, 3: z method: set (FFFF)V params: 1: x, 2: y, 3: z, 4: w method: set (Lcom/mojang/math/Matrix4f;)V params: 1: matrix method: set ([F)V params: 1: valueArray method: setSafe (FFFF)V params: 1: x, 2: y, 3: z, 4: w method: setSafe (IIII)V params: 1: x, 2: y, 3: z, 4: w class: BlendMode path: com/mojang/blaze3d/shaders/BlendMode method: <init> (III)V params: 1: srcFactor, 2: dstFactor, 3: blendFunc method: <init> (IIIII)V params: 1: srcColorFactor, 2: dstColorFactor, 3: srcAlphaFactor, 4: dstAlphaFactor, 5: blendFunc method: <init> (ZZIIIII)V params: 1: separateBlend, 2: opaque, 3: srcColorFactor, 4: dstColorFactor, 5: srcAlphaFactor, 6: dstAlphaFactor, 7: blendFunc method: equals (Ljava/lang/Object;)Z params: 1: other method: stringToBlendFactor (Ljava/lang/String;)I params: 0: factorName method: stringToBlendFunc (Ljava/lang/String;)I params: 0: funcName Converts a blend function name to an id, returning add (32774) if not recognized.
class: Program path: com/mojang/blaze3d/shaders/Program method: <init> (Lcom/mojang/blaze3d/shaders/Program$Type;ILjava/lang/String;)V params: 1: type, 2: id, 3: name class: Program$Type path: com/mojang/blaze3d/shaders/Program$Type method: <init> (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;I)V params: 3: name, 4: extension, 5: glType method: getPrograms ()Ljava/util/Map; gets a map of loaded shaders for the ShaderType.
class: ProgramManager path: com/mojang/blaze3d/shaders/ProgramManager method: glUseProgram class: Uniform path: com/mojang/blaze3d/shaders/Uniform method: getTypeFromString (Ljava/lang/String;)I params: 0: typeName method: glGetAttribLocation (ILjava/lang/CharSequence;)I params: 0: program, 1: name method: glGetUniformLocation (ILjava/lang/CharSequence;)I params: 0: program, 1: name method: set method: set method: set (FFF)V params: 1: x, 2: y, 3: z method: set (FFFF)V params: 1: x, 2: y, 3: z, 4: w method: set (Lcom/mojang/math/Matrix4f;)V params: 1: matrix method: set ([F)V params: 1: valueArray method: setLocation method: setSafe (FFFF)V params: 1: x, 2: y, 3: z, 4: w method: setSafe (IIII)V params: 1: x, 2: y, 3: z, 4: w method: uploadInteger (II)V params: 0: location, 1: value systems class: RenderSystem path: com/mojang/blaze3d/systems/RenderSystem method: activeTexture method: assertThread (Ljava/util/function/Supplier;)V params: 0: isOnRenderThread method: bindTexture method: blendEquation method: blendFunc (II)V params: 0: sourceFactor, 1: destFactor method: blendFunc (Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V params: 0: sourceFactor, 1: destFactor method: blendFuncSeparate (IIII)V params: 0: sourceFactor, 1: destFactor, 2: sourceFactorAlpha, 3: destFactorAlpha method: blendFuncSeparate (Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;Lcom/mojang/blaze3d/platform/GlStateManager$SourceFactor;Lcom/mojang/blaze3d/platform/GlStateManager$DestFactor;)V params: 0: sourceFactor, 1: destFactor, 2: sourceFactorAlpha, 3: destFactorAlpha method: clear (IZ)V params: 0: mask, 1: checkError method: clearColor (FFFF)V params: 0: red, 1: green, 2: blue, 3: alpha method: clearDepth method: clearStencil method: colorMask (ZZZZ)V params: 0: red, 1: green, 2: blue, 3: alpha method: deleteTexture method: depthFunc method: depthMask method: enableScissor (IIII)V params: 0: x, 1: y, 2: width, 3: height method: flipFrame method: glBufferData (ILjava/nio/ByteBuffer;I)V params: 0: target, 1: data, 2: usage method: glDeleteBuffers method: glGenBuffers (Ljava/util/function/Consumer;)V params: 0: bufferIdConsumer method: glUniform1 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: glUniform1 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: glUniform1i (II)V params: 0: location, 1: value method: glUniform2 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: glUniform2 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: glUniform3 (ILjava/nio/FloatBuffer;)V params: 0: location, 1: value method: glUniform3 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: glUniform4 (ILjava/nio/FloatBuffer;)V params: 0: loctaion, 1: value method: glUniform4 (ILjava/nio/IntBuffer;)V params: 0: location, 1: value method: glUniformMatrix2 (IZLjava/nio/FloatBuffer;)V params: 0: location, 1: transpose, 2: value method: glUniformMatrix3 (IZLjava/nio/FloatBuffer;)V params: 0: location, 1: transpose, 2: value method: glUniformMatrix4 (IZLjava/nio/FloatBuffer;)V params: 0: location, 1: transpose, 2: value method: initGameThread (Z)V params: 0: renderOffThread method: initRenderer (IZ)V params: 0: debugVerbosity, 1: synchronous method: limitDisplayFPS (I)V params: 0: frameRateLimit method: lineWidth (F)V params: 0: shaderLineWidth method: logicOp (Lcom/mojang/blaze3d/platform/GlStateManager$LogicOp;)V params: 0: op method: pixelStore (II)V params: 0: parameterName, 1: parameter method: polygonMode (II)V params: 0: face, 1: mode method: polygonOffset (FF)V params: 0: factor, 1: units method: readPixels (IIIIIILjava/nio/ByteBuffer;)V params: 0: x, 1: y, 2: width, 3: height, 4: format, 5: type, 6: pixels method: recordRenderCall (Lcom/mojang/blaze3d/pipeline/RenderCall;)V params: 0: renderCall method: runAsFancy (Ljava/lang/Runnable;)V params: 0: fancyRunnable method: setErrorCallback (Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V params: 0: callback method: setupDefaultState (IIII)V params: 0: x, 1: y, 2: width, 3: height method: setupGui3DDiffuseLighting (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;)V params: 0: lightingVector0, 1: lightingVector1 method: setupGuiFlatDiffuseLighting (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;)V params: 0: lightingVector0, 1: lightingVector1 method: setupLevelDiffuseLighting (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;Lcom/mojang/math/Matrix4f;)V params: 0: lightingVector0, 1: lightingVector1, 2: matrix method: setupOverlayColor (Ljava/util/function/IntSupplier;I)V params: 0: textureId, 1: shaderTexture method: stencilFunc (III)V params: 0: func, 1: ref, 2: mask method: stencilMask method: stencilOp (III)V params: 0: sFail, 1: dpFail, 2: dpPass method: texParameter (III)V params: 0: target, 1: parameterName, 2: parameter method: viewport (IIII)V params: 0: x, 1: y, 2: width, 3: height vertex class: BufferBuilder path: com/mojang/blaze3d/vertex/BufferBuilder method: <init> method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: ensureCapacity (I)V params: 1: increaseAmount method: putByte (IB)V params: 1: index, 2: byteValue method: putFloat (IF)V params: 1: index, 2: floatValue method: putShort (IS)V params: 1: index, 2: shortValue method: roundUp method: switchFormat (Lcom/mojang/blaze3d/vertex/VertexFormat;)V params: 1: format method: vertex (FFFFFFFFFIIFFF)V params: 1: x, 2: y, 3: z, 4: red, 5: green, 6: blue, 7: alpha, 8: texU, 9: texV, 10: overlayUV, 11: lightmapUV, 12: normalX, 13: normalY, 14: normalZ class: BufferUploader path: com/mojang/blaze3d/vertex/BufferUploader method: end (Lcom/mojang/blaze3d/vertex/BufferBuilder;)V params: 0: builder class: BufferVertexConsumer path: com/mojang/blaze3d/vertex/BufferVertexConsumer method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: normal (FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 2: y, 3: z method: normalIntValue method: overlayCoords (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: putByte (IB)V params: 1: index, 2: byteValue method: putFloat (IF)V params: 1: index, 2: floatValue method: putShort (IS)V params: 1: index, 2: shortValue method: uv (FF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv2 (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uvShort (SSI)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v, 3: index method: vertex (DDD)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 3: y, 5: z class: DefaultVertexFormat path: com/mojang/blaze3d/vertex/DefaultVertexFormat field: ELEMENT_UV1 Lcom/mojang/blaze3d/vertex/VertexFormatElement; Lightmap texture coords
class: PoseStack path: com/mojang/blaze3d/vertex/PoseStack method: lambda$new$0 (Ljava/util/ArrayDeque;)V params: 0: deque method: mulPose (Lcom/mojang/math/Quaternion;)V params: 1: quaternion method: scale (FFF)V params: 1: x, 2: y, 3: z method: translate (DDD)V params: 1: x, 3: y, 5: z class: PoseStack$Pose path: com/mojang/blaze3d/vertex/PoseStack$Pose method: <init> (Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix3f;)V params: 1: pose, 2: normal class: SheetedDecalTextureGenerator path: com/mojang/blaze3d/vertex/SheetedDecalTextureGenerator method: <init> (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix3f;)V params: 1: delegate, 2: cameraPose, 3: normalPose method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: normal (FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 2: y, 3: z method: overlayCoords (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv (FF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv2 (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: vertex (DDD)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 3: y, 5: z class: Tesselator path: com/mojang/blaze3d/vertex/Tesselator method: <init> method: end ()V Draws the data set up in this tessellator and resets the state to prepare for new drawing.
class: VertexBuffer path: com/mojang/blaze3d/vertex/VertexBuffer method: lambda$new$0 (Ljava/lang/Integer;)V params: 1: vertexBufferId method: upload (Lcom/mojang/blaze3d/vertex/BufferBuilder;)V params: 1: builder method: uploadLater (Lcom/mojang/blaze3d/vertex/BufferBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: builder method: upload_ (Lcom/mojang/blaze3d/vertex/BufferBuilder;)V params: 1: builder class: VertexConsumer path: com/mojang/blaze3d/vertex/VertexConsumer method: color (FFFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: normal (FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 2: y, 3: z method: normal (Lcom/mojang/math/Matrix3f;FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: matrix, 2: x, 3: y, 4: z method: overlayCoords (I)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: overlayUV method: overlayCoords (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: putBulkData (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lnet/minecraft/client/renderer/block/model/BakedQuad;FFFII)V params: 1: poseEntry, 2: quad, 3: red, 4: green, 5: blue, 6: combinedLight, 7: combinedOverlay method: putBulkData (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lnet/minecraft/client/renderer/block/model/BakedQuad;[FFFF[IIZ)V params: 1: poseEntry, 2: quad, 3: colorMuls, 4: red, 5: green, 6: blue, 7: combinedLights, 8: combinedOverlay, 9: mulColor method: uv (FF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv2 (I)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: lightmapUV method: uv2 (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: vertex (DDD)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 3: y, 5: z method: vertex (FFFFFFFFFIIFFF)V params: 1: x, 2: y, 3: z, 4: red, 5: green, 6: blue, 7: alpha, 8: texU, 9: texV, 10: overlayUV, 11: lightmapUV, 12: normalX, 13: normalY, 14: normalZ method: vertex (Lcom/mojang/math/Matrix4f;FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: matrix, 2: x, 3: y, 4: z class: VertexFormat path: com/mojang/blaze3d/vertex/VertexFormat field: vertexSize I The total size of this vertex format.
method: equals (Ljava/lang/Object;)Z params: 1: other class: VertexFormatElement path: com/mojang/blaze3d/vertex/VertexFormatElement method: <init> (ILcom/mojang/blaze3d/vertex/VertexFormatElement$Type;Lcom/mojang/blaze3d/vertex/VertexFormatElement$Usage;I)V params: 1: index, 2: type, 3: usage, 4: count method: equals (Ljava/lang/Object;)Z params: 1: other method: supportsUsage (ILcom/mojang/blaze3d/vertex/VertexFormatElement$Usage;)Z params: 1: index, 2: usage class: VertexFormatElement$Type path: com/mojang/blaze3d/vertex/VertexFormatElement$Type method: <init> (Ljava/lang/String;IILjava/lang/String;I)V params: 3: size, 4: name, 5: glType class: VertexMultiConsumer path: com/mojang/blaze3d/vertex/VertexMultiConsumer method: create (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lcom/mojang/blaze3d/vertex/VertexConsumer;)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 0: first, 1: second class: VertexMultiConsumer$Double path: com/mojang/blaze3d/vertex/VertexMultiConsumer$Double method: <init> (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lcom/mojang/blaze3d/vertex/VertexConsumer;)V params: 1: first, 2: second method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: normal (FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 2: y, 3: z method: overlayCoords (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv (FF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv2 (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: vertex (DDD)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 3: y, 5: z method: vertex (FFFFFFFFFIIFFF)V params: 1: x, 2: y, 3: z, 4: red, 5: green, 6: blue, 7: alpha, 8: texU, 9: texV, 10: overlayUV, 11: lightmapUV, 12: normalX, 13: normalY, 14: normalZ math class: Matrix3f path: com/mojang/math/Matrix3f method: <init> (Lcom/mojang/math/Matrix3f;)V params: 1: other Copy constructor for this class.
method: <init> (Lcom/mojang/math/Matrix4f;)V params: 1: matrix method: <init> (Lcom/mojang/math/Quaternion;)V params: 1: quaternion method: createScaleMatrix (FFF)Lcom/mojang/math/Matrix3f; params: 0: m00, 1: m11, 2: m22 method: load (Lcom/mojang/math/Matrix3f;)V params: 1: other method: mul (F)V params: 1: multiplier method: mul (Lcom/mojang/math/Matrix3f;)V params: 1: other method: mul (Lcom/mojang/math/Quaternion;)V params: 1: quaternion method: set class: Matrix4f path: com/mojang/math/Matrix4f method: <init> (Lcom/mojang/math/Matrix4f;)V params: 1: other method: <init> (Lcom/mojang/math/Quaternion;)V params: 1: quaternion method: equals (Ljava/lang/Object;)Z params: 1: other method: multiply (F)V params: 1: multiplier method: multiply (Lcom/mojang/math/Matrix4f;)V params: 1: other Multiply self on the right by the parameter
method: multiply (Lcom/mojang/math/Quaternion;)V params: 1: quaternion method: orthographic (FFFF)Lcom/mojang/math/Matrix4f; params: 0: width, 1: height, 2: nearPlane, 3: farPlane method: perspective (DFFF)Lcom/mojang/math/Matrix4f; params: 0: fov, 2: aspectRatio, 3: nearPlane, 4: farPlane method: store (Ljava/nio/FloatBuffer;)V params: 1: buffer method: translate (Lcom/mojang/math/Vector3f;)V params: 1: vector class: OctahedralGroup path: com/mojang/math/OctahedralGroup method: <init> (Ljava/lang/String;ILjava/lang/String;Lcom/mojang/math/SymmetricGroup3;ZZZ)V params: 3: name, 4: permutation, 5: invertX, 6: invertY, 7: invertZ method: inverts (Lnet/minecraft/core/Direction$Axis;)Z params: 1: axis method: rotate (Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 1: direction method: rotate (Lnet/minecraft/core/FrontAndTop;)Lnet/minecraft/core/FrontAndTop; params: 1: frontAndTop class: Quaternion path: com/mojang/math/Quaternion method: <init> (FFFF)V params: 1: i, 2: j, 3: k, 4: r method: <init> (Lcom/mojang/math/Quaternion;)V params: 1: other method: <init> (Lcom/mojang/math/Vector3f;FZ)V params: 1: vector, 2: angle, 3: degrees method: cos method: equals (Ljava/lang/Object;)Z params: 1: other method: mul (F)V params: 1: multiplier method: mul (Lcom/mojang/math/Quaternion;)V params: 1: other method: set (FFFF)V params: 1: i, 2: j, 3: k, 4: r method: sin class: SymmetricGroup3 path: com/mojang/math/SymmetricGroup3 method: <init> (Ljava/lang/String;IIII)V params: 3: first, 4: second, 5: third method: compose (Lcom/mojang/math/SymmetricGroup3;)Lcom/mojang/math/SymmetricGroup3; params: 1: other method: permutation class: Transformation path: com/mojang/math/Transformation method: compose (Lcom/mojang/math/Transformation;)Lcom/mojang/math/Transformation; params: 1: other method: compose (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Quaternion;Lcom/mojang/math/Vector3f;Lcom/mojang/math/Quaternion;)Lcom/mojang/math/Matrix4f; params: 0: translation, 1: rotationLeft, 2: scale, 3: rotationRight method: equals (Ljava/lang/Object;)Z params: 1: other method: toAffine (Lcom/mojang/math/Matrix4f;)Lcom/mojang/datafixers/util/Pair; params: 0: matrix class: Vector3d path: com/mojang/math/Vector3d field: x field: y field: z method: <init> (DDD)V params: 1: x, 3: y, 5: z class: Vector3f path: com/mojang/math/Vector3f method: <init> (FFF)V params: 1: x, 2: y, 3: z method: <init> (Lnet/minecraft/world/phys/Vec3;)V params: 1: vec3 method: add (FFF)V params: 1: x, 2: y, 3: z method: add (Lcom/mojang/math/Vector3f;)V params: 1: other method: clamp (FF)V params: 1: min, 2: max method: cross (Lcom/mojang/math/Vector3f;)V params: 1: other method: dot (Lcom/mojang/math/Vector3f;)F params: 1: other method: equals (Ljava/lang/Object;)Z params: 1: other method: lerp (Lcom/mojang/math/Vector3f;F)V params: 1: vector, 2: delta method: map (Lit/unimi/dsi/fastutil/floats/Float2FloatFunction;)V params: 1: mapper method: mul (F)V params: 1: multiplier method: mul (FFF)V params: 1: mx, 2: my, 3: mz method: rotation (F)Lcom/mojang/math/Quaternion; params: 1: value method: rotationDegrees (F)Lcom/mojang/math/Quaternion; params: 1: value method: set (FFF)V params: 1: x, 2: y, 3: z method: sub (Lcom/mojang/math/Vector3f;)V params: 1: other method: transform (Lcom/mojang/math/Matrix3f;)V params: 1: matrix method: transform (Lcom/mojang/math/Quaternion;)V params: 1: quaternion class: Vector4f path: com/mojang/math/Vector4f method: <init> (FFFF)V params: 1: x, 2: y, 3: z, 4: w method: <init> (Lcom/mojang/math/Vector3f;)V params: 1: vector3f method: dot (Lcom/mojang/math/Vector4f;)F params: 1: other method: equals (Ljava/lang/Object;)Z params: 1: other method: mul (Lcom/mojang/math/Vector3f;)V params: 1: vec method: set (FFFF)V params: 1: x, 2: y, 3: z, 4: w method: transform (Lcom/mojang/math/Matrix4f;)V params: 1: matrix method: transform (Lcom/mojang/math/Quaternion;)V params: 1: quaternion realmsclient gui screens class: RealmsBackupInfoScreen path: com/mojang/realmsclient/gui/screens/RealmsBackupInfoScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsBackupInfoScreen$BackupInfoListEntry path: com/mojang/realmsclient/gui/screens/RealmsBackupInfoScreen$BackupInfoListEntry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsBackupScreen path: com/mojang/realmsclient/gui/screens/RealmsBackupScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsBackupScreen$BackupObjectSelectionList path: com/mojang/realmsclient/gui/screens/RealmsBackupScreen$BackupObjectSelectionList method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: selectItem method: setSelected (Lcom/mojang/realmsclient/gui/screens/RealmsBackupScreen$Entry;)V params: 1: entry class: RealmsBackupScreen$Entry path: com/mojang/realmsclient/gui/screens/RealmsBackupScreen$Entry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsBrokenWorldScreen path: com/mojang/realmsclient/gui/screens/RealmsBrokenWorldScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsClientOutdatedScreen path: com/mojang/realmsclient/gui/screens/RealmsClientOutdatedScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsConfigureWorldScreen path: com/mojang/realmsclient/gui/screens/RealmsConfigureWorldScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsConfirmScreen path: com/mojang/realmsclient/gui/screens/RealmsConfirmScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsCreateRealmScreen path: com/mojang/realmsclient/gui/screens/RealmsCreateRealmScreen method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsDownloadLatestWorldScreen path: com/mojang/realmsclient/gui/screens/RealmsDownloadLatestWorldScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsGenericErrorScreen path: com/mojang/realmsclient/gui/screens/RealmsGenericErrorScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsInviteScreen path: com/mojang/realmsclient/gui/screens/RealmsInviteScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsLongConfirmationScreen path: com/mojang/realmsclient/gui/screens/RealmsLongConfirmationScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsLongRunningMcoTaskScreen path: com/mojang/realmsclient/gui/screens/RealmsLongRunningMcoTaskScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsNotificationsScreen path: com/mojang/realmsclient/gui/screens/RealmsNotificationsScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsParentalConsentScreen path: com/mojang/realmsclient/gui/screens/RealmsParentalConsentScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsPendingInvitesScreen path: com/mojang/realmsclient/gui/screens/RealmsPendingInvitesScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsPendingInvitesScreen$Entry path: com/mojang/realmsclient/gui/screens/RealmsPendingInvitesScreen$Entry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsPendingInvitesScreen$PendingInvitationSelectionList path: com/mojang/realmsclient/gui/screens/RealmsPendingInvitesScreen$PendingInvitationSelectionList method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: selectItem method: setSelected (Lcom/mojang/realmsclient/gui/screens/RealmsPendingInvitesScreen$Entry;)V params: 1: entry class: RealmsPlayerScreen path: com/mojang/realmsclient/gui/screens/RealmsPlayerScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsPlayerScreen$Entry path: com/mojang/realmsclient/gui/screens/RealmsPlayerScreen$Entry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsPlayerScreen$InvitedObjectSelectionList path: com/mojang/realmsclient/gui/screens/RealmsPlayerScreen$InvitedObjectSelectionList method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: selectItem method: setSelected (Lcom/mojang/realmsclient/gui/screens/RealmsPlayerScreen$Entry;)V params: 1: entry class: RealmsResetNormalWorldScreen path: com/mojang/realmsclient/gui/screens/RealmsResetNormalWorldScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsResetWorldScreen path: com/mojang/realmsclient/gui/screens/RealmsResetWorldScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsResetWorldScreen$FrameButton path: com/mojang/realmsclient/gui/screens/RealmsResetWorldScreen$FrameButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsSelectFileToUploadScreen path: com/mojang/realmsclient/gui/screens/RealmsSelectFileToUploadScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsSelectFileToUploadScreen$Entry path: com/mojang/realmsclient/gui/screens/RealmsSelectFileToUploadScreen$Entry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsSelectFileToUploadScreen$WorldSelectionList path: com/mojang/realmsclient/gui/screens/RealmsSelectFileToUploadScreen$WorldSelectionList method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: selectItem method: setSelected (Lcom/mojang/realmsclient/gui/screens/RealmsSelectFileToUploadScreen$Entry;)V params: 1: entry class: RealmsSelectWorldTemplateScreen path: com/mojang/realmsclient/gui/screens/RealmsSelectWorldTemplateScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsSelectWorldTemplateScreen$Entry path: com/mojang/realmsclient/gui/screens/RealmsSelectWorldTemplateScreen$Entry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionList path: com/mojang/realmsclient/gui/screens/RealmsSelectWorldTemplateScreen$WorldTemplateObjectSelectionList method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: selectItem method: setSelected (Lcom/mojang/realmsclient/gui/screens/RealmsSelectWorldTemplateScreen$Entry;)V params: 1: entry class: RealmsSettingsScreen path: com/mojang/realmsclient/gui/screens/RealmsSettingsScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsSlotOptionsScreen path: com/mojang/realmsclient/gui/screens/RealmsSlotOptionsScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsSlotOptionsScreen$SettingsSlider path: com/mojang/realmsclient/gui/screens/RealmsSlotOptionsScreen$SettingsSlider method: onClick (DD)V params: 1: mouseX, 3: mouseY method: onRelease (DD)V params: 1: mouseX, 3: mouseY class: RealmsSubscriptionInfoScreen path: com/mojang/realmsclient/gui/screens/RealmsSubscriptionInfoScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsTermsScreen path: com/mojang/realmsclient/gui/screens/RealmsTermsScreen field: realmsServer Lcom/mojang/realmsclient/dto/RealmsServer; The screen to display when OK is clicked on the disconnect screen.
Seems to be either null (integrated server) or an instance of either {@link MultiplayerScreen} (when connecting to a server) or {@link com.mojang.realmsclient.gui.screens.RealmsTermsScreen} (when connecting to MCO server)
method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsUploadScreen path: com/mojang/realmsclient/gui/screens/RealmsUploadScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsWorldSlotButton path: com/mojang/realmsclient/gui/RealmsWorldSlotButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsMainScreen path: com/mojang/realmsclient/RealmsMainScreen method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsMainScreen$CloseButton path: com/mojang/realmsclient/RealmsMainScreen$CloseButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsMainScreen$NewsButton path: com/mojang/realmsclient/RealmsMainScreen$NewsButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsMainScreen$PendingInvitesButton path: com/mojang/realmsclient/RealmsMainScreen$PendingInvitesButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsMainScreen$RealmSelectionList path: com/mojang/realmsclient/RealmsMainScreen$RealmSelectionList method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: selectItem method: setSelected (Lcom/mojang/realmsclient/RealmsMainScreen$Entry;)V params: 1: entry class: RealmsMainScreen$ServerEntry path: com/mojang/realmsclient/RealmsMainScreen$ServerEntry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: RealmsMainScreen$ShowPopupButton path: com/mojang/realmsclient/RealmsMainScreen$ShowPopupButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsMainScreen$TrialEntry path: com/mojang/realmsclient/RealmsMainScreen$TrialEntry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks net minecraft advancements critereon class: AbstractCriterionTriggerInstance path: net/minecraft/advancements/critereon/AbstractCriterionTriggerInstance method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: BeeNestDestroyedTrigger path: net/minecraft/advancements/critereon/BeeNestDestroyedTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/BeeNestDestroyedTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: deserializeBlock (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/level/block/Block; params: 0: json class: BeeNestDestroyedTrigger$TriggerInstance path: net/minecraft/advancements/critereon/BeeNestDestroyedTrigger$TriggerInstance method: destroyedBeeNest (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/advancements/critereon/ItemPredicate$Builder;Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;)Lnet/minecraft/advancements/critereon/BeeNestDestroyedTrigger$TriggerInstance; params: 0: block, 1: itemConditionBuilder, 2: beesContained method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: BlockPredicate path: net/minecraft/advancements/critereon/BlockPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/BlockPredicate; params: 0: json method: matches (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos class: BlockPredicate$Builder path: net/minecraft/advancements/critereon/BlockPredicate$Builder method: of (Lnet/minecraft/tags/Tag;)Lnet/minecraft/advancements/critereon/BlockPredicate$Builder; params: 1: tag method: setProperties (Lnet/minecraft/advancements/critereon/StatePropertiesPredicate;)Lnet/minecraft/advancements/critereon/BlockPredicate$Builder; params: 1: statePredicate class: BredAnimalsTrigger path: net/minecraft/advancements/critereon/BredAnimalsTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/BredAnimalsTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser class: BredAnimalsTrigger$TriggerInstance path: net/minecraft/advancements/critereon/BredAnimalsTrigger$TriggerInstance method: bredAnimals (Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;)Lnet/minecraft/advancements/critereon/BredAnimalsTrigger$TriggerInstance; params: 0: builder method: bredAnimals (Lnet/minecraft/advancements/critereon/EntityPredicate;Lnet/minecraft/advancements/critereon/EntityPredicate;Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/advancements/critereon/BredAnimalsTrigger$TriggerInstance; params: 0: parent, 1: partner, 2: child method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: parentContext, 2: partnerContext, 3: childContext method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: BrewedPotionTrigger path: net/minecraft/advancements/critereon/BrewedPotionTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/BrewedPotionTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/alchemy/Potion;)V params: 1: player, 2: potion class: BrewedPotionTrigger$TriggerInstance path: net/minecraft/advancements/critereon/BrewedPotionTrigger$TriggerInstance method: matches (Lnet/minecraft/world/item/alchemy/Potion;)Z params: 1: potion method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ChangeDimensionTrigger path: net/minecraft/advancements/critereon/ChangeDimensionTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ChangeDimensionTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/resources/ResourceKey;)V params: 1: player, 2: fromLevel, 3: toLevel class: ChangeDimensionTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ChangeDimensionTrigger$TriggerInstance method: changedDimensionTo (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/advancements/critereon/ChangeDimensionTrigger$TriggerInstance; params: 0: toLevel method: matches (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/resources/ResourceKey;)Z params: 1: fromLevel, 2: toLevel method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ChanneledLightningTrigger path: net/minecraft/advancements/critereon/ChanneledLightningTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ChanneledLightningTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Ljava/util/Collection;)V params: 1: player, 2: entityTriggered class: ChanneledLightningTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ChanneledLightningTrigger$TriggerInstance method: channeledLightning ([Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/advancements/critereon/ChanneledLightningTrigger$TriggerInstance; params: 0: victims method: matches (Ljava/util/Collection;)Z params: 1: victims method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ConstructBeaconTrigger path: net/minecraft/advancements/critereon/ConstructBeaconTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ConstructBeaconTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser class: ConstructBeaconTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ConstructBeaconTrigger$TriggerInstance method: constructedBeacon (Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;)Lnet/minecraft/advancements/critereon/ConstructBeaconTrigger$TriggerInstance; params: 0: level method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ConsumeItemTrigger path: net/minecraft/advancements/critereon/ConsumeItemTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ConsumeItemTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: item class: ConsumeItemTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ConsumeItemTrigger$TriggerInstance method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: item method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: usedItem (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/advancements/critereon/ConsumeItemTrigger$TriggerInstance; params: 0: item class: CuredZombieVillagerTrigger path: net/minecraft/advancements/critereon/CuredZombieVillagerTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/CuredZombieVillagerTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/monster/Zombie;Lnet/minecraft/world/entity/npc/Villager;)V params: 1: player, 2: zombie, 3: villager class: CuredZombieVillagerTrigger$TriggerInstance path: net/minecraft/advancements/critereon/CuredZombieVillagerTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: zombie, 2: villager method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: DamagePredicate path: net/minecraft/advancements/critereon/DamagePredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/DamagePredicate; params: 0: element method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/damagesource/DamageSource;FFZ)Z params: 1: player, 2: source, 3: dealt, 4: taken, 5: blocked class: DamagePredicate$Builder path: net/minecraft/advancements/critereon/DamagePredicate$Builder method: blocked (Ljava/lang/Boolean;)Lnet/minecraft/advancements/critereon/DamagePredicate$Builder; params: 1: blocked method: type (Lnet/minecraft/advancements/critereon/DamageSourcePredicate$Builder;)Lnet/minecraft/advancements/critereon/DamagePredicate$Builder; params: 1: damageType class: DamageSourcePredicate path: net/minecraft/advancements/critereon/DamageSourcePredicate method: addOptionally (Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Boolean;)V params: 1: obj, 2: key, 3: value Adds a property if the value is not null.
method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/DamageSourcePredicate; params: 0: element method: getOptionalBoolean (Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/Boolean; params: 0: object, 1: memberName method: matches (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: level, 2: vector, 3: source method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: player, 2: source class: DamageSourcePredicate$Builder path: net/minecraft/advancements/critereon/DamageSourcePredicate$Builder method: direct (Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;)Lnet/minecraft/advancements/critereon/DamageSourcePredicate$Builder; params: 1: directEntity method: isLightning (Ljava/lang/Boolean;)Lnet/minecraft/advancements/critereon/DamageSourcePredicate$Builder; params: 1: isLightning method: isProjectile (Ljava/lang/Boolean;)Lnet/minecraft/advancements/critereon/DamageSourcePredicate$Builder; params: 1: isProjectile class: DeserializationContext path: net/minecraft/advancements/critereon/DeserializationContext method: deserializeConditions (Lcom/google/gson/JsonArray;Ljava/lang/String;Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;)[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition; params: 1: json, 3: parameterSet class: DistancePredicate path: net/minecraft/advancements/critereon/DistancePredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/DistancePredicate; params: 0: element method: matches (DDDDDD)Z params: 1: x1, 3: y1, 5: z1, 7: x2, 9: y2, 11: z2 class: EffectsChangedTrigger path: net/minecraft/advancements/critereon/EffectsChangedTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/EffectsChangedTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser class: EffectsChangedTrigger$TriggerInstance path: net/minecraft/advancements/critereon/EffectsChangedTrigger$TriggerInstance method: hasEffects (Lnet/minecraft/advancements/critereon/MobEffectsPredicate;)Lnet/minecraft/advancements/critereon/EffectsChangedTrigger$TriggerInstance; params: 0: effects method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: EnchantedItemTrigger path: net/minecraft/advancements/critereon/EnchantedItemTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/EnchantedItemTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;I)V params: 1: player, 2: item, 3: levelsSpent class: EnchantedItemTrigger$TriggerInstance path: net/minecraft/advancements/critereon/EnchantedItemTrigger$TriggerInstance method: matches (Lnet/minecraft/world/item/ItemStack;I)Z params: 1: item, 2: levels method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: EnchantmentPredicate path: net/minecraft/advancements/critereon/EnchantmentPredicate method: containedIn (Ljava/util/Map;)Z params: 1: enchantments method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/EnchantmentPredicate; params: 0: element method: fromJsonArray (Lcom/google/gson/JsonElement;)[Lnet/minecraft/advancements/critereon/EnchantmentPredicate; params: 0: element class: EnterBlockTrigger path: net/minecraft/advancements/critereon/EnterBlockTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/EnterBlockTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: deserializeBlock (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/level/block/Block; params: 0: jsonObject method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: player, 2: state class: EnterBlockTrigger$TriggerInstance path: net/minecraft/advancements/critereon/EnterBlockTrigger$TriggerInstance method: entersBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/advancements/critereon/EnterBlockTrigger$TriggerInstance; params: 0: block method: matches (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: EntityEquipmentPredicate path: net/minecraft/advancements/critereon/EntityEquipmentPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/EntityEquipmentPredicate; params: 0: element method: matches (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity class: EntityEquipmentPredicate$Builder path: net/minecraft/advancements/critereon/EntityEquipmentPredicate$Builder method: chest (Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/EntityEquipmentPredicate$Builder; params: 1: condition method: feet (Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/EntityEquipmentPredicate$Builder; params: 1: condition method: head (Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/EntityEquipmentPredicate$Builder; params: 1: condition method: legs (Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/EntityEquipmentPredicate$Builder; params: 1: condition class: EntityFlagsPredicate path: net/minecraft/advancements/critereon/EntityFlagsPredicate method: addOptionalBoolean (Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Boolean;)V params: 1: jsonObject, 2: name, 3: bool method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/EntityFlagsPredicate; params: 0: element method: getOptionalBoolean (Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/Boolean; params: 0: jsonObject, 1: name method: matches (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity class: EntityFlagsPredicate$Builder path: net/minecraft/advancements/critereon/EntityFlagsPredicate$Builder method: setIsBaby (Ljava/lang/Boolean;)Lnet/minecraft/advancements/critereon/EntityFlagsPredicate$Builder; params: 1: baby method: setOnFire (Ljava/lang/Boolean;)Lnet/minecraft/advancements/critereon/EntityFlagsPredicate$Builder; params: 1: onFire class: EntityHurtPlayerTrigger path: net/minecraft/advancements/critereon/EntityHurtPlayerTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/EntityHurtPlayerTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/damagesource/DamageSource;FFZ)V params: 1: player, 2: source, 3: amountDealt, 4: amountTaken, 5: wasBlocked class: EntityHurtPlayerTrigger$TriggerInstance path: net/minecraft/advancements/critereon/EntityHurtPlayerTrigger$TriggerInstance method: entityHurtPlayer (Lnet/minecraft/advancements/critereon/DamagePredicate$Builder;)Lnet/minecraft/advancements/critereon/EntityHurtPlayerTrigger$TriggerInstance; params: 0: damageConditionBuilder method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/damagesource/DamageSource;FFZ)Z params: 1: player, 2: source, 3: amountDealt, 4: amountTaken, 5: wasBlocked method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: EntityPredicate path: net/minecraft/advancements/critereon/EntityPredicate method: createContext (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/level/storage/loot/LootContext; params: 0: player, 1: entity method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/EntityPredicate; params: 0: element method: matches (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/Entity;)Z params: 1: level, 2: vector, 3: entity method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/Entity;)Z params: 1: player, 2: entity class: EntityPredicate$Builder path: net/minecraft/advancements/critereon/EntityPredicate$Builder method: catType (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: catType method: distance (Lnet/minecraft/advancements/critereon/DistancePredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: distance method: effects (Lnet/minecraft/advancements/critereon/MobEffectsPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: effects method: entityType (Lnet/minecraft/advancements/critereon/EntityTypePredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: type method: equipment (Lnet/minecraft/advancements/critereon/EntityEquipmentPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: equipment method: fishingHook (Lnet/minecraft/advancements/critereon/FishingHookPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: fishing method: flags (Lnet/minecraft/advancements/critereon/EntityFlagsPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: flags method: located (Lnet/minecraft/advancements/critereon/LocationPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: location method: nbt (Lnet/minecraft/advancements/critereon/NbtPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: nbt method: of (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: catType method: of (Lnet/minecraft/tags/Tag;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: type method: of (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: type method: player (Lnet/minecraft/advancements/critereon/PlayerPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: player method: targetedEntity (Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: target method: team (Ljava/lang/String;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: team method: vehicle (Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Builder; params: 1: mount class: EntityPredicate$Composite path: net/minecraft/advancements/critereon/EntityPredicate$Composite method: create ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/advancements/critereon/EntityPredicate$Composite; params: 0: conditions method: fromElement (Ljava/lang/String;Lnet/minecraft/advancements/critereon/DeserializationContext;Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/EntityPredicate$Composite; params: 0: name, 1: conditions, 2: element method: fromJson (Lcom/google/gson/JsonObject;Ljava/lang/String;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/EntityPredicate$Composite; params: 0: jsonObject, 1: name, 2: conditions method: fromJsonArray (Lcom/google/gson/JsonObject;Ljava/lang/String;Lnet/minecraft/advancements/critereon/DeserializationContext;)[Lnet/minecraft/advancements/critereon/EntityPredicate$Composite; params: 0: jsonObject, 1: name, 2: conditions method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: context method: toJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonElement; params: 1: serializer method: toJson ([Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonElement; params: 0: predicates, 1: serializer method: wrap (Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/advancements/critereon/EntityPredicate$Composite; params: 0: entityCondition class: EntityTypePredicate path: net/minecraft/advancements/critereon/EntityTypePredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/EntityTypePredicate; params: 0: element method: matches (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type method: of (Lnet/minecraft/tags/Tag;)Lnet/minecraft/advancements/critereon/EntityTypePredicate; params: 0: tag method: of (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/advancements/critereon/EntityTypePredicate; params: 0: type class: EntityTypePredicate$1 path: net/minecraft/advancements/critereon/EntityTypePredicate$1 method: matches (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type class: EntityTypePredicate$TagPredicate path: net/minecraft/advancements/critereon/EntityTypePredicate$TagPredicate method: matches (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type class: EntityTypePredicate$TypePredicate path: net/minecraft/advancements/critereon/EntityTypePredicate$TypePredicate method: matches (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type class: FilledBucketTrigger path: net/minecraft/advancements/critereon/FilledBucketTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/FilledBucketTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: stack class: FilledBucketTrigger$TriggerInstance path: net/minecraft/advancements/critereon/FilledBucketTrigger$TriggerInstance method: filledBucket (Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/FilledBucketTrigger$TriggerInstance; params: 0: itemCondition method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: FishingRodHookedTrigger path: net/minecraft/advancements/critereon/FishingRodHookedTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/FishingRodHookedTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/projectile/FishingHook;Ljava/util/Collection;)V params: 1: player, 2: rod, 3: entity, 4: items class: FishingRodHookedTrigger$TriggerInstance path: net/minecraft/advancements/critereon/FishingRodHookedTrigger$TriggerInstance method: fishedItem (Lnet/minecraft/advancements/critereon/ItemPredicate;Lnet/minecraft/advancements/critereon/EntityPredicate;Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/FishingRodHookedTrigger$TriggerInstance; params: 0: rod, 1: bobber, 2: item method: matches (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/Collection;)Z params: 1: rod, 2: context, 3: items method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: FluidPredicate path: net/minecraft/advancements/critereon/FluidPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/FluidPredicate; params: 0: element method: matches (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos class: ImpossibleTrigger path: net/minecraft/advancements/critereon/ImpossibleTrigger method: addPlayerListener (Lnet/minecraft/server/PlayerAdvancements;Lnet/minecraft/advancements/CriterionTrigger$Listener;)V params: 1: playerAdvancements, 2: listener method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ImpossibleTrigger$TriggerInstance; params: 1: object, 2: conditions method: removePlayerListener (Lnet/minecraft/server/PlayerAdvancements;Lnet/minecraft/advancements/CriterionTrigger$Listener;)V params: 1: playerAdvancements, 2: listener method: removePlayerListeners (Lnet/minecraft/server/PlayerAdvancements;)V params: 1: playerAdvancements class: ImpossibleTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ImpossibleTrigger$TriggerInstance method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: InventoryChangeTrigger path: net/minecraft/advancements/critereon/InventoryChangeTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: inventory, 3: stack method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/item/ItemStack;III)V params: 1: player, 2: inventory, 3: stack, 4: full, 5: empty, 6: occupied class: InventoryChangeTrigger$TriggerInstance path: net/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance method: hasItems ([Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance; params: 0: itemConditions method: hasItems ([Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance; params: 0: items method: matches (Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/item/ItemStack;III)Z params: 1: inventory, 2: stack, 3: full, 4: empty, 5: occupied method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ItemDurabilityTrigger path: net/minecraft/advancements/critereon/ItemDurabilityTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ItemDurabilityTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;I)V params: 1: player, 2: item, 3: newDurability class: ItemDurabilityTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ItemDurabilityTrigger$TriggerInstance method: changedDurability (Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/ItemPredicate;Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;)Lnet/minecraft/advancements/critereon/ItemDurabilityTrigger$TriggerInstance; params: 0: player, 1: item, 2: durability method: matches (Lnet/minecraft/world/item/ItemStack;I)Z params: 1: item, 2: durability method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ItemPickedUpByEntityTrigger path: net/minecraft/advancements/critereon/ItemPickedUpByEntityTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ItemPickedUpByEntityTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/Entity;)V params: 1: player, 2: stack, 3: entity class: ItemPickedUpByEntityTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ItemPickedUpByEntityTrigger$TriggerInstance method: itemPickedUpByEntity (Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/ItemPredicate$Builder;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;)Lnet/minecraft/advancements/critereon/ItemPickedUpByEntityTrigger$TriggerInstance; params: 0: player, 1: stack, 2: entity method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: player, 2: stack, 3: context method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: ItemPredicate path: net/minecraft/advancements/critereon/ItemPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/ItemPredicate; params: 0: element method: fromJsonArray (Lcom/google/gson/JsonElement;)[Lnet/minecraft/advancements/critereon/ItemPredicate; params: 0: element method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: item class: ItemPredicate$Builder path: net/minecraft/advancements/critereon/ItemPredicate$Builder method: hasEnchantment (Lnet/minecraft/advancements/critereon/EnchantmentPredicate;)Lnet/minecraft/advancements/critereon/ItemPredicate$Builder; params: 1: enchantmentCondition method: hasNbt (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/advancements/critereon/ItemPredicate$Builder; params: 1: nbt method: of (Lnet/minecraft/tags/Tag;)Lnet/minecraft/advancements/critereon/ItemPredicate$Builder; params: 1: tag class: ItemUsedOnBlockTrigger path: net/minecraft/advancements/critereon/ItemUsedOnBlockTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ItemUsedOnBlockTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: pos, 3: stack class: ItemUsedOnBlockTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ItemUsedOnBlockTrigger$TriggerInstance method: itemUsedOnBlock (Lnet/minecraft/advancements/critereon/LocationPredicate$Builder;Lnet/minecraft/advancements/critereon/ItemPredicate$Builder;)Lnet/minecraft/advancements/critereon/ItemUsedOnBlockTrigger$TriggerInstance; params: 0: locationBuilder, 1: stackBuilder method: matches (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)Z params: 1: state, 2: level, 3: pos, 4: stack method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: KilledByCrossbowTrigger path: net/minecraft/advancements/critereon/KilledByCrossbowTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/KilledByCrossbowTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Ljava/util/Collection;)V params: 1: player, 2: entities class: KilledByCrossbowTrigger$TriggerInstance path: net/minecraft/advancements/critereon/KilledByCrossbowTrigger$TriggerInstance method: crossbowKilled (Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;)Lnet/minecraft/advancements/critereon/KilledByCrossbowTrigger$TriggerInstance; params: 0: bounds method: crossbowKilled ([Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;)Lnet/minecraft/advancements/critereon/KilledByCrossbowTrigger$TriggerInstance; params: 0: builders method: matches (Ljava/util/Collection;I)Z params: 1: contexts, 2: bounds method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: KilledTrigger path: net/minecraft/advancements/critereon/KilledTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/KilledTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: player, 2: entity, 3: source class: KilledTrigger$TriggerInstance path: net/minecraft/advancements/critereon/KilledTrigger$TriggerInstance method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: player, 2: context, 3: source method: playerKilledEntity (Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;)Lnet/minecraft/advancements/critereon/KilledTrigger$TriggerInstance; params: 0: builder method: playerKilledEntity (Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;Lnet/minecraft/advancements/critereon/DamageSourcePredicate$Builder;)Lnet/minecraft/advancements/critereon/KilledTrigger$TriggerInstance; params: 0: entityBuilder, 1: sourceBuilder method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: LevitationTrigger path: net/minecraft/advancements/critereon/LevitationTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/LevitationTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/phys/Vec3;I)V params: 1: player, 2: startPos, 3: duration class: LevitationTrigger$TriggerInstance path: net/minecraft/advancements/critereon/LevitationTrigger$TriggerInstance method: levitated (Lnet/minecraft/advancements/critereon/DistancePredicate;)Lnet/minecraft/advancements/critereon/LevitationTrigger$TriggerInstance; params: 0: distance method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/phys/Vec3;I)Z params: 1: player, 2: startPos, 3: duration method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: LightPredicate path: net/minecraft/advancements/critereon/LightPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/LightPredicate; params: 0: element method: matches (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos class: LocationPredicate path: net/minecraft/advancements/critereon/LocationPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/LocationPredicate; params: 0: element method: inBiome (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/advancements/critereon/LocationPredicate; params: 0: biome method: inDimension (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/advancements/critereon/LocationPredicate; params: 0: dimension method: inFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/advancements/critereon/LocationPredicate; params: 0: feature method: matches (Lnet/minecraft/server/level/ServerLevel;DDD)Z params: 1: level, 2: x, 4: y, 6: z class: LocationPredicate$Builder path: net/minecraft/advancements/critereon/LocationPredicate$Builder method: setBiome (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/advancements/critereon/LocationPredicate$Builder; params: 1: biome method: setBlock (Lnet/minecraft/advancements/critereon/BlockPredicate;)Lnet/minecraft/advancements/critereon/LocationPredicate$Builder; params: 1: block method: setSmokey (Ljava/lang/Boolean;)Lnet/minecraft/advancements/critereon/LocationPredicate$Builder; params: 1: smokey class: LocationTrigger path: net/minecraft/advancements/critereon/LocationTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/LocationTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player class: LocationTrigger$TriggerInstance path: net/minecraft/advancements/critereon/LocationTrigger$TriggerInstance method: located (Lnet/minecraft/advancements/critereon/LocationPredicate;)Lnet/minecraft/advancements/critereon/LocationTrigger$TriggerInstance; params: 0: location method: matches (Lnet/minecraft/server/level/ServerLevel;DDD)Z params: 1: level, 2: x, 4: y, 6: z method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: LootTableTrigger path: net/minecraft/advancements/critereon/LootTableTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/LootTableTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/resources/ResourceLocation;)V params: 1: player, 2: generatedLoot class: LootTableTrigger$TriggerInstance path: net/minecraft/advancements/critereon/LootTableTrigger$TriggerInstance method: lootTableUsed (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/critereon/LootTableTrigger$TriggerInstance; params: 0: generatedLoot method: matches (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: generatedLoot method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: MinMaxBounds path: net/minecraft/advancements/critereon/MinMaxBounds method: fromJson (Lcom/google/gson/JsonElement;Lnet/minecraft/advancements/critereon/MinMaxBounds;Ljava/util/function/BiFunction;Lnet/minecraft/advancements/critereon/MinMaxBounds$BoundsFactory;)Lnet/minecraft/advancements/critereon/MinMaxBounds; params: 0: element, 1: defaultValue, 2: biFunction, 3: boundedFactory method: fromReader (Lcom/mojang/brigadier/StringReader;Lnet/minecraft/advancements/critereon/MinMaxBounds$BoundsFromReaderFactory;Ljava/util/function/Function;Ljava/util/function/Supplier;Ljava/util/function/Function;)Lnet/minecraft/advancements/critereon/MinMaxBounds; params: 0: reader, 1: minMaxReader, 2: valueFunction, 3: commandExceptionSupplier, 4: function method: isAllowedInputChat (Lcom/mojang/brigadier/StringReader;)Z params: 0: reader method: optionallyFormat (Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object; params: 0: value, 1: formatterFunction method: readNumber (Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;Ljava/util/function/Supplier;)Ljava/lang/Number; params: 0: reader, 1: stringToValueFunction, 2: commandExceptionSupplier class: MinMaxBounds$Ints path: net/minecraft/advancements/critereon/MinMaxBounds$Ints method: atLeast (I)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: value method: create (Lcom/mojang/brigadier/StringReader;Ljava/lang/Integer;Ljava/lang/Integer;)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: reader, 1: min, 2: max method: exactly (I)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: value method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: element method: fromReader (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: reader method: fromReader (Lcom/mojang/brigadier/StringReader;Ljava/util/function/Function;)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: reader, 1: valueFunction method: matches method: squareOpt (Ljava/lang/Integer;)Ljava/lang/Long; params: 0: value class: MobEffectsPredicate path: net/minecraft/advancements/critereon/MobEffectsPredicate method: and (Lnet/minecraft/world/effect/MobEffect;)Lnet/minecraft/advancements/critereon/MobEffectsPredicate; params: 1: effect method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/MobEffectsPredicate; params: 0: element method: matches (Ljava/util/Map;)Z params: 1: potions method: matches (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: matches (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: entity class: MobEffectsPredicate$MobEffectInstancePredicate path: net/minecraft/advancements/critereon/MobEffectsPredicate$MobEffectInstancePredicate method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/advancements/critereon/MobEffectsPredicate$MobEffectInstancePredicate; params: 0: object method: matches (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: effect class: NbtPredicate path: net/minecraft/advancements/critereon/NbtPredicate method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/NbtPredicate; params: 0: json method: getEntityTagToCompare (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/nbt/CompoundTag; params: 0: entity method: matches (Lnet/minecraft/nbt/Tag;)Z params: 1: nbt method: matches (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: item class: NetherTravelTrigger path: net/minecraft/advancements/critereon/NetherTravelTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/NetherTravelTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/phys/Vec3;)V params: 1: player, 2: enteredNetherPosition class: NetherTravelTrigger$TriggerInstance path: net/minecraft/advancements/critereon/NetherTravelTrigger$TriggerInstance method: matches (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/phys/Vec3;DDD)Z params: 1: level, 2: enteredNetherPosition, 3: x, 5: y, 7: z method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: travelledThroughNether (Lnet/minecraft/advancements/critereon/DistancePredicate;)Lnet/minecraft/advancements/critereon/NetherTravelTrigger$TriggerInstance; params: 0: distance class: PlacedBlockTrigger path: net/minecraft/advancements/critereon/PlacedBlockTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/PlacedBlockTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: deserializeBlock (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/level/block/Block; params: 0: object method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: pos, 3: item class: PlacedBlockTrigger$TriggerInstance path: net/minecraft/advancements/critereon/PlacedBlockTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/ItemStack;)Z params: 1: state, 2: pos, 3: level, 4: item method: placedBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/advancements/critereon/PlacedBlockTrigger$TriggerInstance; params: 0: block method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: PlayerHurtEntityTrigger path: net/minecraft/advancements/critereon/PlayerHurtEntityTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/PlayerHurtEntityTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/damagesource/DamageSource;FFZ)V params: 1: player, 2: entity, 3: source, 4: amountDealt, 5: amountTaken, 6: blocked class: PlayerHurtEntityTrigger$TriggerInstance path: net/minecraft/advancements/critereon/PlayerHurtEntityTrigger$TriggerInstance method: matches (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/damagesource/DamageSource;FFZ)Z params: 1: player, 2: context, 3: damage, 4: dealt, 5: taken, 6: blocked method: playerHurtEntity (Lnet/minecraft/advancements/critereon/DamagePredicate$Builder;)Lnet/minecraft/advancements/critereon/PlayerHurtEntityTrigger$TriggerInstance; params: 0: builder method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: PlayerInteractTrigger path: net/minecraft/advancements/critereon/PlayerInteractTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/PlayerInteractTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/Entity;)V params: 1: player, 2: stack, 3: entity class: PlayerInteractTrigger$TriggerInstance path: net/minecraft/advancements/critereon/PlayerInteractTrigger$TriggerInstance method: itemUsedOnEntity (Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/ItemPredicate$Builder;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;)Lnet/minecraft/advancements/critereon/PlayerInteractTrigger$TriggerInstance; params: 0: player, 1: stack, 2: entity method: matches (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: stack, 2: context method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: PlayerPredicate path: net/minecraft/advancements/critereon/PlayerPredicate method: advancementPredicateFromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/PlayerPredicate$AdvancementPredicate; params: 0: element method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/PlayerPredicate; params: 0: element method: getStat (Lnet/minecraft/stats/StatType;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/stats/Stat; params: 0: type, 1: identifier method: getStatValueId (Lnet/minecraft/stats/Stat;)Lnet/minecraft/resources/ResourceLocation; params: 0: stat method: matches (Lnet/minecraft/world/entity/Entity;)Z params: 1: player class: RecipeUnlockedTrigger path: net/minecraft/advancements/critereon/RecipeUnlockedTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/RecipeUnlockedTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: player, 2: recipe method: unlocked (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/critereon/RecipeUnlockedTrigger$TriggerInstance; params: 0: recipeID class: RecipeUnlockedTrigger$TriggerInstance path: net/minecraft/advancements/critereon/RecipeUnlockedTrigger$TriggerInstance method: matches (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: SerializationContext path: net/minecraft/advancements/critereon/SerializationContext method: serializeConditions ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lcom/google/gson/JsonElement; params: 1: conditions class: ShotCrossbowTrigger path: net/minecraft/advancements/critereon/ShotCrossbowTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/ShotCrossbowTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;)V params: 1: shooter, 2: stack class: ShotCrossbowTrigger$TriggerInstance path: net/minecraft/advancements/critereon/ShotCrossbowTrigger$TriggerInstance method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: shotCrossbow (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/advancements/critereon/ShotCrossbowTrigger$TriggerInstance; params: 0: itemProvider class: SimpleCriterionTrigger path: net/minecraft/advancements/critereon/SimpleCriterionTrigger method: addPlayerListener (Lnet/minecraft/server/PlayerAdvancements;Lnet/minecraft/advancements/CriterionTrigger$Listener;)V params: 1: playerAdvancements, 2: listener method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/AbstractCriterionTriggerInstance; params: 1: object, 2: conditions method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/AbstractCriterionTriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: removePlayerListener (Lnet/minecraft/server/PlayerAdvancements;Lnet/minecraft/advancements/CriterionTrigger$Listener;)V params: 1: playerAdvancements, 2: listener method: removePlayerListeners (Lnet/minecraft/server/PlayerAdvancements;)V params: 1: playerAdvancements method: trigger (Lnet/minecraft/server/level/ServerPlayer;Ljava/util/function/Predicate;)V params: 1: serverPlayer, 2: testTrigger class: SlideDownBlockTrigger path: net/minecraft/advancements/critereon/SlideDownBlockTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/SlideDownBlockTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: deserializeBlock (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/level/block/Block; params: 0: object method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: player, 2: state class: SlideDownBlockTrigger$TriggerInstance path: net/minecraft/advancements/critereon/SlideDownBlockTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: slidesDownBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/advancements/critereon/SlideDownBlockTrigger$TriggerInstance; params: 0: block class: StatePropertiesPredicate path: net/minecraft/advancements/critereon/StatePropertiesPredicate method: checkState (Lnet/minecraft/world/level/block/state/StateDefinition;Ljava/util/function/Consumer;)V params: 1: properties, 2: stringConsumer method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/StatePropertiesPredicate; params: 0: element method: fromJson (Ljava/lang/String;Lcom/google/gson/JsonElement;)Lnet/minecraft/advancements/critereon/StatePropertiesPredicate$PropertyMatcher; params: 0: name, 1: element method: getStringOrNull (Lcom/google/gson/JsonElement;)Ljava/lang/String; params: 0: element method: matches (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: matches (Lnet/minecraft/world/level/block/state/StateDefinition;Lnet/minecraft/world/level/block/state/StateHolder;)Z params: 1: properties, 2: targetProperty method: matches (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state class: StatePropertiesPredicate$Builder path: net/minecraft/advancements/critereon/StatePropertiesPredicate$Builder method: hasProperty (Lnet/minecraft/world/level/block/state/properties/Property;I)Lnet/minecraft/advancements/critereon/StatePropertiesPredicate$Builder; params: 1: intProp, 2: value method: hasProperty (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Lnet/minecraft/advancements/critereon/StatePropertiesPredicate$Builder; params: 1: prop, 2: value method: hasProperty (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)Lnet/minecraft/advancements/critereon/StatePropertiesPredicate$Builder; params: 1: property, 2: value method: hasProperty (Lnet/minecraft/world/level/block/state/properties/Property;Z)Lnet/minecraft/advancements/critereon/StatePropertiesPredicate$Builder; params: 1: boolProp, 2: value class: StatePropertiesPredicate$ExactPropertyMatcher path: net/minecraft/advancements/critereon/StatePropertiesPredicate$ExactPropertyMatcher method: match (Lnet/minecraft/world/level/block/state/StateHolder;Lnet/minecraft/world/level/block/state/properties/Property;)Z params: 1: properties, 2: propertyTarget class: StatePropertiesPredicate$PropertyMatcher path: net/minecraft/advancements/critereon/StatePropertiesPredicate$PropertyMatcher method: checkState (Lnet/minecraft/world/level/block/state/StateDefinition;Ljava/util/function/Consumer;)V params: 1: properties, 2: propertyConsumer method: match (Lnet/minecraft/world/level/block/state/StateDefinition;Lnet/minecraft/world/level/block/state/StateHolder;)Z params: 1: properties, 2: propertyToMatch method: match (Lnet/minecraft/world/level/block/state/StateHolder;Lnet/minecraft/world/level/block/state/properties/Property;)Z params: 1: properties, 2: propertyTarget class: StatePropertiesPredicate$RangedPropertyMatcher path: net/minecraft/advancements/critereon/StatePropertiesPredicate$RangedPropertyMatcher method: match (Lnet/minecraft/world/level/block/state/StateHolder;Lnet/minecraft/world/level/block/state/properties/Property;)Z params: 1: properties, 2: propertyTarget class: SummonedEntityTrigger path: net/minecraft/advancements/critereon/SummonedEntityTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/SummonedEntityTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/Entity;)V params: 1: player, 2: entity class: SummonedEntityTrigger$TriggerInstance path: net/minecraft/advancements/critereon/SummonedEntityTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: lootContext method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: summonedEntity (Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;)Lnet/minecraft/advancements/critereon/SummonedEntityTrigger$TriggerInstance; params: 0: entityBuilder class: TameAnimalTrigger path: net/minecraft/advancements/critereon/TameAnimalTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/TameAnimalTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/animal/Animal;)V params: 1: player, 2: entity class: TameAnimalTrigger$TriggerInstance path: net/minecraft/advancements/critereon/TameAnimalTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: context method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: tamedAnimal (Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/advancements/critereon/TameAnimalTrigger$TriggerInstance; params: 0: entityCondition class: TargetBlockTrigger path: net/minecraft/advancements/critereon/TargetBlockTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/TargetBlockTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;I)V params: 1: player, 2: projectile, 3: vector, 4: signalStrength class: TargetBlockTrigger$TriggerInstance path: net/minecraft/advancements/critereon/TargetBlockTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/phys/Vec3;I)Z params: 1: context, 2: vector, 3: signalStrength method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: targetHit (Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;)Lnet/minecraft/advancements/critereon/TargetBlockTrigger$TriggerInstance; params: 0: signalStrength, 1: projectile class: TickTrigger path: net/minecraft/advancements/critereon/TickTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/TickTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player class: TradeTrigger path: net/minecraft/advancements/critereon/TradeTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/TradeTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/entity/npc/AbstractVillager;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: villager, 3: stack class: TradeTrigger$TriggerInstance path: net/minecraft/advancements/critereon/TradeTrigger$TriggerInstance method: matches (Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/item/ItemStack;)Z params: 1: context, 2: stack method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: UsedEnderEyeTrigger path: net/minecraft/advancements/critereon/UsedEnderEyeTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/UsedEnderEyeTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/BlockPos;)V params: 1: player, 2: pos class: UsedEnderEyeTrigger$TriggerInstance path: net/minecraft/advancements/critereon/UsedEnderEyeTrigger$TriggerInstance method: matches (D)Z params: 1: distanceSq class: UsedTotemTrigger path: net/minecraft/advancements/critereon/UsedTotemTrigger method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/EntityPredicate$Composite;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/critereon/UsedTotemTrigger$TriggerInstance; params: 1: json, 2: entityPredicate, 3: conditionsParser method: trigger (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: item class: UsedTotemTrigger$TriggerInstance path: net/minecraft/advancements/critereon/UsedTotemTrigger$TriggerInstance method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: item method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions method: usedTotem (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/advancements/critereon/UsedTotemTrigger$TriggerInstance; params: 0: item class: WrappedMinMaxBounds path: net/minecraft/advancements/critereon/WrappedMinMaxBounds method: fromReader (Lcom/mojang/brigadier/StringReader;ZLjava/util/function/Function;)Lnet/minecraft/advancements/critereon/WrappedMinMaxBounds; params: 0: reader, 1: isFloatingPoint, 2: valueFunction method: isAllowedNumber (Lcom/mojang/brigadier/StringReader;Z)Z params: 0: reader, 1: isFloatingPoint method: optionallyFormat (Ljava/lang/Float;Ljava/util/function/Function;)Ljava/lang/Float; params: 0: value, 1: valueFunction method: readNumber (Lcom/mojang/brigadier/StringReader;Z)Ljava/lang/Float; params: 0: reader, 1: isFloatingPoint class: Advancement path: net/minecraft/advancements/Advancement method: addChild (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement Add the given {@code Advancement} as a child of this {@code Advancement}.
@see #getParent()
method: deconstruct ()Lnet/minecraft/advancements/Advancement$Builder; Creates a new advancement builder with the data from this advancement
method: getChatComponent ()Lnet/minecraft/network/chat/Component; Returns the {@code ITextComponent} that is shown in the chat message sent after this {@code Advancement} is completed.
@return the {@code ITextComponent} that is shown in the chat message sent after this {@code Advancement} is completed. If this {@code Advancement} is {@linkplain #getDisplay() invisible}, then it consists simply of {@link #getId()}. Otherwise, it is the {@linkplain DisplayInfo#getTitle() title} inside square brackets, colored by the {@linkplain net.minecraft.advancements.FrameType#getFormat frame type}, and hovering over it shows the {@linkplain DisplayInfo#getDescription() description}.
method: getChildren ()Ljava/lang/Iterable; Get the children of this {@code Advancement}.
@return an {@code Iterable} of this {@code Advancement}'s children.
@see #getParent()
method: getCriteria ()Ljava/util/Map; Get the {@link Criterion Criteria} used to decide the completion of this {@code Advancement}. Each key-value pair consists of a {@code Criterion} and its name.
@return the criteria used to decide the completion of this {@code Advancement}
@see #getRequirements()
method: getDisplay ()Lnet/minecraft/advancements/DisplayInfo; Get information that defines this {@code Advancement}'s appearance in GUIs.
@return information that defines this {@code Advancement}'s appearance in GUIs. If {@code null}, signifies an invisible {@code Advancement}.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Get this {@code Advancement}'s unique identifier.
@return this {@code Advancement}'s unique identifier
method: getMaxCriteraRequired ()I Get how many requirements this {@code Advancement} has.
@return {@code this.getRequirements().length}
@see #getRequirements()
method: getParent ()Lnet/minecraft/advancements/Advancement; Get the {@code Advancement} that is this {@code Advancement}'s parent. This determines the tree structure that appears in the {@linkplain GuiScreenAdvancements GUI}.
@return the parent {@code Advancement} of this {@code Advancement}, or {@code null} to signify that this {@code Advancement} is a root with no parent.
class: Advancement$Builder path: net/minecraft/advancements/Advancement$Builder method: addCriterion (Ljava/lang/String;Lnet/minecraft/advancements/Criterion;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: key, 2: criterion Adds a criterion to the list of criteria
method: addCriterion (Ljava/lang/String;Lnet/minecraft/advancements/CriterionTriggerInstance;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: key, 2: criterion Adds a criterion to the list of criteria
method: build (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/Advancement; params: 1: id method: canBuild (Ljava/util/function/Function;)Z params: 1: lookup Tries to resolve the parent of this advancement, if possible. Returns true on success.
method: display (Lnet/minecraft/advancements/DisplayInfo;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: display method: display (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/advancements/FrameType;ZZZ)Lnet/minecraft/advancements/Advancement$Builder; params: 1: stack, 2: title, 3: description, 4: background, 5: frame, 6: showToast, 7: announceToChat, 8: hidden method: display (Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/advancements/FrameType;ZZZ)Lnet/minecraft/advancements/Advancement$Builder; params: 1: item, 2: title, 3: description, 4: background, 5: frame, 6: showToast, 7: announceToChat, 8: hidden method: fromJson (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/Advancement$Builder; params: 0: json, 1: conditionParser method: fromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/advancements/Advancement$Builder; params: 0: buf method: parent (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: parent method: parent (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: parentId method: requirements (Lnet/minecraft/advancements/RequirementsStrategy;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: strategy method: rewards (Lnet/minecraft/advancements/AdvancementRewards$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: rewardsBuilder method: rewards (Lnet/minecraft/advancements/AdvancementRewards;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: rewards method: save (Ljava/util/function/Consumer;Ljava/lang/String;)Lnet/minecraft/advancements/Advancement; params: 1: consumer, 2: id method: serializeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: AdvancementList path: net/minecraft/advancements/AdvancementList method: add (Ljava/util/Map;)V params: 1: advancements method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/Advancement; params: 1: id method: remove (Ljava/util/Set;)V params: 1: ids method: remove (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: setListener (Lnet/minecraft/advancements/AdvancementList$Listener;)V params: 1: listener class: AdvancementList$Listener path: net/minecraft/advancements/AdvancementList$Listener method: onAddAdvancementRoot (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onAddAdvancementTask (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onRemoveAdvancementRoot (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onRemoveAdvancementTask (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement class: AdvancementProgress path: net/minecraft/advancements/AdvancementProgress method: fromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/advancements/AdvancementProgress; params: 0: buffer method: getCriterion (Ljava/lang/String;)Lnet/minecraft/advancements/CriterionProgress; params: 1: criterion method: grantProgress (Ljava/lang/String;)Z params: 1: criterion method: revokeProgress (Ljava/lang/String;)Z params: 1: criterion method: serializeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer method: update (Ljava/util/Map;[[Ljava/lang/String;)V params: 1: criteria, 2: requirements Update this AdvancementProgress' criteria and requirements
class: AdvancementRewards path: net/minecraft/advancements/AdvancementRewards method: deserialize (Lcom/google/gson/JsonObject;)Lnet/minecraft/advancements/AdvancementRewards; params: 0: json method: grant (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player class: AdvancementRewards$Builder path: net/minecraft/advancements/AdvancementRewards$Builder method: addExperience (I)Lnet/minecraft/advancements/AdvancementRewards$Builder; params: 1: experience Adds the given amount of experience. (Not a direct setter)
method: addRecipe (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/AdvancementRewards$Builder; params: 1: recipe Adds the given recipe to the rewards.
method: experience (I)Lnet/minecraft/advancements/AdvancementRewards$Builder; params: 0: experience Creates a new builder with the given amount of experience as a reward
method: recipe (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/AdvancementRewards$Builder; params: 0: recipe Creates a new builder with the given recipe as a reward.
class: CriteriaTriggers path: net/minecraft/advancements/CriteriaTriggers method: getCriterion (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/CriterionTrigger; params: 0: id method: register (Lnet/minecraft/advancements/CriterionTrigger;)Lnet/minecraft/advancements/CriterionTrigger; params: 0: criterion class: Criterion path: net/minecraft/advancements/Criterion method: criteriaFromJson (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/DeserializationContext;)Ljava/util/Map; params: 0: json, 1: conditionParser Deserializes all criterions defined within a JSON object.
method: criteriaFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/Map; params: 0: bus Read criteria from {@code buf}.
@return the read criteria. Each key-value pair consists of a {@code Criterion} and its name.
@see #serializeToNetwork(Map, PacketBuffer)
method: criterionFromJson (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/Criterion; params: 0: json, 1: conditionParser method: criterionFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/advancements/Criterion; params: 0: buffer method: serializeToNetwork (Ljava/util/Map;Lnet/minecraft/network/FriendlyByteBuf;)V params: 0: criteria, 1: buf Write {@code criteria} to {@code buf}.
@see #criteriaFromNetwork(PacketBuffer)
method: serializeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: CriterionProgress path: net/minecraft/advancements/CriterionProgress method: fromJson (Ljava/lang/String;)Lnet/minecraft/advancements/CriterionProgress; params: 0: dateTime method: fromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/advancements/CriterionProgress; params: 0: buf method: serializeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: CriterionTrigger path: net/minecraft/advancements/CriterionTrigger method: addPlayerListener (Lnet/minecraft/server/PlayerAdvancements;Lnet/minecraft/advancements/CriterionTrigger$Listener;)V params: 1: playerAdvancements, 2: listener method: createInstance (Lcom/google/gson/JsonObject;Lnet/minecraft/advancements/critereon/DeserializationContext;)Lnet/minecraft/advancements/CriterionTriggerInstance; params: 1: object, 2: conditions method: removePlayerListener (Lnet/minecraft/server/PlayerAdvancements;Lnet/minecraft/advancements/CriterionTrigger$Listener;)V params: 1: playerAdvancements, 2: listener method: removePlayerListeners (Lnet/minecraft/server/PlayerAdvancements;)V params: 1: playerAdvancements class: CriterionTrigger$Listener path: net/minecraft/advancements/CriterionTrigger$Listener method: run (Lnet/minecraft/server/PlayerAdvancements;)V params: 1: playerAdvancements class: CriterionTriggerInstance path: net/minecraft/advancements/CriterionTriggerInstance method: serializeToJson (Lnet/minecraft/advancements/critereon/SerializationContext;)Lcom/google/gson/JsonObject; params: 1: conditions class: DisplayInfo path: net/minecraft/advancements/DisplayInfo method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/advancements/DisplayInfo; params: 0: object method: fromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/advancements/DisplayInfo; params: 0: buf method: getIcon (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/ItemStack; params: 0: object method: serializeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf method: setLocation class: FrameType path: net/minecraft/advancements/FrameType method: byName (Ljava/lang/String;)Lnet/minecraft/advancements/FrameType; params: 0: name class: TreeNodePosition path: net/minecraft/advancements/TreeNodePosition method: addChild (Lnet/minecraft/advancements/Advancement;Lnet/minecraft/advancements/TreeNodePosition;)Lnet/minecraft/advancements/TreeNodePosition; params: 1: advancement, 2: previous method: apportion (Lnet/minecraft/advancements/TreeNodePosition;)Lnet/minecraft/advancements/TreeNodePosition; params: 1: node method: getAncestor (Lnet/minecraft/advancements/TreeNodePosition;Lnet/minecraft/advancements/TreeNodePosition;)Lnet/minecraft/advancements/TreeNodePosition; params: 1: self, 2: other method: moveSubtree (Lnet/minecraft/advancements/TreeNodePosition;F)V params: 1: node, 2: shift method: run (Lnet/minecraft/advancements/Advancement;)V params: 0: root method: secondWalk (FIF)F params: 1: offsetY, 2: columnX, 3: subtreeTopY method: thirdWalk client color block class: BlockColors path: net/minecraft/client/color/block/BlockColors method: addColoringState (Lnet/minecraft/world/level/block/state/properties/Property;[Lnet/minecraft/world/level/block/Block;)V params: 1: property, 2: blocks method: addColoringStates (Ljava/util/Set;[Lnet/minecraft/world/level/block/Block;)V params: 1: properties, 2: blocks method: getColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;I)I params: 1: blockState, 2: lightReader, 3: blockPos, 4: tintIndex method: getColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: level, 3: blockPos method: getColoringProperties (Lnet/minecraft/world/level/block/Block;)Ljava/util/Set; params: 1: block method: register (Lnet/minecraft/client/color/block/BlockColor;[Lnet/minecraft/world/level/block/Block;)V params: 1: blockColor, 2: blocks class: BlockTintCache path: net/minecraft/client/color/block/BlockTintCache method: findOrCreateChunkCache (II)[I params: 1: chunkX, 2: chunkZ method: getColor (Lnet/minecraft/core/BlockPos;Ljava/util/function/IntSupplier;)I params: 1: blockPos, 2: colorSupplier method: invalidateForChunk (II)V params: 1: chunkX, 2: chunkZ item class: ItemColors path: net/minecraft/client/color/item/ItemColors method: createDefault (Lnet/minecraft/client/color/block/BlockColors;)Lnet/minecraft/client/color/item/ItemColors; params: 0: colors method: getColor (Lnet/minecraft/world/item/ItemStack;I)I params: 1: stack, 2: tintIndex method: register (Lnet/minecraft/client/color/item/ItemColor;[Lnet/minecraft/world/level/ItemLike;)V params: 1: itemColor, 2: items gui chat class: ChatListener path: net/minecraft/client/gui/chat/ChatListener method: handle (Lnet/minecraft/network/chat/ChatType;Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: chatType, 2: message, 3: sender Called whenever this listener receives a chat message, if this listener is registered to the given type in {@link net.minecraft.client.gui.GuiIngame#chatListeners chatListeners}
class: NarratorChatListener path: net/minecraft/client/gui/chat/NarratorChatListener method: handle (Lnet/minecraft/network/chat/ChatType;Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: chatType, 2: message, 3: sender Called whenever this listener receives a chat message, if this listener is registered to the given type in {@link net.minecraft.client.gui.GuiIngame#chatListeners chatListeners}
method: sayNow (Ljava/lang/String;)V params: 1: msg method: updateNarratorStatus (Lnet/minecraft/client/NarratorStatus;)V params: 1: status class: OverlayChatListener path: net/minecraft/client/gui/chat/OverlayChatListener method: handle (Lnet/minecraft/network/chat/ChatType;Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: chatType, 2: message, 3: sender Called whenever this listener receives a chat message, if this listener is registered to the given type in {@link net.minecraft.client.gui.GuiIngame#chatListeners chatListeners}
class: StandardChatListener path: net/minecraft/client/gui/chat/StandardChatListener method: handle (Lnet/minecraft/network/chat/ChatType;Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: chatType, 2: message, 3: sender Called whenever this listener receives a chat message, if this listener is registered to the given type in {@link net.minecraft.client.gui.GuiIngame#chatListeners chatListeners}
components events class: AbstractContainerEventHandler path: net/minecraft/client/gui/components/events/AbstractContainerEventHandler method: setDragging method: setFocused (Lnet/minecraft/client/gui/components/events/GuiEventListener;)V params: 1: listener class: ContainerEventHandler path: net/minecraft/client/gui/components/events/ContainerEventHandler method: changeFocus method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: getChildAt (DD)Ljava/util/Optional; params: 1: mouseX, 3: mouseY Returns the first event listener that intersects with the mouse coordinates.
method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: keyReleased (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: lambda$mouseReleased$0 (DDILnet/minecraft/client/gui/components/events/GuiEventListener;)Z params: 5: guiEventListener method: lambda$mouseScrolled$1 (DDDLnet/minecraft/client/gui/components/events/GuiEventListener;)Z params: 6: guiEventListener method: magicalSpecialHackyFocus (Lnet/minecraft/client/gui/components/events/GuiEventListener;)V params: 1: eventListener method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: setDragging (Z)V params: 1: isDragging method: setFocused (Lnet/minecraft/client/gui/components/events/GuiEventListener;)V params: 1: listener method: setInitialFocus (Lnet/minecraft/client/gui/components/events/GuiEventListener;)V params: 1: eventListener class: GuiEventListener path: net/minecraft/client/gui/components/events/GuiEventListener method: changeFocus method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: keyReleased (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseMoved (DD)V params: 1: mouseX, 3: mouseY method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta spectator class: SpectatorGui path: net/minecraft/client/gui/components/spectator/SpectatorGui method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: onHotbarSelected method: onMouseScrolled method: onSpectatorMenuClosed (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu method: renderHotbar (Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: poseStack method: renderPage (Lcom/mojang/blaze3d/vertex/PoseStack;FIILnet/minecraft/client/gui/spectator/categories/SpectatorPage;)V params: 1: poseStack, 5: spectatorPage method: renderSlot (Lcom/mojang/blaze3d/vertex/PoseStack;IIFFLnet/minecraft/client/gui/spectator/SpectatorMenuItem;)V params: 1: poseStack, 6: spectatorMenuItem method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack toasts class: AdvancementToast path: net/minecraft/client/gui/components/toasts/AdvancementToast method: <init> (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/components/toasts/ToastComponent;J)Lnet/minecraft/client/gui/components/toasts/Toast$Visibility; params: 1: poseStack, 2: toastComponent class: RecipeToast path: net/minecraft/client/gui/components/toasts/RecipeToast method: <init> (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: addItem (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: addOrUpdate (Lnet/minecraft/client/gui/components/toasts/ToastComponent;Lnet/minecraft/world/item/crafting/Recipe;)V params: 0: toastGui, 1: recipe method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/components/toasts/ToastComponent;J)Lnet/minecraft/client/gui/components/toasts/Toast$Visibility; params: 1: poseStack, 2: toastComponent class: SystemToast path: net/minecraft/client/gui/components/toasts/SystemToast method: <init> (Lnet/minecraft/client/gui/components/toasts/SystemToast$SystemToastIds;Lnet/minecraft/network/chat/Component;Ljava/util/List;I)V params: 1: id, 2: title, 3: messageLines, 4: width method: <init> (Lnet/minecraft/client/gui/components/toasts/SystemToast$SystemToastIds;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)V params: 1: id, 2: title, 3: message method: add (Lnet/minecraft/client/gui/components/toasts/ToastComponent;Lnet/minecraft/client/gui/components/toasts/SystemToast$SystemToastIds;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)V params: 0: toastComponent, 1: id, 2: title, 3: message method: addOrUpdate (Lnet/minecraft/client/gui/components/toasts/ToastComponent;Lnet/minecraft/client/gui/components/toasts/SystemToast$SystemToastIds;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)V params: 0: toastComponent, 1: id, 2: title, 3: message method: multiline (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/components/toasts/SystemToast$SystemToastIds;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)Lnet/minecraft/client/gui/components/toasts/SystemToast; params: 0: minecraft, 1: id, 2: title, 3: message method: nullToEmpty (Lnet/minecraft/network/chat/Component;)Lcom/google/common/collect/ImmutableList; params: 0: message method: onPackCopyFailure (Lnet/minecraft/client/Minecraft;Ljava/lang/String;)V params: 0: minecraft, 1: message method: onWorldAccessFailure (Lnet/minecraft/client/Minecraft;Ljava/lang/String;)V params: 0: minecraft, 1: message method: onWorldDeleteFailure (Lnet/minecraft/client/Minecraft;Ljava/lang/String;)V params: 0: minecraft, 1: message method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/components/toasts/ToastComponent;J)Lnet/minecraft/client/gui/components/toasts/Toast$Visibility; params: 1: poseStack, 2: toastComponent method: renderBackgroundRow (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/components/toasts/ToastComponent;IIII)V params: 1: poseStack, 2: toastComponent method: reset (Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)V params: 1: title, 2: message class: Toast path: net/minecraft/client/gui/components/toasts/Toast method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/components/toasts/ToastComponent;J)Lnet/minecraft/client/gui/components/toasts/Toast$Visibility; params: 1: poseStack, 2: toastComponent class: Toast$Visibility path: net/minecraft/client/gui/components/toasts/Toast$Visibility method: <init> (Ljava/lang/String;ILnet/minecraft/sounds/SoundEvent;)V params: 3: soundEvent method: playSound (Lnet/minecraft/client/sounds/SoundManager;)V params: 1: handler class: ToastComponent path: net/minecraft/client/gui/components/toasts/ToastComponent method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: addToast (Lnet/minecraft/client/gui/components/toasts/Toast;)V params: 1: toast method: render (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack class: ToastComponent$ToastInstance path: net/minecraft/client/gui/components/toasts/ToastComponent$ToastInstance method: <init> (Lnet/minecraft/client/gui/components/toasts/ToastComponent;Lnet/minecraft/client/gui/components/toasts/Toast;)V params: 2: toast method: render (IILcom/mojang/blaze3d/vertex/PoseStack;)Z params: 3: poseStack class: TutorialToast path: net/minecraft/client/gui/components/toasts/TutorialToast method: <init> (Lnet/minecraft/client/gui/components/toasts/TutorialToast$Icons;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;Z)V params: 1: icon, 2: title, 3: message, 4: progressable method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/components/toasts/ToastComponent;J)Lnet/minecraft/client/gui/components/toasts/Toast$Visibility; params: 1: poseStack, 2: toastComponent method: updateProgress class: TutorialToast$Icons path: net/minecraft/client/gui/components/toasts/TutorialToast$Icons method: <init> (Ljava/lang/String;III)V params: 3: x, 4: y method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/GuiComponent;II)V params: 1: poseStack, 2: guiComponent, 3: x, 4: y class: AbstractButton path: net/minecraft/client/gui/components/AbstractButton method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: onClick (DD)V params: 1: mouseX, 3: mouseY class: AbstractOptionSliderButton path: net/minecraft/client/gui/components/AbstractOptionSliderButton method: <init> (Lnet/minecraft/client/Options;IIIID)V params: 1: options, 2: x, 3: y, 4: width, 5: height, 6: value class: AbstractSelectionList path: net/minecraft/client/gui/components/AbstractSelectionList method: <init> (Lnet/minecraft/client/Minecraft;IIIII)V params: 1: minecraft, 2: width, 3: height, 4: y0, 5: y1, 6: itemHeight method: addEntry (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)I params: 1: entry method: centerScrollOn (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)V params: 1: entry method: ensureVisible (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)V params: 1: entry method: getEntry (I)Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry; params: 1: index method: getEntryAtPosition (DD)Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry; params: 1: mouseX, 3: mouseY method: getRowBottom method: getRowTop method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: isSelectedItem method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: moveSelection (Lnet/minecraft/client/gui/components/AbstractSelectionList$SelectionDirection;)V params: 1: ordering method: moveSelection (Lnet/minecraft/client/gui/components/AbstractSelectionList$SelectionDirection;Ljava/util/function/Predicate;)V params: 1: ordering, 2: filter method: remove (I)Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry; params: 1: index method: removeEntry (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)Z params: 1: entry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: renderDecorations (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: mouseX, 3: mouseY method: renderHeader (Lcom/mojang/blaze3d/vertex/PoseStack;IILcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: poseStack, 2: x, 3: y, 4: tessellator method: renderList (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIF)V params: 1: matrixStack, 2: x, 3: y, 4: mouseX, 5: mouseY, 6: partialTicks method: replaceEntries (Ljava/util/Collection;)V params: 1: entries method: scroll method: setLeftPos method: setRenderBackground (Z)V params: 1: renderBackground method: setRenderHeader (ZI)V params: 1: value, 2: height method: setRenderSelection method: setRenderTopAndBottom (Z)V params: 1: renderTopAndButton method: setScrollAmount method: setSelected (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)V params: 1: entry method: updateScrollingState (DDI)V params: 1: mouseX, 3: mouseY, 5: button method: updateSize (IIII)V params: 1: width, 2: height, 3: y0, 4: y1 class: AbstractSelectionList$Entry path: net/minecraft/client/gui/components/AbstractSelectionList$Entry method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: AbstractSliderButton path: net/minecraft/client/gui/components/AbstractSliderButton method: <init> (IIIILnet/minecraft/network/chat/Component;D)V params: 1: x, 2: y, 3: width, 4: height, 5: message, 6: value method: getYImage method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: onClick (DD)V params: 1: mouseX, 3: mouseY method: onDrag (DDDD)V params: 1: mouseX, 3: mouseY, 5: dragX, 7: dragY method: onRelease (DD)V params: 1: mouseX, 3: mouseY method: playDownSound (Lnet/minecraft/client/sounds/SoundManager;)V params: 1: handler method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/Minecraft;II)V params: 1: matrixStack, 2: minecraft, 3: mouseX, 4: mouseY method: setValue method: setValueFromMouse class: AbstractWidget path: net/minecraft/client/gui/components/AbstractWidget method: <init> (IIIILnet/minecraft/network/chat/Component;)V params: 1: x, 2: y, 3: width, 4: height, 5: message method: changeFocus method: clicked (DD)Z params: 1: mouseX, 3: mouseY method: getYImage method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: isValidClickButton method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: onClick (DD)V params: 1: mouseX, 3: mouseY method: onDrag (DDDD)V params: 1: mouseX, 3: mouseY, 5: dragX, 7: dragY method: onFocusedChanged method: onRelease (DD)V params: 1: mouseX, 3: mouseY method: playDownSound (Lnet/minecraft/client/sounds/SoundManager;)V params: 1: handler method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/Minecraft;II)V params: 1: poseStack, 2: minecraft, 3: mouseX, 4: mouseY method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: poseStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderToolTip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: mouseX, 3: mouseY method: setAlpha method: setFocused method: setMessage (Lnet/minecraft/network/chat/Component;)V params: 1: message method: setWidth class: BossHealthOverlay path: net/minecraft/client/gui/components/BossHealthOverlay method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: drawBar (Lcom/mojang/blaze3d/vertex/PoseStack;IILnet/minecraft/world/BossEvent;)V params: 1: poseStack, 2: x, 3: y, 4: bossEvent method: render (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: update (Lnet/minecraft/network/protocol/game/ClientboundBossEventPacket;)V params: 1: packet class: Button path: net/minecraft/client/gui/components/Button method: <init> (IIIILnet/minecraft/network/chat/Component;Lnet/minecraft/client/gui/components/Button$OnPress;)V params: 1: x, 2: y, 3: width, 4: height, 5: message, 6: onPress method: <init> (IIIILnet/minecraft/network/chat/Component;Lnet/minecraft/client/gui/components/Button$OnPress;Lnet/minecraft/client/gui/components/Button$OnTooltip;)V params: 1: x, 2: y, 3: width, 4: height, 5: message, 6: onPress, 7: onTooltip method: lambda$static$0 (Lnet/minecraft/client/gui/components/Button;Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 0: button, 1: poseStack, 2: mouseX, 3: mouseY method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderToolTip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: mouseX, 3: mouseY class: Button$OnPress path: net/minecraft/client/gui/components/Button$OnPress method: onPress (Lnet/minecraft/client/gui/components/Button;)V params: 1: button class: Button$OnTooltip path: net/minecraft/client/gui/components/Button$OnTooltip method: onTooltip (Lnet/minecraft/client/gui/components/Button;Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: button, 2: poseStack, 3: mouseX, 4: mouseY class: ChatComponent path: net/minecraft/client/gui/components/ChatComponent field: allMessages Ljava/util/List; Chat lines to be displayed in the chat box
field: recentChat Ljava/util/List; A list of messages previously sent through the chat GUI
field: trimmedMessages Ljava/util/List; List of the ChatLines currently drawn
method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: addMessage (Lnet/minecraft/network/chat/Component;)V params: 1: chatComponent method: addMessage (Lnet/minecraft/network/chat/Component;I)V params: 1: chatComponent, 2: chatLineId prints the ChatComponent to Chat. If the ID is not 0, deletes an existing Chat Line of that ID from the GUI
method: addMessage (Lnet/minecraft/network/chat/Component;IIZ)V params: 1: message method: addRecentChat (Ljava/lang/String;)V params: 1: message Adds this string to the list of sent messages, for recall using the up/down arrow keys
method: clearMessages (Z)V params: 1: clearSentMsgHistory Clears the chat.
method: enqueueMessage (Lnet/minecraft/network/chat/Component;)V params: 1: message method: getRecentChat ()Ljava/util/List; Gets the list of messages previously sent through the chat GUI
method: getTimeFactor method: isChatFocused ()Z Returns true if the chat GUI is open
method: removeById (I)V params: 1: id finds and deletes a Chat line by ID
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;I)V params: 1: poseStack method: resetChatScroll ()V Resets the chat scroll (executed when the GUI is closed, among others)
method: scrollChat class: Checkbox path: net/minecraft/client/gui/components/Checkbox method: <init> (IIIILnet/minecraft/network/chat/Component;Z)V params: 1: x, 2: y, 3: width, 4: height, 5: message, 6: selected method: <init> (IIIILnet/minecraft/network/chat/Component;ZZ)V params: 1: x, 2: y, 3: width, 4: height, 5: message, 6: selected, 7: showLabel method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: CommandSuggestions path: net/minecraft/client/gui/components/CommandSuggestions method: <init> (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/screens/Screen;Lnet/minecraft/client/gui/components/EditBox;Lnet/minecraft/client/gui/Font;ZZIIZI)V params: 1: minecraft, 2: screen, 3: input, 4: font, 5: commandsOnly, 6: onlyShowIfCursorPastError, 7: lineStartOffset, 8: suggestionLineLimit, 9: anchorToBottom, 10: fillColor method: calculateSuggestionSuffix (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; params: 0: inputText, 1: suggestionText method: fillNodeUsage (Lnet/minecraft/ChatFormatting;)V params: 1: formatting method: formatChat (Ljava/lang/String;I)Lnet/minecraft/util/FormattedCharSequence; params: 1: command, 2: maxLength method: formatText (Lcom/mojang/brigadier/ParseResults;Ljava/lang/String;I)Lnet/minecraft/util/FormattedCharSequence; params: 0: provider, 1: command, 2: maxLength method: getExceptionMessage (Lcom/mojang/brigadier/exceptions/CommandSyntaxException;)Lnet/minecraft/util/FormattedCharSequence; params: 0: exception method: getLastWordIndex (Ljava/lang/String;)I params: 0: text method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: mouseButton method: mouseScrolled method: render (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: mouseX, 3: mouseY method: setAllowSuggestions (Z)V params: 1: autoSuggest method: showSuggestions (Z)V params: 1: narrateFirstSuggestion method: sortSuggestions (Lcom/mojang/brigadier/suggestion/Suggestions;)Ljava/util/List; params: 1: suggestions class: CommandSuggestions$SuggestionsList path: net/minecraft/client/gui/components/CommandSuggestions$SuggestionsList method: cycle method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (III)Z params: 1: mouseX, 2: mouseY, 3: mouseButton method: mouseScrolled method: render (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: mouseX, 3: mouseY method: select class: ComponentRenderUtils path: net/minecraft/client/gui/components/ComponentRenderUtils method: stripColor (Ljava/lang/String;)Ljava/lang/String; params: 0: text class: ContainerObjectSelectionList path: net/minecraft/client/gui/components/ContainerObjectSelectionList method: changeFocus method: isSelectedItem class: ContainerObjectSelectionList$Entry path: net/minecraft/client/gui/components/ContainerObjectSelectionList$Entry method: setDragging method: setFocused (Lnet/minecraft/client/gui/components/events/GuiEventListener;)V params: 1: listener class: DebugScreenOverlay path: net/minecraft/client/gui/components/DebugScreenOverlay method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: bytesToMegabytes method: colorLerp (IIF)I params: 1: col1, 2: col2, 3: factor method: drawChart (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/util/FrameTimer;IIZ)V params: 1: poseStack, 2: frameTimer method: drawGameInformation (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: drawSystemInformation (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: getPropertyValueString (Ljava/util/Map$Entry;)Ljava/lang/String; params: 1: entry method: getSampleColor (IIII)I params: 1: height, 2: heightMin, 3: heightMid, 4: heightMax method: lambda$getGameInformation$1 (Lit/unimi/dsi/fastutil/objects/Object2IntMap;Lnet/minecraft/world/entity/MobCategory;)Ljava/lang/String; params: 1: mobCategory method: lambda$getLevel$2 (Lnet/minecraft/client/server/IntegratedServer;)Ljava/util/Optional; params: 1: integratedServer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack class: EditBox path: net/minecraft/client/gui/components/EditBox field: canLoseFocus Z if true the textbox can lose focus by clicking elsewhere on the screen
field: displayPos I The current character index that should be used as start of the rendered text.
field: filter Ljava/util/function/Predicate; Called to check if the text is valid
field: highlightPos I other selection position, maybe the same as the cursor
field: isEditable Z If this value is true along with isFocused, keyTyped will process the keys.
field: value Ljava/lang/String; Has the current text being edited on the textbox.
method: <init> (Lnet/minecraft/client/gui/Font;IIIILnet/minecraft/client/gui/components/EditBox;Lnet/minecraft/network/chat/Component;)V params: 1: font, 2: x, 3: y, 4: width, 5: height, 7: message method: <init> (Lnet/minecraft/client/gui/Font;IIIILnet/minecraft/network/chat/Component;)V params: 1: font, 2: x, 3: y, 4: width, 5: height, 6: message method: changeFocus method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: deleteChars (I)V params: 1: num Deletes the given number of characters from the current cursor's position, unless there is currently a selection, in which case the selection is deleted instead.
method: deleteWords (I)V params: 1: num Deletes the given number of words from the current cursor's position, unless there is currently a selection, in which case the selection is deleted instead.
method: getCursorPos method: getCursorPosition ()I returns the current position of the cursor
method: getHighlighted ()Ljava/lang/String; returns the text between the cursor and selectionEnd
method: getInnerWidth ()I returns the width of the textbox depending on if background drawing is enabled
method: getMaxLength ()I returns the maximum number of character that can be contained in this textbox
method: getValue ()Ljava/lang/String; Returns the contents of the textbox
method: getWordPosition (I)I params: 1: numWords Gets the starting index of the word at the specified number of words away from the cursor position.
method: getWordPosition (II)I params: 1: n, 2: pos Gets the starting index of the word at a distance of the specified number of words away from the given position.
method: getWordPosition (IIZ)I params: 1: n, 2: pos, 3: skipWs Like getNthWordFromPos (which wraps this), but adds option for skipping consecutive spaces
method: insertText (Ljava/lang/String;)V params: 1: textToWrite Adds the given text after the cursor, or replaces the currently selected text if there is a selection.
method: isBordered ()Z Gets whether the background and outline of this text box should be drawn (true if so).
method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: isVisible ()Z returns true if this textbox is visible
method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: moveCursor (I)V params: 1: delta Moves the text cursor by a specified number of characters and clears the selection
method: moveCursorTo (I)V params: 1: pos Sets the current position of the cursor.
method: moveCursorToEnd ()V Moves the cursor to the very end of this text box.
method: moveCursorToStart ()V Moves the cursor to the very start of this text box.
method: onFocusedChanged method: onValueChange (Ljava/lang/String;)V params: 1: newText method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderHighlight (IIII)V params: 1: startX, 2: startY, 3: endX, 4: endY Draws the blue selection box.
method: setBordered (Z)V params: 1: enableBackgroundDrawing Sets whether or not the background and outline of this text box should be drawn.
method: setCanLoseFocus (Z)V params: 1: canLoseFocus Sets whether this text box loses focus when something other than it is clicked.
method: setCursorPosition method: setEditable (Z)V params: 1: enabled Sets whether this text box is enabled. Disabled text boxes cannot be typed in.
method: setFilter (Ljava/util/function/Predicate;)V params: 1: validator method: setFocus (Z)V params: 1: isFocused Sets focus to this gui element
method: setFormatter (Ljava/util/function/BiFunction;)V params: 1: textFormatter method: setHighlightPos (I)V params: 1: position Sets the position of the selection anchor (the selection anchor and the cursor position mark the edges of the selection). If the anchor is set beyond the bounds of the current text, it will be put back inside.
method: setMaxLength (I)V params: 1: length Sets the maximum length for the text in this text box. If the current text is longer than this length, the current text will be trimmed.
method: setResponder (Ljava/util/function/Consumer;)V params: 1: responder method: setSuggestion (Ljava/lang/String;)V params: 1: suggestion method: setTextColor (I)V params: 1: color Sets the color to use when drawing this text box's text. A different color is used if this text box is disabled.
method: setTextColorUneditable (I)V params: 1: color Sets the color to use for text in this text box when this text box is disabled.
method: setValue (Ljava/lang/String;)V params: 1: text Sets the text of the textbox, and moves the cursor to the end.
method: setVisible (Z)V params: 1: isVisible Sets whether or not this textbox is visible
method: setX method: tick ()V Increments the cursor counter
class: ImageButton path: net/minecraft/client/gui/components/ImageButton method: <init> (IIIIIIILnet/minecraft/resources/ResourceLocation;IILnet/minecraft/client/gui/components/Button$OnPress;)V params: 1: x, 2: y, 3: width, 4: height, 5: xTexStart, 6: yTexStart, 7: yDiffTex, 8: resourceLocation, 9: textureWidth, 10: textureHeight, 11: onPress method: <init> (IIIIIIILnet/minecraft/resources/ResourceLocation;IILnet/minecraft/client/gui/components/Button$OnPress;Lnet/minecraft/client/gui/components/Button$OnTooltip;Lnet/minecraft/network/chat/Component;)V params: 1: x, 2: y, 3: width, 4: height, 5: xTexStart, 6: yTexStart, 7: yDiffTex, 8: resourceLocation, 9: textureWidth, 10: textureHeight, 11: onPress, 12: onTooltip, 13: message method: <init> (IIIIIIILnet/minecraft/resources/ResourceLocation;IILnet/minecraft/client/gui/components/Button$OnPress;Lnet/minecraft/network/chat/Component;)V params: 1: x, 2: y, 3: width, 4: height, 5: xTexStart, 6: yTexStart, 7: yDiffTex, 8: resourceLocation, 9: textureWidth, 10: textureHeight, 11: onPress, 12: message method: <init> (IIIIIIILnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/gui/components/Button$OnPress;)V params: 1: x, 2: y, 3: width, 4: height, 5: xTexStart, 6: yTexStart, 7: yDiffTex, 8: resourceLocation, 9: onPress method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: setPosition class: LockIconButton path: net/minecraft/client/gui/components/LockIconButton method: <init> (IILnet/minecraft/client/gui/components/Button$OnPress;)V params: 1: x, 2: y, 3: onPress method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: setLocked class: LockIconButton$Icon path: net/minecraft/client/gui/components/LockIconButton$Icon method: <init> (Ljava/lang/String;III)V params: 3: x, 4: y class: ObjectSelectionList path: net/minecraft/client/gui/components/ObjectSelectionList method: changeFocus class: ObjectSelectionList$Entry path: net/minecraft/client/gui/components/ObjectSelectionList$Entry method: changeFocus class: OptionsList path: net/minecraft/client/gui/components/OptionsList method: addBig (Lnet/minecraft/client/Option;)I params: 1: option method: addSmall (Lnet/minecraft/client/Option;Lnet/minecraft/client/Option;)V params: 1: leftOption, 2: rightOption method: addSmall ([Lnet/minecraft/client/Option;)V params: 1: options method: findOption (Lnet/minecraft/client/Option;)Lnet/minecraft/client/gui/components/AbstractWidget; params: 1: option method: getMouseOver (DD)Ljava/util/Optional; params: 1: mouseX, 3: mouseY class: OptionsList$Entry path: net/minecraft/client/gui/components/OptionsList$Entry method: big (Lnet/minecraft/client/Options;ILnet/minecraft/client/Option;)Lnet/minecraft/client/gui/components/OptionsList$Entry; params: 0: settings, 1: guiWidth, 2: option Creates an options row with button for the specified option
method: lambda$render$0 (ILcom/mojang/blaze3d/vertex/PoseStack;IIFLnet/minecraft/client/gui/components/AbstractWidget;)V params: 5: widget method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks method: small (Lnet/minecraft/client/Options;ILnet/minecraft/client/Option;Lnet/minecraft/client/Option;)Lnet/minecraft/client/gui/components/OptionsList$Entry; params: 0: settings, 1: guiWidth, 2: leftOption, 3: rightOption Creates an options row with 1 or 2 buttons for specified options
class: PlayerTabOverlay path: net/minecraft/client/gui/components/PlayerTabOverlay field: visibilityId J The last time the playerlist was opened (went from not being renderd, to being rendered)
field: visible Z Weither or not the playerlist is currently being rendered
method: <init> (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/Gui;)V params: 1: minecraft, 2: gui method: decorateName (Lnet/minecraft/client/multiplayer/PlayerInfo;Lnet/minecraft/network/chat/MutableComponent;)Lnet/minecraft/network/chat/Component; params: 1: playerInfo, 2: name method: getNameForDisplay (Lnet/minecraft/client/multiplayer/PlayerInfo;)Lnet/minecraft/network/chat/Component; params: 1: playerInfo method: render (Lcom/mojang/blaze3d/vertex/PoseStack;ILnet/minecraft/world/scores/Scoreboard;Lnet/minecraft/world/scores/Objective;)V params: 1: poseStack, 3: scoreboard, 4: objective method: renderPingIcon (Lcom/mojang/blaze3d/vertex/PoseStack;IIILnet/minecraft/client/multiplayer/PlayerInfo;)V params: 1: poseStack, 5: playerInfo method: renderTablistScore (Lnet/minecraft/world/scores/Objective;ILjava/lang/String;IILnet/minecraft/client/multiplayer/PlayerInfo;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: objective, 6: playerInfo, 7: poseStack method: setFooter (Lnet/minecraft/network/chat/Component;)V params: 1: footer method: setHeader (Lnet/minecraft/network/chat/Component;)V params: 1: header method: setVisible (Z)V params: 1: visible Called by GuiIngame to update the information stored in the playerlist, does not actually render the list, however.
class: StateSwitchingButton path: net/minecraft/client/gui/components/StateSwitchingButton method: <init> (IIIIZ)V params: 1: x, 2: y, 3: width, 4: height, 5: initialState method: initTextureValues (IIIILnet/minecraft/resources/ResourceLocation;)V params: 1: xTexStart, 2: yTexStart, 3: xDiffTex, 4: yDiffTex, 5: resourceLocation method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: setPosition method: setStateTriggered class: SubtitleOverlay path: net/minecraft/client/gui/components/SubtitleOverlay method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: onPlaySound (Lnet/minecraft/client/resources/sounds/SoundInstance;Lnet/minecraft/client/sounds/WeighedSoundEvents;)V params: 1: sound, 2: accessor method: render (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack class: SubtitleOverlay$Subtitle path: net/minecraft/client/gui/components/SubtitleOverlay$Subtitle method: refresh (Lnet/minecraft/world/phys/Vec3;)V params: 1: location class: VolumeSlider path: net/minecraft/client/gui/components/VolumeSlider method: <init> (Lnet/minecraft/client/Minecraft;IILnet/minecraft/sounds/SoundSource;I)V params: 1: minecraft, 2: x, 3: y, 4: source, 5: width class: Widget path: net/minecraft/client/gui/components/Widget method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: poseStack, 2: mouseX, 3: mouseY, 4: partialTicks font glyphs class: BakedGlyph path: net/minecraft/client/gui/font/glyphs/BakedGlyph method: render (ZFFLcom/mojang/math/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFI)V params: 1: italic, 2: x, 3: y, 4: matrix, 5: buffer, 6: red, 7: green, 8: blue, 9: alpha, 10: packedLight method: renderEffect (Lnet/minecraft/client/gui/font/glyphs/BakedGlyph$Effect;Lcom/mojang/math/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;I)V params: 1: effect, 2: matrix, 3: buffer, 4: packedLight class: EmptyGlyph path: net/minecraft/client/gui/font/glyphs/EmptyGlyph method: render (ZFFLcom/mojang/math/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFI)V params: 1: italic, 2: x, 3: y, 4: matrix, 5: buffer, 6: red, 7: green, 8: blue, 9: alpha, 10: packedLight class: MissingGlyph path: net/minecraft/client/gui/font/glyphs/MissingGlyph method: upload (II)V params: 1: xOffset, 2: yOffset class: WhiteGlyph path: net/minecraft/client/gui/font/glyphs/WhiteGlyph method: upload (II)V params: 1: xOffset, 2: yOffset providers class: BitmapProvider path: net/minecraft/client/gui/font/providers/BitmapProvider method: getGlyph (I)Lcom/mojang/blaze3d/font/RawGlyph; params: 1: character class: BitmapProvider$Builder path: net/minecraft/client/gui/font/providers/BitmapProvider$Builder method: create (Lnet/minecraft/server/packs/resources/ResourceManager;)Lcom/mojang/blaze3d/font/GlyphProvider; params: 1: resourceManager method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/gui/font/providers/BitmapProvider$Builder; params: 0: json method: getActualGlyphWidth (Lcom/mojang/blaze3d/platform/NativeImage;IIII)I params: 1: nativeImage, 2: charWidth, 3: charHeightInsp, 4: column, 5: row class: BitmapProvider$Glyph path: net/minecraft/client/gui/font/providers/BitmapProvider$Glyph method: upload (II)V params: 1: xOffset, 2: yOffset class: GlyphProviderBuilder path: net/minecraft/client/gui/font/providers/GlyphProviderBuilder method: create (Lnet/minecraft/server/packs/resources/ResourceManager;)Lcom/mojang/blaze3d/font/GlyphProvider; params: 1: resourceManager class: GlyphProviderBuilderType path: net/minecraft/client/gui/font/providers/GlyphProviderBuilderType method: byName (Ljava/lang/String;)Lnet/minecraft/client/gui/font/providers/GlyphProviderBuilderType; params: 0: type method: create (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/gui/font/providers/GlyphProviderBuilder; params: 1: json class: LegacyUnicodeBitmapsProvider path: net/minecraft/client/gui/font/providers/LegacyUnicodeBitmapsProvider method: getGlyph (I)Lcom/mojang/blaze3d/font/RawGlyph; params: 1: character class: LegacyUnicodeBitmapsProvider$Builder path: net/minecraft/client/gui/font/providers/LegacyUnicodeBitmapsProvider$Builder method: create (Lnet/minecraft/server/packs/resources/ResourceManager;)Lcom/mojang/blaze3d/font/GlyphProvider; params: 1: resourceManager class: LegacyUnicodeBitmapsProvider$Glyph path: net/minecraft/client/gui/font/providers/LegacyUnicodeBitmapsProvider$Glyph method: upload (II)V params: 1: xOffset, 2: yOffset class: TrueTypeGlyphProviderBuilder path: net/minecraft/client/gui/font/providers/TrueTypeGlyphProviderBuilder method: <init> (Lnet/minecraft/resources/ResourceLocation;FFFFLjava/lang/String;)V params: 1: location, 2: size, 3: oversample, 4: shiftX, 5: shiftY, 6: skip method: create (Lnet/minecraft/server/packs/resources/ResourceManager;)Lcom/mojang/blaze3d/font/GlyphProvider; params: 1: resourceManager method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/gui/font/providers/GlyphProviderBuilder; params: 0: json class: AllMissingGlyphProvider path: net/minecraft/client/gui/font/AllMissingGlyphProvider method: getGlyph (I)Lcom/mojang/blaze3d/font/RawGlyph; params: 1: character class: FontManager path: net/minecraft/client/gui/font/FontManager method: setRenames (Ljava/util/Map;)V params: 1: unicodeForcedMap class: FontManager$1 path: net/minecraft/client/gui/font/FontManager$1 method: apply (Ljava/util/Map;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Ljava/util/Map; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
class: FontSet path: net/minecraft/client/gui/font/FontSet method: getRandomGlyph (Lcom/mojang/blaze3d/font/GlyphInfo;)Lnet/minecraft/client/gui/font/glyphs/BakedGlyph; params: 1: glyph method: reload (Ljava/util/List;)V params: 1: glyphProviders method: stitch (Lcom/mojang/blaze3d/font/RawGlyph;)Lnet/minecraft/client/gui/font/glyphs/BakedGlyph; params: 1: glyphInfo class: FontTexture path: net/minecraft/client/gui/font/FontTexture method: add (Lcom/mojang/blaze3d/font/RawGlyph;)Lnet/minecraft/client/gui/font/glyphs/BakedGlyph; params: 1: glyphInfo method: load (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: manager class: TextFieldHelper path: net/minecraft/client/gui/font/TextFieldHelper method: <init> (Ljava/util/function/Supplier;Ljava/util/function/Consumer;Ljava/util/function/Supplier;Ljava/util/function/Consumer;Ljava/util/function/Predicate;)V params: 1: getMessage, 2: setMessage, 3: getClipboard, 4: setClipboard, 5: stringValidator method: charTyped method: clampToMsgLength method: createClipboardGetter (Lnet/minecraft/client/Minecraft;)Ljava/util/function/Supplier; params: 0: minecraft method: createClipboardSetter (Lnet/minecraft/client/Minecraft;)Ljava/util/function/Consumer; params: 0: minecraft method: deleteSelection (Ljava/lang/String;)Ljava/lang/String; params: 1: text method: getClipboardContents (Lnet/minecraft/client/Minecraft;)Ljava/lang/String; params: 0: minecraft method: getSelected (Ljava/lang/String;)Ljava/lang/String; params: 1: text method: insertText (Ljava/lang/String;)V params: 1: text method: insertText (Ljava/lang/String;Ljava/lang/String;)V params: 1: text, 2: clipboardText method: keyPressed method: moveByChars (IZ)V params: 1: direction, 2: keepSelection method: moveByWords (IZ)V params: 1: direction, 2: keepSelection method: removeCharsFromCursor (I)V params: 1: bidiDirection method: resetSelectionIfNeeded (Z)V params: 1: keepSelection method: setClipboardContents (Lnet/minecraft/client/Minecraft;Ljava/lang/String;)V params: 0: minecraft, 1: text method: setCursorPos (IZ)V params: 1: textIndex, 2: keepSelection method: setCursorToEnd (Z)V params: 1: keepSelection method: setCursorToStart (Z)V params: 1: keepSelection method: setSelectionRange (II)V params: 1: selectionStart, 2: selectionEnd screens achievement class: StatsScreen path: net/minecraft/client/gui/screens/achievement/StatsScreen field: isLoading Z When true, the game will be paused when the gui is shown
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: StatsScreen$GeneralStatisticsList path: net/minecraft/client/gui/screens/achievement/StatsScreen$GeneralStatisticsList method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack class: StatsScreen$GeneralStatisticsList$Entry path: net/minecraft/client/gui/screens/achievement/StatsScreen$GeneralStatisticsList$Entry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: StatsScreen$ItemStatisticsList path: net/minecraft/client/gui/screens/achievement/StatsScreen$ItemStatisticsList method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderDecorations (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: mouseX, 3: mouseY method: renderHeader (Lcom/mojang/blaze3d/vertex/PoseStack;IILcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: matrixStack, 2: x, 3: y, 4: tessellator class: StatsScreen$MobsStatisticsList path: net/minecraft/client/gui/screens/achievement/StatsScreen$MobsStatisticsList method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack advancements class: AdvancementTab path: net/minecraft/client/gui/screens/advancements/AdvancementTab method: addAdvancement (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: addWidget (Lnet/minecraft/client/gui/screens/advancements/AdvancementWidget;Lnet/minecraft/advancements/Advancement;)V params: 1: gui, 2: advancement method: create (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/gui/screens/advancements/AdvancementsScreen;ILnet/minecraft/advancements/Advancement;)Lnet/minecraft/client/gui/screens/advancements/AdvancementTab; params: 0: minecraft, 1: screen, 2: tabIndex, 3: advancement method: drawContents (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: drawIcon (IILnet/minecraft/client/renderer/entity/ItemRenderer;)V params: 1: offsetX, 2: offsetY, 3: renderer method: drawTab (Lcom/mojang/blaze3d/vertex/PoseStack;IIZ)V params: 1: matrixStack, 2: offsetX, 3: offsetY, 4: isSelected method: drawTooltips (Lcom/mojang/blaze3d/vertex/PoseStack;IIII)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: width, 5: height method: getWidget (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/client/gui/screens/advancements/AdvancementWidget; params: 1: advancement method: isMouseOver (IIDD)Z params: 1: offsetX, 2: offsetY, 3: mouseX, 5: mouseY method: scroll (DD)V params: 1: dragX, 3: dragY class: AdvancementTabType path: net/minecraft/client/gui/screens/advancements/AdvancementTabType method: draw (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/GuiComponent;IIZI)V params: 1: matrixStack, 2: abstractGui, 3: offsetX, 4: offsetY, 5: isSelected, 6: index method: drawIcon (IIILnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/world/item/ItemStack;)V params: 1: offsetX, 2: offsetY, 3: index, 4: renderItem, 5: stack method: getX method: getY method: isMouseOver (IIIDD)Z params: 1: offsetX, 2: offsetY, 3: index, 4: mouseX, 6: mouseY class: AdvancementWidget path: net/minecraft/client/gui/screens/advancements/AdvancementWidget method: addChild (Lnet/minecraft/client/gui/screens/advancements/AdvancementWidget;)V params: 1: guiAdvancement method: draw (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y method: drawConnectivity (Lcom/mojang/blaze3d/vertex/PoseStack;IIZ)V params: 1: matrixStack, 2: x, 3: y, 4: dropShadow method: drawHover (Lcom/mojang/blaze3d/vertex/PoseStack;IIFII)V params: 1: matrixStack, 2: x, 3: y, 4: fade, 5: width, 6: height method: findOptimalLines (Lnet/minecraft/network/chat/Component;I)Ljava/util/List; params: 1: component, 2: maxWidth method: getFirstVisibleParent (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/client/gui/screens/advancements/AdvancementWidget; params: 1: advancement method: getMaxWidth (Lnet/minecraft/client/StringSplitter;Ljava/util/List;)F params: 0: manager, 1: text method: isMouseOver (IIII)Z params: 1: x, 2: y, 3: mouseX, 4: mouseY method: render9Sprite (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIII)V params: 1: matrixStack, 2: x, 3: y, 4: width, 5: height, 6: padding, 7: uWidth, 8: vHeight, 9: uOffset, 10: vOffset method: renderRepeating (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIII)V params: 1: matrixStack, 2: x, 3: y, 4: borderToU, 5: borderToV, 6: uOffset, 7: vOffset, 8: uWidth, 9: vHeight method: setProgress (Lnet/minecraft/advancements/AdvancementProgress;)V params: 1: advancementProgress class: AdvancementsScreen path: net/minecraft/client/gui/screens/advancements/AdvancementsScreen method: getAdvancementWidget (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/client/gui/screens/advancements/AdvancementWidget; params: 1: advancement method: getTab (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/client/gui/screens/advancements/AdvancementTab; params: 1: advancement method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: onAddAdvancementRoot (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onAddAdvancementTask (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onRemoveAdvancementRoot (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onRemoveAdvancementTask (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onSelectedTabChanged (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onUpdateAdvancementProgress (Lnet/minecraft/advancements/Advancement;Lnet/minecraft/advancements/AdvancementProgress;)V params: 1: advancement, 2: progress method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderInside (Lcom/mojang/blaze3d/vertex/PoseStack;IIII)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: offsetX, 5: offsetY method: renderTooltips (Lcom/mojang/blaze3d/vertex/PoseStack;IIII)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: offsetX, 5: offsetY method: renderWindow (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: offsetX, 3: offsetY controls class: ControlList$CategoryEntry path: net/minecraft/client/gui/screens/controls/ControlList$CategoryEntry method: changeFocus method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: ControlList$KeyEntry path: net/minecraft/client/gui/screens/controls/ControlList$KeyEntry field: key Lnet/minecraft/client/KeyMapping; The keybinding specified for this KeyEntry
field: name Lnet/minecraft/network/chat/Component; The localized key description for this KeyEntry
method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: ControlsScreen path: net/minecraft/client/gui/screens/controls/ControlsScreen field: selectedKey Lnet/minecraft/client/KeyMapping; The ID of the button that has been pressed.
method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks debug class: GameModeSwitcherScreen path: net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: GameModeSwitcherScreen$GameModeSlot path: net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen$GameModeSlot method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks inventory class: AbstractCommandBlockEditScreen path: net/minecraft/client/gui/screens/inventory/AbstractCommandBlockEditScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: onEdited (Ljava/lang/String;)V params: 1: command method: populateAndSendPacket (Lnet/minecraft/world/level/BaseCommandBlock;)V params: 1: commandBlock method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: AbstractContainerScreen path: net/minecraft/client/gui/screens/inventory/AbstractContainerScreen field: INVENTORY_LOCATION Lnet/minecraft/resources/ResourceLocation; The location of the inventory background texture
field: clickedSlot Lnet/minecraft/world/inventory/Slot; Used when touchscreen is enabled
field: draggingItem Lnet/minecraft/world/item/ItemStack; Used when touchscreen is enabled
field: hoveredSlot Lnet/minecraft/world/inventory/Slot; Holds the slot currently hovered
field: imageHeight I The Y size of the inventory window in pixels.
field: imageWidth I The X size of the inventory window in pixels.
field: isSplittingStack Z Used when touchscreen is enabled.
field: leftPos I Starting X position for the Gui. Inconsistent use for Gui backgrounds.
field: menu Lnet/minecraft/world/inventory/AbstractContainerMenu; A list of the players inventory slots
field: snapbackItem Lnet/minecraft/world/item/ItemStack; Used when touchscreen is enabled
field: topPos I Starting Y position for the Gui. Inconsistent use for Gui backgrounds.
method: <init> (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: menu, 2: playerInventory, 3: title method: checkHotbarKeyPressed (II)Z params: 1: keyCode, 2: scanCode method: checkHotbarMouseClicked method: findSlot (DD)Lnet/minecraft/world/inventory/Slot; params: 1: mouseX, 3: mouseY method: hasClickedOutside (DDIII)Z params: 1: mouseX, 3: mouseY, 5: guiLeft, 6: guiTop, 7: mouseButton method: isHovering (IIIIDD)Z params: 1: x, 2: y, 3: width, 4: height, 5: mouseX, 7: mouseY method: isHovering (Lnet/minecraft/world/inventory/Slot;DD)Z params: 1: slot, 2: mouseX, 4: mouseY method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: poseStack, 2: partialTicks, 3: mouseX, 4: mouseY method: renderFloatingItem (Lnet/minecraft/world/item/ItemStack;IILjava/lang/String;)V params: 1: stack, 2: x, 3: y, 4: altText Draws an ItemStack.
The z index is increased by 32 (and not decreased afterwards), and the item is then rendered at z=200.
method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: mouseX, 3: mouseY method: renderSlot (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/inventory/Slot;)V params: 1: poseStack, 2: slot method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: x, 3: y method: slotClicked (Lnet/minecraft/world/inventory/Slot;IILnet/minecraft/world/inventory/ClickType;)V params: 1: slot, 2: slotId, 3: mouseButton, 4: type Called when the mouse is clicked over a slot or outside the gui.
class: AbstractFurnaceScreen path: net/minecraft/client/gui/screens/inventory/AbstractFurnaceScreen method: <init> (Lnet/minecraft/world/inventory/AbstractFurnaceMenu;Lnet/minecraft/client/gui/screens/recipebook/AbstractFurnaceRecipeBookComponent;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;Lnet/minecraft/resources/ResourceLocation;)V params: 1: abstractFurnaceMenu, 2: recipeBookComponent, 3: playerInventory, 4: title, 5: texture method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: hasClickedOutside (DDIII)Z params: 1: mouseX, 3: mouseY, 5: guiLeft, 6: guiTop, 7: mouseButton method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: slotClicked (Lnet/minecraft/world/inventory/Slot;IILnet/minecraft/world/inventory/ClickType;)V params: 1: slot, 2: slotId, 3: mouseButton, 4: type Called when the mouse is clicked over a slot or outside the gui.
class: AnvilScreen path: net/minecraft/client/gui/screens/inventory/AnvilScreen method: <init> (Lnet/minecraft/world/inventory/AnvilMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: anvilMenu, 2: playerInventory, 3: title method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: onNameChanged (Ljava/lang/String;)V params: 1: name method: renderFg (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
class: BeaconScreen path: net/minecraft/client/gui/screens/inventory/BeaconScreen method: <init> (Lnet/minecraft/world/inventory/BeaconMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: beaconMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y class: BeaconScreen$1 path: net/minecraft/client/gui/screens/inventory/BeaconScreen$1 method: refreshContainer (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/core/NonNullList;)V params: 1: containerToSend, 2: itemsList method: setContainerData (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: container, 2: varToUpdate, 3: newValue method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
class: BeaconScreen$BeaconCancelButton path: net/minecraft/client/gui/screens/inventory/BeaconScreen$BeaconCancelButton method: <init> (Lnet/minecraft/client/gui/screens/inventory/BeaconScreen;II)V params: 2: x, 3: y method: renderToolTip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: mouseX, 3: mouseY class: BeaconScreen$BeaconConfirmButton path: net/minecraft/client/gui/screens/inventory/BeaconScreen$BeaconConfirmButton method: <init> (Lnet/minecraft/client/gui/screens/inventory/BeaconScreen;II)V params: 2: x, 3: y method: renderToolTip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: poseStack, 2: mouseX, 3: mouseY class: BeaconScreen$BeaconPowerButton path: net/minecraft/client/gui/screens/inventory/BeaconScreen$BeaconPowerButton method: renderIcon (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: renderToolTip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: mouseX, 3: mouseY class: BeaconScreen$BeaconScreenButton path: net/minecraft/client/gui/screens/inventory/BeaconScreen$BeaconScreenButton method: <init> method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderIcon (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: setSelected class: BlastFurnaceScreen path: net/minecraft/client/gui/screens/inventory/BlastFurnaceScreen method: <init> (Lnet/minecraft/world/inventory/BlastFurnaceMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: blastFurnaceMenu, 2: playerInventory, 3: title class: BookEditScreen path: net/minecraft/client/gui/screens/inventory/BookEditScreen field: frameTick I Update ticks since the gui was opened
field: isModified Z Whether the book's title or contents has been modified since being opened
field: isSigning Z Determines if the signing screen is open
field: lastClickTime method: <init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)V params: 1: player, 2: book, 3: hand method: appendPageToBook ()V Adds a new page to the book (capped at 100 pages)
method: bookKeyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers Handles keypresses, clipboard functions, and page turning
method: changeLine method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: convertLocalToScreen (Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i;)Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i; params: 1: localScreenPos method: convertScreenToLocal (Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i;)Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i; params: 1: screenPos method: getCurrentPageText ()Ljava/lang/String; Returns the contents of the current page as a string (or an empty string if the currPage isn't a valid page index)
method: getNumPages ()I Returns the number of pages in the book
method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: pageBack ()V Displays the previous page
method: pageForward ()V Displays the next page (creating it if necessary)
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderCursor (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i;Z)V params: 1: poseStack, 2: cursorPos, 3: isEndOfText method: renderHighlight ([Lnet/minecraft/client/renderer/Rect2i;)V params: 1: selected method: saveChanges method: selectWord method: setClipboard (Ljava/lang/String;)V params: 1: clipboardValue method: setCurrentPageText (Ljava/lang/String;)V params: 1: text method: titleKeyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers Handles special keys pressed while editing the book's title
method: updateButtonVisibility ()V Sets visibility for book buttons
class: BookEditScreen$DisplayCache path: net/minecraft/client/gui/screens/inventory/BookEditScreen$DisplayCache method: <init> (Ljava/lang/String;Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i;Z[I[Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$LineInfo;[Lnet/minecraft/client/renderer/Rect2i;)V params: 1: fullText, 2: cursor, 3: isCursorAtEnd, 4: lineStarts, 5: lines, 6: selection method: getIndexAtPosition (Lnet/minecraft/client/gui/Font;Lnet/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i;)I params: 1: font, 2: cursorPosition class: BookEditScreen$LineInfo path: net/minecraft/client/gui/screens/inventory/BookEditScreen$LineInfo method: <init> (Lnet/minecraft/network/chat/Style;Ljava/lang/String;II)V params: 1: style, 2: contents, 3: x, 4: y class: BookEditScreen$Pos2i path: net/minecraft/client/gui/screens/inventory/BookEditScreen$Pos2i method: <init> class: BookViewScreen path: net/minecraft/client/gui/screens/inventory/BookViewScreen field: cachedPageComponents Ljava/util/List; Holds a copy of the page text, split into page width lines
field: playTurnSound Z Determines if a sound is played when the page is turned
method: forcePage (I)Z params: 1: pageNum I'm not sure why this exists. The function it calls is public and does all of the work
method: handleComponentClicked (Lnet/minecraft/network/chat/Style;)Z params: 1: style method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: pageBack ()V Moves the display back one page
method: pageForward ()V Moves the display forward one page
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: setPage (I)Z params: 1: pageNum Moves the book to the specified page and returns true if it exists, false otherwise
class: BookViewScreen$1 path: net/minecraft/client/gui/screens/inventory/BookViewScreen$1 method: getPageCount ()I Returns the size of the book
class: BookViewScreen$BookAccess path: net/minecraft/client/gui/screens/inventory/BookViewScreen$BookAccess method: getPageCount ()I Returns the size of the book
class: BookViewScreen$WritableBookAccess path: net/minecraft/client/gui/screens/inventory/BookViewScreen$WritableBookAccess method: getPageCount ()I Returns the size of the book
class: BookViewScreen$WrittenBookAccess path: net/minecraft/client/gui/screens/inventory/BookViewScreen$WrittenBookAccess method: getPageCount ()I Returns the size of the book
class: BrewingStandScreen path: net/minecraft/client/gui/screens/inventory/BrewingStandScreen method: <init> (Lnet/minecraft/world/inventory/BrewingStandMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: brewingStandMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: CartographyTableScreen path: net/minecraft/client/gui/screens/inventory/CartographyTableScreen method: <init> (Lnet/minecraft/world/inventory/CartographyTableMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: cartographyTableMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: CommandBlockEditScreen path: net/minecraft/client/gui/screens/inventory/CommandBlockEditScreen method: <init> (Lnet/minecraft/world/level/block/entity/CommandBlockEntity;)V params: 1: commandBlockEntity method: populateAndSendPacket (Lnet/minecraft/world/level/BaseCommandBlock;)V params: 1: commandBlock method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: ContainerScreen path: net/minecraft/client/gui/screens/inventory/ContainerScreen field: CONTAINER_BACKGROUND Lnet/minecraft/resources/ResourceLocation; The ResourceLocation containing the chest GUI texture.
field: containerRows I Window height is calculated with these values" the more rows, the higher
method: <init> (Lnet/minecraft/world/inventory/ChestMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: chestMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: CraftingScreen path: net/minecraft/client/gui/screens/inventory/CraftingScreen method: <init> (Lnet/minecraft/world/inventory/CraftingMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: craftingMenu, 2: playerInventory, 3: title method: hasClickedOutside (DDIII)Z params: 1: mouseX, 3: mouseY, 5: guiLeft, 6: guiTop, 7: mouseButton method: isHovering (IIIIDD)Z params: 1: x, 2: y, 3: width, 4: height, 5: mouseX, 7: mouseY method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: slotClicked (Lnet/minecraft/world/inventory/Slot;IILnet/minecraft/world/inventory/ClickType;)V params: 1: slot, 2: slotId, 3: mouseButton, 4: type Called when the mouse is clicked over a slot or outside the gui.
class: CreativeInventoryListener path: net/minecraft/client/gui/screens/inventory/CreativeInventoryListener method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: refreshContainer (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/core/NonNullList;)V params: 1: containerToSend, 2: itemsList method: setContainerData (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: container, 2: varToUpdate, 3: newValue method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
class: CreativeModeInventoryScreen path: net/minecraft/client/gui/screens/inventory/CreativeModeInventoryScreen field: CREATIVE_TABS_LOCATION Lnet/minecraft/resources/ResourceLocation; The location of the creative inventory tabs texture
field: scrollOffs F Amount scrolled in Creative mode inventory (0 = top, 1 = bottom)
field: scrolling Z True if the scrollbar is being dragged
field: selectedTab I Currently selected creative inventory tab index.
method: <init> (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: canScroll ()Z returns (if you are not on the inventoryTab) and (the flag isn't set) and (you have more than 1 page of items)
method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: checkTabClicked (Lnet/minecraft/world/item/CreativeModeTab;DD)Z params: 1: creativeModeTab, 2: relativeMouseX, 4: relativeMouseY method: checkTabHovering (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/item/CreativeModeTab;II)Z params: 1: poseStack, 2: creativeModeTab, 3: mouseX, 4: mouseY method: getSelectedTab ()I Returns the index of the currently selected tab.
method: handleHotbarLoadOrSave (Lnet/minecraft/client/Minecraft;IZZ)V params: 0: client, 1: index, 2: load, 3: save method: hasClickedOutside (DDIII)Z params: 1: mouseX, 3: mouseY, 5: guiLeft, 6: guiTop, 7: mouseButton method: insideScrollbar (DD)Z params: 1: mouseX, 3: mouseY method: isCreativeSlot (Lnet/minecraft/world/inventory/Slot;)Z params: 1: slot method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: keyReleased (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y method: renderTabButton (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/item/CreativeModeTab;)V params: 1: poseStack, 2: creativeModeTab method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/item/ItemStack;II)V params: 1: matrixStack, 2: itemStack, 3: mouseX, 4: mouseY method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height method: selectTab (Lnet/minecraft/world/item/CreativeModeTab;)V params: 1: tab Sets the current creative tab, restructuring the GUI as needed.
method: slotClicked (Lnet/minecraft/world/inventory/Slot;IILnet/minecraft/world/inventory/ClickType;)V params: 1: slot, 2: slotId, 3: mouseButton, 4: type Called when the mouse is clicked over a slot or outside the gui.
method: updateVisibleTags (Ljava/lang/String;)V params: 1: search class: CreativeModeInventoryScreen$CustomCreativeSlot path: net/minecraft/client/gui/screens/inventory/CreativeModeInventoryScreen$CustomCreativeSlot method: mayPickup (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Return whether this slot's stack can be taken from this slot.
class: CreativeModeInventoryScreen$ItemPickerMenu path: net/minecraft/client/gui/screens/inventory/CreativeModeInventoryScreen$ItemPickerMenu field: items Lnet/minecraft/core/NonNullList; The list of items in this container.
method: <init> (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: canDragTo (Lnet/minecraft/world/inventory/Slot;)Z params: 1: slot Returns true if the player can "drag-spilt" items into this slot. Returns true by default. Called to check if the slot can be added to a list of Slots to split the held ItemStack across.
method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: scrollTo (F)V params: 1: pos Updates the gui slot's ItemStacks based on scroll position.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: CreativeModeInventoryScreen$SlotWrapper path: net/minecraft/client/gui/screens/inventory/CreativeModeInventoryScreen$SlotWrapper method: <init> (Lnet/minecraft/world/inventory/Slot;III)V params: 1: slot, 2: index, 3: x, 4: y method: getItem ()Lnet/minecraft/world/item/ItemStack; Helper fnct to get the stack in the slot.
method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: getMaxStackSize (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack method: hasItem ()Z Returns if this slot contains a stack.
method: isActive ()Z Actualy only call when we want to render the white square effect over the slots. Return always True, except for the armor slot of the Donkey/Mule (we can't interact with the Undead and Skeleton horses)
method: mayPickup (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Return whether this slot's stack can be taken from this slot.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack method: remove (I)Lnet/minecraft/world/item/ItemStack; params: 1: amount Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new stack.
method: set (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Helper method to put a stack in the slot.
method: setChanged ()V Called when the stack in a Slot changes
class: DispenserScreen path: net/minecraft/client/gui/screens/inventory/DispenserScreen method: <init> (Lnet/minecraft/world/inventory/DispenserMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: dispenserMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: EffectRenderingInventoryScreen path: net/minecraft/client/gui/screens/inventory/EffectRenderingInventoryScreen field: doRenderEffects Z True if there is some potion effect to display
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBackgrounds (Lcom/mojang/blaze3d/vertex/PoseStack;IILjava/lang/Iterable;)V params: 1: poseStack, 2: renderX, 3: yOffset, 4: effects method: renderEffects (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack method: renderIcons (Lcom/mojang/blaze3d/vertex/PoseStack;IILjava/lang/Iterable;)V params: 1: poseStack, 2: renderX, 3: yOffset, 4: effects method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;IILjava/lang/Iterable;)V params: 1: poseStack, 2: renderX, 3: yOffset, 4: effects class: EnchantmentNames path: net/minecraft/client/gui/screens/inventory/EnchantmentNames method: getRandomName (Lnet/minecraft/client/gui/Font;I)Lnet/minecraft/network/chat/FormattedText; params: 1: fontRenderer, 2: maxWidth method: initSeed (J)V params: 1: seed Resets the underlying random number generator using a given seed.
class: EnchantmentScreen path: net/minecraft/client/gui/screens/inventory/EnchantmentScreen field: ENCHANTING_BOOK_LOCATION Lnet/minecraft/resources/ResourceLocation; The ResourceLocation containing the texture for the Book rendered above the enchantment table
field: ENCHANTING_TABLE_LOCATION Lnet/minecraft/resources/ResourceLocation; The ResourceLocation containing the Enchantment GUI texture location
field: random Ljava/util/Random; A Random instance for use with the enchantment gui
method: <init> (Lnet/minecraft/world/inventory/EnchantmentMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: enchantmentMenu, 2: playerInventory, 3: title method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: FurnaceScreen path: net/minecraft/client/gui/screens/inventory/FurnaceScreen method: <init> (Lnet/minecraft/world/inventory/FurnaceMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: furnaceMenu, 2: playerInventory, 3: title class: GrindstoneScreen path: net/minecraft/client/gui/screens/inventory/GrindstoneScreen method: <init> (Lnet/minecraft/world/inventory/GrindstoneMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: grindstoneMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: HopperScreen path: net/minecraft/client/gui/screens/inventory/HopperScreen field: HOPPER_LOCATION Lnet/minecraft/resources/ResourceLocation; The ResourceLocation containing the gui texture for the hopper
method: <init> (Lnet/minecraft/world/inventory/HopperMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: hopperMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: HorseInventoryScreen path: net/minecraft/client/gui/screens/inventory/HorseInventoryScreen field: horse Lnet/minecraft/world/entity/animal/horse/AbstractHorse; The EntityHorse whose inventory is currently being accessed.
field: xMouse F The mouse x-position recorded during the last rendered frame.
field: yMouse F The mouse y-position recorded during the last renderered frame.
method: <init> (Lnet/minecraft/world/inventory/HorseInventoryMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/animal/horse/AbstractHorse;)V params: 1: horseInventoryMenu, 2: playerInventory, 3: horse method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: InventoryScreen path: net/minecraft/client/gui/screens/inventory/InventoryScreen field: xMouse F The old x position of the mouse pointer
field: yMouse F The old y position of the mouse pointer
method: <init> (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: hasClickedOutside (DDIII)Z params: 1: mouseX, 3: mouseY, 5: guiLeft, 6: guiTop, 7: mouseButton method: isHovering (IIIIDD)Z params: 1: x, 2: y, 3: width, 4: height, 5: mouseX, 7: mouseY method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderEntityInInventory (IIIFFLnet/minecraft/world/entity/LivingEntity;)V params: 0: posX, 1: posY, 2: scale, 3: mouseX, 4: mouseY, 5: livingEntity method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y method: slotClicked (Lnet/minecraft/world/inventory/Slot;IILnet/minecraft/world/inventory/ClickType;)V params: 1: slot, 2: slotId, 3: mouseButton, 4: type Called when the mouse is clicked over a slot or outside the gui.
class: ItemCombinerScreen path: net/minecraft/client/gui/screens/inventory/ItemCombinerScreen method: <init> (Lnet/minecraft/world/inventory/ItemCombinerMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;Lnet/minecraft/resources/ResourceLocation;)V params: 1: itemCombinerMenu, 2: playerInventory, 3: title, 4: menuTexture method: refreshContainer (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/core/NonNullList;)V params: 1: containerToSend, 2: itemsList method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderFg (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: poseStack, 2: mouseX, 3: mouseY, 4: partialTicks method: setContainerData (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: container, 2: varToUpdate, 3: newValue method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
class: JigsawBlockEditScreen path: net/minecraft/client/gui/screens/inventory/JigsawBlockEditScreen method: <init> (Lnet/minecraft/world/level/block/entity/JigsawBlockEntity;)V params: 1: jigsawBlockEntity method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: LecternScreen path: net/minecraft/client/gui/screens/inventory/LecternScreen method: <init> (Lnet/minecraft/world/inventory/LecternMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: lecternMenu, 2: playerInventory, 3: title method: forcePage (I)Z params: 1: pageNum I'm not sure why this exists. The function it calls is public and does all of the work
method: pageBack ()V Moves the display back one page
method: pageForward ()V Moves the display forward one page
method: sendButtonClick class: LecternScreen$1 path: net/minecraft/client/gui/screens/inventory/LecternScreen$1 method: refreshContainer (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/core/NonNullList;)V params: 1: containerToSend, 2: itemsList method: setContainerData (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: container, 2: varToUpdate, 3: newValue method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
class: LoomScreen path: net/minecraft/client/gui/screens/inventory/LoomScreen method: <init> (Lnet/minecraft/world/inventory/LoomMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: loomMenu, 2: playerInventory, 3: title method: hasClickedOutside (DDIII)Z params: 1: mouseX, 3: mouseY, 5: guiLeft, 6: guiTop, 7: mouseButton method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderPattern (III)V params: 1: patternIndex, 2: x, 3: y class: MerchantScreen path: net/minecraft/client/gui/screens/inventory/MerchantScreen field: VILLAGER_LOCATION Lnet/minecraft/resources/ResourceLocation; The GUI texture for the villager merchant GUI.
field: shopItem I The integer value corresponding to the currently selected merchant recipe.
method: <init> (Lnet/minecraft/world/inventory/MerchantMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: merchantMenu, 2: playerInventory, 3: title method: canScroll method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderAndDecorateCostA (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;II)V params: 1: poseStack, 2: realCost, 3: baseCost, 4: x, 5: y method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderButtonArrows (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/item/trading/MerchantOffer;II)V params: 1: poseStack, 2: merchantOffer, 3: posX, 4: posY method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y method: renderProgressBar (Lcom/mojang/blaze3d/vertex/PoseStack;IILnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: poseStack, 2: posX, 3: posY, 4: merchantOffer method: renderScroller (Lcom/mojang/blaze3d/vertex/PoseStack;IILnet/minecraft/world/item/trading/MerchantOffers;)V params: 1: poseStack, 2: posX, 3: posY, 4: merchantOffers class: MerchantScreen$TradeOfferButton path: net/minecraft/client/gui/screens/inventory/MerchantScreen$TradeOfferButton method: <init> (Lnet/minecraft/client/gui/screens/inventory/MerchantScreen;IIILnet/minecraft/client/gui/components/Button$OnPress;)V params: 2: x, 3: y, 4: index, 5: onPress method: renderToolTip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: mouseX, 3: mouseY class: MinecartCommandBlockEditScreen path: net/minecraft/client/gui/screens/inventory/MinecartCommandBlockEditScreen method: <init> (Lnet/minecraft/world/level/BaseCommandBlock;)V params: 1: commandBlock method: populateAndSendPacket (Lnet/minecraft/world/level/BaseCommandBlock;)V params: 1: commandBlock class: PageButton path: net/minecraft/client/gui/screens/inventory/PageButton method: <init> (IIZLnet/minecraft/client/gui/components/Button$OnPress;Z)V params: 1: x, 2: y, 3: isForward, 4: onPress, 5: playTurnSound method: playDownSound (Lnet/minecraft/client/sounds/SoundManager;)V params: 1: handler method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: ShulkerBoxScreen path: net/minecraft/client/gui/screens/inventory/ShulkerBoxScreen method: <init> (Lnet/minecraft/world/inventory/ShulkerBoxMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: shulkerBoxMenu, 2: playerInventory, 3: title method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y class: SignEditScreen path: net/minecraft/client/gui/screens/inventory/SignEditScreen field: frame I Counts the number of screen updates.
field: line I The index of the line that is being edited.
field: sign Lnet/minecraft/world/level/block/entity/SignBlockEntity; Reference to the sign object.
method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SmithingScreen path: net/minecraft/client/gui/screens/inventory/SmithingScreen method: <init> (Lnet/minecraft/world/inventory/SmithingMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: smithingMenu, 2: playerInventory, 3: title method: renderLabels (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y class: SmokerScreen path: net/minecraft/client/gui/screens/inventory/SmokerScreen method: <init> (Lnet/minecraft/world/inventory/SmokerMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: smokerMenu, 2: playerInventory, 3: title class: StonecutterScreen path: net/minecraft/client/gui/screens/inventory/StonecutterScreen field: scrolling Z Is {@code true} if the player clicked on the scroll wheel in the GUI.
field: startIndex I The index of the first recipe to display.
The number of recipes displayed at any time is 12 (4 recipes per row, and 3 rows). If the player scrolled down one row, this value would be 4 (representing the index of the first slot on the second row).
method: <init> (Lnet/minecraft/world/inventory/StonecutterMenu;Lnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/network/chat/Component;)V params: 1: stonecutterMenu, 2: playerInventory, 3: title method: containerChanged ()V Called every time this screen's container is changed (is marked as dirty).
method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseDragged (DDIDD)Z params: 1: mouseX, 3: mouseY, 5: button, 6: dragX, 8: dragY method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBg (Lcom/mojang/blaze3d/vertex/PoseStack;FII)V params: 1: matrixStack, 2: partialTicks, 3: x, 4: y method: renderButtons (Lcom/mojang/blaze3d/vertex/PoseStack;IIIII)V params: 1: poseStack, 2: mouseX, 3: mouseY, 4: x, 5: y, 6: lastVisibleElementIndex method: renderRecipes (III)V params: 1: left, 2: top, 3: recipeIndexOffsetMax method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;II)V params: 1: matrixStack, 2: x, 3: y class: StructureBlockEditScreen path: net/minecraft/client/gui/screens/inventory/StructureBlockEditScreen method: <init> (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)V params: 1: structureBlockEntity method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: parseCoordinate (Ljava/lang/String;)I params: 1: coordinate method: parseIntegrity (Ljava/lang/String;)F params: 1: integrity method: parseSeed (Ljava/lang/String;)J params: 1: seed method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height method: sendToServer (Lnet/minecraft/world/level/block/entity/StructureBlockEntity$UpdateType;)Z params: 1: updateType class: StructureBlockEditScreen$1 path: net/minecraft/client/gui/screens/inventory/StructureBlockEditScreen$1 method: charTyped (CI)Z params: 1: codePoint, 2: modifiers multiplayer class: JoinMultiplayerScreen path: net/minecraft/client/gui/screens/multiplayer/JoinMultiplayerScreen field: toolTip Ljava/util/List; The text to be displayed when the player's cursor hovers over a server listing.
method: join (Lnet/minecraft/client/multiplayer/ServerData;)V params: 1: server method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SafetyScreen path: net/minecraft/client/gui/screens/multiplayer/SafetyScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: ServerSelectionList path: net/minecraft/client/gui/screens/multiplayer/ServerSelectionList method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: moveSelection (Lnet/minecraft/client/gui/components/AbstractSelectionList$SelectionDirection;)V params: 1: ordering method: setSelected (Lnet/minecraft/client/gui/screens/multiplayer/ServerSelectionList$Entry;)V params: 1: entry class: ServerSelectionList$LANHeader path: net/minecraft/client/gui/screens/multiplayer/ServerSelectionList$LANHeader method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: ServerSelectionList$NetworkServerEntry path: net/minecraft/client/gui/screens/multiplayer/ServerSelectionList$NetworkServerEntry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: ServerSelectionList$OnlineServerEntry path: net/minecraft/client/gui/screens/multiplayer/ServerSelectionList$OnlineServerEntry method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks packs class: PackSelectionScreen path: net/minecraft/client/gui/screens/packs/PackSelectionScreen method: onFilesDrop (Ljava/util/List;)V params: 1: packs method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: TransferableSelectionList path: net/minecraft/client/gui/screens/packs/TransferableSelectionList method: renderHeader (Lcom/mojang/blaze3d/vertex/PoseStack;IILcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: matrixStack, 2: x, 3: y, 4: tessellator class: TransferableSelectionList$PackEntry path: net/minecraft/client/gui/screens/packs/TransferableSelectionList$PackEntry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks recipebook class: AbstractFurnaceRecipeBookComponent path: net/minecraft/client/gui/screens/recipebook/AbstractFurnaceRecipeBookComponent method: slotClicked (Lnet/minecraft/world/inventory/Slot;)V params: 1: slot class: OverlayRecipeComponent path: net/minecraft/client/gui/screens/recipebook/OverlayRecipeComponent method: changeFocus method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: OverlayRecipeComponent$OverlayRecipeButton path: net/minecraft/client/gui/screens/recipebook/OverlayRecipeComponent$OverlayRecipeButton method: addItemToSlot (Ljava/util/Iterator;IIII)V params: 1: ingredients, 2: slot, 3: maxAmount, 4: y, 5: x method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RecipeBookComponent path: net/minecraft/client/gui/screens/recipebook/RecipeBookComponent method: addItemToSlot (Ljava/util/Iterator;IIII)V params: 1: ingredients, 2: slot, 3: maxAmount, 4: y, 5: x method: changeFocus method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: init (IILnet/minecraft/client/Minecraft;ZLnet/minecraft/world/inventory/RecipeBookMenu;)V params: 1: width, 2: height, 3: minecraft, 4: widthTooNarrow, 5: container method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: keyReleased (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: pirateSpeechForThePeople (Ljava/lang/String;)V params: 1: text Check if we should activate the pirate speak easter egg"
method: recipesShown (Ljava/util/List;)V params: 1: recipes method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: slotClicked (Lnet/minecraft/world/inventory/Slot;)V params: 1: slot class: RecipeBookTabButton path: net/minecraft/client/gui/screens/recipebook/RecipeBookTabButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RecipeButton path: net/minecraft/client/gui/screens/recipebook/RecipeButton method: isValidClickButton method: renderButton (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RecipeCollection path: net/minecraft/client/gui/screens/recipebook/RecipeCollection method: canCraft (Lnet/minecraft/world/entity/player/StackedContents;IILnet/minecraft/stats/RecipeBook;)V params: 1: handler, 2: width, 3: height, 4: book method: getDisplayRecipes (Z)Ljava/util/List; params: 1: onlyCraftable method: getRecipes (Z)Ljava/util/List; params: 1: onlyCraftable method: hasKnownRecipes ()Z Checks if recipebook is not empty
method: isCraftable (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe method: updateKnownRecipes (Lnet/minecraft/stats/RecipeBook;)V params: 1: book class: RecipeShownListener path: net/minecraft/client/gui/screens/recipebook/RecipeShownListener method: recipesShown (Ljava/util/List;)V params: 1: recipes social class: PlayerEntry path: net/minecraft/client/gui/screens/social/PlayerEntry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: SocialInteractionsPlayerList path: net/minecraft/client/gui/screens/social/SocialInteractionsPlayerList method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SocialInteractionsScreen path: net/minecraft/client/gui/screens/social/SocialInteractionsScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack worldselection class: CreateWorldScreen path: net/minecraft/client/gui/screens/worldselection/CreateWorldScreen field: commands field: commandsChanged Z User explicitly clicked "Allow Cheats" at some point
Prevents value changes due to changing game mode
field: hardCore Z Set to true when "hardcore" is the currently-selected gamemode
method: addWidget (Lnet/minecraft/client/gui/components/events/GuiEventListener;)Lnet/minecraft/client/gui/components/events/GuiEventListener; params: 1: listener method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: updateResultFolder ()V Determine a save-directory name from the world name
class: EditGameRulesScreen path: net/minecraft/client/gui/screens/worldselection/EditGameRulesScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: EditGameRulesScreen$BooleanRuleEntry path: net/minecraft/client/gui/screens/worldselection/EditGameRulesScreen$BooleanRuleEntry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: EditGameRulesScreen$CategoryRuleEntry path: net/minecraft/client/gui/screens/worldselection/EditGameRulesScreen$CategoryRuleEntry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: EditGameRulesScreen$IntegerRuleEntry path: net/minecraft/client/gui/screens/worldselection/EditGameRulesScreen$IntegerRuleEntry method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: EditGameRulesScreen$RuleList path: net/minecraft/client/gui/screens/worldselection/EditGameRulesScreen$RuleList method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: EditGameRulesScreen$RuleList$1 path: net/minecraft/client/gui/screens/worldselection/EditGameRulesScreen$RuleList$1 method: visitBoolean (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: value1, 2: value2 method: visitInteger (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: value1, 2: value2 class: EditWorldScreen path: net/minecraft/client/gui/screens/worldselection/EditWorldScreen method: onRename ()V Saves changes to the world name and closes this GUI.
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: OptimizeWorldScreen path: net/minecraft/client/gui/screens/worldselection/OptimizeWorldScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SelectWorldScreen path: net/minecraft/client/gui/screens/worldselection/SelectWorldScreen method: charTyped (CI)Z params: 1: codePoint, 2: modifiers method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: WorldGenSettingsComponent path: net/minecraft/client/gui/screens/worldselection/WorldGenSettingsComponent method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: WorldSelectionList path: net/minecraft/client/gui/screens/worldselection/WorldSelectionList method: moveSelection (Lnet/minecraft/client/gui/components/AbstractSelectionList$SelectionDirection;)V params: 1: ordering method: setSelected (Lnet/minecraft/client/gui/screens/worldselection/WorldSelectionList$WorldListEntry;)V params: 1: entry class: WorldSelectionList$WorldListEntry path: net/minecraft/client/gui/screens/worldselection/WorldSelectionList$WorldListEntry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: AlertScreen path: net/minecraft/client/gui/screens/AlertScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: BackupConfirmScreen path: net/minecraft/client/gui/screens/BackupConfirmScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: ChatScreen path: net/minecraft/client/gui/screens/ChatScreen field: historyPos I keeps position of which chat message you will select when you press up, (does not increase for duplicated messages sent immediately after each other)
field: initial Ljava/lang/String; is the text that appears when you press the chat key and the input box appears pre-filled
field: input Lnet/minecraft/client/gui/components/EditBox; Chat entry field
method: insertText (Ljava/lang/String;Z)V params: 1: text, 2: overwrite method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: moveInHistory (I)V params: 1: msgPos input is relative and is applied directly to the sentHistoryCursor so -1 is the previous message, 1 is the next message from the current cursor position
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: ConfirmLinkScreen path: net/minecraft/client/gui/screens/ConfirmLinkScreen method: copyToClipboard ()V Copies the link to the system clipboard.
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: ConfirmScreen path: net/minecraft/client/gui/screens/ConfirmScreen field: noButton Lnet/minecraft/network/chat/Component; The text shown for the second button in GuiYesNo
field: yesButton Lnet/minecraft/network/chat/Component; The text shown for the first button in GuiYesNo
method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: setDelay (I)V params: 1: ticksUntilEnable Sets the number of ticks to wait before enabling the buttons.
class: ConnectScreen path: net/minecraft/client/gui/screens/ConnectScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: CreateBuffetWorldScreen path: net/minecraft/client/gui/screens/CreateBuffetWorldScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: CreateBuffetWorldScreen$BiomeList path: net/minecraft/client/gui/screens/CreateBuffetWorldScreen$BiomeList method: setSelected (Lnet/minecraft/client/gui/screens/CreateBuffetWorldScreen$BiomeList$Entry;)V params: 1: entry class: CreateBuffetWorldScreen$BiomeList$Entry path: net/minecraft/client/gui/screens/CreateBuffetWorldScreen$BiomeList$Entry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: CreateFlatWorldScreen path: net/minecraft/client/gui/screens/CreateFlatWorldScreen field: columnHeight Lnet/minecraft/network/chat/Component; The text used to identify the height of a layer
field: columnType Lnet/minecraft/network/chat/Component; The text used to identify the material for a layer
field: deleteLayerButton Lnet/minecraft/client/gui/components/Button; The remove layer button
method: hasValidSelection ()Z Returns whether there is a valid layer selection
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: updateButtonValidity ()V Would update whether or not the edit and remove buttons are enabled, but is currently disabled and always disables the buttons (which are invisible anyways)
class: CreateFlatWorldScreen$DetailsList path: net/minecraft/client/gui/screens/CreateFlatWorldScreen$DetailsList method: setSelected (Lnet/minecraft/client/gui/screens/CreateFlatWorldScreen$DetailsList$Entry;)V params: 1: entry class: CreateFlatWorldScreen$DetailsList$Entry path: net/minecraft/client/gui/screens/CreateFlatWorldScreen$DetailsList$Entry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: DatapackLoadFailureScreen path: net/minecraft/client/gui/screens/DatapackLoadFailureScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: DeathScreen path: net/minecraft/client/gui/screens/DeathScreen field: delayTicker I The integer value containing the number of ticks that have passed since the player's death
method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: DemoIntroScreen path: net/minecraft/client/gui/screens/DemoIntroScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack class: DirectJoinServerScreen path: net/minecraft/client/gui/screens/DirectJoinServerScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: DisconnectedScreen path: net/minecraft/client/gui/screens/DisconnectedScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: EditServerScreen path: net/minecraft/client/gui/screens/EditServerScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: ErrorScreen path: net/minecraft/client/gui/screens/ErrorScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: GenericDirtMessageScreen path: net/minecraft/client/gui/screens/GenericDirtMessageScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: InBedChatScreen path: net/minecraft/client/gui/screens/InBedChatScreen method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers class: LanguageSelectScreen path: net/minecraft/client/gui/screens/LanguageSelectScreen field: languageManager Lnet/minecraft/client/resources/language/LanguageManager; Reference to the LanguageManager object.
field: packSelectionList Lnet/minecraft/client/gui/screens/LanguageSelectScreen$LanguageSelectionList; The List GuiSlot object reference.
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: LanguageSelectScreen$LanguageSelectionList path: net/minecraft/client/gui/screens/LanguageSelectScreen$LanguageSelectionList method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: setSelected (Lnet/minecraft/client/gui/screens/LanguageSelectScreen$LanguageSelectionList$Entry;)V params: 1: entry class: LanguageSelectScreen$LanguageSelectionList$Entry path: net/minecraft/client/gui/screens/LanguageSelectScreen$LanguageSelectionList$Entry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: LevelLoadingScreen path: net/minecraft/client/gui/screens/LevelLoadingScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: LoadingOverlay path: net/minecraft/client/gui/screens/LoadingOverlay method: registerTextures (Lnet/minecraft/client/Minecraft;)V params: 0: mc method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: LoadingOverlay$LogoTexture path: net/minecraft/client/gui/screens/LoadingOverlay$LogoTexture method: getTextureImage (Lnet/minecraft/server/packs/resources/ResourceManager;)Lnet/minecraft/client/renderer/texture/SimpleTexture$TextureImage; params: 1: resourceManager class: MenuScreens path: net/minecraft/client/gui/screens/MenuScreens method: create (Lnet/minecraft/world/inventory/MenuType;Lnet/minecraft/client/Minecraft;ILnet/minecraft/network/chat/Component;)V params: 0: type, 1: mc, 2: windowId, 3: title method: getConstructor (Lnet/minecraft/world/inventory/MenuType;)Lnet/minecraft/client/gui/screens/MenuScreens$ScreenConstructor; params: 0: type method: register (Lnet/minecraft/world/inventory/MenuType;Lnet/minecraft/client/gui/screens/MenuScreens$ScreenConstructor;)V params: 0: type, 1: factory class: MenuScreens$ScreenConstructor path: net/minecraft/client/gui/screens/MenuScreens$ScreenConstructor method: fromPacket (Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/inventory/MenuType;Lnet/minecraft/client/Minecraft;I)V params: 1: title, 2: type, 3: mc, 4: windowId class: MouseSettingsScreen path: net/minecraft/client/gui/screens/MouseSettingsScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: OptionsScreen path: net/minecraft/client/gui/screens/OptionsScreen field: options Lnet/minecraft/client/Options; Reference to the GameSettings object.
method: lockCallback method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: OutOfMemoryScreen path: net/minecraft/client/gui/screens/OutOfMemoryScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: PauseScreen path: net/minecraft/client/gui/screens/PauseScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: PopupScreen path: net/minecraft/client/gui/screens/PopupScreen method: init (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: PresetFlatWorldScreen path: net/minecraft/client/gui/screens/PresetFlatWorldScreen field: parent Lnet/minecraft/client/gui/screens/CreateFlatWorldScreen; The parent GUI
method: mouseScrolled (DDD)Z params: 1: mouseX, 3: mouseY, 5: delta method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height class: PresetFlatWorldScreen$PresetsList path: net/minecraft/client/gui/screens/PresetFlatWorldScreen$PresetsList method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: setSelected (Lnet/minecraft/client/gui/screens/PresetFlatWorldScreen$PresetsList$Entry;)V params: 1: entry class: PresetFlatWorldScreen$PresetsList$Entry path: net/minecraft/client/gui/screens/PresetFlatWorldScreen$PresetsList$Entry method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIZF)V params: 1: matrixStack, 2: index, 3: top, 4: left, 5: width, 6: height, 7: mouseX, 8: mouseY, 9: isMouseOver, 10: partialTicks class: ProgressScreen path: net/minecraft/client/gui/screens/ProgressScreen method: progressStage (Lnet/minecraft/network/chat/Component;)V params: 1: component method: progressStagePercentage (I)V params: 1: progress Updates the progress bar on the loading screen to the specified amount.
method: progressStart (Lnet/minecraft/network/chat/Component;)V params: 1: component method: progressStartNoAbort (Lnet/minecraft/network/chat/Component;)V params: 1: component method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: ReceivingLevelScreen path: net/minecraft/client/gui/screens/ReceivingLevelScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: Screen path: net/minecraft/client/gui/screens/Screen method: <init> (Lnet/minecraft/network/chat/Component;)V params: 1: title method: addWidget (Lnet/minecraft/client/gui/components/events/GuiEventListener;)Lnet/minecraft/client/gui/components/events/GuiEventListener; params: 1: listener method: confirmLink method: getTooltipFromItem (Lnet/minecraft/world/item/ItemStack;)Ljava/util/List; params: 1: itemStack method: handleComponentClicked (Lnet/minecraft/network/chat/Style;)Z params: 1: style method: init (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height method: insertText (Ljava/lang/String;Z)V params: 1: text, 2: overwrite method: isCopy method: isCut method: isMouseOver (DD)Z params: 1: mouseX, 3: mouseY method: isPaste method: isSelectAll method: isValidCharacterForName (Ljava/lang/String;CI)Z params: 1: text, 2: charTyped, 3: cursorPos method: keyPressed (III)Z params: 1: keyCode, 2: scanCode, 3: modifiers method: onFilesDrop (Ljava/util/List;)V params: 1: packs method: openLink (Ljava/net/URI;)V params: 1: uri method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderBackground (Lcom/mojang/blaze3d/vertex/PoseStack;I)V params: 1: matrixStack, 2: vOffset method: renderComponentHoverEffect (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/network/chat/Style;II)V params: 1: matrixStack, 2: style, 3: mouseX, 4: mouseY method: renderComponentTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;Ljava/util/List;II)V params: 1: poseStack, 2: tooltips, 3: mouseX, 4: mouseY method: renderDirtBackground method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;Ljava/util/List;II)V params: 1: matrixStack, 2: tooltips, 3: mouseX, 4: mouseY method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/network/chat/Component;II)V params: 1: matrixStack, 2: text, 3: mouseX, 4: mouseY method: renderTooltip (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/item/ItemStack;II)V params: 1: poseStack, 2: itemStack, 3: mouseX, 4: mouseY method: resize (Lnet/minecraft/client/Minecraft;II)V params: 1: minecraft, 2: width, 3: height method: sendMessage (Ljava/lang/String;)V params: 1: text method: sendMessage (Ljava/lang/String;Z)V params: 1: text, 2: addToChat method: wrapScreenError (Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V params: 0: action, 1: errorDesc, 2: screenName class: ShareToLanScreen path: net/minecraft/client/gui/screens/ShareToLanScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SimpleOptionsSubScreen path: net/minecraft/client/gui/screens/SimpleOptionsSubScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SkinCustomizationScreen path: net/minecraft/client/gui/screens/SkinCustomizationScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: SoundOptionsScreen path: net/minecraft/client/gui/screens/SoundOptionsScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: TitleScreen path: net/minecraft/client/gui/screens/TitleScreen field: realmsNotificationsScreen Lnet/minecraft/client/gui/screens/Screen; A screen generated by realms for notifications drawn in adition to the main menu (buttons and such from both are drawn at the same time). May be null.
method: createDemoMenuOptions (II)V params: 1: y, 2: rowHeight Adds Demo buttons on Main Menu for players who are playing Demo.
method: createNormalMenuOptions (II)V params: 1: y, 2: rowHeight Adds Singleplayer and Multiplayer buttons on Main Menu for players who have bought the game.
method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: preloadResources (Lnet/minecraft/client/renderer/texture/TextureManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 0: texMngr, 1: backgroundExecutor method: realmsNotificationsEnabled ()Z Is there currently a realms notification screen, and are realms notifications enabled?
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: VideoSettingsScreen path: net/minecraft/client/gui/screens/VideoSettingsScreen method: mouseClicked (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: mouseReleased (DDI)Z params: 1: mouseX, 3: mouseY, 5: button method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: WinScreen path: net/minecraft/client/gui/screens/WinScreen method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks spectator categories class: SpectatorPage path: net/minecraft/client/gui/spectator/categories/SpectatorPage method: getItem (I)Lnet/minecraft/client/gui/spectator/SpectatorMenuItem; params: 1: index class: TeleportToPlayerMenuCategory path: net/minecraft/client/gui/spectator/categories/TeleportToPlayerMenuCategory method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: TeleportToTeamMenuCategory path: net/minecraft/client/gui/spectator/categories/TeleportToTeamMenuCategory method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: TeleportToTeamMenuCategory$TeamSelectionItem path: net/minecraft/client/gui/spectator/categories/TeleportToTeamMenuCategory$TeamSelectionItem method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: PlayerMenuItem path: net/minecraft/client/gui/spectator/PlayerMenuItem method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: SpectatorMenu path: net/minecraft/client/gui/spectator/SpectatorMenu method: getItem (I)Lnet/minecraft/client/gui/spectator/SpectatorMenuItem; params: 1: index method: selectCategory (Lnet/minecraft/client/gui/spectator/SpectatorMenuCategory;)V params: 1: menuView method: selectSlot class: SpectatorMenu$1 path: net/minecraft/client/gui/spectator/SpectatorMenu$1 method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: SpectatorMenu$CloseSpectatorItem path: net/minecraft/client/gui/spectator/SpectatorMenu$CloseSpectatorItem method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: SpectatorMenu$ScrollMenuItem path: net/minecraft/client/gui/spectator/SpectatorMenu$ScrollMenuItem method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: SpectatorMenuItem path: net/minecraft/client/gui/spectator/SpectatorMenuItem method: selectItem (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: SpectatorMenuListener path: net/minecraft/client/gui/spectator/SpectatorMenuListener method: onSpectatorMenuClosed (Lnet/minecraft/client/gui/spectator/SpectatorMenu;)V params: 1: menu class: Font path: net/minecraft/client/gui/Font method: adjustColor method: bidirectionalShaping (Ljava/lang/String;)Ljava/lang/String; params: 1: text Apply Unicode Bidirectional Algorithm to string and return a new possibly reordered string for visual rendering.
method: draw (Lcom/mojang/blaze3d/vertex/PoseStack;Ljava/lang/String;FFI)I params: 1: matrixStack, 2: text, 3: x, 4: y, 5: color method: draw (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/network/chat/Component;FFI)I params: 1: matrixStack, 2: text, 3: x, 4: y, 5: color method: drawInBatch (Ljava/lang/String;FFIZLcom/mojang/math/Matrix4f;Lnet/minecraft/client/renderer/MultiBufferSource;ZII)I params: 1: text, 2: x, 3: y, 4: color, 5: dropShadow, 6: matrix, 7: buffer, 8: transparent, 9: colorBackground, 10: packedLight method: drawInBatch (Ljava/lang/String;FFIZLcom/mojang/math/Matrix4f;Lnet/minecraft/client/renderer/MultiBufferSource;ZIIZ)I params: 1: text, 2: x, 3: y, 4: color, 5: dropShadow, 6: matrix, 7: buffer, 8: transparency, 9: colorBackground, 10: packedLight, 11: bidiFlag method: drawInBatch (Lnet/minecraft/util/FormattedCharSequence;FFIZLcom/mojang/math/Matrix4f;Lnet/minecraft/client/renderer/MultiBufferSource;ZII)I params: 1: processor, 2: x, 3: y, 4: color, 5: dropShadow, 6: matrix, 7: buffer, 8: transparent, 9: colorBackground, 10: packedLight method: drawInternal (Ljava/lang/String;FFILcom/mojang/math/Matrix4f;ZZ)I params: 1: text, 2: x, 3: y, 4: color, 5: matrix, 6: dropShadow, 7: transparency method: drawInternal (Ljava/lang/String;FFIZLcom/mojang/math/Matrix4f;Lnet/minecraft/client/renderer/MultiBufferSource;ZIIZ)I params: 1: text, 2: x, 3: y, 4: color, 5: dropShadow, 6: matrix, 7: buffer, 8: transparent, 9: colorBackground, 10: packedLight, 11: bidiFlag method: drawInternal (Lnet/minecraft/util/FormattedCharSequence;FFILcom/mojang/math/Matrix4f;Z)I params: 1: reorderingProcessor, 2: x, 3: y, 4: color, 5: matrix, 6: drawShadow method: drawInternal (Lnet/minecraft/util/FormattedCharSequence;FFIZLcom/mojang/math/Matrix4f;Lnet/minecraft/client/renderer/MultiBufferSource;ZII)I params: 1: processor, 2: x, 3: y, 4: color, 5: drawShadow, 6: matrix, 7: buffer, 8: transparent, 9: colorBackground, 10: packedLight method: drawShadow (Lcom/mojang/blaze3d/vertex/PoseStack;Ljava/lang/String;FFI)I params: 1: matrixStack, 2: text, 3: x, 4: y, 5: color method: drawShadow (Lcom/mojang/blaze3d/vertex/PoseStack;Ljava/lang/String;FFIZ)I params: 1: matrixStack, 2: text, 3: x, 4: y, 5: color, 6: transparency method: drawShadow (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/network/chat/Component;FFI)I params: 1: matrixStack, 2: text, 3: x, 4: y, 5: color method: drawShadow (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/util/FormattedCharSequence;FFI)I params: 1: matrixStack, 2: text, 3: x, 4: y, 5: color method: getFontSet (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/gui/font/FontSet; params: 1: fontLocation method: isBidirectional ()Z Get bidiFlag that controls if the Unicode Bidirectional Algorithm should be run before rendering any string
method: plainSubstrByWidth (Ljava/lang/String;I)Ljava/lang/String; params: 1: text, 2: maxLength method: plainSubstrByWidth (Ljava/lang/String;IZ)Ljava/lang/String; params: 1: text, 2: maxLength method: renderChar (Lnet/minecraft/client/gui/font/glyphs/BakedGlyph;ZZFFFLcom/mojang/math/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFI)V params: 1: glyph, 2: bold, 3: italic, 4: boldOffset, 5: x, 6: y, 7: matrix, 8: buffer, 9: red, 10: green, 11: blue, 12: alpha, 13: packedLight method: renderText (Ljava/lang/String;FFIZLcom/mojang/math/Matrix4f;Lnet/minecraft/client/renderer/MultiBufferSource;ZII)F params: 1: text, 2: x, 3: y, 4: color, 5: isShadow, 6: matrix, 7: buffer, 8: isTransparent, 9: colorBackground, 10: packedLight method: width (Ljava/lang/String;)I params: 1: text Returns the width of this string. Equivalent of FontMetrics.stringWidth(String s).
method: width (Lnet/minecraft/network/chat/FormattedText;)I params: 1: properties method: wordWrapHeight (Ljava/lang/String;I)I params: 1: str, 2: maxLength Returns the height (in pixels) of the given string if it is wordwrapped to the given max width.
class: Font$StringRenderOutput path: net/minecraft/client/gui/Font$StringRenderOutput method: addEffect (Lnet/minecraft/client/gui/font/glyphs/BakedGlyph$Effect;)V params: 1: effect class: Gui path: net/minecraft/client/gui/Gui field: healthBlinkTime J Used with updateCounter to make the heart bar flash
field: lastHealthTime J The last recorded system time
field: spectatorGui Lnet/minecraft/client/gui/components/spectator/SpectatorGui; The spectator GUI for this in-game GUI instance
field: subtitle Lnet/minecraft/network/chat/Component; The current sub-title displayed
field: title Lnet/minecraft/network/chat/Component; The current title displayed
field: titleFadeInTime I The time that the title take to fade in
field: titleFadeOutTime I The time that the title take to fade out
field: titleStayTime I The time that the title is display
field: titleTime I A timer for the current title and subtitle displayed
method: canRenderCrosshairForSpectator (Lnet/minecraft/world/phys/HitResult;)Z params: 1: rayTrace method: drawBackdrop (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/Font;III)V params: 1: matrixStack, 2: renderer method: getBossOverlay ()Lnet/minecraft/client/gui/components/BossHealthOverlay; Accessor for the GuiBossOverlay
method: getChat ()Lnet/minecraft/client/gui/components/ChatComponent; returns a pointer to the persistant Chat GUI, containing all previous chat messages and such
method: getVehicleMaxHearts (Lnet/minecraft/world/entity/LivingEntity;)I params: 1: mountEntity method: getVisibleVehicleHeartRows (I)I params: 1: mountHealth method: onDisconnected ()V Reset the GuiPlayerTabOverlay's message header and footer
method: render (Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: matrixStack, 2: partialTicks method: renderCrosshair (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderDemoOverlay (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderEffects (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderExperienceBar (Lcom/mojang/blaze3d/vertex/PoseStack;I)V params: 1: matrixStack, 2: xPos method: renderHotbar (FLcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: partialTicks, 2: matrixStack method: renderJumpMeter (Lcom/mojang/blaze3d/vertex/PoseStack;I)V params: 1: matrixStack, 2: xPosition method: renderPlayerHealth (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderPortalOverlay (F)V params: 1: timeInPortal method: renderSelectedItemName (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderVehicleHealth (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderVignette (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: resetTitleTimes ()V Set the differents times for the titles to their default values
method: setOverlayMessage (Lnet/minecraft/network/chat/Component;Z)V params: 1: component, 2: animateColor method: tick ()V The update tick for the ingame UI
method: updateVignetteBrightness (Lnet/minecraft/world/entity/Entity;)V params: 1: entity class: GuiComponent path: net/minecraft/client/gui/GuiComponent method: blit (Lcom/mojang/blaze3d/vertex/PoseStack;IIFFIIII)V params: 0: matrixStack, 1: x, 2: y, 3: uOffset, 4: vOffset, 5: width, 6: height, 7: textureWidth, 8: textureHeight method: blit (Lcom/mojang/blaze3d/vertex/PoseStack;IIIFFIIII)V params: 0: matrixStack, 1: x, 2: y, 3: blitOffset, 4: uOffset, 5: vOffset, 6: uWidth, 7: vHeight, 8: textureHeight, 9: textureWidth method: blit (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIFFIIII)V params: 0: matrixStack, 1: x, 2: y, 3: width, 4: height, 5: uOffset, 6: vOffset, 7: uWidth, 8: vHeight, 9: textureWidth, 10: textureHeight method: blit (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIII)V params: 1: matrixStack, 2: x, 3: y, 4: uOffset, 5: vOffset, 6: uWidth, 7: vHeight method: blit (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIILnet/minecraft/client/renderer/texture/TextureAtlasSprite;)V params: 0: matrixStack, 1: x, 2: y, 3: blitOffset, 4: width, 5: height, 6: sprite method: blitOutlineBlack (IILjava/util/function/BiConsumer;)V params: 1: width, 2: height, 3: boxXYConsumer method: drawCenteredString (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/Font;Ljava/lang/String;III)V params: 0: poseStack, 1: font, 2: text, 3: x, 4: y, 5: color method: drawCenteredString (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/Font;Lnet/minecraft/network/chat/Component;III)V params: 0: poseStack, 1: font, 2: text, 3: x, 4: y, 5: color method: drawString (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/Font;Ljava/lang/String;III)V params: 0: poseStack, 1: font, 2: text, 3: x, 4: y, 5: color method: drawString (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/gui/Font;Lnet/minecraft/network/chat/Component;III)V params: 0: poseStack, 1: font, 2: text, 3: x, 4: y, 5: color method: fill (Lcom/mojang/blaze3d/vertex/PoseStack;IIIII)V params: 0: poseStack, 1: minX, 2: minY, 3: maxX, 4: maxY, 5: color method: fillGradient (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIII)V params: 1: poseStack, 2: x1, 3: y1, 4: x2, 5: y2, 6: colorFrom, 7: colorTo method: fillGradient (Lcom/mojang/math/Matrix4f;Lcom/mojang/blaze3d/vertex/BufferBuilder;IIIIIII)V params: 0: matrix, 1: builder, 2: x1, 3: y1, 4: x2, 5: y2, 6: blitOffset, 7: colorA, 8: colorB method: hLine (Lcom/mojang/blaze3d/vertex/PoseStack;IIII)V params: 1: poseStack, 2: minX, 3: maxX, 4: y, 5: color method: innerBlit (Lcom/mojang/blaze3d/vertex/PoseStack;IIIIIIIFFII)V params: 0: matrixStack, 1: x1, 2: x2, 3: y1, 4: y2, 5: blitOffset, 6: uWidth, 7: vHeight, 8: uOffset, 9: vOffset, 10: textureWidth, 11: textureHeight method: innerBlit (Lcom/mojang/math/Matrix4f;IIIIIFFFF)V params: 0: matrix, 1: x1, 2: x2, 3: y1, 4: y2, 5: blitOffset, 6: minU, 7: maxU, 8: minV, 9: maxV method: innerFill (Lcom/mojang/math/Matrix4f;IIIII)V params: 0: matrix, 1: minX, 2: minY, 3: maxX, 4: maxY, 5: color method: setBlitOffset method: vLine (Lcom/mojang/blaze3d/vertex/PoseStack;IIII)V params: 1: poseStack, 2: x, 3: minY, 4: maxY, 5: color class: MapRenderer path: net/minecraft/client/gui/MapRenderer method: resetData ()V Clears the currently loaded maps and removes their corresponding textures
class: MapRenderer$MapInstance path: net/minecraft/client/gui/MapRenderer$MapInstance method: draw (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ZI)V params: 1: matrixStack, 2: buffer, 3: active, 4: packedLight method: updateTexture ()V Updates a map {@link net.minecraft.client.gui.MapItemRenderer.Instance#mapTexture texture}
main class: GameConfig path: net/minecraft/client/main/GameConfig method: <init> (Lnet/minecraft/client/main/GameConfig$UserData;Lcom/mojang/blaze3d/platform/DisplayData;Lnet/minecraft/client/main/GameConfig$FolderData;Lnet/minecraft/client/main/GameConfig$GameData;Lnet/minecraft/client/main/GameConfig$ServerData;)V params: 1: user, 2: display, 3: location, 4: game, 5: server class: GameConfig$FolderData path: net/minecraft/client/main/GameConfig$FolderData method: <init> (Ljava/io/File;Ljava/io/File;Ljava/io/File;Ljava/lang/String;)V params: 1: gameDirectory, 2: resourcePackDirectory, 3: assetDirectory, 4: assetIndex class: GameConfig$GameData path: net/minecraft/client/main/GameConfig$GameData method: <init> (ZLjava/lang/String;Ljava/lang/String;ZZ)V params: 1: demo, 2: launchVersion, 3: versionType, 4: disableMultiplayer, 5: disableChat class: GameConfig$ServerData path: net/minecraft/client/main/GameConfig$ServerData method: <init> (Ljava/lang/String;I)V params: 1: hostname, 2: port class: GameConfig$UserData path: net/minecraft/client/main/GameConfig$UserData method: <init> (Lnet/minecraft/client/User;Lcom/mojang/authlib/properties/PropertyMap;Lcom/mojang/authlib/properties/PropertyMap;Ljava/net/Proxy;)V params: 1: user, 2: userProperties, 3: profileProperties, 4: proxy class: Main path: net/minecraft/client/main/Main method: main ([Ljava/lang/String;)V params: 0: args method: ofNullable (Ljava/lang/Integer;)Ljava/util/OptionalInt; params: 0: value method: parseArgument (Ljoptsimple/OptionSet;Ljoptsimple/OptionSpec;)Ljava/lang/Object; params: 0: set, 1: option Gets the value of a specified command-line parameter from an OptionSet. If it doesn't exist, it returns the default value for the parameter.
method: stringHasValue (Ljava/lang/String;)Z params: 0: str Returns true if the given string is neither null nor empty.
class: SilentInitException path: net/minecraft/client/main/SilentInitException method: <init> (Ljava/lang/String;)V params: 1: message method: <init> (Ljava/lang/String;Ljava/lang/Throwable;)V params: 1: message, 2: cause model dragon class: DragonHeadModel path: net/minecraft/client/model/dragon/DragonHeadModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha geom class: ModelPart path: net/minecraft/client/model/geom/ModelPart method: compile (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: pose, 2: vertexConsumer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: copyFrom (Lnet/minecraft/client/model/geom/ModelPart;)V params: 1: modelPart method: getRandomCube (Ljava/util/Random;)Lnet/minecraft/client/model/geom/ModelPart$Cube; params: 1: random method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;II)V params: 1: poseStack, 2: vertexConsumer, 3: packedLight, 4: packedOverlay method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: poseStack, 2: vertexConsumer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: setPos (FFF)V params: 1: x, 2: y, 3: z method: translateAndRotate (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: poseStack class: ModelPart$Cube path: net/minecraft/client/model/geom/ModelPart$Cube method: <init> (IIFFFFFFFFFZFF)V params: 1: texCoordU, 2: texCoordV, 3: originX, 4: originY, 5: originZ, 6: dimensionX, 7: dimensionY, 8: dimensionZ, 9: growX, 10: growY, 11: growZ, 12: mirror, 13: texWidthScaled, 14: texHeightScaled class: ModelPart$Vertex path: net/minecraft/client/model/geom/ModelPart$Vertex method: <init> (FFFFF)V params: 1: x, 2: y, 3: z, 4: u, 5: v method: <init> (Lcom/mojang/math/Vector3f;FF)V params: 1: pos, 2: u, 3: v method: remap (FF)Lnet/minecraft/client/model/geom/ModelPart$Vertex; params: 1: u, 2: v class: AbstractZombieModel path: net/minecraft/client/model/AbstractZombieModel method: isAggressive (Lnet/minecraft/world/entity/monster/Monster;)Z params: 1: entity method: setupAnim (Lnet/minecraft/world/entity/monster/Monster;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: AgeableListModel path: net/minecraft/client/model/AgeableListModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: ArmedModel path: net/minecraft/client/model/ArmedModel method: translateToHand (Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: side, 2: matrixStack class: ArmorStandArmorModel path: net/minecraft/client/model/ArmorStandArmorModel method: setupAnim (Lnet/minecraft/world/entity/decoration/ArmorStand;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ArmorStandModel path: net/minecraft/client/model/ArmorStandModel method: prepareMobModel (Lnet/minecraft/world/entity/decoration/ArmorStand;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/decoration/ArmorStand;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
method: translateToHand (Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: side, 2: matrixStack class: BatModel path: net/minecraft/client/model/BatModel method: setupAnim (Lnet/minecraft/world/entity/ambient/Bat;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: BeeModel path: net/minecraft/client/model/BeeModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Bee;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Bee;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: BlazeModel path: net/minecraft/client/model/BlazeModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: BoatModel path: net/minecraft/client/model/BoatModel method: setupAnim (Lnet/minecraft/world/entity/vehicle/Boat;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: BookModel path: net/minecraft/client/model/BookModel method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: setupAnim (FFFF)V params: 2: rightPageFlipAmount, 3: leftPageFlipAmount, 4: bookOpenAmount class: CatModel path: net/minecraft/client/model/CatModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Cat;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Cat;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ChestedHorseModel path: net/minecraft/client/model/ChestedHorseModel method: setupAnim (Lnet/minecraft/world/entity/animal/horse/AbstractChestedHorse;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ChickenModel path: net/minecraft/client/model/ChickenModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: CodModel path: net/minecraft/client/model/CodModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ColorableAgeableListModel path: net/minecraft/client/model/ColorableAgeableListModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: CreeperModel path: net/minecraft/client/model/CreeperModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: DolphinModel path: net/minecraft/client/model/DolphinModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: DrownedModel path: net/minecraft/client/model/DrownedModel method: prepareMobModel (Lnet/minecraft/world/entity/monster/Zombie;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/monster/Zombie;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ElytraModel path: net/minecraft/client/model/ElytraModel method: setupAnim (Lnet/minecraft/world/entity/LivingEntity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: EndermanModel path: net/minecraft/client/model/EndermanModel method: setupAnim (Lnet/minecraft/world/entity/LivingEntity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: EndermiteModel path: net/minecraft/client/model/EndermiteModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: EntityModel path: net/minecraft/client/model/EntityModel method: prepareMobModel (Lnet/minecraft/world/entity/Entity;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: EvokerFangsModel path: net/minecraft/client/model/EvokerFangsModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: FoxModel path: net/minecraft/client/model/FoxModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Fox;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Fox;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: GhastModel path: net/minecraft/client/model/GhastModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: GiantZombieModel path: net/minecraft/client/model/GiantZombieModel method: isAggressive (Lnet/minecraft/world/entity/monster/Giant;)Z params: 1: entity class: GuardianModel path: net/minecraft/client/model/GuardianModel method: setupAnim (Lnet/minecraft/world/entity/monster/Guardian;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: HoglinModel path: net/minecraft/client/model/HoglinModel method: setupAnim (Lnet/minecraft/world/entity/Mob;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: HorseModel path: net/minecraft/client/model/HorseModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: HumanoidModel path: net/minecraft/client/model/HumanoidModel field: hat Lnet/minecraft/client/model/geom/ModelPart; The Biped's Headwear. Used for the outer layer of player skins.
field: leftArm Lnet/minecraft/client/model/geom/ModelPart; The Biped's Left Arm
field: leftLeg Lnet/minecraft/client/model/geom/ModelPart; The Biped's Left Leg
field: rightArm Lnet/minecraft/client/model/geom/ModelPart; The Biped's Right Arm
field: rightLeg Lnet/minecraft/client/model/geom/ModelPart; The Biped's Right Leg
method: copyPropertiesTo (Lnet/minecraft/client/model/HumanoidModel;)V params: 1: model method: getArm (Lnet/minecraft/world/entity/HumanoidArm;)Lnet/minecraft/client/model/geom/ModelPart; params: 1: side method: getAttackArm (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/HumanoidArm; params: 1: entity method: prepareMobModel (Lnet/minecraft/world/entity/LivingEntity;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: quadraticArmUpdate method: rotlerpRad (FFF)F params: 1: angle, 2: maxAngle, 3: mul method: setAllVisible method: setupAnim (Lnet/minecraft/world/entity/LivingEntity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
method: translateToHand (Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: side, 2: matrixStack class: IllagerModel path: net/minecraft/client/model/IllagerModel method: setupAnim (Lnet/minecraft/world/entity/monster/AbstractIllager;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
method: translateToHand (Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: side, 2: matrixStack class: IronGolemModel path: net/minecraft/client/model/IronGolemModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/IronGolem;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/IronGolem;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: LavaSlimeModel path: net/minecraft/client/model/LavaSlimeModel method: prepareMobModel (Lnet/minecraft/world/entity/monster/Slime;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/monster/Slime;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: LeashKnotModel path: net/minecraft/client/model/LeashKnotModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ListModel path: net/minecraft/client/model/ListModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: LlamaModel path: net/minecraft/client/model/LlamaModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: setupAnim (Lnet/minecraft/world/entity/animal/horse/AbstractChestedHorse;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: LlamaSpitModel path: net/minecraft/client/model/LlamaSpitModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: MinecartModel path: net/minecraft/client/model/MinecartModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: Model path: net/minecraft/client/model/Model method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: poseStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: renderType (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 1: location class: OcelotModel path: net/minecraft/client/model/OcelotModel method: prepareMobModel (Lnet/minecraft/world/entity/Entity;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: PandaModel path: net/minecraft/client/model/PandaModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Panda;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Panda;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ParrotModel path: net/minecraft/client/model/ParrotModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Parrot;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: renderOnShoulder (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFFI)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay method: setupAnim (Lnet/minecraft/world/entity/animal/Parrot;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: PiglinModel path: net/minecraft/client/model/PiglinModel method: setupAnim (Lnet/minecraft/world/entity/Mob;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: PlayerModel path: net/minecraft/client/model/PlayerModel method: getRandomModelPart (Ljava/util/Random;)Lnet/minecraft/client/model/geom/ModelPart; params: 1: random method: renderCloak (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;II)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay method: renderEars (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;II)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay method: setAllVisible method: setupAnim (Lnet/minecraft/world/entity/LivingEntity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
method: translateToHand (Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: side, 2: matrixStack class: PolarBearModel path: net/minecraft/client/model/PolarBearModel method: setupAnim (Lnet/minecraft/world/entity/animal/PolarBear;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: PufferfishBigModel path: net/minecraft/client/model/PufferfishBigModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: PufferfishMidModel path: net/minecraft/client/model/PufferfishMidModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: PufferfishSmallModel path: net/minecraft/client/model/PufferfishSmallModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: QuadrupedModel path: net/minecraft/client/model/QuadrupedModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: RabbitModel path: net/minecraft/client/model/RabbitModel field: body Lnet/minecraft/client/model/geom/ModelPart; The Rabbit's Body
field: head Lnet/minecraft/client/model/geom/ModelPart; The Rabbit's Head
field: nose Lnet/minecraft/client/model/geom/ModelPart; The Rabbit's Nose
field: tail Lnet/minecraft/client/model/geom/ModelPart; The Rabbit's Tail
method: prepareMobModel (Lnet/minecraft/world/entity/animal/Rabbit;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: setupAnim (Lnet/minecraft/world/entity/animal/Rabbit;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: RavagerModel path: net/minecraft/client/model/RavagerModel method: prepareMobModel (Lnet/minecraft/world/entity/monster/Ravager;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/monster/Ravager;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SalmonModel path: net/minecraft/client/model/SalmonModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SheepFurModel path: net/minecraft/client/model/SheepFurModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Sheep;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Sheep;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SheepModel path: net/minecraft/client/model/SheepModel method: prepareMobModel (Lnet/minecraft/world/entity/animal/Sheep;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Sheep;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ShieldModel path: net/minecraft/client/model/ShieldModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: ShulkerBulletModel path: net/minecraft/client/model/ShulkerBulletModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ShulkerModel path: net/minecraft/client/model/ShulkerModel method: setupAnim (Lnet/minecraft/world/entity/monster/Shulker;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SilverfishModel path: net/minecraft/client/model/SilverfishModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SkeletonModel path: net/minecraft/client/model/SkeletonModel method: prepareMobModel (Lnet/minecraft/world/entity/Mob;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/Mob;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
method: translateToHand (Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: side, 2: matrixStack class: SkullModel path: net/minecraft/client/model/SkullModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: SlimeModel path: net/minecraft/client/model/SlimeModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SnowGolemModel path: net/minecraft/client/model/SnowGolemModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SpiderModel path: net/minecraft/client/model/SpiderModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: SquidModel path: net/minecraft/client/model/SquidModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: StriderModel path: net/minecraft/client/model/StriderModel method: setupAnim (Lnet/minecraft/world/entity/monster/Strider;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: TridentModel path: net/minecraft/client/model/TridentModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: TropicalFishModelA path: net/minecraft/client/model/TropicalFishModelA method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: TropicalFishModelB path: net/minecraft/client/model/TropicalFishModelB method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: TurtleModel path: net/minecraft/client/model/TurtleModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: setupAnim (Lnet/minecraft/world/entity/animal/Turtle;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: VexModel path: net/minecraft/client/model/VexModel method: setupAnim (Lnet/minecraft/world/entity/monster/Vex;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: VillagerModel path: net/minecraft/client/model/VillagerModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: WitchModel path: net/minecraft/client/model/WitchModel method: setupAnim (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: WitherBossModel path: net/minecraft/client/model/WitherBossModel method: prepareMobModel (Lnet/minecraft/world/entity/boss/wither/WitherBoss;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/boss/wither/WitherBoss;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: WolfModel path: net/minecraft/client/model/WolfModel field: realHead Lnet/minecraft/client/model/geom/ModelPart; Added as a result/workaround for the loss of renderWithRotation
field: realTail Lnet/minecraft/client/model/geom/ModelPart; Added as a result/workaround for the loss of renderWithRotation
method: prepareMobModel (Lnet/minecraft/world/entity/animal/Wolf;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: setupAnim (Lnet/minecraft/world/entity/animal/Wolf;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: ZombieModel path: net/minecraft/client/model/ZombieModel method: isAggressive (Lnet/minecraft/world/entity/monster/Zombie;)Z params: 1: entity class: ZombieVillagerModel path: net/minecraft/client/model/ZombieVillagerModel method: setupAnim (Lnet/minecraft/world/entity/monster/Zombie;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
multiplayer class: ClientAdvancements path: net/minecraft/client/multiplayer/ClientAdvancements method: setListener (Lnet/minecraft/client/multiplayer/ClientAdvancements$Listener;)V params: 1: listener method: setSelectedTab (Lnet/minecraft/advancements/Advancement;Z)V params: 1: advancement, 2: tellServer method: update (Lnet/minecraft/network/protocol/game/ClientboundUpdateAdvancementsPacket;)V params: 1: packet class: ClientAdvancements$Listener path: net/minecraft/client/multiplayer/ClientAdvancements$Listener method: onSelectedTabChanged (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: onUpdateAdvancementProgress (Lnet/minecraft/advancements/Advancement;Lnet/minecraft/advancements/AdvancementProgress;)V params: 1: advancement, 2: progress class: ClientChunkCache path: net/minecraft/client/multiplayer/ClientChunkCache method: calculateStorageRange (I)I params: 0: viewDistance method: drop (II)V params: 1: x, 2: z Unload chunk from ChunkProviderClient's hashmap. Called in response to a Packet50PreChunk with its mode field set to false
method: gatherStats ()Ljava/lang/String; Converts the instance data to a readable string.
method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;Z)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkX, 2: chunkZ, 3: requiredStatus, 4: load method: isValidChunk (Lnet/minecraft/world/level/chunk/LevelChunk;II)Z params: 0: chunk, 1: x, 2: z method: onLightUpdate (Lnet/minecraft/world/level/LightLayer;Lnet/minecraft/core/SectionPos;)V params: 1: type, 2: pos method: updateViewCenter method: updateViewRadius (I)V params: 1: viewDistance class: ClientChunkCache$Storage path: net/minecraft/client/multiplayer/ClientChunkCache$Storage method: getChunk (I)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkIndex method: getIndex method: inRange method: replace (ILnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: chunkIndex, 2: chunk method: replace (ILnet/minecraft/world/level/chunk/LevelChunk;Lnet/minecraft/world/level/chunk/LevelChunk;)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkIndex, 2: chunk, 3: replaceWith class: ClientHandshakePacketListenerImpl path: net/minecraft/client/multiplayer/ClientHandshakePacketListenerImpl method: authenticateServer (Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 1: serverHash method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handleCompression (Lnet/minecraft/network/protocol/login/ClientboundLoginCompressionPacket;)V params: 1: packet method: handleCustomQuery (Lnet/minecraft/network/protocol/login/ClientboundCustomQueryPacket;)V params: 1: packet method: handleDisconnect (Lnet/minecraft/network/protocol/login/ClientboundLoginDisconnectPacket;)V params: 1: packet method: handleGameProfile (Lnet/minecraft/network/protocol/login/ClientboundGameProfilePacket;)V params: 1: packet method: handleHello (Lnet/minecraft/network/protocol/login/ClientboundHelloPacket;)V params: 1: packet method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
class: ClientLevel path: net/minecraft/client/multiplayer/ClientLevel method: addAlwaysVisibleParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: addAlwaysVisibleParticle (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)V params: 1: particleData, 2: ignoreRange, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed method: addEntity (ILnet/minecraft/world/entity/Entity;)V params: 1: entityId, 2: entityToSpawn method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)V params: 1: particleData, 2: forceAlwaysRender, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed method: addPlayer (ILnet/minecraft/client/player/AbstractClientPlayer;)V params: 1: playerId, 2: playerEntity method: animateTick (III)V params: 1: posX, 2: posY, 3: posZ method: calculateBlockTint (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I params: 1: blockPos, 2: colorResolver method: createFireworks (DDDDDDLnet/minecraft/nbt/CompoundTag;)V params: 1: x, 3: y, 5: z, 7: motionX, 9: motionY, 11: motionZ, 13: compound method: destroyBlockProgress (ILnet/minecraft/core/BlockPos;I)V params: 1: breakerId, 2: pos, 3: progress method: disconnect ()V If on MP, sends a quitting packet.
method: fillReportDetails (Lnet/minecraft/CrashReport;)Lnet/minecraft/CrashReportCategory; params: 1: report Adds some basic stats of the world to the given crash report.
method: getBlockTint (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I params: 1: blockPos, 2: colorResolver method: getChunkSource ()Lnet/minecraft/client/multiplayer/ClientChunkCache; Gets the world's chunk provider
method: getCloudColor (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getEntity (I)Lnet/minecraft/world/entity/Entity; params: 1: id Returns the Entity with the given ID, or null if it doesn't exist in this World.
method: getLevelData ()Lnet/minecraft/client/multiplayer/ClientLevel$ClientLevelData; Returns the world's WorldInfo object
method: getMapData (Ljava/lang/String;)Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData; params: 1: mapName method: getShade (Lnet/minecraft/core/Direction;Z)F params: 1: direction, 2: isShade method: getSkyDarken (F)F params: 1: partialTicks method: getStarBrightness (F)F params: 1: partialTicks method: getUncachedNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: globalLevelEvent (ILnet/minecraft/core/BlockPos;I)V params: 1: id, 2: pos, 3: data method: hasChunk (II)Z params: 1: chunkX, 2: chunkZ method: levelEvent (Lnet/minecraft/world/entity/player/Player;ILnet/minecraft/core/BlockPos;I)V params: 1: player, 2: type, 3: pos, 4: data method: playLocalSound (DDDLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FFZ)V params: 1: x, 3: y, 5: z, 7: sound, 8: category, 9: volume, 10: pitch, 11: distanceDelay method: playLocalSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FFZ)V params: 1: pos, 2: sound, 3: category, 4: volume, 5: pitch, 6: distanceDelay method: playSound (Lnet/minecraft/world/entity/player/Player;DDDLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: x, 4: y, 6: z, 8: sound, 9: category, 10: volume, 11: pitch method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: entity, 3: event, 4: category, 5: volume, 6: pitch method: putNonPlayerEntity (ILnet/minecraft/world/entity/Entity;)V params: 1: entityId, 2: entityToSpawn method: sendBlockUpdated (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;I)V params: 1: pos, 2: oldState, 3: newState, 4: flags Flags are as in setBlockState
method: sendPacketToServer (Lnet/minecraft/network/protocol/Packet;)V params: 1: packet method: setBlocksDirty (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: blockPos, 2: oldState, 3: newState method: setDayTime (J)V params: 1: time Sets the world time.
method: setDefaultSpawnPos (Lnet/minecraft/core/BlockPos;F)V params: 1: spawnPos method: setGameTime method: setKnownState (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: state method: setScoreboard (Lnet/minecraft/world/scores/Scoreboard;)V params: 1: scoreboard method: setSectionDirtyWithNeighbors (III)V params: 1: sectionX, 2: sectionY, 3: sectionZ method: setSkyFlashTime method: spawnFluidParticle (DDDDDLnet/minecraft/core/particles/ParticleOptions;)V params: 1: xStart, 3: xEnd, 5: zStart, 7: zEnd, 9: y, 11: particleData method: spawnParticle (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/particles/ParticleOptions;Lnet/minecraft/world/phys/shapes/VoxelShape;D)V params: 1: pos, 2: particleData, 3: voxelShape, 4: y method: tick (Ljava/util/function/BooleanSupplier;)V params: 1: hasTimeLeft Runs a single tick for the world
method: tickNonPassenger (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: tickPassenger (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V params: 1: mount, 2: rider method: trySpawnDripParticles (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/particles/ParticleOptions;Z)V params: 1: blockPos, 2: blockState, 3: particleData, 4: shapeDownSolid method: unload (Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: chunk class: ClientLevel$ClientLevelData path: net/minecraft/client/multiplayer/ClientLevel$ClientLevelData method: getDayTime ()J Get current world time
method: getGameRules ()Lnet/minecraft/world/level/GameRules; Gets the GameRules class Instance.
method: getXSpawn ()I Returns the x spawn position
method: getYSpawn ()I Return the Y axis spawning point of the player.
method: getZSpawn ()I Returns the z spawn position
method: isHardcore ()Z Returns true if hardcore mode is enabled, otherwise false
method: isRaining ()Z Returns true if it is raining, false otherwise.
method: isThundering ()Z Returns true if it is thundering, false otherwise.
method: setDayTime method: setDifficulty (Lnet/minecraft/world/Difficulty;)V params: 1: difficulty method: setDifficultyLocked (Z)V params: 1: difficultyLocked method: setGameTime method: setRaining (Z)V params: 1: isRaining Sets whether it is raining or not.
method: setSpawn (Lnet/minecraft/core/BlockPos;F)V params: 1: spawnPoint, 2: angle method: setSpawnAngle method: setXSpawn (I)V params: 1: x Set the x spawn position to the passed in value
method: setYSpawn (I)V params: 1: y Sets the y spawn position
method: setZSpawn (I)V params: 1: z Set the z spawn position to the passed in value
class: ClientPacketListener path: net/minecraft/client/multiplayer/ClientPacketListener field: callbackScreen Lnet/minecraft/client/gui/screens/Screen; Seems to be either null (integrated server) or an instance of either GuiMultiplayer (when connecting to a server) or GuiScreenReamlsTOS (when connecting to MCO server)
field: connection Lnet/minecraft/network/Connection; The NetworkManager instance used to communicate with the server, used to respond to various packets (primarilly movement and plugin channel related ones) and check the status of the network connection externally
field: level Lnet/minecraft/client/multiplayer/ClientLevel; Reference to the current ClientWorld instance, which many handler methods operate on
field: minecraft Lnet/minecraft/client/Minecraft; Reference to the Minecraft instance, which many handler methods operate on
field: playerInfoMap Ljava/util/Map; A mapping from player names to their respective GuiPlayerInfo (specifies the clients response time to the server)
field: random Ljava/util/Random; Just an ordinary random number generator, used to randomize audio pitch of item/orb pickup and randomize both particlespawn offset and velocity
field: started Z True if the client has finished downloading terrain and may spawn. Set upon receipt of S08PacketPlayerPosLook, reset upon respawning
method: cleanup ()V Clears the WorldClient instance associated with this NetHandlerPlayClient
method: downloadCallback (Ljava/util/concurrent/CompletableFuture;)V params: 1: future method: findTotem (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/item/ItemStack; params: 0: player method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: getPlayerInfo (Ljava/lang/String;)Lnet/minecraft/client/multiplayer/PlayerInfo; params: 1: name Gets the client's description information about another player on the server.
method: getPlayerInfo (Ljava/util/UUID;)Lnet/minecraft/client/multiplayer/PlayerInfo; params: 1: uniqueId method: handleAddEntity (Lnet/minecraft/network/protocol/game/ClientboundAddEntityPacket;)V params: 1: packet Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
method: handleAddExperienceOrb (Lnet/minecraft/network/protocol/game/ClientboundAddExperienceOrbPacket;)V params: 1: packet Spawns an experience orb and sets its value (amount of XP)
method: handleAddMob (Lnet/minecraft/network/protocol/game/ClientboundAddMobPacket;)V params: 1: packet Spawns the mob entity at the specified location, with the specified rotation, momentum and type. Updates the entities Datawatchers with the entity metadata specified in the packet
method: handleAddObjective (Lnet/minecraft/network/protocol/game/ClientboundSetObjectivePacket;)V params: 1: packet May create a scoreboard objective, remove an objective from the scoreboard or update an objectives' displayname
method: handleAddOrRemoveRecipes (Lnet/minecraft/network/protocol/game/ClientboundRecipePacket;)V params: 1: packet method: handleAddPainting (Lnet/minecraft/network/protocol/game/ClientboundAddPaintingPacket;)V params: 1: packet Handles the spawning of a painting object
method: handleAddPlayer (Lnet/minecraft/network/protocol/game/ClientboundAddPlayerPacket;)V params: 1: packet Handles the creation of a nearby player entity, sets the position and held item
method: handleAnimate (Lnet/minecraft/network/protocol/game/ClientboundAnimatePacket;)V params: 1: packet Renders a specified animation: Waking up a player, a living entity swinging its currently held item, being hurt or receiving a critical hit by normal or magical means
method: handleAwardStats (Lnet/minecraft/network/protocol/game/ClientboundAwardStatsPacket;)V params: 1: packet Updates the players statistics or achievements
method: handleBlockBreakAck (Lnet/minecraft/network/protocol/game/ClientboundBlockBreakAckPacket;)V params: 1: packet method: handleBlockDestruction (Lnet/minecraft/network/protocol/game/ClientboundBlockDestructionPacket;)V params: 1: packet Updates all registered IWorldAccess instances with destroyBlockInWorldPartially
method: handleBlockEntityData (Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket;)V params: 1: packet Updates the NBTTagCompound metadata of instances of the following entitytypes: Mob spawners, command blocks, beacons, skulls, flowerpot
method: handleBlockEvent (Lnet/minecraft/network/protocol/game/ClientboundBlockEventPacket;)V params: 1: packet Triggers Block.onBlockEventReceived, which is implemented in BlockPistonBase for extension/retraction, BlockNote for setting the instrument (including audiovisual feedback) and in BlockContainer to set the number of players accessing a (Ender)Chest
method: handleBlockUpdate (Lnet/minecraft/network/protocol/game/ClientboundBlockUpdatePacket;)V params: 1: packet Updates the block and metadata and generates a blockupdate (and notify the clients)
method: handleBossUpdate (Lnet/minecraft/network/protocol/game/ClientboundBossEventPacket;)V params: 1: packet method: handleChangeDifficulty (Lnet/minecraft/network/protocol/game/ClientboundChangeDifficultyPacket;)V params: 1: packet method: handleChat (Lnet/minecraft/network/protocol/game/ClientboundChatPacket;)V params: 1: packet Prints a chatmessage in the chat GUI
method: handleChunkBlocksUpdate (Lnet/minecraft/network/protocol/game/ClientboundSectionBlocksUpdatePacket;)V params: 1: packet Received from the servers PlayerManager if between 1 and 64 blocks in a chunk are changed. If only one block requires an update, the server sends S23PacketBlockChange and if 64 or more blocks are changed, the server sends S21PacketChunkData
method: handleCommandSuggestions (Lnet/minecraft/network/protocol/game/ClientboundCommandSuggestionsPacket;)V params: 1: packet This method is only called for manual tab-completion (the {@link net.minecraft.command.arguments.SuggestionProviders#ASK_SERVER minecraft:ask_server} suggestion provider).
method: handleCommands (Lnet/minecraft/network/protocol/game/ClientboundCommandsPacket;)V params: 1: packet method: handleContainerClose (Lnet/minecraft/network/protocol/game/ClientboundContainerClosePacket;)V params: 1: packet Resets the ItemStack held in hand and closes the window that is opened
method: handleContainerContent (Lnet/minecraft/network/protocol/game/ClientboundContainerSetContentPacket;)V params: 1: packet Handles the placement of a specified ItemStack in a specified container/inventory slot
method: handleContainerSetData (Lnet/minecraft/network/protocol/game/ClientboundContainerSetDataPacket;)V params: 1: packet Sets the progressbar of the opened window to the specified value
method: handleContainerSetSlot (Lnet/minecraft/network/protocol/game/ClientboundContainerSetSlotPacket;)V params: 1: packet Handles pickin up an ItemStack or dropping one in your inventory or an open (non-creative) container
method: handleCustomPayload (Lnet/minecraft/network/protocol/game/ClientboundCustomPayloadPacket;)V params: 1: packet Handles packets that have room for a channel specification. Vanilla implemented channels are "MC|TrList" to acquire a MerchantRecipeList trades for a villager merchant, "MC|Brand" which sets the server brand? on the player instance and finally "MC|RPack" which the server uses to communicate the identifier of the default server resourcepack for the client to load.
method: handleCustomSoundEvent (Lnet/minecraft/network/protocol/game/ClientboundCustomSoundPacket;)V params: 1: packet method: handleDisconnect (Lnet/minecraft/network/protocol/game/ClientboundDisconnectPacket;)V params: 1: packet Closes the network channel
method: handleEntityEvent (Lnet/minecraft/network/protocol/game/ClientboundEntityEventPacket;)V params: 1: packet Invokes the entities' handleUpdateHealth method which is implemented in LivingBase (hurt/death), MinecartMobSpawner (spawn delay), FireworkRocket & MinecartTNT (explosion), IronGolem (throwing,...), Witch (spawn particles), Zombie (villager transformation), Animal (breeding mode particles), Horse (breeding/smoke particles), Sheep (...), Tameable (...), Villager (particles for breeding mode, angry and happy), Wolf (...)
method: handleEntityLinkPacket (Lnet/minecraft/network/protocol/game/ClientboundSetEntityLinkPacket;)V params: 1: packet method: handleExplosion (Lnet/minecraft/network/protocol/game/ClientboundExplodePacket;)V params: 1: packet Initiates a new explosion (sound, particles, drop spawn) for the affected blocks indicated by the packet.
method: handleForgetLevelChunk (Lnet/minecraft/network/protocol/game/ClientboundForgetLevelChunkPacket;)V params: 1: packet method: handleGameEvent (Lnet/minecraft/network/protocol/game/ClientboundGameEventPacket;)V params: 1: packet method: handleHorseScreenOpen (Lnet/minecraft/network/protocol/game/ClientboundHorseScreenOpenPacket;)V params: 1: packet method: handleItemCooldown (Lnet/minecraft/network/protocol/game/ClientboundCooldownPacket;)V params: 1: packet method: handleKeepAlive (Lnet/minecraft/network/protocol/game/ClientboundKeepAlivePacket;)V params: 1: packet method: handleLevelChunk (Lnet/minecraft/network/protocol/game/ClientboundLevelChunkPacket;)V params: 1: packet Updates the specified chunk with the supplied data, marks it for re-rendering and lighting recalculation
method: handleLevelEvent (Lnet/minecraft/network/protocol/game/ClientboundLevelEventPacket;)V params: 1: packet method: handleLightUpdatePacked (Lnet/minecraft/network/protocol/game/ClientboundLightUpdatePacket;)V params: 1: packet method: handleLogin (Lnet/minecraft/network/protocol/game/ClientboundLoginPacket;)V params: 1: packet Registers some server properties (gametype,hardcore-mode,terraintype,difficulty,player limit), creates a new WorldClient and sets the player initial dimension
method: handleLookAt (Lnet/minecraft/network/protocol/game/ClientboundPlayerLookAtPacket;)V params: 1: packet method: handleMapItemData (Lnet/minecraft/network/protocol/game/ClientboundMapItemDataPacket;)V params: 1: packet Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a MapItemRenderer for it
method: handleMerchantOffers (Lnet/minecraft/network/protocol/game/ClientboundMerchantOffersPacket;)V params: 1: packet method: handleMoveEntity (Lnet/minecraft/network/protocol/game/ClientboundMoveEntityPacket;)V params: 1: packet Updates the specified entity's position by the specified relative moment and absolute rotation. Note that subclassing of the packet allows for the specification of a subset of this data (e.g. only rel. position, abs. rotation or both).
method: handleMovePlayer (Lnet/minecraft/network/protocol/game/ClientboundPlayerPositionPacket;)V params: 1: packet method: handleMoveVehicle (Lnet/minecraft/network/protocol/game/ClientboundMoveVehiclePacket;)V params: 1: packet method: handleOpenBook (Lnet/minecraft/network/protocol/game/ClientboundOpenBookPacket;)V params: 1: packet method: handleOpenScreen (Lnet/minecraft/network/protocol/game/ClientboundOpenScreenPacket;)V params: 1: packet method: handleOpenSignEditor (Lnet/minecraft/network/protocol/game/ClientboundOpenSignEditorPacket;)V params: 1: packet Creates a sign in the specified location if it didn't exist and opens the GUI to edit its text
method: handleParticleEvent (Lnet/minecraft/network/protocol/game/ClientboundLevelParticlesPacket;)V params: 1: packet Spawns a specified number of particles at the specified location with a randomized displacement according to specified bounds
method: handlePlaceRecipe (Lnet/minecraft/network/protocol/game/ClientboundPlaceGhostRecipePacket;)V params: 1: packet method: handlePlayerAbilities (Lnet/minecraft/network/protocol/game/ClientboundPlayerAbilitiesPacket;)V params: 1: packet method: handlePlayerInfo (Lnet/minecraft/network/protocol/game/ClientboundPlayerInfoPacket;)V params: 1: packet method: handleRemoveMobEffect (Lnet/minecraft/network/protocol/game/ClientboundRemoveMobEffectPacket;)V params: 1: packet method: handleResourcePack (Lnet/minecraft/network/protocol/game/ClientboundResourcePackPacket;)V params: 1: packet method: handleRespawn (Lnet/minecraft/network/protocol/game/ClientboundRespawnPacket;)V params: 1: packet method: handleRotateMob (Lnet/minecraft/network/protocol/game/ClientboundRotateHeadPacket;)V params: 1: packet Updates the direction in which the specified entity is looking, normally this head rotation is independent of the rotation of the entity itself
method: handleSelectAdvancementsTab (Lnet/minecraft/network/protocol/game/ClientboundSelectAdvancementsTabPacket;)V params: 1: packet method: handleSetCamera (Lnet/minecraft/network/protocol/game/ClientboundSetCameraPacket;)V params: 1: packet method: handleSetCarriedItem (Lnet/minecraft/network/protocol/game/ClientboundSetCarriedItemPacket;)V params: 1: packet Updates which hotbar slot of the player is currently selected
method: handleSetChunkCacheCenter (Lnet/minecraft/network/protocol/game/ClientboundSetChunkCacheCenterPacket;)V params: 1: packet method: handleSetChunkCacheRadius (Lnet/minecraft/network/protocol/game/ClientboundSetChunkCacheRadiusPacket;)V params: 1: packet method: handleSetDisplayObjective (Lnet/minecraft/network/protocol/game/ClientboundSetDisplayObjectivePacket;)V params: 1: packet Removes or sets the ScoreObjective to be displayed at a particular scoreboard position (list, sidebar, below name)
method: handleSetEntityData (Lnet/minecraft/network/protocol/game/ClientboundSetEntityDataPacket;)V params: 1: packet Invoked when the server registers new proximate objects in your watchlist or when objects in your watchlist have changed -> Registers any changes locally
method: handleSetEntityMotion (Lnet/minecraft/network/protocol/game/ClientboundSetEntityMotionPacket;)V params: 1: packet Sets the velocity of the specified entity to the specified value
method: handleSetEntityPassengersPacket (Lnet/minecraft/network/protocol/game/ClientboundSetPassengersPacket;)V params: 1: packet method: handleSetEquipment (Lnet/minecraft/network/protocol/game/ClientboundSetEquipmentPacket;)V params: 1: packet method: handleSetExperience (Lnet/minecraft/network/protocol/game/ClientboundSetExperiencePacket;)V params: 1: packet method: handleSetHealth (Lnet/minecraft/network/protocol/game/ClientboundSetHealthPacket;)V params: 1: packet method: handleSetPlayerTeamPacket (Lnet/minecraft/network/protocol/game/ClientboundSetPlayerTeamPacket;)V params: 1: packet Updates a team managed by the scoreboard: Create/Remove the team registration, Register/Remove the player-team-memberships, Set team displayname/prefix/suffix and/or whether friendly fire is enabled
method: handleSetScore (Lnet/minecraft/network/protocol/game/ClientboundSetScorePacket;)V params: 1: packet Either updates the score with a specified value or removes the score for an objective
method: handleSetSpawn (Lnet/minecraft/network/protocol/game/ClientboundSetDefaultSpawnPositionPacket;)V params: 1: packet method: handleSetTime (Lnet/minecraft/network/protocol/game/ClientboundSetTimePacket;)V params: 1: packet method: handleSoundEntityEvent (Lnet/minecraft/network/protocol/game/ClientboundSoundEntityPacket;)V params: 1: packet method: handleSoundEvent (Lnet/minecraft/network/protocol/game/ClientboundSoundPacket;)V params: 1: packet method: handleStopSoundEvent (Lnet/minecraft/network/protocol/game/ClientboundStopSoundPacket;)V params: 1: packet method: handleTabListCustomisation (Lnet/minecraft/network/protocol/game/ClientboundTabListPacket;)V params: 1: packet method: handleTagQueryPacket (Lnet/minecraft/network/protocol/game/ClientboundTagQueryPacket;)V params: 1: packet method: handleTakeItemEntity (Lnet/minecraft/network/protocol/game/ClientboundTakeItemEntityPacket;)V params: 1: packet method: handleTeleportEntity (Lnet/minecraft/network/protocol/game/ClientboundTeleportEntityPacket;)V params: 1: packet Updates an entity's position and rotation as specified by the packet
method: handleUpdateAdvancementsPacket (Lnet/minecraft/network/protocol/game/ClientboundUpdateAdvancementsPacket;)V params: 1: packet method: handleUpdateAttributes (Lnet/minecraft/network/protocol/game/ClientboundUpdateAttributesPacket;)V params: 1: packet Updates en entity's attributes and their respective modifiers, which are used for speed bonusses (player sprinting, animals fleeing, baby speed), weapon/tool attackDamage, hostiles followRange randomization, zombie maxHealth and knockback resistance as well as reinforcement spawning chance.
method: handleUpdateMobEffect (Lnet/minecraft/network/protocol/game/ClientboundUpdateMobEffectPacket;)V params: 1: packet method: handleUpdateRecipes (Lnet/minecraft/network/protocol/game/ClientboundUpdateRecipesPacket;)V params: 1: packet method: handleUpdateTags (Lnet/minecraft/network/protocol/game/ClientboundUpdateTagsPacket;)V params: 1: packet method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
method: send (Lnet/minecraft/network/protocol/Packet;)V params: 1: packet method: send (Lnet/minecraft/network/protocol/game/ServerboundResourcePackPacket$Action;)V params: 1: action method: validateResourcePackUrl (Ljava/lang/String;)Z params: 1: url class: ClientSuggestionProvider path: net/minecraft/client/multiplayer/ClientSuggestionProvider method: completeCustomSuggestions (ILcom/mojang/brigadier/suggestion/Suggestions;)V params: 1: transaction, 2: result method: customSuggestion (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: suggestionsBuilder method: hasPermission method: prettyPrint (D)Ljava/lang/String; params: 0: doubleValue method: prettyPrint (I)Ljava/lang/String; params: 0: intValue class: MultiPlayerGameMode path: net/minecraft/client/multiplayer/MultiPlayerGameMode method: adjustPlayer (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Sets player capabilities depending on current gametype. params: player
method: attack (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;)V params: 1: player, 2: targetEntity Attacks an entity
method: continueDestroyBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: posBlock, 2: directionFacing method: createPlayer (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/stats/StatsCounter;Lnet/minecraft/client/ClientRecipeBook;)Lnet/minecraft/client/player/LocalPlayer; params: 1: level, 2: statsManager, 3: recipes method: createPlayer (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/stats/StatsCounter;Lnet/minecraft/client/ClientRecipeBook;ZZ)Lnet/minecraft/client/player/LocalPlayer; params: 1: level, 2: statsManager, 3: recipes method: destroyBlock (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: ensureHasSentCarriedItem ()V Syncs the current player item with the server
method: getPickRange ()F player reach distance = 4F
method: handleBlockBreakAck (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket$Action;Z)V params: 1: level, 2: pos, 3: block, 4: action, 5: successful method: handleCreativeModeItemAdd (Lnet/minecraft/world/item/ItemStack;I)V params: 1: itemStack, 2: slotId Used in PlayerControllerMP to update the server with an ItemStack in a slot.
method: handleCreativeModeItemDrop (Lnet/minecraft/world/item/ItemStack;)V params: 1: itemStack Sends a Packet107 to the server to drop the item on the ground
method: handleInventoryButtonClick (II)V params: 1: windowID, 2: button GuiEnchantment uses this during multiplayer to tell PlayerControllerMP to send a packet indicating the enchantment action the player has taken.
method: handlePickItem method: handlePlaceRecipe (ILnet/minecraft/world/item/crafting/Recipe;Z)V params: 2: recipe, 3: placeAll method: hasFarPickRange ()Z true for hitting entities far away.
method: hasInfiniteItems ()Z returns true if player is in creative mode
method: hasMissTime ()Z Checks if the player is not creative, used for checking if it should break a block instantly
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: target, 3: hand Handles right clicking an entity, sends a packet to the server.
method: interactAt (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/EntityHitResult;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: target, 3: ray, 4: hand Handles right clicking an entity from the entities side, sends a packet to the server.
method: isDestroying method: isServerControlledInventory ()Z Checks if the player is riding a horse, used to chose the GUI to open
method: releaseUsingItem (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: sameDestroyTarget (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: sendBlockAction (Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket$Action;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)V params: 1: action, 2: pos, 3: dir method: setLocalMode (Lnet/minecraft/world/level/GameType;)V params: 1: type Sets the game type for the player.
method: startDestroyBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: loc, 2: face Called when the player is hitting a block with an item.
method: stopDestroyBlock ()V Resets current block damage
method: useItem (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: level, 3: hand class: PlayerInfo path: net/minecraft/client/multiplayer/PlayerInfo field: profile Lcom/mojang/authlib/GameProfile; The GameProfile for the player represented by this NetworkPlayerInfo instance
field: tabListDisplayName Lnet/minecraft/network/chat/Component; When this is non-null, it is displayed instead of the player's real name
method: getElytraLocation ()Lnet/minecraft/resources/ResourceLocation; Gets the special Elytra texture for the player.
method: getProfile ()Lcom/mojang/authlib/GameProfile; Returns the GameProfile for the player represented by this NetworkPlayerInfo instance
method: setDisplayHealth (I)V params: 1: displayHealth method: setGameMode (Lnet/minecraft/world/level/GameType;)V params: 1: gameMode method: setHealthBlinkTime (J)V params: 1: healthBlinkTime method: setLastHealth (I)V params: 1: lastHealth method: setLastHealthTime (J)V params: 1: lastHealthTime method: setLatency method: setTabListDisplayName (Lnet/minecraft/network/chat/Component;)V params: 1: displayName class: ServerData path: net/minecraft/client/multiplayer/ServerData field: lan Z True if the server is a LAN server
method: copyFrom (Lnet/minecraft/client/multiplayer/ServerData;)V params: 1: serverData method: getIconB64 ()Ljava/lang/String; Returns the base-64 encoded representation of the server's icon, or null if not available
method: isLan ()Z Return true if the server is a LAN server
method: read (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/client/multiplayer/ServerData; params: 0: nbtCompound Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance.
method: setIconB64 (Ljava/lang/String;)V params: 1: icon method: setResourcePackStatus (Lnet/minecraft/client/multiplayer/ServerData$ServerPackStatus;)V params: 1: mode method: write ()Lnet/minecraft/nbt/CompoundTag; Returns an NBTTagCompound with the server's name, IP and maybe acceptTextures.
class: ServerList path: net/minecraft/client/multiplayer/ServerList method: add (Lnet/minecraft/client/multiplayer/ServerData;)V params: 1: server Adds the given ServerData instance to the list.
method: get (I)Lnet/minecraft/client/multiplayer/ServerData; params: 1: index Gets the ServerData instance stored for the given index in the list.
method: load ()V Loads a list of servers from servers.dat, by running ServerData.getServerDataFromNBTCompound on each NBT compound found in the "servers" tag list.
method: remove (Lnet/minecraft/client/multiplayer/ServerData;)V params: 1: serverData method: replace (ILnet/minecraft/client/multiplayer/ServerData;)V params: 1: index, 2: server method: save ()V Runs getNBTCompound on each ServerData instance, puts everything into a "servers" NBT list and writes it to servers.dat.
method: saveSingleServer (Lnet/minecraft/client/multiplayer/ServerData;)V params: 0: server method: size ()I Counts the number of ServerData instances in the list.
method: swap (II)V params: 1: pos1, 2: pos2 Takes two list indexes, and swaps their order around.
class: ServerStatusPinger path: net/minecraft/client/multiplayer/ServerStatusPinger field: connections Ljava/util/List; A list of NetworkManagers that have pending pings
method: pingServer (Lnet/minecraft/client/multiplayer/ServerData;Ljava/lang/Runnable;)V params: 1: server class: ServerStatusPinger$1 path: net/minecraft/client/multiplayer/ServerStatusPinger$1 method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handlePongResponse (Lnet/minecraft/network/protocol/status/ClientboundPongResponsePacket;)V params: 1: packet method: handleStatusResponse (Lnet/minecraft/network/protocol/status/ClientboundStatusResponsePacket;)V params: 1: packet method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
particle class: AshParticle path: net/minecraft/client/particle/AshParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDFLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: quadSizeMultiplier, 15: sprites class: AshParticle$Provider path: net/minecraft/client/particle/AshParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: AttackSweepParticle path: net/minecraft/client/particle/AttackSweepParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: quadSizeMultiplier, 10: sprites method: getLightColor (F)I params: 1: partialTick class: AttackSweepParticle$Provider path: net/minecraft/client/particle/AttackSweepParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: BaseAshSmokeParticle path: net/minecraft/client/particle/BaseAshSmokeParticle method: getQuadSize (F)F params: 1: scaleFactor class: BreakingItemParticle path: net/minecraft/client/particle/BreakingItemParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: stack method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: x, 4: y, 6: z, 8: stack class: BreakingItemParticle$Provider path: net/minecraft/client/particle/BreakingItemParticle$Provider method: createParticle (Lnet/minecraft/core/particles/ItemParticleOption;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: BreakingItemParticle$SlimeProvider path: net/minecraft/client/particle/BreakingItemParticle$SlimeProvider method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: BreakingItemParticle$SnowballProvider path: net/minecraft/client/particle/BreakingItemParticle$SnowballProvider method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: BubbleColumnUpParticle$Provider path: net/minecraft/client/particle/BubbleColumnUpParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: BubbleParticle$Provider path: net/minecraft/client/particle/BubbleParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: BubblePopParticle path: net/minecraft/client/particle/BubblePopParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: BubblePopParticle$Provider path: net/minecraft/client/particle/BubblePopParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: CampfireSmokeParticle path: net/minecraft/client/particle/CampfireSmokeParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDZ)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: signal class: CampfireSmokeParticle$CosyProvider path: net/minecraft/client/particle/CampfireSmokeParticle$CosyProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: CampfireSmokeParticle$SignalProvider path: net/minecraft/client/particle/CampfireSmokeParticle$SignalProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: CritParticle path: net/minecraft/client/particle/CritParticle method: getQuadSize (F)F params: 1: scaleFactor class: CritParticle$DamageIndicatorProvider path: net/minecraft/client/particle/CritParticle$DamageIndicatorProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: CritParticle$MagicProvider path: net/minecraft/client/particle/CritParticle$MagicProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: CritParticle$Provider path: net/minecraft/client/particle/CritParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DragonBreathParticle path: net/minecraft/client/particle/DragonBreathParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites method: getQuadSize (F)F params: 1: scaleFactor class: DragonBreathParticle$Provider path: net/minecraft/client/particle/DragonBreathParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle path: net/minecraft/client/particle/DripParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/world/level/material/Fluid;)V params: 1: level, 2: x, 4: y, 6: z, 8: type method: getLightColor (F)I params: 1: partialTick class: DripParticle$DripHangParticle path: net/minecraft/client/particle/DripParticle$DripHangParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/world/level/material/Fluid;Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: level, 2: x, 4: y, 6: z, 8: type, 9: fallingParticle class: DripParticle$FallAndLandParticle path: net/minecraft/client/particle/DripParticle$FallAndLandParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/world/level/material/Fluid;Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: level, 2: x, 4: y, 6: z, 8: type, 9: landParticle class: DripParticle$HoneyFallProvider path: net/minecraft/client/particle/DripParticle$HoneyFallProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$HoneyHangProvider path: net/minecraft/client/particle/DripParticle$HoneyHangProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$HoneyLandProvider path: net/minecraft/client/particle/DripParticle$HoneyLandProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$LavaFallProvider path: net/minecraft/client/particle/DripParticle$LavaFallProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$LavaHangProvider path: net/minecraft/client/particle/DripParticle$LavaHangProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$LavaLandProvider path: net/minecraft/client/particle/DripParticle$LavaLandProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$NectarFallProvider path: net/minecraft/client/particle/DripParticle$NectarFallProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$ObsidianTearFallProvider path: net/minecraft/client/particle/DripParticle$ObsidianTearFallProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$ObsidianTearHangProvider path: net/minecraft/client/particle/DripParticle$ObsidianTearHangProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$ObsidianTearLandProvider path: net/minecraft/client/particle/DripParticle$ObsidianTearLandProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$WaterFallProvider path: net/minecraft/client/particle/DripParticle$WaterFallProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DripParticle$WaterHangProvider path: net/minecraft/client/particle/DripParticle$WaterHangProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: DustParticle path: net/minecraft/client/particle/DustParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/core/particles/DustParticleOptions;Lnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: options, 15: sprites method: getQuadSize (F)F params: 1: scaleFactor class: DustParticle$Provider path: net/minecraft/client/particle/DustParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/DustParticleOptions;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: EnchantmentTableParticle path: net/minecraft/client/particle/EnchantmentTableParticle method: getLightColor (F)I params: 1: partialTick method: move (DDD)V params: 1: x, 3: y, 5: z class: EnchantmentTableParticle$NautilusProvider path: net/minecraft/client/particle/EnchantmentTableParticle$NautilusProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: EnchantmentTableParticle$Provider path: net/minecraft/client/particle/EnchantmentTableParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: EndRodParticle path: net/minecraft/client/particle/EndRodParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites method: move (DDD)V params: 1: x, 3: y, 5: z class: EndRodParticle$Provider path: net/minecraft/client/particle/EndRodParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: ExplodeParticle path: net/minecraft/client/particle/ExplodeParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: ExplodeParticle$Provider path: net/minecraft/client/particle/ExplodeParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: FallingDustParticle path: net/minecraft/client/particle/FallingDustParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDFFFLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 9: ySpeed, 10: zSpeed, 11: sprites method: getQuadSize (F)F params: 1: scaleFactor class: FallingDustParticle$Provider path: net/minecraft/client/particle/FallingDustParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/BlockParticleOption;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: FireworkParticles$FlashProvider path: net/minecraft/client/particle/FireworkParticles$FlashProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: FireworkParticles$OverlayParticle path: net/minecraft/client/particle/FireworkParticles$OverlayParticle method: getQuadSize (F)F params: 1: scaleFactor method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks class: FireworkParticles$SparkParticle path: net/minecraft/client/particle/FireworkParticles$SparkParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/ParticleEngine;Lnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: engine, 15: sprites method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks method: setFlicker method: setTrail class: FireworkParticles$SparkProvider path: net/minecraft/client/particle/FireworkParticles$SparkProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: FireworkParticles$Starter path: net/minecraft/client/particle/FireworkParticles$Starter method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/ParticleEngine;Lnet/minecraft/nbt/CompoundTag;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: engine, 15: tag method: createParticle (DDDDDD[I[IZZ)V params: 1: x, 3: y, 5: z, 7: motionX, 9: motionY, 11: motionZ, 13: sparkColors, 14: sparkColorFades, 15: hasTrail, 16: hasTwinkle Creates a single particle.
method: createParticleBall (DI[I[IZZ)V params: 1: speed, 3: size, 4: colours, 5: fadeColours, 6: trail, 7: twinkle Creates a small ball or large ball type explosion effect.
method: createParticleBurst ([I[IZZ)V params: 1: colours, 2: fadeColours, 3: trail, 4: twinkle Creates a burst type explosion effect.
method: createParticleShape (D[[D[I[IZZZ)V params: 1: speed, 3: shape, 4: colours, 5: fadeColours, 6: trail, 7: twinkle, 8: creeper Creates a creeper-shaped or star-shaped explosion.
class: FlameParticle path: net/minecraft/client/particle/FlameParticle method: getLightColor (F)I params: 1: partialTick method: getQuadSize (F)F params: 1: scaleFactor method: move (DDD)V params: 1: x, 3: y, 5: z class: FlameParticle$Provider path: net/minecraft/client/particle/FlameParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: HeartParticle path: net/minecraft/client/particle/HeartParticle method: getQuadSize (F)F params: 1: scaleFactor class: HeartParticle$AngryVillagerProvider path: net/minecraft/client/particle/HeartParticle$AngryVillagerProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: HeartParticle$Provider path: net/minecraft/client/particle/HeartParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: HugeExplosionParticle path: net/minecraft/client/particle/HugeExplosionParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: quadSizeMulitiplier, 10: sprites method: getLightColor (F)I params: 1: partialTick class: HugeExplosionParticle$Provider path: net/minecraft/client/particle/HugeExplosionParticle$Provider method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: HugeExplosionSeedParticle$Provider path: net/minecraft/client/particle/HugeExplosionSeedParticle$Provider method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: ItemPickupParticle path: net/minecraft/client/particle/ItemPickupParticle method: <init> (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/renderer/RenderBuffers;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V params: 1: entityRenderDispatcher, 2: buffers, 3: level, 4: itemEntity, 5: target method: <init> (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/renderer/RenderBuffers;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;)V params: 1: entityRenderDispatcher, 2: buffers, 3: level, 4: itemEntity, 5: target, 6: speedVector method: getSafeCopy (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/entity/Entity; params: 1: entity method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks class: LargeSmokeParticle path: net/minecraft/client/particle/LargeSmokeParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: LargeSmokeParticle$Provider path: net/minecraft/client/particle/LargeSmokeParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: LavaParticle path: net/minecraft/client/particle/LavaParticle method: getLightColor (F)I params: 1: partialTick method: getQuadSize (F)F params: 1: scaleFactor class: LavaParticle$Provider path: net/minecraft/client/particle/LavaParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: MobAppearanceParticle path: net/minecraft/client/particle/MobAppearanceParticle method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks class: MobAppearanceParticle$Provider path: net/minecraft/client/particle/MobAppearanceParticle$Provider method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: NoRenderParticle path: net/minecraft/client/particle/NoRenderParticle method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks class: NoteParticle path: net/minecraft/client/particle/NoteParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDD)V params: 1: level, 2: x, 4: y, 6: z method: getQuadSize (F)F params: 1: scaleFactor class: NoteParticle$Provider path: net/minecraft/client/particle/NoteParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: Particle path: net/minecraft/client/particle/Particle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDD)V params: 1: level, 2: x, 4: y, 6: z method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: getLightColor (F)I params: 1: partialTick method: isAlive ()Z Returns true if this effect has not yet expired. "I feel happy! I feel happy!"
method: move (DDD)V params: 1: x, 3: y, 5: z method: remove ()V Called to indicate that this particle effect has expired and should be discontinued.
method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks method: scale (F)Lnet/minecraft/client/particle/Particle; params: 1: scale method: setAlpha (F)V params: 1: alpha Sets the particle alpha (float)
method: setBoundingBox (Lnet/minecraft/world/phys/AABB;)V params: 1: bb method: setColor (FFF)V params: 1: particleRed, 2: particleGreen, 3: particleBlue method: setLifetime (I)V params: 1: particleLifeTime method: setPos (DDD)V params: 1: x, 3: y, 5: z method: setPower (F)Lnet/minecraft/client/particle/Particle; params: 1: multiplier method: setSize (FF)V params: 1: width, 2: height class: ParticleDescription path: net/minecraft/client/particle/ParticleDescription method: <init> (Ljava/util/List;)V params: 1: textures method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/particle/ParticleDescription; params: 0: json method: lambda$fromJson$0 (Lcom/google/gson/JsonElement;)Ljava/lang/String; params: 0: jsonElement class: ParticleEngine path: net/minecraft/client/particle/ParticleEngine method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: level, 2: textureManager method: add (Lnet/minecraft/client/particle/Particle;)V params: 1: effect method: crack (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)V params: 1: pos, 2: side Adds block hit particles for the specified block
method: createParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: createTrackingEmitter (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: entity, 2: particleData method: createTrackingEmitter (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/particles/ParticleOptions;I)V params: 1: entity, 2: data, 3: lifetime method: destroy (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: state method: lambda$reload$1 (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/Map;Ljava/util/concurrent/Executor;Lnet/minecraft/resources/ResourceLocation;)Ljava/util/concurrent/CompletableFuture; params: 4: registryName method: lambda$reload$3 (Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/Map;Ljava/lang/Void;)Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations; params: 4: v method: lambda$reload$5 (Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/Map;Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations;)V params: 3: preparations method: lambda$tick$7 (Lnet/minecraft/client/particle/ParticleRenderType;Ljava/util/Queue;)V params: 1: renderType method: lambda$tick$8 (Lnet/minecraft/client/particle/ParticleRenderType;)Ljava/util/Queue; params: 0: renderType method: loadParticleDescription (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;Ljava/util/Map;)V params: 1: manager, 2: registryName, 3: textures method: makeParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: register (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/client/particle/ParticleEngine$SpriteParticleRegistration;)V params: 1: particleType, 2: particleMetaFactory method: register (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/client/particle/ParticleProvider;)V params: 1: particleType, 2: particleFactory method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;F)V params: 1: matrixStack, 2: buffer, 3: lightTexture, 4: activeRenderInfo, 5: partialTicks method: setLevel (Lnet/minecraft/client/multiplayer/ClientLevel;)V params: 1: level method: tickParticle (Lnet/minecraft/client/particle/Particle;)V params: 1: particle method: tickParticleList (Ljava/util/Collection;)V params: 1: particles class: ParticleEngine$MutableSpriteSet path: net/minecraft/client/particle/ParticleEngine$MutableSpriteSet method: get (II)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: particleAge, 2: particleMaxAge method: get (Ljava/util/Random;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: rand method: rebind (Ljava/util/List;)V params: 1: sprites class: ParticleEngine$SpriteParticleRegistration path: net/minecraft/client/particle/ParticleEngine$SpriteParticleRegistration method: create (Lnet/minecraft/client/particle/SpriteSet;)Lnet/minecraft/client/particle/ParticleProvider; params: 1: sprites class: ParticleProvider path: net/minecraft/client/particle/ParticleProvider method: createParticle (Lnet/minecraft/core/particles/ParticleOptions;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: ParticleRenderType path: net/minecraft/client/particle/ParticleRenderType method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: builder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: ParticleRenderType$1 path: net/minecraft/client/particle/ParticleRenderType$1 method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: bufferBuilder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: ParticleRenderType$2 path: net/minecraft/client/particle/ParticleRenderType$2 method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: bufferBuilder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: ParticleRenderType$3 path: net/minecraft/client/particle/ParticleRenderType$3 method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: bufferBuilder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: ParticleRenderType$4 path: net/minecraft/client/particle/ParticleRenderType$4 method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: bufferBuilder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: ParticleRenderType$5 path: net/minecraft/client/particle/ParticleRenderType$5 method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: bufferBuilder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: ParticleRenderType$6 path: net/minecraft/client/particle/ParticleRenderType$6 method: begin (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lnet/minecraft/client/renderer/texture/TextureManager;)V params: 1: bufferBuilder, 2: textureManager method: end (Lcom/mojang/blaze3d/vertex/Tesselator;)V params: 1: tesselator class: PlayerCloudParticle path: net/minecraft/client/particle/PlayerCloudParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites method: getQuadSize (F)F params: 1: scaleFactor class: PlayerCloudParticle$Provider path: net/minecraft/client/particle/PlayerCloudParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: PlayerCloudParticle$SneezeProvider path: net/minecraft/client/particle/PlayerCloudParticle$SneezeProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: PortalParticle path: net/minecraft/client/particle/PortalParticle method: getLightColor (F)I params: 1: partialTick method: getQuadSize (F)F params: 1: scaleFactor method: move (DDD)V params: 1: x, 3: y, 5: z class: PortalParticle$Provider path: net/minecraft/client/particle/PortalParticle$Provider method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: ReversePortalParticle path: net/minecraft/client/particle/ReversePortalParticle method: getQuadSize (F)F params: 1: scaleFactor class: ReversePortalParticle$ReversePortalProvider path: net/minecraft/client/particle/ReversePortalParticle$ReversePortalProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SimpleAnimatedParticle path: net/minecraft/client/particle/SimpleAnimatedParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/client/particle/SpriteSet;F)V params: 1: level, 2: x, 4: y, 6: z, 8: sprites, 9: gravity method: getLightColor (F)I params: 1: partialTick method: setColor method: setFadeColor (I)V params: 1: rgb sets a color for the particle to drift toward (20% closer each tick, never actually getting very close)
class: SingleQuadParticle path: net/minecraft/client/particle/SingleQuadParticle method: getQuadSize (F)F params: 1: scaleFactor method: render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V params: 1: buffer, 2: renderInfo, 3: partialTicks method: scale (F)Lnet/minecraft/client/particle/Particle; params: 1: scale class: SmokeParticle path: net/minecraft/client/particle/SmokeParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDFLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: quadSizeMultiplier, 15: sprites class: SmokeParticle$Provider path: net/minecraft/client/particle/SmokeParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SoulParticle path: net/minecraft/client/particle/SoulParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: SoulParticle$Provider path: net/minecraft/client/particle/SoulParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpellParticle path: net/minecraft/client/particle/SpellParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: SpellParticle$AmbientMobProvider path: net/minecraft/client/particle/SpellParticle$AmbientMobProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpellParticle$InstantProvider path: net/minecraft/client/particle/SpellParticle$InstantProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpellParticle$MobProvider path: net/minecraft/client/particle/SpellParticle$MobProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpellParticle$Provider path: net/minecraft/client/particle/SpellParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpellParticle$WitchProvider path: net/minecraft/client/particle/SpellParticle$WitchProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpitParticle$Provider path: net/minecraft/client/particle/SpitParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SplashParticle$Provider path: net/minecraft/client/particle/SplashParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SpriteSet path: net/minecraft/client/particle/SpriteSet method: get (II)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: age, 2: lifetime method: get (Ljava/util/Random;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: random class: SquidInkParticle$Provider path: net/minecraft/client/particle/SquidInkParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedParticle$CrimsonSporeProvider path: net/minecraft/client/particle/SuspendedParticle$CrimsonSporeProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedParticle$UnderwaterProvider path: net/minecraft/client/particle/SuspendedParticle$UnderwaterProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedParticle$WarpedSporeProvider path: net/minecraft/client/particle/SuspendedParticle$WarpedSporeProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedTownParticle path: net/minecraft/client/particle/SuspendedTownParticle method: move (DDD)V params: 1: x, 3: y, 5: z class: SuspendedTownParticle$ComposterFillProvider path: net/minecraft/client/particle/SuspendedTownParticle$ComposterFillProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedTownParticle$DolphinSpeedProvider path: net/minecraft/client/particle/SuspendedTownParticle$DolphinSpeedProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedTownParticle$HappyVillagerProvider path: net/minecraft/client/particle/SuspendedTownParticle$HappyVillagerProvider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: SuspendedTownParticle$Provider path: net/minecraft/client/particle/SuspendedTownParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: TerrainParticle path: net/minecraft/client/particle/TerrainParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: state method: getLightColor (F)I params: 1: partialTick class: TerrainParticle$Provider path: net/minecraft/client/particle/TerrainParticle$Provider method: createParticle (Lnet/minecraft/core/particles/BlockParticleOption;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: TextureSheetParticle path: net/minecraft/client/particle/TextureSheetParticle method: pickSprite (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprite method: setSprite (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;)V params: 1: sprite method: setSpriteFromAge (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprite class: TotemParticle path: net/minecraft/client/particle/TotemParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: TotemParticle$Provider path: net/minecraft/client/particle/TotemParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: TrackingEmitter path: net/minecraft/client/particle/TrackingEmitter method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: level, 2: entity, 3: particleType method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/particles/ParticleOptions;I)V params: 1: level, 2: entity, 3: particleType, 4: lifetime method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/particles/ParticleOptions;ILnet/minecraft/world/phys/Vec3;)V params: 1: level, 2: entity, 3: particleType, 4: lifetime, 5: speedVector class: WakeParticle path: net/minecraft/client/particle/WakeParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: sprites class: WakeParticle$Provider path: net/minecraft/client/particle/WakeParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: WaterCurrentDownParticle$Provider path: net/minecraft/client/particle/WaterCurrentDownParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: WaterDropParticle$Provider path: net/minecraft/client/particle/WaterDropParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed class: WhiteAshParticle path: net/minecraft/client/particle/WhiteAshParticle method: <init> (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDFLnet/minecraft/client/particle/SpriteSet;)V params: 1: level, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed, 14: quadSizeMultiplier, 15: sprites class: WhiteAshParticle$Provider path: net/minecraft/client/particle/WhiteAshParticle$Provider method: <init> (Lnet/minecraft/client/particle/SpriteSet;)V params: 1: sprites method: createParticle (Lnet/minecraft/core/particles/SimpleParticleType;Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: type, 2: level, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed player inventory class: Hotbar path: net/minecraft/client/player/inventory/Hotbar method: fromTag (Lnet/minecraft/nbt/ListTag;)V params: 1: tag class: AbstractClientPlayer path: net/minecraft/client/player/AbstractClientPlayer method: getElytraTextureLocation ()Lnet/minecraft/resources/ResourceLocation; Gets the special Elytra texture for the player.
method: getSkinLocation (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: username Returns true if the username has an associated skin.
method: getSkinTextureLocation ()Lnet/minecraft/resources/ResourceLocation; Returns the ResourceLocation associated with the player's skin
method: isCapeLoaded ()Z Checks if this instance of AbstractClientPlayer has any associated player data.
method: isSkinLoaded ()Z Returns true if the player has an associated skin.
method: isSpectator ()Z Returns true if the player is in spectator mode.
class: LocalPlayer path: net/minecraft/client/player/LocalPlayer field: positionReminder I Reset to 0 every time position is sent to the server, used to send periodic updates every 20 ticks even when the player is not moving.
field: wasSprinting Z the last sprinting state sent to the server
field: xLast D The last X position which was transmitted to the server, used to determine when the X position changes and needs to be re-trasmitted
field: xRotLast F The last pitch value which was transmitted to the server, used to determine when the pitch changes and needs to be re-transmitted
field: yLast1 D The last Y position which was transmitted to the server, used to determine when the Y position changes and needs to be re-transmitted
field: yRotLast F The last yaw value which was transmitted to the server, used to determine when the yaw changes and needs to be re-transmitted
field: zLast D The last Z position which was transmitted to the server, used to determine when the Z position changes and needs to be re-transmitted
method: actuallyHurt (Lnet/minecraft/world/damagesource/DamageSource;F)V params: 1: damageSrc, 2: damageAmount Deals damage to the entity. This will take the armor of the entity into consideration before damaging the health bar.
method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: chat (Ljava/lang/String;)V params: 1: message Sends a chat message from the player.
method: closeContainer ()V set current crafting inventory back to the 2x2 square
method: crit (Lnet/minecraft/world/entity/Entity;)V params: 1: entityHit Called when the entity is dealt a critical hit.
method: displayClientMessage (Lnet/minecraft/network/chat/Component;Z)V params: 1: chatComponent, 2: actionBar method: getRopeHoldPosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getServerBrand ()Ljava/lang/String; Gets the brand of the currently connected server. May be null if the server hasn't yet sent brand information. Server brand information is sent over the {@code MC|Brand} plugin channel, and is used to identify modded servers in crash reports.
method: getViewXRot (F)F params: 1: partialTicks Gets the current pitch of the entity.
method: getViewYRot (F)F params: 1: partialTicks Gets the current yaw of the entity
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: heal (F)V params: 1: healAmount Heal living entity (param: amount of half-hearts)
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: hurtTo (F)V params: 1: health Updates health locally.
method: isEffectiveAi ()Z Returns whether the entity is in a server world
method: isLocalPlayer ()Z returns true if this is an EntityPlayerSP, or the logged in player.
method: magicCrit (Lnet/minecraft/world/entity/Entity;)V params: 1: entityHit method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: moveTowardsClosestSpace method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: onUpdateAbilities ()V Sends the player's abilities to the server (if there is one).
method: openCommandBlock (Lnet/minecraft/world/level/block/entity/CommandBlockEntity;)V params: 1: commandBlock method: openItemGui (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)V params: 1: stack, 2: hand method: openJigsawBlock (Lnet/minecraft/world/level/block/entity/JigsawBlockEntity;)V params: 1: jigsawEntity method: openMinecartCommandBlock (Lnet/minecraft/world/level/BaseCommandBlock;)V params: 1: commandBlock method: openStructureBlock (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)V params: 1: structure method: openTextEdit (Lnet/minecraft/world/level/block/entity/SignBlockEntity;)V params: 1: signTile method: playSound (Lnet/minecraft/sounds/SoundEvent;FF)V params: 1: sound, 2: volume, 3: pitch method: removeEffectNoUpdate (Lnet/minecraft/world/effect/MobEffect;)Lnet/minecraft/world/effect/MobEffectInstance; params: 1: potioneffectin Removes the given potion effect from the active potion map and returns it. Does not call cleanup callbacks for the end of the potion effect.
method: removeRecipeHighlight (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: rideTick ()V Handles updating while riding another entity
method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
method: sendPosition ()V called every tick when the player is on foot. Performs all the things that normally happen during movement.
method: setExperienceValues (FII)V params: 1: currentXP, 2: maxXP, 3: level Sets the current XP, total XP, and level number.
method: setPermissionLevel (I)V params: 1: permissionLevel method: setServerBrand (Ljava/lang/String;)V params: 1: brand Sets the brand of the currently connected server. Server brand information is sent over the {@code MC|Brand} plugin channel, and is used to identify modded servers in crash reports.
method: setShowDeathScreen method: setSprinting (Z)V params: 1: sprinting Set sprinting switch for Entity.
method: startRiding (Lnet/minecraft/world/entity/Entity;Z)Z params: 1: entity, 2: force method: startUsingItem (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: suffocatesAt (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: swing (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: tick ()V Called to update the entity's position/logic.
method: updateAutoJump (FF)V params: 1: movementX, 2: movementZ class: RemotePlayer path: net/minecraft/client/player/RemotePlayer method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
renderer block model multipart class: KeyValueCondition path: net/minecraft/client/renderer/block/model/multipart/KeyValueCondition method: getBlockStatePredicate (Lnet/minecraft/world/level/block/state/StateDefinition;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)Ljava/util/function/Predicate; params: 1: container, 2: property, 3: value class: MultiPart path: net/minecraft/client/renderer/block/model/multipart/MultiPart method: bake (Lnet/minecraft/client/resources/model/ModelBakery;Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: modelBakery, 2: spriteGetter, 3: transform, 4: location method: getMaterials (Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection; params: 1: modelGetter, 2: missingTextureErrors class: MultiPart$Deserializer path: net/minecraft/client/renderer/block/model/multipart/MultiPart$Deserializer method: getSelectors (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonArray;)Ljava/util/List; params: 1: context, 2: elements class: Selector path: net/minecraft/client/renderer/block/model/multipart/Selector method: getPredicate (Lnet/minecraft/world/level/block/state/StateDefinition;)Ljava/util/function/Predicate; params: 1: state class: Selector$Deserializer path: net/minecraft/client/renderer/block/model/multipart/Selector$Deserializer method: getCondition (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/renderer/block/model/multipart/Condition; params: 0: json method: getKeyValueCondition (Ljava/util/Map$Entry;)Lnet/minecraft/client/renderer/block/model/multipart/Condition; params: 0: entry method: getSelector (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/renderer/block/model/multipart/Condition; params: 1: json class: BakedQuad path: net/minecraft/client/renderer/block/model/BakedQuad field: vertices [I Joined 4 vertex records, each stores packed data according to the VertexFormat of the quad. Vanilla minecraft uses DefaultVertexFormats.BLOCK, Forge uses (usually) ITEM, use BakedQuad.getFormat() to get the correct format.
class: BlockElement path: net/minecraft/client/renderer/block/model/BlockElement method: uvsByFace (Lnet/minecraft/core/Direction;)[F params: 1: facing class: BlockElement$Deserializer path: net/minecraft/client/renderer/block/model/BlockElement$Deserializer method: filterNullFromFaces (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map; params: 1: deserializationContext, 2: object method: getAngle (Lcom/google/gson/JsonObject;)F params: 1: object method: getAxis (Lcom/google/gson/JsonObject;)Lnet/minecraft/core/Direction$Axis; params: 1: object method: getFaces (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map; params: 1: deserializationContext, 2: object method: getFacing (Ljava/lang/String;)Lnet/minecraft/core/Direction; params: 1: name method: getFrom (Lcom/google/gson/JsonObject;)Lcom/mojang/math/Vector3f; params: 1: json method: getRotation (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/renderer/block/model/BlockElementRotation; params: 1: object method: getTo (Lcom/google/gson/JsonObject;)Lcom/mojang/math/Vector3f; params: 1: json method: getVector3f (Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/mojang/math/Vector3f; params: 1: json, 2: name class: BlockElementFace$Deserializer path: net/minecraft/client/renderer/block/model/BlockElementFace$Deserializer method: getCullFacing (Lcom/google/gson/JsonObject;)Lnet/minecraft/core/Direction; params: 1: object method: getTexture (Lcom/google/gson/JsonObject;)Ljava/lang/String; params: 1: object method: getTintIndex (Lcom/google/gson/JsonObject;)I params: 1: object class: BlockFaceUV path: net/minecraft/client/renderer/block/model/BlockFaceUV method: getReverseIndex method: getShiftedIndex method: getU method: getV method: setMissingUv class: BlockFaceUV$Deserializer path: net/minecraft/client/renderer/block/model/BlockFaceUV$Deserializer method: getRotation (Lcom/google/gson/JsonObject;)I params: 1: object method: getUVs (Lcom/google/gson/JsonObject;)[F params: 1: object class: BlockModel path: net/minecraft/client/renderer/block/model/BlockModel method: bake (Lnet/minecraft/client/resources/model/ModelBakery;Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: modelBakery, 2: spriteGetter, 3: transform, 4: location method: bake (Lnet/minecraft/client/resources/model/ModelBakery;Lnet/minecraft/client/renderer/block/model/BlockModel;Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/resources/model/BakedModel; params: 1: modelBakery, 2: model, 3: spriteGetter, 4: transform, 5: location, 6: guiLight3d method: bakeFace (Lnet/minecraft/client/renderer/block/model/BlockElement;Lnet/minecraft/client/renderer/block/model/BlockElementFace;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/block/model/BakedQuad; params: 0: part, 1: partFace, 2: sprite, 3: direction, 4: transform, 5: location method: findTextureEntry (Ljava/lang/String;)Lcom/mojang/datafixers/util/Either; params: 1: name method: fromStream (Ljava/io/Reader;)Lnet/minecraft/client/renderer/block/model/BlockModel; params: 0: reader method: fromString (Ljava/lang/String;)Lnet/minecraft/client/renderer/block/model/BlockModel; params: 0: jsonString method: getItemOverrides (Lnet/minecraft/client/resources/model/ModelBakery;Lnet/minecraft/client/renderer/block/model/BlockModel;)Lnet/minecraft/client/renderer/block/model/ItemOverrides; params: 1: modelBakery, 2: model method: getMaterial (Ljava/lang/String;)Lnet/minecraft/client/resources/model/Material; params: 1: name method: getMaterials (Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection; params: 1: modelGetter, 2: missingTextureErrors method: getTransform (Lnet/minecraft/client/renderer/block/model/ItemTransforms$TransformType;)Lnet/minecraft/client/renderer/block/model/ItemTransform; params: 1: type method: hasTexture (Ljava/lang/String;)Z params: 1: textureName method: isTextureReference (Ljava/lang/String;)Z params: 0: str class: BlockModel$Deserializer path: net/minecraft/client/renderer/block/model/BlockModel$Deserializer method: getAmbientOcclusion (Lcom/google/gson/JsonObject;)Z params: 1: object method: getElements (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List; params: 1: deserializationContext, 2: object method: getOverrides (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/List; params: 1: deserializationContext, 2: object method: getParentName (Lcom/google/gson/JsonObject;)Ljava/lang/String; params: 1: object method: getTextureMap (Lcom/google/gson/JsonObject;)Ljava/util/Map; params: 1: object method: parseTextureLocationOrReference (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either; params: 0: location, 1: name class: BlockModel$GuiLight path: net/minecraft/client/renderer/block/model/BlockModel$GuiLight method: getByName (Ljava/lang/String;)Lnet/minecraft/client/renderer/block/model/BlockModel$GuiLight; params: 0: name class: BlockModelDefinition path: net/minecraft/client/renderer/block/model/BlockModelDefinition method: fromStream (Lnet/minecraft/client/renderer/block/model/BlockModelDefinition$Context;Ljava/io/Reader;)Lnet/minecraft/client/renderer/block/model/BlockModelDefinition; params: 0: containerHolder, 1: reader class: BlockModelDefinition$Context path: net/minecraft/client/renderer/block/model/BlockModelDefinition$Context method: setDefinition (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: stateContainer class: BlockModelDefinition$Deserializer path: net/minecraft/client/renderer/block/model/BlockModelDefinition$Deserializer method: getMultiPart (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Lnet/minecraft/client/renderer/block/model/multipart/MultiPart; params: 1: deserializationContext, 2: object method: getVariants (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;)Ljava/util/Map; params: 1: deserializationContext, 2: object class: FaceBakery path: net/minecraft/client/renderer/block/model/FaceBakery method: applyElementRotation (Lcom/mojang/math/Vector3f;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;)V params: 1: vec, 2: partRotation method: applyModelRotation (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Transformation;)V params: 1: pos, 2: transform method: bakeQuad (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;Lnet/minecraft/client/renderer/block/model/BlockElementFace;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;ZLnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/block/model/BakedQuad; params: 1: posFrom, 2: posTo, 3: face, 4: sprite, 5: facing, 6: transform, 7: partRotation, 8: shade, 9: modelLocation method: bakeVertex ([IILnet/minecraft/core/Direction;Lnet/minecraft/client/renderer/block/model/BlockFaceUV;[FLnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lcom/mojang/math/Transformation;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;Z)V params: 1: vertexData, 2: vertexIndex, 3: facing, 4: blockFaceUV, 5: posDiv16, 6: sprite, 7: rotation, 8: partRotation, 9: shade method: calculateFacing ([I)Lnet/minecraft/core/Direction; params: 0: faceData method: fillVertex ([IILcom/mojang/math/Vector3f;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/client/renderer/block/model/BlockFaceUV;)V params: 1: vertexData, 2: vertexIndex, 3: vector, 4: sprite, 5: blockFaceUV method: makeVertices (Lnet/minecraft/client/renderer/block/model/BlockFaceUV;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;[FLcom/mojang/math/Transformation;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;Z)[I params: 1: uvs, 2: sprite, 3: orientation, 4: posDiv16, 5: rotation, 6: partRotation, 7: shade method: recalculateWinding ([ILnet/minecraft/core/Direction;)V params: 1: vertexData, 2: direction method: recomputeUVs (Lnet/minecraft/client/renderer/block/model/BlockFaceUV;Lnet/minecraft/core/Direction;Lcom/mojang/math/Transformation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/block/model/BlockFaceUV; params: 0: blockFaceUV, 1: facing, 2: modelRotation, 3: modelLocation method: rotateVertexBy (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Vector3f;)V params: 1: pos, 2: origin, 3: transform, 4: scale method: setupShape (Lcom/mojang/math/Vector3f;Lcom/mojang/math/Vector3f;)[F params: 1: pos1, 2: pos2 class: ItemModelGenerator path: net/minecraft/client/renderer/block/model/ItemModelGenerator method: checkTransition (Lnet/minecraft/client/renderer/block/model/ItemModelGenerator$SpanFacing;Ljava/util/List;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;IIIIIZ)V params: 1: spanFacing, 2: listSpans, 3: sprite, 4: frameIndex, 5: pixelX, 6: pixelY, 7: spiteWidth, 8: spriteHeight, 9: transparent method: createOrExpandSpan (Ljava/util/List;Lnet/minecraft/client/renderer/block/model/ItemModelGenerator$SpanFacing;II)V params: 1: listSpans, 2: spanFacing, 3: pixelX, 4: pixelY method: createSideElements (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Ljava/lang/String;I)Ljava/util/List; params: 1: sprite, 2: texture, 3: tintIndex method: generateBlockModel (Ljava/util/function/Function;Lnet/minecraft/client/renderer/block/model/BlockModel;)Lnet/minecraft/client/renderer/block/model/BlockModel; params: 1: textureGetter, 2: blockModel method: getSpans (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;)Ljava/util/List; params: 1: sprite method: isTransparent (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;IIIII)Z params: 1: sprite, 2: frameIndex, 3: pixelX, 4: pixelY, 5: spiteWidth, 6: spriteHeight method: processFrames (ILjava/lang/String;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;)Ljava/util/List; params: 1: tintIndex, 2: texture, 3: sprite class: ItemModelGenerator$Span path: net/minecraft/client/renderer/block/model/ItemModelGenerator$Span method: expand class: ItemModelGenerator$SpanFacing path: net/minecraft/client/renderer/block/model/ItemModelGenerator$SpanFacing method: getDirection ()Lnet/minecraft/core/Direction; Gets the direction of the block's facing.
class: ItemOverride path: net/minecraft/client/renderer/block/model/ItemOverride method: getModel ()Lnet/minecraft/resources/ResourceLocation; Get the location of the target model
class: ItemTransform path: net/minecraft/client/renderer/block/model/ItemTransform method: apply (ZLcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: leftHand, 2: matrixStack class: ItemTransform$Deserializer path: net/minecraft/client/renderer/block/model/ItemTransform$Deserializer method: getVector3f (Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/mojang/math/Vector3f;)Lcom/mojang/math/Vector3f; params: 1: json, 2: key, 3: fallback class: ItemTransforms path: net/minecraft/client/renderer/block/model/ItemTransforms method: getTransform (Lnet/minecraft/client/renderer/block/model/ItemTransforms$TransformType;)Lnet/minecraft/client/renderer/block/model/ItemTransform; params: 1: type method: hasTransform (Lnet/minecraft/client/renderer/block/model/ItemTransforms$TransformType;)Z params: 1: type class: ItemTransforms$Deserializer path: net/minecraft/client/renderer/block/model/ItemTransforms$Deserializer method: getTransform (Lcom/google/gson/JsonDeserializationContext;Lcom/google/gson/JsonObject;Ljava/lang/String;)Lnet/minecraft/client/renderer/block/model/ItemTransform; params: 1: context, 2: json, 3: name class: MultiVariant path: net/minecraft/client/renderer/block/model/MultiVariant method: bake (Lnet/minecraft/client/resources/model/ModelBakery;Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: modelBakery, 2: spriteGetter, 3: transform, 4: location method: getMaterials (Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection; params: 1: modelGetter, 2: missingTextureErrors class: Variant$Deserializer path: net/minecraft/client/renderer/block/model/Variant$Deserializer method: getBlockRotation (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resources/model/BlockModelRotation; params: 1: json method: getModel (Lcom/google/gson/JsonObject;)Lnet/minecraft/resources/ResourceLocation; params: 1: json method: getUvLock (Lcom/google/gson/JsonObject;)Z params: 1: json method: getWeight (Lcom/google/gson/JsonObject;)I params: 1: json class: BlockModelShaper path: net/minecraft/client/renderer/block/BlockModelShaper method: getBlockModel (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: state method: getParticleIcon (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: state method: getValue (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Ljava/lang/String; params: 0: property, 1: value method: statePropertiesToString (Ljava/util/Map;)Ljava/lang/String; params: 0: propertyValues method: stateToModelLocation (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/resources/model/ModelResourceLocation; params: 0: location, 1: state method: stateToModelLocation (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/resources/model/ModelResourceLocation; params: 0: state class: BlockRenderDispatcher path: net/minecraft/client/renderer/block/BlockRenderDispatcher method: getBlockModel (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: state method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: renderBatched (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/BlockAndTintGetter;Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;ZLjava/util/Random;)Z params: 1: blockState, 2: pos, 3: lightReader, 4: matrixStack, 5: vertexBuilder, 6: checkSides, 7: rand method: renderBreakingTexture (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/BlockAndTintGetter;Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;)V params: 1: blockState, 2: pos, 3: lightReader, 4: matrixStack, 5: vertexBuilder method: renderLiquid (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/BlockAndTintGetter;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: pos, 2: lightReader, 3: vertexBuilder, 4: fluidState method: renderSingleBlock (Lnet/minecraft/world/level/block/state/BlockState;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockState, 2: matrixStack, 3: bufferType, 4: combinedLight, 5: combinedOverlay class: LiquidBlockRenderer path: net/minecraft/client/renderer/block/LiquidBlockRenderer method: getLightColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)I params: 1: lightReader, 2: pos method: getWaterHeight (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/Fluid;)F params: 1: reader, 2: pos, 3: fluid method: isNeighborSameFluid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/material/FluidState;)Z params: 0: level, 1: pos, 2: side, 3: state method: tesselate (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: lightReader, 2: pos, 3: vertexBuilder, 4: fluidState method: vertex (Lcom/mojang/blaze3d/vertex/VertexConsumer;DDDFFFFFI)V params: 1: vertexBuilder, 2: x, 4: y, 6: z, 8: red, 9: green, 10: blue, 11: u, 12: v, 13: packedLight class: ModelBlockRenderer path: net/minecraft/client/renderer/block/ModelBlockRenderer method: calculateShape (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;[ILnet/minecraft/core/Direction;[FLjava/util/BitSet;)V params: 1: blockReader, 2: state, 3: pos, 4: vertexData, 5: face, 6: quadBounds, 7: boundsFlags method: putQuadData (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lnet/minecraft/client/renderer/block/model/BakedQuad;FFFFIIIII)V params: 1: blockAccess, 2: state, 3: pos, 4: buffer, 5: matrixEntry, 6: quad, 7: colorMul0, 8: colorMul1, 9: colorMul2, 10: colorMul3, 11: brightness0, 12: brightness1, 13: brightness2, 14: brightness3, 15: combinedOverlay method: renderModel (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/resources/model/BakedModel;FFFII)V params: 1: matrixEntry, 2: buffer, 3: state, 4: model, 5: red, 6: green, 7: blue, 8: combinedLight, 9: combinedOverlay method: renderModelFaceAO (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Ljava/util/List;[FLjava/util/BitSet;Lnet/minecraft/client/renderer/block/ModelBlockRenderer$AmbientOcclusionFace;I)V params: 1: blockAccess, 2: state, 3: pos, 4: matrixStack, 5: buffer, 6: list, 7: quadBounds, 8: bitSet, 9: aoFace, 10: combinedOverlay method: renderModelFaceFlat (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;IIZLcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Ljava/util/List;Ljava/util/BitSet;)V params: 1: blockAccess, 2: state, 3: pos, 4: brightness, 5: combinedOverlay, 6: ownBrightness, 7: matrixStack, 8: buffer, 9: list, 10: bitSet method: renderQuadList (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFLjava/util/List;II)V params: 0: matrixEntry, 1: buffer, 2: red, 3: green, 4: blue, 5: listQuads, 6: combinedLight, 7: combinedOverlay method: tesselateBlock (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;ZLjava/util/Random;JI)Z params: 1: level, 2: model, 3: state, 4: pos, 5: matrix, 6: buffer, 7: checkSides, 8: random, 9: rand, 11: combinedOverlay method: tesselateWithAO (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;ZLjava/util/Random;JI)Z params: 1: level, 2: model, 3: state, 4: pos, 5: matrixStack, 6: buffer, 7: checkSides, 8: random, 9: rand, 11: combinedOverlay method: tesselateWithoutAO (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;ZLjava/util/Random;JI)Z params: 1: level, 2: model, 3: state, 4: pos, 5: matrixStack, 6: buffer, 7: checkSides, 8: random, 9: rand, 11: combinedOverlay class: ModelBlockRenderer$AdjacencyInfo path: net/minecraft/client/renderer/block/ModelBlockRenderer$AdjacencyInfo method: fromFacing (Lnet/minecraft/core/Direction;)Lnet/minecraft/client/renderer/block/ModelBlockRenderer$AdjacencyInfo; params: 0: facing class: ModelBlockRenderer$AmbientOcclusionFace path: net/minecraft/client/renderer/block/ModelBlockRenderer$AmbientOcclusionFace method: blend (IIII)I params: 1: br1, 2: br2, 3: br3, 4: br4 Get ambient occlusion brightness
method: blend (IIIIFFFF)I params: 1: b1, 2: b2, 3: b3, 4: b4, 5: w1, 6: w2, 7: w3, 8: w4 method: calculate (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;[FLjava/util/BitSet;Z)V params: 1: reader, 2: state, 3: pos, 4: direction, 5: vertexes, 6: bitSet, 7: applyDiffuseLighting class: ModelBlockRenderer$AmbientVertexRemap path: net/minecraft/client/renderer/block/ModelBlockRenderer$AmbientVertexRemap method: fromFacing (Lnet/minecraft/core/Direction;)Lnet/minecraft/client/renderer/block/ModelBlockRenderer$AmbientVertexRemap; params: 0: facing class: ModelBlockRenderer$Cache path: net/minecraft/client/renderer/block/ModelBlockRenderer$Cache method: getLightColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: lightReader, 3: blockPos method: getShadeBrightness (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)F params: 1: blockState, 2: lightReader, 3: blockPos blockentity class: BannerRenderer path: net/minecraft/client/renderer/blockentity/BannerRenderer method: render (Lnet/minecraft/world/level/block/entity/BannerBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: BeaconRenderer path: net/minecraft/client/renderer/blockentity/BeaconRenderer method: addVertex (Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix3f;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFIFFFF)V params: 0: matrixPos, 1: matrixNormal, 2: buffer, 3: red, 4: green, 5: blue, 6: alpha, 7: y, 8: x, 9: z, 10: texU, 11: texV method: render (Lnet/minecraft/world/level/block/entity/BeaconBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay method: renderBeaconBeam (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;FJII[F)V params: 0: matrixStack, 1: buffer, 2: partialTicks, 3: totalLevelTime, 5: yOffset, 6: height, 7: colors method: renderBeaconBeam (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/resources/ResourceLocation;FFJII[FFF)V params: 0: matrixStack, 1: buffer, 2: textureLocation, 3: partialTicks, 4: textureScale, 5: totalLevelTime, 7: yOffset, 8: height, 9: colors, 10: beamRadius, 11: glowRadius method: renderPart (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFIIFFFFFFFFFFFF)V params: 0: matrixStack, 1: buffer, 2: red, 3: green, 4: blue, 5: alpha, 6: yMin, 7: yMax, 16: u1, 17: u2, 18: v1, 19: v2 method: renderQuad (Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix3f;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFIIFFFFFFFF)V params: 0: matrixPos, 1: matrixNormal, 2: buffer, 3: red, 4: green, 5: blue, 6: alpha, 7: yMin, 8: yMax, 9: x1, 10: z1, 11: x2, 12: z2, 13: u1, 14: u2, 15: v1, 16: v2 method: shouldRenderOffScreen (Lnet/minecraft/world/level/block/entity/BeaconBlockEntity;)Z params: 1: te class: BedRenderer path: net/minecraft/client/renderer/blockentity/BedRenderer method: render (Lnet/minecraft/world/level/block/entity/BedBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: BellRenderer path: net/minecraft/client/renderer/blockentity/BellRenderer method: render (Lnet/minecraft/world/level/block/entity/BellBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: BlockEntityRenderDispatcher path: net/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher method: getRenderer (Lnet/minecraft/world/level/block/entity/BlockEntity;)Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderer; params: 1: blockEntity method: render (Lnet/minecraft/world/level/block/entity/BlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer method: renderItem (Lnet/minecraft/world/level/block/entity/BlockEntity;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)Z params: 1: blockEntity, 2: matrixStack, 3: buffer, 4: combinedLight, 5: combinedOverlay Returns true if no renderer found, false if render completed
method: setLevel (Lnet/minecraft/world/level/Level;)V params: 1: level method: setupAndRender (Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderer;Lnet/minecraft/world/level/block/entity/BlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V params: 0: renderer, 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer method: tryRender (Lnet/minecraft/world/level/block/entity/BlockEntity;Ljava/lang/Runnable;)V params: 0: blockEntity, 1: runnable class: BlockEntityRenderer path: net/minecraft/client/renderer/blockentity/BlockEntityRenderer method: render (Lnet/minecraft/world/level/block/entity/BlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay method: shouldRenderOffScreen (Lnet/minecraft/world/level/block/entity/BlockEntity;)Z params: 1: te class: CampfireRenderer path: net/minecraft/client/renderer/blockentity/CampfireRenderer method: render (Lnet/minecraft/world/level/block/entity/CampfireBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: ChestRenderer path: net/minecraft/client/renderer/blockentity/ChestRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/model/geom/ModelPart;Lnet/minecraft/client/model/geom/ModelPart;Lnet/minecraft/client/model/geom/ModelPart;FII)V params: 1: matrixStack, 2: buffer, 3: chestLid, 4: chestLatch, 5: chestBottom, 6: lidAngle, 7: combinedLight, 8: combinedOverlay method: render (Lnet/minecraft/world/level/block/entity/BlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: ConduitRenderer path: net/minecraft/client/renderer/blockentity/ConduitRenderer method: render (Lnet/minecraft/world/level/block/entity/ConduitBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: EnchantTableRenderer path: net/minecraft/client/renderer/blockentity/EnchantTableRenderer field: BOOK_LOCATION Lnet/minecraft/client/resources/model/Material; The texture for the book above the enchantment table.
method: render (Lnet/minecraft/world/level/block/entity/EnchantmentTableBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: LecternRenderer path: net/minecraft/client/renderer/blockentity/LecternRenderer method: render (Lnet/minecraft/world/level/block/entity/LecternBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: PistonHeadRenderer path: net/minecraft/client/renderer/blockentity/PistonHeadRenderer method: render (Lnet/minecraft/world/level/block/piston/PistonMovingBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: ShulkerBoxRenderer path: net/minecraft/client/renderer/blockentity/ShulkerBoxRenderer method: render (Lnet/minecraft/world/level/block/entity/ShulkerBoxBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: SignRenderer path: net/minecraft/client/renderer/blockentity/SignRenderer method: render (Lnet/minecraft/world/level/block/entity/SignBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: SignRenderer$SignModel path: net/minecraft/client/renderer/blockentity/SignRenderer$SignModel method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha class: SkullBlockRenderer path: net/minecraft/client/renderer/blockentity/SkullBlockRenderer method: getRenderType (Lnet/minecraft/world/level/block/SkullBlock$Type;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/client/renderer/RenderType; params: 0: skullType, 1: gameProfile method: render (Lnet/minecraft/world/level/block/entity/SkullBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: SpawnerRenderer path: net/minecraft/client/renderer/blockentity/SpawnerRenderer method: render (Lnet/minecraft/world/level/block/entity/SpawnerBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: StructureBlockRenderer path: net/minecraft/client/renderer/blockentity/StructureBlockRenderer method: render (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay method: shouldRenderOffScreen (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)Z params: 1: te class: TheEndGatewayRenderer path: net/minecraft/client/renderer/blockentity/TheEndGatewayRenderer method: render (Lnet/minecraft/world/level/block/entity/TheEndGatewayBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay class: TheEndPortalRenderer path: net/minecraft/client/renderer/blockentity/TheEndPortalRenderer method: render (Lnet/minecraft/world/level/block/entity/TheEndPortalBlockEntity;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V params: 1: blockEntity, 2: partialTicks, 3: matrixStack, 4: buffer, 5: combinedLight, 6: combinedOverlay chunk class: ChunkRenderDispatcher path: net/minecraft/client/renderer/chunk/ChunkRenderDispatcher method: doUploadChunkLayer (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lcom/mojang/blaze3d/vertex/VertexBuffer;)Ljava/util/concurrent/CompletableFuture; params: 1: bufferBuilder, 2: vertexBuffer method: rebuildChunkSync (Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;)V params: 1: chunkRender method: schedule (Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk$ChunkCompileTask;)V params: 1: renderTask method: setCamera (Lnet/minecraft/world/phys/Vec3;)V params: 1: pos method: setLevel (Lnet/minecraft/world/level/Level;)V params: 1: level method: uploadChunkLayer (Lcom/mojang/blaze3d/vertex/BufferBuilder;Lcom/mojang/blaze3d/vertex/VertexBuffer;)Ljava/util/concurrent/CompletableFuture; params: 1: bufferBuilder, 2: vertexBuffer class: ChunkRenderDispatcher$CompiledChunk path: net/minecraft/client/renderer/chunk/ChunkRenderDispatcher$CompiledChunk method: facesCanSeeEachother (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)Z params: 1: facing, 2: facing2 method: isEmpty (Lnet/minecraft/client/renderer/RenderType;)Z params: 1: renderType class: ChunkRenderDispatcher$CompiledChunk$1 path: net/minecraft/client/renderer/chunk/ChunkRenderDispatcher$CompiledChunk$1 method: facesCanSeeEachother (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)Z params: 1: facing, 2: facing2 class: ChunkRenderDispatcher$RenderChunk path: net/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk method: beginLayer (Lcom/mojang/blaze3d/vertex/BufferBuilder;)V params: 1: bufferBuilder method: doesChunkExistAt (Lnet/minecraft/core/BlockPos;)Z params: 1: blockPos method: getBuffer (Lnet/minecraft/client/renderer/RenderType;)Lcom/mojang/blaze3d/vertex/VertexBuffer; params: 1: renderType method: getRelativeOrigin (Lnet/minecraft/core/Direction;)Lnet/minecraft/core/BlockPos; params: 1: facing method: rebuildChunkAsync (Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher;)V params: 1: dispatcher method: resortTransparency (Lnet/minecraft/client/renderer/RenderType;Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher;)Z params: 1: renderType, 2: renderDispatcher method: setDirty method: setFrame (I)Z params: 1: frameIndex method: setOrigin (III)V params: 1: x, 2: y, 3: z Sets the RenderChunk base position
method: updateGlobalBlockEntities (Ljava/util/Set;)V params: 1: globalEntities class: RenderChunkRegion path: net/minecraft/client/renderer/chunk/RenderChunkRegion method: createIfNotEmpty (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;I)Lnet/minecraft/client/renderer/chunk/RenderChunkRegion; params: 0: level, 1: from, 2: to, 3: padding generates a RenderChunkCache, but returns null if the chunk is empty (contains only air)
method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockEntity (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/LevelChunk$EntityCreationType;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos, 2: creationType method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getBlockTint (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I params: 1: blockPos, 2: colorResolver method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getShade (Lnet/minecraft/core/Direction;Z)F params: 1: direction, 2: isShade method: index (III)I params: 1: x, 2: y, 3: z method: index (Lnet/minecraft/core/BlockPos;)I params: 1: pos class: VisGraph path: net/minecraft/client/renderer/chunk/VisGraph method: addEdges (ILjava/util/Set;)V params: 1: pos, 2: setFacings method: floodFill (I)Ljava/util/Set; params: 1: pos method: getIndex (III)I params: 0: x, 1: y, 2: z method: getIndex (Lnet/minecraft/core/BlockPos;)I params: 0: pos method: getNeighborIndexAtFace (ILnet/minecraft/core/Direction;)I params: 1: pos, 2: facing method: setOpaque (Lnet/minecraft/core/BlockPos;)V params: 1: pos class: VisibilitySet path: net/minecraft/client/renderer/chunk/VisibilitySet method: add (Ljava/util/Set;)V params: 1: facing method: set (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;Z)V params: 1: facing, 2: facing2, 3: value method: setAll method: visibilityBetween (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)Z params: 1: facing, 2: facing2 culling class: Frustum path: net/minecraft/client/renderer/culling/Frustum method: calculateFrustum (Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix4f;)V params: 1: projection, 2: frustrumMatrix method: cubeInFrustum (DDDDDD)Z params: 1: minX, 3: minY, 5: minZ, 7: maxX, 9: maxY, 11: maxZ method: cubeInFrustum (FFFFFF)Z params: 1: minX, 2: minY, 3: minZ, 4: maxX, 5: maxY, 6: maxZ method: getPlane (Lcom/mojang/math/Matrix4f;IIII)V params: 1: frustrumMatrix, 2: x, 3: y, 4: z, 5: id method: isVisible (Lnet/minecraft/world/phys/AABB;)Z params: 1: aabb method: prepare (DDD)V params: 1: camX, 3: camY, 5: camZ debug class: BeeDebugRenderer path: net/minecraft/client/renderer/debug/BeeDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: BrainDebugRenderer path: net/minecraft/client/renderer/debug/BrainDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: ChunkBorderRenderer path: net/minecraft/client/renderer/debug/ChunkBorderRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: ChunkDebugRenderer path: net/minecraft/client/renderer/debug/ChunkDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: CollisionBoxRenderer path: net/minecraft/client/renderer/debug/CollisionBoxRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: DebugRenderer path: net/minecraft/client/renderer/debug/DebugRenderer method: getTargetedEntity (Lnet/minecraft/world/entity/Entity;I)Ljava/util/Optional; params: 0: entity, 1: distance method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ method: renderFloatingText (Ljava/lang/String;DDDIFZFZ)V params: 0: text, 7: color method: switchRenderChunkborder ()Z Toggles the debug screen's visibility.
class: DebugRenderer$SimpleDebugRenderer path: net/minecraft/client/renderer/debug/DebugRenderer$SimpleDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: GameTestDebugRenderer path: net/minecraft/client/renderer/debug/GameTestDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: GoalSelectorDebugRenderer path: net/minecraft/client/renderer/debug/GoalSelectorDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: HeightMapRenderer path: net/minecraft/client/renderer/debug/HeightMapRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: LightDebugRenderer path: net/minecraft/client/renderer/debug/LightDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: NeighborsUpdateRenderer path: net/minecraft/client/renderer/debug/NeighborsUpdateRenderer method: addUpdate (JLnet/minecraft/core/BlockPos;)V params: 1: levelTime, 3: pos method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: PathfindingRenderer path: net/minecraft/client/renderer/debug/PathfindingRenderer method: addPath (ILnet/minecraft/world/level/pathfinder/Path;F)V params: 1: eid, 2: path, 3: distance method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: RaidDebugRenderer path: net/minecraft/client/renderer/debug/RaidDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: SolidFaceRenderer path: net/minecraft/client/renderer/debug/SolidFaceRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: StructureRenderer path: net/minecraft/client/renderer/debug/StructureRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: VillageSectionsDebugRenderer path: net/minecraft/client/renderer/debug/VillageSectionsDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: WaterDebugRenderer path: net/minecraft/client/renderer/debug/WaterDebugRenderer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ class: WorldGenAttemptRenderer path: net/minecraft/client/renderer/debug/WorldGenAttemptRenderer method: addPos (Lnet/minecraft/core/BlockPos;FFFFF)V params: 1: pos, 2: size, 3: red, 4: green, 5: blue, 6: alpha method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;DDD)V params: 1: matrixStack, 2: buffer, 3: camX, 5: camY, 7: camZ entity layers class: CapeLayer path: net/minecraft/client/renderer/entity/layers/CapeLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/player/AbstractClientPlayer;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: CarriedBlockLayer path: net/minecraft/client/renderer/entity/layers/CarriedBlockLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/monster/EnderMan;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: CatCollarLayer path: net/minecraft/client/renderer/entity/layers/CatCollarLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/Cat;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: CrossedArmsItemLayer path: net/minecraft/client/renderer/entity/layers/CrossedArmsItemLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: CustomHeadLayer path: net/minecraft/client/renderer/entity/layers/CustomHeadLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: Deadmau5EarsLayer path: net/minecraft/client/renderer/entity/layers/Deadmau5EarsLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/player/AbstractClientPlayer;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: DolphinCarryingItemLayer path: net/minecraft/client/renderer/entity/layers/DolphinCarryingItemLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/Dolphin;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: DrownedOuterLayer path: net/minecraft/client/renderer/entity/layers/DrownedOuterLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/monster/Drowned;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: ElytraLayer path: net/minecraft/client/renderer/entity/layers/ElytraLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: EnergySwirlLayer path: net/minecraft/client/renderer/entity/layers/EnergySwirlLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/Entity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: EyesLayer path: net/minecraft/client/renderer/entity/layers/EyesLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/Entity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: FoxHeldItemLayer path: net/minecraft/client/renderer/entity/layers/FoxHeldItemLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/Fox;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: HorseArmorLayer path: net/minecraft/client/renderer/entity/layers/HorseArmorLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/horse/Horse;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: HorseMarkingLayer path: net/minecraft/client/renderer/entity/layers/HorseMarkingLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/horse/Horse;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: HumanoidArmorLayer path: net/minecraft/client/renderer/entity/layers/HumanoidArmorLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch method: setPartVisibility (Lnet/minecraft/client/model/HumanoidModel;Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: model, 2: slot method: usesInnerModel (Lnet/minecraft/world/entity/EquipmentSlot;)Z params: 1: slot class: IronGolemCrackinessLayer path: net/minecraft/client/renderer/entity/layers/IronGolemCrackinessLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/IronGolem;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: IronGolemFlowerLayer path: net/minecraft/client/renderer/entity/layers/IronGolemFlowerLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/IronGolem;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: ItemInHandLayer path: net/minecraft/client/renderer/entity/layers/ItemInHandLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: LlamaDecorLayer path: net/minecraft/client/renderer/entity/layers/LlamaDecorLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/horse/Llama;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: MushroomCowMushroomLayer path: net/minecraft/client/renderer/entity/layers/MushroomCowMushroomLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/MushroomCow;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: PandaHoldsItemLayer path: net/minecraft/client/renderer/entity/layers/PandaHoldsItemLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/Panda;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: ParrotOnShoulderLayer path: net/minecraft/client/renderer/entity/layers/ParrotOnShoulderLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/player/Player;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/player/Player;FFFFZ)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: netHeadYaw, 8: headPitch, 9: leftShoulder class: RenderLayer path: net/minecraft/client/renderer/entity/layers/RenderLayer method: coloredCutoutModelCopyLayerRender (Lnet/minecraft/client/model/EntityModel;Lnet/minecraft/client/model/EntityModel;Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFFFFF)V params: 0: modelParent, 1: model, 2: textureLocation, 3: matrixStack, 4: buffer, 5: packedLight, 6: entity, 7: limbSwing, 8: limbSwingAmount, 9: ageInTicks, 10: netHeadYaw, 11: headPitch, 12: partialTicks, 13: red, 14: green, 15: blue method: getTextureLocation (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/Entity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch method: renderColoredCutoutModel (Lnet/minecraft/client/model/EntityModel;Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFF)V params: 0: model, 1: textureLocation, 2: matrixStack, 3: buffer, 4: packedLight, 5: entity, 6: red, 7: green, 8: blue class: SaddleLayer path: net/minecraft/client/renderer/entity/layers/SaddleLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/Entity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: SheepFurLayer path: net/minecraft/client/renderer/entity/layers/SheepFurLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/Sheep;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: ShulkerHeadLayer path: net/minecraft/client/renderer/entity/layers/ShulkerHeadLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/monster/Shulker;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: SlimeOuterLayer path: net/minecraft/client/renderer/entity/layers/SlimeOuterLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: SnowGolemHeadLayer path: net/minecraft/client/renderer/entity/layers/SnowGolemHeadLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/SnowGolem;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: SpinAttackEffectLayer path: net/minecraft/client/renderer/entity/layers/SpinAttackEffectLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: StrayClothingLayer path: net/minecraft/client/renderer/entity/layers/StrayClothingLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/Mob;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: StuckInBodyLayer path: net/minecraft/client/renderer/entity/layers/StuckInBodyLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: TropicalFishPatternLayer path: net/minecraft/client/renderer/entity/layers/TropicalFishPatternLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/TropicalFish;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: VillagerProfessionLayer path: net/minecraft/client/renderer/entity/layers/VillagerProfessionLayer method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: WitchItemLayer path: net/minecraft/client/renderer/entity/layers/WitchItemLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: WolfCollarLayer path: net/minecraft/client/renderer/entity/layers/WolfCollarLayer method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/Wolf;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch player class: PlayerRenderer path: net/minecraft/client/renderer/entity/player/PlayerRenderer method: getRenderOffset (Lnet/minecraft/client/player/AbstractClientPlayer;F)Lnet/minecraft/world/phys/Vec3; params: 1: entity, 2: partialTicks method: getTextureLocation (Lnet/minecraft/client/player/AbstractClientPlayer;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/client/player/AbstractClientPlayer;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: renderHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/player/AbstractClientPlayer;Lnet/minecraft/client/model/geom/ModelPart;Lnet/minecraft/client/model/geom/ModelPart;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: player, 5: rendererArm, 6: rendererArmwear method: renderLeftHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/player/AbstractClientPlayer;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: player method: renderNameTag (Lnet/minecraft/client/player/AbstractClientPlayer;Lnet/minecraft/network/chat/Component;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: displayName, 3: matrixStack, 4: buffer, 5: packedLight method: renderRightHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/player/AbstractClientPlayer;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: player method: scale (Lnet/minecraft/client/player/AbstractClientPlayer;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime method: setModelProperties (Lnet/minecraft/client/player/AbstractClientPlayer;)V params: 1: clientPlayer method: setupRotations (Lnet/minecraft/client/player/AbstractClientPlayer;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: AbstractHorseRenderer path: net/minecraft/client/renderer/entity/AbstractHorseRenderer method: scale (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: AbstractZombieRenderer path: net/minecraft/client/renderer/entity/AbstractZombieRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Zombie;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: ArmorStandRenderer path: net/minecraft/client/renderer/entity/ArmorStandRenderer field: DEFAULT_SKIN_LOCATION Lnet/minecraft/resources/ResourceLocation; A constant instance of the armor stand texture, wrapped inside a ResourceLocation wrapper.
method: getTextureLocation (Lnet/minecraft/world/entity/decoration/ArmorStand;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/decoration/ArmorStand;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks method: shouldShowName (Lnet/minecraft/world/entity/decoration/ArmorStand;)Z params: 1: entity class: ArrowRenderer path: net/minecraft/client/renderer/entity/ArrowRenderer method: render (Lnet/minecraft/world/entity/projectile/AbstractArrow;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: vertex (Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix3f;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIIFFIIII)V params: 1: matrix, 2: normals, 3: vertexBuilder, 4: offsetX, 5: offsetY, 6: offsetZ, 7: textureX, 8: textureY, 9: normalX, 12: packedLight class: BatRenderer path: net/minecraft/client/renderer/entity/BatRenderer method: getTextureLocation (Lnet/minecraft/world/entity/ambient/Bat;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/ambient/Bat;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime method: setupRotations (Lnet/minecraft/world/entity/ambient/Bat;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: BeeRenderer path: net/minecraft/client/renderer/entity/BeeRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Bee;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: BlazeRenderer path: net/minecraft/client/renderer/entity/BlazeRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/monster/Blaze;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/monster/Blaze;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: BoatRenderer path: net/minecraft/client/renderer/entity/BoatRenderer method: getTextureLocation (Lnet/minecraft/world/entity/vehicle/Boat;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/vehicle/Boat;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: CatRenderer path: net/minecraft/client/renderer/entity/CatRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Cat;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/animal/Cat;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime method: setupRotations (Lnet/minecraft/world/entity/animal/Cat;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: CaveSpiderRenderer path: net/minecraft/client/renderer/entity/CaveSpiderRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/CaveSpider;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/CaveSpider;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: ChestedHorseRenderer path: net/minecraft/client/renderer/entity/ChestedHorseRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/horse/AbstractChestedHorse;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: ChickenRenderer path: net/minecraft/client/renderer/entity/ChickenRenderer method: getBob (Lnet/minecraft/world/entity/animal/Chicken;F)F params: 1: livingBase, 2: partialTicks Defines what float the third param in setRotationAngles of ModelBase is
method: getTextureLocation (Lnet/minecraft/world/entity/animal/Chicken;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: CodRenderer path: net/minecraft/client/renderer/entity/CodRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Cod;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/animal/Cod;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: CowRenderer path: net/minecraft/client/renderer/entity/CowRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Cow;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: CreeperRenderer path: net/minecraft/client/renderer/entity/CreeperRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Creeper;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: getWhiteOverlayProgress (Lnet/minecraft/world/entity/monster/Creeper;F)F params: 1: livingEntity, 2: partialTicks method: scale (Lnet/minecraft/world/entity/monster/Creeper;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: DolphinRenderer path: net/minecraft/client/renderer/entity/DolphinRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Dolphin;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: DragonFireballRenderer path: net/minecraft/client/renderer/entity/DragonFireballRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/projectile/DragonFireball;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/projectile/DragonFireball;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/DragonFireball;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: DrownedRenderer path: net/minecraft/client/renderer/entity/DrownedRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Zombie;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/monster/Drowned;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: ElderGuardianRenderer path: net/minecraft/client/renderer/entity/ElderGuardianRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Guardian;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Guardian;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: EndCrystalRenderer path: net/minecraft/client/renderer/entity/EndCrystalRenderer method: getTextureLocation (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: shouldRender (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;Lnet/minecraft/client/renderer/culling/Frustum;DDD)Z params: 1: livingEntity, 2: camera, 3: camX, 5: camY, 7: camZ class: EnderDragonRenderer path: net/minecraft/client/renderer/entity/EnderDragonRenderer method: getTextureLocation (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: EnderDragonRenderer$DragonModel path: net/minecraft/client/renderer/entity/EnderDragonRenderer$DragonModel method: prepareMobModel (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;FFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: partialTick method: renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;IIFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: packedOverlay, 5: red, 6: green, 7: blue, 8: alpha method: setupAnim (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;FFFFF)V params: 1: entity, 2: limbSwing, 3: limbSwingAmount, 4: ageInTicks, 5: netHeadYaw, 6: headPitch Sets this entity's model rotation angles
class: EndermanRenderer path: net/minecraft/client/renderer/entity/EndermanRenderer method: getRenderOffset (Lnet/minecraft/world/entity/monster/EnderMan;F)Lnet/minecraft/world/phys/Vec3; params: 1: entity, 2: partialTicks method: getTextureLocation (Lnet/minecraft/world/entity/monster/EnderMan;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/monster/EnderMan;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: EndermiteRenderer path: net/minecraft/client/renderer/entity/EndermiteRenderer method: getFlipDegrees (Lnet/minecraft/world/entity/monster/Endermite;)F params: 1: livingEntity method: getTextureLocation (Lnet/minecraft/world/entity/monster/Endermite;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: EntityRenderDispatcher path: net/minecraft/client/renderer/entity/EntityRenderDispatcher field: playerRenderers Ljava/util/Map; lists the various player skin types with their associated Renderer class instances.
method: distanceToSqr (DDD)D params: 1: x, 3: y, 5: z method: distanceToSqr (Lnet/minecraft/world/entity/Entity;)D params: 1: entity method: fireVertex (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFF)V params: 0: matrixEntry, 1: buffer, 2: x, 3: y, 4: z, 5: texU, 6: texV method: getPackedLightCoords (Lnet/minecraft/world/entity/Entity;F)I params: 1: entity, 2: partialTicks method: getRenderer (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/client/renderer/entity/EntityRenderer; params: 1: entity method: overrideCameraOrientation (Lcom/mojang/math/Quaternion;)V params: 1: quaternion method: prepare (Lnet/minecraft/world/level/Level;Lnet/minecraft/client/Camera;Lnet/minecraft/world/entity/Entity;)V params: 1: level, 2: activeRenderInfo, 3: entity method: render (Lnet/minecraft/world/entity/Entity;DDDFFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: x, 4: y, 6: z, 8: rotationYaw, 9: partialTicks, 10: matrixStack, 11: buffer, 12: packedLight method: renderBlockShadow (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;DDDFF)V params: 0: matrixEntry, 1: buffer, 2: level, 3: blockPos, 4: x, 6: y, 8: z, 10: size, 11: weight method: renderFlame (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/world/entity/Entity;)V params: 1: matrixStack, 2: buffer, 3: entity method: renderHitbox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/entity/Entity;F)V params: 1: matrixStack, 2: buffer, 3: entity, 4: partialTicks method: renderShadow (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/world/entity/Entity;FFLnet/minecraft/world/level/LevelReader;F)V params: 0: matrixStack, 1: buffer, 2: entity, 3: weight, 4: partialTicks, 5: level, 6: size method: setLevel (Lnet/minecraft/world/level/Level;)V params: 1: level World sets this RenderManager's worldObj to the world provided
method: setRenderHitBoxes (Z)V params: 1: debugBoundingBox method: setRenderShadow (Z)V params: 1: renderShadow method: shadowVertex (Lcom/mojang/blaze3d/vertex/PoseStack$Pose;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFFF)V params: 0: matrixEntry, 1: buffer, 2: alpha, 3: x, 4: y, 5: z, 6: texU, 7: texV method: shouldRender (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/client/renderer/culling/Frustum;DDD)Z params: 1: entity, 2: frustum, 3: camX, 5: camY, 7: camZ class: EntityRenderer path: net/minecraft/client/renderer/entity/EntityRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getFont ()Lnet/minecraft/client/gui/Font; Returns the font renderer from the set render manager
method: getPackedLightCoords (Lnet/minecraft/world/entity/Entity;F)I params: 1: entity, 2: partialTicks method: getRenderOffset (Lnet/minecraft/world/entity/Entity;F)Lnet/minecraft/world/phys/Vec3; params: 1: entity, 2: partialTicks method: getSkyLightLevel (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/Entity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: renderNameTag (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/chat/Component;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: displayName, 3: matrixStack, 4: buffer, 5: packedLight method: shouldRender (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/client/renderer/culling/Frustum;DDD)Z params: 1: livingEntity, 2: camera, 3: camX, 5: camY, 7: camZ method: shouldShowName (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity class: EvokerFangsRenderer path: net/minecraft/client/renderer/entity/EvokerFangsRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/EvokerFangs;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/EvokerFangs;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: EvokerRenderer path: net/minecraft/client/renderer/entity/EvokerRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/SpellcasterIllager;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: EvokerRenderer$1 path: net/minecraft/client/renderer/entity/EvokerRenderer$1 method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/monster/SpellcasterIllager;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: ExperienceOrbRenderer path: net/minecraft/client/renderer/entity/ExperienceOrbRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/ExperienceOrb;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/ExperienceOrb;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/ExperienceOrb;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: vertex (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lcom/mojang/math/Matrix4f;Lcom/mojang/math/Matrix3f;FFIIIFFI)V params: 0: buffer, 1: matrix, 2: matrixNormal, 3: x, 4: y, 5: red, 6: green, 7: blue, 8: texU, 9: texV, 10: packedLight class: FallingBlockRenderer path: net/minecraft/client/renderer/entity/FallingBlockRenderer method: getTextureLocation (Lnet/minecraft/world/entity/item/FallingBlockEntity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/item/FallingBlockEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: FireworkEntityRenderer path: net/minecraft/client/renderer/entity/FireworkEntityRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/FireworkRocketEntity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/FireworkRocketEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: FishingHookRenderer path: net/minecraft/client/renderer/entity/FishingHookRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/FishingHook;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/FishingHook;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: FoxRenderer path: net/minecraft/client/renderer/entity/FoxRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Fox;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/animal/Fox;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: GhastRenderer path: net/minecraft/client/renderer/entity/GhastRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Ghast;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Ghast;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: GiantMobRenderer path: net/minecraft/client/renderer/entity/GiantMobRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Giant;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Giant;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: GuardianRenderer path: net/minecraft/client/renderer/entity/GuardianRenderer method: getPosition (Lnet/minecraft/world/entity/LivingEntity;DF)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getTextureLocation (Lnet/minecraft/world/entity/monster/Guardian;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/monster/Guardian;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: shouldRender (Lnet/minecraft/world/entity/monster/Guardian;Lnet/minecraft/client/renderer/culling/Frustum;DDD)Z params: 1: livingEntity, 2: camera, 3: camX, 5: camY, 7: camZ class: HoglinRenderer path: net/minecraft/client/renderer/entity/HoglinRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/hoglin/Hoglin;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: HorseRenderer path: net/minecraft/client/renderer/entity/HorseRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/horse/Horse;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: HumanoidMobRenderer path: net/minecraft/client/renderer/entity/HumanoidMobRenderer method: getTextureLocation (Lnet/minecraft/world/entity/Mob;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: HuskRenderer path: net/minecraft/client/renderer/entity/HuskRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Zombie;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Zombie;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: IllagerRenderer path: net/minecraft/client/renderer/entity/IllagerRenderer method: scale (Lnet/minecraft/world/entity/monster/AbstractIllager;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: IllusionerRenderer path: net/minecraft/client/renderer/entity/IllusionerRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Illusioner;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: isBodyVisible (Lnet/minecraft/world/entity/monster/Illusioner;)Z params: 1: livingEntity method: render (Lnet/minecraft/world/entity/monster/Illusioner;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: IllusionerRenderer$1 path: net/minecraft/client/renderer/entity/IllusionerRenderer$1 method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/monster/Illusioner;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: IronGolemRenderer path: net/minecraft/client/renderer/entity/IronGolemRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/IronGolem;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/animal/IronGolem;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: ItemEntityRenderer path: net/minecraft/client/renderer/entity/ItemEntityRenderer method: getRenderAmount (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack method: getTextureLocation (Lnet/minecraft/world/entity/item/ItemEntity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/item/ItemEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: ItemFrameRenderer path: net/minecraft/client/renderer/entity/ItemFrameRenderer method: getRenderOffset (Lnet/minecraft/world/entity/decoration/ItemFrame;F)Lnet/minecraft/world/phys/Vec3; params: 1: entity, 2: partialTicks method: getTextureLocation (Lnet/minecraft/world/entity/decoration/ItemFrame;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/decoration/ItemFrame;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: renderNameTag (Lnet/minecraft/world/entity/decoration/ItemFrame;Lnet/minecraft/network/chat/Component;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: displayName, 3: matrixStack, 4: buffer, 5: packedLight method: shouldShowName (Lnet/minecraft/world/entity/decoration/ItemFrame;)Z params: 1: entity class: ItemRenderer path: net/minecraft/client/renderer/entity/ItemRenderer method: fillRect (Lcom/mojang/blaze3d/vertex/BufferBuilder;IIIIIIII)V params: 1: renderer, 2: x, 3: y, 4: width, 5: height, 6: red, 7: green, 8: blue, 9: alpha Draw with the WorldRenderer
method: getArmorFoilBuffer (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/RenderType;ZZ)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 0: buffer, 1: renderType, 2: noEntity, 3: withGlint method: getCompassFoilBuffer (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack$Pose;)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 0: buffer, 1: renderType, 2: matrixEntry method: getCompassFoilBufferDirect (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/RenderType;Lcom/mojang/blaze3d/vertex/PoseStack$Pose;)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 0: buffer, 1: renderType, 2: matrixEntry method: getFoilBuffer (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/RenderType;ZZ)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 0: buffer, 1: renderType, 2: isItem, 3: glint method: getFoilBufferDirect (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/RenderType;ZZ)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 0: buffer, 1: renderType, 2: noEntity, 3: withGlint method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: render (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/renderer/block/model/ItemTransforms$TransformType;ZLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/resources/model/BakedModel;)V params: 1: itemStack, 2: transformType, 3: leftHand, 4: matrixStack, 5: buffer, 6: combinedLight, 7: combinedOverlay, 8: model method: renderAndDecorateFakeItem (Lnet/minecraft/world/item/ItemStack;II)V params: 1: stack, 2: x, 3: y method: renderAndDecorateItem (Lnet/minecraft/world/item/ItemStack;II)V params: 1: stack, 2: xPosition, 3: yPosition method: renderGuiItem (Lnet/minecraft/world/item/ItemStack;II)V params: 1: stack, 2: x, 3: y method: renderGuiItem (Lnet/minecraft/world/item/ItemStack;IILnet/minecraft/client/resources/model/BakedModel;)V params: 1: stack, 2: x, 3: y, 4: bakedmodel method: renderGuiItemDecorations (Lnet/minecraft/client/gui/Font;Lnet/minecraft/world/item/ItemStack;II)V params: 1: fr, 2: stack, 3: xPosition, 4: yPosition method: renderGuiItemDecorations (Lnet/minecraft/client/gui/Font;Lnet/minecraft/world/item/ItemStack;IILjava/lang/String;)V params: 1: fr, 2: stack, 3: xPosition, 4: yPosition, 5: text Renders the stack size and/or damage bar for the given ItemStack.
method: renderModelLists (Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/world/item/ItemStack;IILcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;)V params: 1: model, 2: stack, 3: combinedLight, 4: combinedOverlay, 5: matrixStack, 6: buffer method: renderQuadList (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Ljava/util/List;Lnet/minecraft/world/item/ItemStack;II)V params: 1: matrixStack, 2: buffer, 3: quads, 4: itemStack, 5: combinedLight, 6: combinedOverlay class: LeashKnotRenderer path: net/minecraft/client/renderer/entity/LeashKnotRenderer method: getTextureLocation (Lnet/minecraft/world/entity/decoration/LeashFenceKnotEntity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/decoration/LeashFenceKnotEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: LightningBoltRenderer path: net/minecraft/client/renderer/entity/LightningBoltRenderer method: getTextureLocation (Lnet/minecraft/world/entity/LightningBolt;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/LightningBolt;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: LivingEntityRenderer path: net/minecraft/client/renderer/entity/LivingEntityRenderer method: addLayer (Lnet/minecraft/client/renderer/entity/layers/RenderLayer;)Z params: 1: layer method: getAttackAnim (Lnet/minecraft/world/entity/LivingEntity;F)F params: 1: livingBase, 2: partialTickTime Returns where in the swing animation the living entity is (from 0 to 1). Args : entity, partialTickTime
method: getBob (Lnet/minecraft/world/entity/LivingEntity;F)F params: 1: livingBase, 2: partialTicks Defines what float the third param in setRotationAngles of ModelBase is
method: getFlipDegrees (Lnet/minecraft/world/entity/LivingEntity;)F params: 1: livingEntity method: getOverlayCoords (Lnet/minecraft/world/entity/LivingEntity;F)I params: 0: livingEntity, 1: u method: getWhiteOverlayProgress (Lnet/minecraft/world/entity/LivingEntity;F)F params: 1: livingEntity, 2: partialTicks method: isBodyVisible (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: livingEntity method: render (Lnet/minecraft/world/entity/LivingEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: scale (Lnet/minecraft/world/entity/LivingEntity;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime method: setupRotations (Lnet/minecraft/world/entity/LivingEntity;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks method: shouldShowName (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: entity method: sleepDirectionToRotation (Lnet/minecraft/core/Direction;)F params: 0: facing class: LlamaRenderer path: net/minecraft/client/renderer/entity/LlamaRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/horse/Llama;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: LlamaSpitRenderer path: net/minecraft/client/renderer/entity/LlamaSpitRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/LlamaSpit;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/LlamaSpit;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: MagmaCubeRenderer path: net/minecraft/client/renderer/entity/MagmaCubeRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/monster/MagmaCube;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/monster/MagmaCube;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/MagmaCube;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: MinecartRenderer path: net/minecraft/client/renderer/entity/MinecartRenderer method: getTextureLocation (Lnet/minecraft/world/entity/vehicle/AbstractMinecart;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/vehicle/AbstractMinecart;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: renderMinecartContents (Lnet/minecraft/world/entity/vehicle/AbstractMinecart;FLnet/minecraft/world/level/block/state/BlockState;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: partialTicks, 3: state, 4: matrixStack, 5: buffer, 6: packedLight class: MobRenderer path: net/minecraft/client/renderer/entity/MobRenderer method: render (Lnet/minecraft/world/entity/Mob;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: renderLeash (Lnet/minecraft/world/entity/Mob;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/world/entity/Entity;)V params: 1: entityLiving, 2: partialTicks, 3: matrixStack, 4: buffer, 5: leashHolder method: shouldRender (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/client/renderer/culling/Frustum;DDD)Z params: 1: livingEntity, 2: camera, 3: camX, 5: camY, 7: camZ method: shouldShowName (Lnet/minecraft/world/entity/Mob;)Z params: 1: entity class: MushroomCowRenderer path: net/minecraft/client/renderer/entity/MushroomCowRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/MushroomCow;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: OcelotRenderer path: net/minecraft/client/renderer/entity/OcelotRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Ocelot;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: PaintingRenderer path: net/minecraft/client/renderer/entity/PaintingRenderer method: getTextureLocation (Lnet/minecraft/world/entity/decoration/Painting;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/decoration/Painting;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: PandaRenderer path: net/minecraft/client/renderer/entity/PandaRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Panda;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/animal/Panda;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: ParrotRenderer path: net/minecraft/client/renderer/entity/ParrotRenderer method: getBob (Lnet/minecraft/world/entity/animal/Parrot;F)F params: 1: livingBase, 2: partialTicks Defines what float the third param in setRotationAngles of ModelBase is
method: getTextureLocation (Lnet/minecraft/world/entity/animal/Parrot;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: PhantomRenderer path: net/minecraft/client/renderer/entity/PhantomRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Phantom;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Phantom;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime method: setupRotations (Lnet/minecraft/world/entity/monster/Phantom;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: PigRenderer path: net/minecraft/client/renderer/entity/PigRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Pig;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: PiglinRenderer path: net/minecraft/client/renderer/entity/PiglinRenderer method: getTextureLocation (Lnet/minecraft/world/entity/Mob;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: PillagerRenderer path: net/minecraft/client/renderer/entity/PillagerRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Pillager;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: PolarBearRenderer path: net/minecraft/client/renderer/entity/PolarBearRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/PolarBear;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/animal/PolarBear;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: PufferfishRenderer path: net/minecraft/client/renderer/entity/PufferfishRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Pufferfish;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/animal/Pufferfish;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: setupRotations (Lnet/minecraft/world/entity/animal/Pufferfish;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: RabbitRenderer path: net/minecraft/client/renderer/entity/RabbitRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Rabbit;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: RavagerRenderer path: net/minecraft/client/renderer/entity/RavagerRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Ravager;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: RenderLayerParent path: net/minecraft/client/renderer/entity/RenderLayerParent method: getTextureLocation (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: SalmonRenderer path: net/minecraft/client/renderer/entity/SalmonRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Salmon;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/animal/Salmon;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: SheepRenderer path: net/minecraft/client/renderer/entity/SheepRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Sheep;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: ShulkerBulletRenderer path: net/minecraft/client/renderer/entity/ShulkerBulletRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/projectile/ShulkerBullet;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/projectile/ShulkerBullet;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/ShulkerBullet;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: ShulkerRenderer path: net/minecraft/client/renderer/entity/ShulkerRenderer method: getRenderOffset (Lnet/minecraft/world/entity/monster/Shulker;F)Lnet/minecraft/world/phys/Vec3; params: 1: entity, 2: partialTicks method: getTextureLocation (Lnet/minecraft/world/entity/monster/Shulker;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/monster/Shulker;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks method: shouldRender (Lnet/minecraft/world/entity/monster/Shulker;Lnet/minecraft/client/renderer/culling/Frustum;DDD)Z params: 1: livingEntity, 2: camera, 3: camX, 5: camY, 7: camZ class: SilverfishRenderer path: net/minecraft/client/renderer/entity/SilverfishRenderer method: getFlipDegrees (Lnet/minecraft/world/entity/monster/Silverfish;)F params: 1: livingEntity method: getTextureLocation (Lnet/minecraft/world/entity/monster/Silverfish;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: SkeletonRenderer path: net/minecraft/client/renderer/entity/SkeletonRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/AbstractSkeleton;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: SlimeRenderer path: net/minecraft/client/renderer/entity/SlimeRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Slime;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/monster/Slime;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: scale (Lnet/minecraft/world/entity/monster/Slime;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: SnowGolemRenderer path: net/minecraft/client/renderer/entity/SnowGolemRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/SnowGolem;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: SpectralArrowRenderer path: net/minecraft/client/renderer/entity/SpectralArrowRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/SpectralArrow;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: SpiderRenderer path: net/minecraft/client/renderer/entity/SpiderRenderer method: getFlipDegrees (Lnet/minecraft/world/entity/monster/Spider;)F params: 1: livingEntity method: getTextureLocation (Lnet/minecraft/world/entity/monster/Spider;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: SquidRenderer path: net/minecraft/client/renderer/entity/SquidRenderer method: getBob (Lnet/minecraft/world/entity/animal/Squid;F)F params: 1: livingBase, 2: partialTicks Defines what float the third param in setRotationAngles of ModelBase is
method: getTextureLocation (Lnet/minecraft/world/entity/animal/Squid;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: setupRotations (Lnet/minecraft/world/entity/animal/Squid;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: StrayRenderer path: net/minecraft/client/renderer/entity/StrayRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/AbstractSkeleton;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: StriderRenderer path: net/minecraft/client/renderer/entity/StriderRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Strider;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Strider;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: ThrownItemRenderer path: net/minecraft/client/renderer/entity/ThrownItemRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/Entity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: ThrownTridentRenderer path: net/minecraft/client/renderer/entity/ThrownTridentRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/ThrownTrident;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/ThrownTrident;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: TippableArrowRenderer path: net/minecraft/client/renderer/entity/TippableArrowRenderer method: getTextureLocation (Lnet/minecraft/world/entity/projectile/Arrow;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: TntMinecartRenderer path: net/minecraft/client/renderer/entity/TntMinecartRenderer method: renderMinecartContents (Lnet/minecraft/world/entity/vehicle/MinecartTNT;FLnet/minecraft/world/level/block/state/BlockState;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: partialTicks, 3: state, 4: matrixStack, 5: buffer, 6: packedLight method: renderWhiteSolidBlock (Lnet/minecraft/world/level/block/state/BlockState;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IZ)V params: 0: blockState, 1: matrixStack, 2: renderTypeBuffer, 3: combinedLight, 4: doFullBright class: TntRenderer path: net/minecraft/client/renderer/entity/TntRenderer method: getTextureLocation (Lnet/minecraft/world/entity/item/PrimedTnt;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/item/PrimedTnt;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: TropicalFishRenderer path: net/minecraft/client/renderer/entity/TropicalFishRenderer field: modelA Lnet/minecraft/client/model/TropicalFishModelA; Breaking recompile intentionally since modelA/B incorrectly mapped.
field: modelB Lnet/minecraft/client/model/TropicalFishModelB; Breaking recompile intentionally since modelA/B incorrectly mapped.
method: getTextureLocation (Lnet/minecraft/world/entity/animal/TropicalFish;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/animal/TropicalFish;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: setupRotations (Lnet/minecraft/world/entity/animal/TropicalFish;Lcom/mojang/blaze3d/vertex/PoseStack;FFF)V params: 1: entityLiving, 2: matrixStack, 3: ageInTicks, 4: rotationYaw, 5: partialTicks class: TurtleRenderer path: net/minecraft/client/renderer/entity/TurtleRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/Turtle;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/animal/Turtle;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: UndeadHorseRenderer path: net/minecraft/client/renderer/entity/UndeadHorseRenderer method: getTextureLocation (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: VexRenderer path: net/minecraft/client/renderer/entity/VexRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/monster/Vex;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/monster/Vex;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/Vex;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: VillagerRenderer path: net/minecraft/client/renderer/entity/VillagerRenderer method: getTextureLocation (Lnet/minecraft/world/entity/npc/Villager;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/npc/Villager;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: VindicatorRenderer path: net/minecraft/client/renderer/entity/VindicatorRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Vindicator;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: VindicatorRenderer$1 path: net/minecraft/client/renderer/entity/VindicatorRenderer$1 method: render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/monster/Vindicator;FFFFFF)V params: 1: matrixStack, 2: buffer, 3: packedLight, 4: livingEntity, 5: limbSwing, 6: limbSwingAmount, 7: partialTicks, 8: ageInTicks, 9: netHeadYaw, 10: headPitch class: WanderingTraderRenderer path: net/minecraft/client/renderer/entity/WanderingTraderRenderer method: getTextureLocation (Lnet/minecraft/world/entity/npc/WanderingTrader;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/npc/WanderingTrader;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: WitchRenderer path: net/minecraft/client/renderer/entity/WitchRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Witch;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/monster/Witch;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight method: scale (Lnet/minecraft/world/entity/monster/Witch;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: WitherBossRenderer path: net/minecraft/client/renderer/entity/WitherBossRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/boss/wither/WitherBoss;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/boss/wither/WitherBoss;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/boss/wither/WitherBoss;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: WitherSkeletonRenderer path: net/minecraft/client/renderer/entity/WitherSkeletonRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/AbstractSkeleton;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: scale (Lnet/minecraft/world/entity/monster/AbstractSkeleton;Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: livingEntity, 2: matrixStack, 3: partialTickTime class: WitherSkullRenderer path: net/minecraft/client/renderer/entity/WitherSkullRenderer method: getBlockLightLevel (Lnet/minecraft/world/entity/projectile/WitherSkull;Lnet/minecraft/core/BlockPos;)I params: 1: entity, 2: pos method: getTextureLocation (Lnet/minecraft/world/entity/projectile/WitherSkull;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/projectile/WitherSkull;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: WolfRenderer path: net/minecraft/client/renderer/entity/WolfRenderer method: getBob (Lnet/minecraft/world/entity/animal/Wolf;F)F params: 1: livingBase, 2: partialTicks Defines what float the third param in setRotationAngles of ModelBase is
method: getTextureLocation (Lnet/minecraft/world/entity/animal/Wolf;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
method: render (Lnet/minecraft/world/entity/animal/Wolf;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: entity, 2: entityYaw, 3: partialTicks, 4: matrixStack, 5: buffer, 6: packedLight class: ZoglinRenderer path: net/minecraft/client/renderer/entity/ZoglinRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/Zoglin;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
class: ZombieVillagerRenderer path: net/minecraft/client/renderer/entity/ZombieVillagerRenderer method: getTextureLocation (Lnet/minecraft/world/entity/monster/ZombieVillager;)Lnet/minecraft/resources/ResourceLocation; params: 1: entity Returns the location of an entity's texture.
texture class: AbstractTexture path: net/minecraft/client/renderer/texture/AbstractTexture method: load (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: manager method: reset (Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;Ljava/util/concurrent/Executor;)V params: 1: textureManager, 2: resourceManager, 3: resourceLocation, 4: executor method: setFilter (ZZ)V params: 1: blur, 2: mipmap class: AtlasSet path: net/minecraft/client/renderer/texture/AtlasSet method: getAtlas (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/TextureAtlas; params: 1: location method: getSprite (Lnet/minecraft/client/resources/model/Material;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: material class: DynamicTexture path: net/minecraft/client/renderer/texture/DynamicTexture method: load (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: manager method: setPixels (Lcom/mojang/blaze3d/platform/NativeImage;)V params: 1: nativeImage class: HttpTexture path: net/minecraft/client/renderer/texture/HttpTexture method: doNotchTransparencyHack (Lcom/mojang/blaze3d/platform/NativeImage;IIII)V params: 0: image, 1: x, 2: y, 3: width, 4: height method: load (Ljava/io/InputStream;)Lcom/mojang/blaze3d/platform/NativeImage; params: 1: inputStream method: load (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: manager method: loadCallback (Lcom/mojang/blaze3d/platform/NativeImage;)V params: 1: nativeImage method: processLegacySkin (Lcom/mojang/blaze3d/platform/NativeImage;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: nativeImage method: setNoAlpha (Lcom/mojang/blaze3d/platform/NativeImage;IIII)V params: 0: image, 1: x, 2: y, 3: width, 4: height method: upload (Lcom/mojang/blaze3d/platform/NativeImage;)V params: 1: image class: MipmapGenerator path: net/minecraft/client/renderer/texture/MipmapGenerator method: alphaBlend (IIIIZ)I params: 0: col1, 1: col2, 2: col3, 3: col4, 4: transparent method: gammaBlend (IIIII)I params: 0: col1, 1: col2, 2: col3, 3: col4, 4: bitOffset method: generateMipLevels (Lcom/mojang/blaze3d/platform/NativeImage;I)[Lcom/mojang/blaze3d/platform/NativeImage; params: 0: image, 1: mipmapLevels method: getPow22 class: MissingTextureAtlasSprite path: net/minecraft/client/renderer/texture/MissingTextureAtlasSprite method: newInstance (Lnet/minecraft/client/renderer/texture/TextureAtlas;IIIII)Lnet/minecraft/client/renderer/texture/MissingTextureAtlasSprite; params: 0: atlasTexture, 1: mipmapLevel, 2: atlasWidth, 3: atlasHeight, 4: x, 5: y class: OverlayTexture path: net/minecraft/client/renderer/texture/OverlayTexture method: pack (FZ)I params: 0: u, 1: hurt method: pack method: u method: v class: PreloadedTexture path: net/minecraft/client/renderer/texture/PreloadedTexture method: executor (Ljava/util/concurrent/Executor;)Ljava/util/concurrent/Executor; params: 0: executor method: getTextureImage (Lnet/minecraft/server/packs/resources/ResourceManager;)Lnet/minecraft/client/renderer/texture/SimpleTexture$TextureImage; params: 1: resourceManager method: reset (Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;Ljava/util/concurrent/Executor;)V params: 1: textureManager, 2: resourceManager, 3: resourceLocation, 4: executor class: SimpleTexture path: net/minecraft/client/renderer/texture/SimpleTexture method: doLoad (Lcom/mojang/blaze3d/platform/NativeImage;ZZ)V params: 1: image, 2: blur, 3: clamp method: getTextureImage (Lnet/minecraft/server/packs/resources/ResourceManager;)Lnet/minecraft/client/renderer/texture/SimpleTexture$TextureImage; params: 1: resourceManager method: load (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: manager class: SimpleTexture$TextureImage path: net/minecraft/client/renderer/texture/SimpleTexture$TextureImage method: load (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/SimpleTexture$TextureImage; params: 0: resourceManager, 1: location class: Stitcher path: net/minecraft/client/renderer/texture/Stitcher method: addToStorage (Lnet/minecraft/client/renderer/texture/Stitcher$Holder;)Z params: 1: holder Attempts to find space for specified tile
method: expand (Lnet/minecraft/client/renderer/texture/Stitcher$Holder;)Z params: 1: holder Expand stitched texture in order to make space for specified tile
method: gatherSprites (Lnet/minecraft/client/renderer/texture/Stitcher$SpriteLoader;)V params: 1: spriteLoader method: registerSprite (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite$Info;)V params: 1: spriteInfo method: smallestFittingMinTexel (II)I params: 0: dimension, 1: mipmapLevel class: Stitcher$Region path: net/minecraft/client/renderer/texture/Stitcher$Region method: add (Lnet/minecraft/client/renderer/texture/Stitcher$Holder;)Z params: 1: holder method: walk (Ljava/util/function/Consumer;)V params: 1: slots class: TextureAtlas path: net/minecraft/client/renderer/texture/TextureAtlas method: getBasicSpriteInfos (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/Set;)Ljava/util/Collection; params: 1: resourceManager, 2: spriteLocations method: getLoadedSprites (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/client/renderer/texture/Stitcher;I)Ljava/util/List; params: 1: resourceManager, 2: stitcher, 3: mipmapLevel method: getResourceLocation (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 1: location method: getSprite (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: location method: load (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: manager method: load (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite$Info;IIIII)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: resourceManager, 2: spriteInfo, 3: width, 4: height, 5: mipmapLevel, 6: originX, 7: originY method: prepareToStitch (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/stream/Stream;Lnet/minecraft/util/profiling/ProfilerFiller;I)Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations; params: 1: resourceManager, 2: resourceLocations, 3: profiler, 4: maxMipmapLevel method: reload (Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations;)V params: 1: sheetData method: updateFilter (Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations;)V params: 1: sheetData class: TextureAtlasSprite path: net/minecraft/client/renderer/texture/TextureAtlasSprite method: getHeight ()I Returns the height of the icon, in pixels.
method: getU (D)F params: 1: u Gets a U coordinate on the icon. 0 returns uMin and 16 returns uMax. Other arguments return in-between values.
method: getU0 ()F Returns the minimum U coordinate to use when rendering with this icon.
method: getU1 ()F Returns the maximum U coordinate to use when rendering with this icon.
method: getV (D)F params: 1: v Gets a V coordinate on the icon. 0 returns vMin and 16 returns vMax. Other arguments return in-between values.
method: getV0 ()F Returns the minimum V coordinate to use when rendering with this icon.
method: getV1 ()F Returns the maximum V coordinate to use when rendering with this icon.
method: getWidth ()I Returns the width of the icon, in pixels.
method: isTransparent (III)Z params: 1: frameIndex, 2: pixelX, 3: pixelY method: upload (II[Lcom/mojang/blaze3d/platform/NativeImage;)V params: 1: xOffset, 2: yOffset, 3: frames method: wrap (Lcom/mojang/blaze3d/vertex/VertexConsumer;)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: buffer class: TextureAtlasSprite$InterpolationData path: net/minecraft/client/renderer/texture/TextureAtlasSprite$InterpolationData method: mix (DII)I params: 1: ratio, 3: val1, 4: val2 class: TextureManager path: net/minecraft/client/renderer/texture/TextureManager method: _bind (Lnet/minecraft/resources/ResourceLocation;)V params: 1: resource method: execute (Ljava/lang/Runnable;)V params: 0: runnable method: getTexture (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/AbstractTexture; params: 1: textureLocation method: preload (Lnet/minecraft/resources/ResourceLocation;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: textureLocation, 2: executor method: register (Ljava/lang/String;Lnet/minecraft/client/renderer/texture/DynamicTexture;)Lnet/minecraft/resources/ResourceLocation; params: 1: name, 2: texture method: register (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)V params: 1: textureLocation, 2: textureObj method: release (Lnet/minecraft/resources/ResourceLocation;)V params: 1: textureLocation method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor class: BiomeColors path: net/minecraft/client/renderer/BiomeColors method: getAverageColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I params: 0: level, 1: blockPos, 2: colorResolver method: getAverageFoliageColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)I params: 0: level, 1: blockPos method: getAverageGrassColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)I params: 0: level, 1: blockPos method: getAverageWaterColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)I params: 0: level, 1: blockPos class: ChunkBufferBuilderPack path: net/minecraft/client/renderer/ChunkBufferBuilderPack method: builder (Lnet/minecraft/client/renderer/RenderType;)Lcom/mojang/blaze3d/vertex/BufferBuilder; params: 1: renderType class: CubeMap path: net/minecraft/client/renderer/CubeMap method: preload (Lnet/minecraft/client/renderer/texture/TextureManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: texMngr, 2: backgroundExecutor method: render (Lnet/minecraft/client/Minecraft;FFF)V params: 1: mc, 2: pitch, 3: yaw, 4: alpha class: FaceInfo path: net/minecraft/client/renderer/FaceInfo method: fromFacing (Lnet/minecraft/core/Direction;)Lnet/minecraft/client/renderer/FaceInfo; params: 0: facing method: getVertexInfo (I)Lnet/minecraft/client/renderer/FaceInfo$VertexInfo; params: 1: index class: FogRenderer path: net/minecraft/client/renderer/FogRenderer method: setupColor (Lnet/minecraft/client/Camera;FLnet/minecraft/client/multiplayer/ClientLevel;IF)V params: 0: activeRenderInfo, 1: partialTicks, 2: level, 3: renderDistanceChunks, 4: bossColorModifier method: setupFog (Lnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/FogRenderer$FogMode;FZ)V params: 0: activeRenderInfo, 1: fogType, 2: farPlaneDistance, 3: nearFog class: GameRenderer path: net/minecraft/client/renderer/GameRenderer method: bobHurt (Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: matrixStack, 2: partialTicks method: bobView (Lcom/mojang/blaze3d/vertex/PoseStack;F)V params: 1: matrixStack, 2: partialTicks method: checkEntityPostEffect (Lnet/minecraft/world/entity/Entity;)V params: 1: entity What shader to use when spectating this entity
method: displayItemActivation (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: getDarkenWorldAmount (F)F params: 1: partialTicks method: getFov (Lnet/minecraft/client/Camera;FZ)D params: 1: activeRenderInfo, 2: partialTicks, 3: useFOVSetting method: getNightVisionScale (Lnet/minecraft/world/entity/LivingEntity;F)F params: 0: livingEntity, 1: nanoTime method: loadEffect (Lnet/minecraft/resources/ResourceLocation;)V params: 1: resourceLocation method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: pick (F)V params: 1: partialTicks Gets the block or object that is being moused over.
method: render (FJZ)V params: 1: partialTicks, 2: nanoTime, 4: renderLevel method: renderItemActivationAnimation (IIF)V params: 1: widthsp, 2: heightScaled, 3: partialTicks method: renderItemInHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/Camera;F)V params: 1: matrixStack, 2: activeRenderInfo, 3: partialTicks method: renderLevel (FJLcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: partialTicks, 2: finishTimeNano, 4: matrixStack method: resetProjectionMatrix (Lcom/mojang/math/Matrix4f;)V params: 1: matrix method: resize (II)V params: 1: width, 2: height method: tick ()V Updates the entity renderer
method: tickFov ()V Update FOV modifier hand
class: GpuWarnlistManager path: net/minecraft/client/renderer/GpuWarnlistManager method: apply (Lnet/minecraft/client/renderer/GpuWarnlistManager$Preparations;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Lnet/minecraft/client/renderer/GpuWarnlistManager$Preparations; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
class: ItemBlockRenderTypes path: net/minecraft/client/renderer/ItemBlockRenderTypes method: getChunkRenderType (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/renderer/RenderType; params: 0: blockState method: getRenderLayer (Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/client/renderer/RenderType; params: 0: fluidState method: setFancy class: ItemInHandRenderer path: net/minecraft/client/renderer/ItemInHandRenderer method: applyEatTransform (Lcom/mojang/blaze3d/vertex/PoseStack;FLnet/minecraft/world/entity/HumanoidArm;Lnet/minecraft/world/item/ItemStack;)V params: 1: matrixStack, 2: partialTicks, 3: hand, 4: stack method: applyItemArmAttackTransform (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/entity/HumanoidArm;F)V params: 1: matrixStack, 2: hand, 3: swingProgress method: applyItemArmTransform (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/world/entity/HumanoidArm;F)V params: 1: matrixStack, 2: hand, 3: equippedProg method: calculateMapTilt (F)F params: 1: pitch Return the angle to render the Map
method: itemUsed (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: renderArmWithItem (Lnet/minecraft/client/player/AbstractClientPlayer;FFLnet/minecraft/world/InteractionHand;FLnet/minecraft/world/item/ItemStack;FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: player, 2: partialTicks, 3: pitch, 4: hand, 5: swingProgress, 6: stack, 7: equippedProgress, 8: matrixStack, 9: buffer, 10: combinedLight method: renderHandsWithItems (FLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet/minecraft/client/player/LocalPlayer;I)V params: 1: partialTicks, 2: matrixStack, 3: buffer, 4: playerEntity, 5: combinedLight method: renderItem (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/renderer/block/model/ItemTransforms$TransformType;ZLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V params: 1: livingEntity, 2: itemStack, 3: transformType, 4: leftHand, 5: matrixStack, 6: buffer, 7: combinedLight method: renderMap (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/item/ItemStack;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: stack method: renderMapHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/HumanoidArm;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: side method: renderOneHandedMap (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IFLnet/minecraft/world/entity/HumanoidArm;FLnet/minecraft/world/item/ItemStack;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: equippedProgress, 5: hand, 6: swingProgress, 7: stack method: renderPlayerArm (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IFFLnet/minecraft/world/entity/HumanoidArm;)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: equippedProgress, 5: swingProgress, 6: side method: renderTwoHandedMap (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IFFF)V params: 1: matrixStack, 2: buffer, 3: combinedLight, 4: pitch, 5: equippedProgress, 6: swingProgress class: ItemModelShaper path: net/minecraft/client/renderer/ItemModelShaper method: getIndex (Lnet/minecraft/world/item/Item;)I params: 0: item method: getItemModel (Lnet/minecraft/world/item/Item;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: item method: getItemModel (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: stack method: getParticleIcon (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: stack method: getParticleIcon (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: itemProvider method: register (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/resources/model/ModelResourceLocation;)V params: 1: item, 2: modelLocation class: LevelRenderer path: net/minecraft/client/renderer/LevelRenderer field: entityEffect Lnet/minecraft/client/renderer/PostChain; Stores the shader group for the entity_outline shader
field: globalBlockEntities Ljava/util/Set; Global tile entities, always rendered (beacon, end teleporter, structures)
field: playingRecords Ljava/util/Map; Currently playing sounds. Type: HashMap<ChunkCoordinates, ISound>
method: addChainedFilledBoxVertices (Lcom/mojang/blaze3d/vertex/BufferBuilder;DDDDDDFFFF)V params: 0: builder, 1: x1, 3: y1, 5: z1, 7: x2, 9: y2, 11: z2, 13: red, 14: green, 15: blue, 16: alpha method: addFrustumQuad (Lcom/mojang/blaze3d/vertex/VertexConsumer;IIIIIII)V params: 1: buffer, 2: vertex1, 3: vertex2, 4: vertex3, 5: vertex4, 6: red, 7: green, 8: blue method: addFrustumVertex (Lcom/mojang/blaze3d/vertex/VertexConsumer;I)V params: 1: buffer, 2: vertex method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)V params: 1: particleData, 2: alwaysRender, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;ZZDDDDDD)V params: 1: particleData, 2: ignoreRange, 3: minimizeLevel, 4: x, 6: y, 8: z, 10: xSpeed, 12: ySpeed, 14: zSpeed method: addParticleInternal (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: particleData, 2: alwaysRender, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed method: addParticleInternal (Lnet/minecraft/core/particles/ParticleOptions;ZZDDDDDD)Lnet/minecraft/client/particle/Particle; params: 1: particleData, 2: alwaysRender, 3: minimizeLevel, 4: x, 6: y, 8: z, 10: xSpeed, 12: ySpeed, 14: zSpeed method: allChanged ()V Loads all the renderers and sets up the basic settings usage
method: blockChanged (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;I)V params: 1: level, 2: pos, 3: oldState, 4: newState, 5: flags method: buildClouds (Lcom/mojang/blaze3d/vertex/BufferBuilder;DDDLnet/minecraft/world/phys/Vec3;)V params: 1: buffer, 2: cloudsX, 4: cloudsY, 6: cloudsZ, 8: cloudsColor method: calculateParticleLevel (Z)Lnet/minecraft/client/ParticleStatus; params: 1: minimiseLevel method: checkPoseStack (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: clear ()V Deletes all display lists
method: compileChunksUntil (J)V params: 1: finishTimeNano method: destroyBlockProgress (ILnet/minecraft/core/BlockPos;I)V params: 1: breakerId, 2: pos, 3: progress method: drawStars (Lcom/mojang/blaze3d/vertex/BufferBuilder;)V params: 1: bufferBuilder method: getChunkStatistics ()Ljava/lang/String; Gets the render info for use on the Debug screen
method: getEntityStatistics ()Ljava/lang/String; Gets the entities info for use on the Debug screen
method: getLightColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/core/BlockPos;)I params: 0: lightReader, 1: blockPos method: getLightColor (Lnet/minecraft/world/level/BlockAndTintGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)I params: 0: lightReader, 1: blockState, 2: blockPos method: getRelativeFrom (Lnet/minecraft/core/BlockPos;Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk;Lnet/minecraft/core/Direction;)Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk; params: 1: playerPos, 2: renderChunkBase, 3: facing Returns RenderChunk offset from given RenderChunk in given direction, or null if it can't be seen by player at given BlockPos.
method: globalLevelEvent (ILnet/minecraft/core/BlockPos;I)V params: 1: soundID, 2: pos, 3: data method: initOutline ()V Creates the entity outline shader to be stored in RenderGlobal.entityOutlineShader
method: levelEvent (Lnet/minecraft/world/entity/player/Player;ILnet/minecraft/core/BlockPos;I)V params: 1: player, 2: type, 3: blockPos, 4: data method: notifyNearbyEntities (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)V params: 1: level, 2: pos, 3: isPartying Called when a record starts or stops playing. Used to make parrots start or stop partying.
method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: playStreamingMusic (Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/core/BlockPos;)V params: 1: sound, 2: pos method: removeProgress (Lnet/minecraft/server/level/BlockDestructionProgress;)V params: 1: progress method: renderDebug (Lnet/minecraft/client/Camera;)V params: 1: activeRenderInfo method: renderEndSky (Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 1: matrixStack method: renderEntity (Lnet/minecraft/world/entity/Entity;DDDFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V params: 1: entity, 2: camX, 4: camY, 6: camZ, 8: partialTicks, 9: matrixStack, 10: buffer method: renderHitOutline (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/entity/Entity;DDDLnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: matrixStack, 2: buffer, 3: entity, 4: x, 6: y, 8: z, 10: blockPos, 11: blockState method: renderLevel (Lcom/mojang/blaze3d/vertex/PoseStack;FJZLnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/GameRenderer;Lnet/minecraft/client/renderer/LightTexture;Lcom/mojang/math/Matrix4f;)V params: 1: matrixStack, 2: partialTicks, 3: finishTimeNano, 5: drawBlockOutline, 6: activeRenderInfo, 7: gameRenderer, 8: lightmap, 9: projection method: renderLineBox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;DDDDDDFFFF)V params: 0: matrixStack, 1: buffer, 2: minX, 4: minY, 6: minZ, 8: maxX, 10: maxY, 12: maxZ, 14: red, 15: green, 16: blue, 17: alpha method: renderLineBox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;DDDDDDFFFFFFF)V params: 0: matrixStack, 1: buffer, 2: minX, 4: minY, 6: minZ, 8: maxX, 10: maxY, 12: maxZ, 14: red, 15: green, 16: blue, 17: alpha, 18: red2, 19: green2, 20: blue2 method: renderLineBox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/phys/AABB;FFFF)V params: 0: matrixStack, 1: buffer, 2: aabb, 3: red, 4: green, 5: blue, 6: alpha method: renderShape (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/phys/shapes/VoxelShape;DDDFFFF)V params: 0: matrixStack, 1: buffer, 2: shape, 3: x, 5: y, 7: z, 9: red, 10: green, 11: blue, 12: alpha method: renderSnowAndRain (Lnet/minecraft/client/renderer/LightTexture;FDDD)V params: 1: lightmap, 2: partialTicks, 3: x, 5: y, 7: z method: renderVoxelShape (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/phys/shapes/VoxelShape;DDDFFFF)V params: 0: matrixStack, 1: buffer, 2: shape, 3: x, 5: y, 7: z, 9: red, 10: green, 11: blue, 12: alpha method: resize (II)V params: 1: width, 2: height method: setBlockDirty (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: blockPos, 2: oldState, 3: newState method: setBlockDirty (Lnet/minecraft/core/BlockPos;Z)V params: 1: pos, 2: rerenderOnMainThread method: setBlocksDirty (IIIIII)V params: 1: x1, 2: y1, 3: z1, 4: x2, 5: y2, 6: z2 On the client, re-renders all blocks in this range, inclusive. On the server, does nothing.
method: setLevel (Lnet/minecraft/client/multiplayer/ClientLevel;)V params: 1: levelClient set null to clear
method: setSectionDirty (III)V params: 1: sectionX, 2: sectionY, 3: sectionZ method: setSectionDirty (IIIZ)V params: 1: sectionX, 2: sectionY, 3: sectionZ, 4: rerenderOnMainThread method: setSectionDirtyWithNeighbors (III)V params: 1: sectionX, 2: sectionY, 3: sectionZ method: setupRender (Lnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/culling/Frustum;ZIZ)V params: 1: activeRenderInfo, 2: camera, 3: debugCamera, 4: frameCount, 5: playerSpectator method: tickRain (Lnet/minecraft/client/Camera;)V params: 1: activeRenderInfo method: updateGlobalBlockEntities (Ljava/util/Collection;Ljava/util/Collection;)V params: 1: tileEntitiesToRemove, 2: tileEntitiesToAdd class: LevelRenderer$RenderChunkInfo path: net/minecraft/client/renderer/LevelRenderer$RenderChunkInfo method: hasDirection (Lnet/minecraft/core/Direction;)Z params: 1: facing method: setDirections (BLnet/minecraft/core/Direction;)V params: 1: dir, 2: facing class: LightTexture path: net/minecraft/client/renderer/LightTexture method: block (I)I params: 0: packedLight method: getBrightness (Lnet/minecraft/world/level/Level;I)F params: 1: level, 2: lightLevel method: notGamma method: pack (II)I params: 0: blockLight, 1: skyLight method: sky (I)I params: 0: packedLight method: updateLightTexture (F)V params: 1: partialTicks class: MultiBufferSource path: net/minecraft/client/renderer/MultiBufferSource method: immediate (Lcom/mojang/blaze3d/vertex/BufferBuilder;)Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource; params: 0: builder method: immediateWithBuffers (Ljava/util/Map;Lcom/mojang/blaze3d/vertex/BufferBuilder;)Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource; params: 0: mapBuilders, 1: builder class: MultiBufferSource$BufferSource path: net/minecraft/client/renderer/MultiBufferSource$BufferSource method: endBatch (Lnet/minecraft/client/renderer/RenderType;)V params: 1: renderType method: getBuilderRaw (Lnet/minecraft/client/renderer/RenderType;)Lcom/mojang/blaze3d/vertex/BufferBuilder; params: 1: renderType class: OutlineBufferSource path: net/minecraft/client/renderer/OutlineBufferSource method: setColor (IIII)V params: 1: red, 2: green, 3: blue, 4: alpha class: OutlineBufferSource$EntityOutlineGenerator path: net/minecraft/client/renderer/OutlineBufferSource$EntityOutlineGenerator method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: normal (FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 2: y, 3: z method: overlayCoords (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv (FF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv2 (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: vertex (DDD)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 3: y, 5: z method: vertex (FFFFFFFFFIIFFF)V params: 1: x, 2: y, 3: z, 4: red, 5: green, 6: blue, 7: alpha, 8: texU, 9: texV, 10: overlayUV, 11: lightmapUV, 12: normalX, 13: normalY, 14: normalZ class: PanoramaRenderer path: net/minecraft/client/renderer/PanoramaRenderer method: render (FF)V params: 1: deltaT, 2: alpha class: PostChain path: net/minecraft/client/renderer/PostChain method: addPass (Ljava/lang/String;Lcom/mojang/blaze3d/pipeline/RenderTarget;Lcom/mojang/blaze3d/pipeline/RenderTarget;)Lnet/minecraft/client/renderer/PostPass; params: 1: programName, 2: framebuffer, 3: framebufferOut method: addTempTarget (Ljava/lang/String;II)V params: 1: name, 2: width, 3: height method: getTempTarget (Ljava/lang/String;)Lcom/mojang/blaze3d/pipeline/RenderTarget; params: 1: attributeName method: parsePassNode (Lnet/minecraft/client/renderer/texture/TextureManager;Lcom/google/gson/JsonElement;)V params: 2: json method: parseUniformNode (Lcom/google/gson/JsonElement;)V params: 1: json method: process (F)V params: 1: partialTicks method: resize (II)V params: 1: width, 2: height class: PostPass path: net/minecraft/client/renderer/PostPass method: addAuxAsset (Ljava/lang/String;Ljava/util/function/IntSupplier;II)V params: 1: auxName, 2: auxFramebuffer, 3: width, 4: height method: process (F)V params: 1: partialTicks method: setOrthoMatrix (Lcom/mojang/math/Matrix4f;)V params: 1: projectionMatrix class: Rect2i path: net/minecraft/client/renderer/Rect2i method: contains class: RenderBuffers path: net/minecraft/client/renderer/RenderBuffers method: put (Lit/unimi/dsi/fastutil/objects/Object2ObjectLinkedOpenHashMap;Lnet/minecraft/client/renderer/RenderType;)V params: 0: mapBuilders, 1: renderType class: RenderStateShard path: net/minecraft/client/renderer/RenderStateShard method: setupGlintTexturing class: RenderType path: net/minecraft/client/renderer/RenderType method: armorCutoutNoCull (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: beaconBeam (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/renderer/RenderType; params: 0: location, 1: colorFlag method: crumbling (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: end (Lcom/mojang/blaze3d/vertex/BufferBuilder;III)V params: 1: buffer, 2: cameraX, 3: cameraY, 4: cameraZ method: energySwirl (Lnet/minecraft/resources/ResourceLocation;FF)Lnet/minecraft/client/renderer/RenderType; params: 0: location, 1: u, 2: v method: entityCutout (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityCutoutNoCull (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityCutoutNoCull (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/renderer/RenderType; params: 0: location, 1: outline method: entityCutoutNoCullZOffset (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityCutoutNoCullZOffset (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/renderer/RenderType; params: 0: location, 1: outline method: entityDecal (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityNoOutline (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityShadow (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entitySmoothCutout (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entitySolid (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityTranslucent (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: entityTranslucent (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/renderer/RenderType; params: 0: location, 1: outline method: entityTranslucentCull (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: eyes (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: itemEntityTranslucentCull (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: outline (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: text (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location method: textSeeThrough (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; params: 0: location class: RenderType$CompositeState$CompositeStateBuilder path: net/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder method: createCompositeState (Lnet/minecraft/client/renderer/RenderType$OutlineProperty;)Lnet/minecraft/client/renderer/RenderType$CompositeState; params: 1: outlineState method: createCompositeState (Z)Lnet/minecraft/client/renderer/RenderType$CompositeState; params: 1: outline method: setCullState (Lnet/minecraft/client/renderer/RenderStateShard$CullStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: cull method: setDepthTestState (Lnet/minecraft/client/renderer/RenderStateShard$DepthTestStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: depthTest method: setLayeringState (Lnet/minecraft/client/renderer/RenderStateShard$LayeringStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: layer method: setLightmapState (Lnet/minecraft/client/renderer/RenderStateShard$LightmapStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: lightmap method: setLineState (Lnet/minecraft/client/renderer/RenderStateShard$LineStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: line method: setOutputState (Lnet/minecraft/client/renderer/RenderStateShard$OutputStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: target method: setOverlayState (Lnet/minecraft/client/renderer/RenderStateShard$OverlayStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: overlay method: setTexturingState (Lnet/minecraft/client/renderer/RenderStateShard$TexturingStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: texturing method: setTransparencyState (Lnet/minecraft/client/renderer/RenderStateShard$TransparencyStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: transparency method: setWriteMaskState (Lnet/minecraft/client/renderer/RenderStateShard$WriteMaskStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState$CompositeStateBuilder; params: 1: writeMask class: RunningTrimmedMean path: net/minecraft/client/renderer/RunningTrimmedMean method: registerValueAndGetMean class: ScreenEffectRenderer path: net/minecraft/client/renderer/ScreenEffectRenderer method: getViewBlockingState (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: player method: renderFire (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 0: minecraft, 1: matrixStack method: renderScreenEffect (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 0: minecraft, 1: matrixStack method: renderWater (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V params: 0: minecraft, 1: matrixStack class: Sheets path: net/minecraft/client/renderer/Sheets method: chestMaterial (Ljava/lang/String;)Lnet/minecraft/client/resources/model/Material; params: 0: chestName method: chooseMaterial (Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/level/block/state/properties/ChestType;Z)Lnet/minecraft/client/resources/model/Material; params: 0: blockEntity, 1: chestType, 2: holiday method: chooseMaterial (Lnet/minecraft/world/level/block/state/properties/ChestType;Lnet/minecraft/client/resources/model/Material;Lnet/minecraft/client/resources/model/Material;Lnet/minecraft/client/resources/model/Material;)Lnet/minecraft/client/resources/model/Material; params: 0: chestType, 1: doubleMaterial, 2: leftMaterial, 3: rightMaterial method: getAllMaterials (Ljava/util/function/Consumer;)V params: 0: materialConsumer class: SpriteCoordinateExpander path: net/minecraft/client/renderer/SpriteCoordinateExpander method: color (IIII)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: red, 2: green, 3: blue, 4: alpha method: normal (FFF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 2: y, 3: z method: overlayCoords (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv (FF)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: uv2 (II)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: u, 2: v method: vertex (DDD)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: x, 3: y, 5: z method: vertex (FFFFFFFFFIIFFF)V params: 1: x, 2: y, 3: z, 4: red, 5: green, 6: blue, 7: alpha, 8: texU, 9: texV, 10: overlayUV, 11: lightmapUV, 12: normalX, 13: normalY, 14: normalZ class: ViewArea path: net/minecraft/client/renderer/ViewArea method: createChunks (Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher;)V params: 1: renderChunkFactory method: getChunkIndex (III)I params: 1: x, 2: y, 3: z method: getRenderChunkAt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/client/renderer/chunk/ChunkRenderDispatcher$RenderChunk; params: 1: pos method: repositionCamera (DD)V params: 1: viewEntityX, 3: viewEntityZ method: setDirty (IIIZ)V params: 1: sectionX, 2: sectionY, 3: sectionZ, 4: rerenderOnMainThread method: setViewDistance (I)V params: 1: renderDistanceChunks class: VirtualScreen path: net/minecraft/client/renderer/VirtualScreen method: newWindow (Lcom/mojang/blaze3d/platform/DisplayData;Ljava/lang/String;Ljava/lang/String;)Lcom/mojang/blaze3d/platform/Window; params: 1: screenSize, 2: videoModeName, 3: title resources language class: I18n path: net/minecraft/client/resources/language/I18n method: exists (Ljava/lang/String;)Z params: 0: key method: get (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; params: 0: translateKey, 1: parameters Translates the given string and then formats it. Equivilant to String.format(translate(key), parameters).
class: LanguageManager path: net/minecraft/client/resources/language/LanguageManager method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: setSelected (Lnet/minecraft/client/resources/language/LanguageInfo;)V params: 1: currentLanguage metadata animation class: AnimationMetadataSection path: net/minecraft/client/resources/metadata/animation/AnimationMetadataSection method: calculateFrameSize (II)Lcom/mojang/datafixers/util/Pair; params: 1: defWidth, 2: defHeight method: getFrameHeight method: getFrameSize (II)Lcom/mojang/datafixers/util/Pair; params: 1: width, 2: height method: getFrameWidth method: isDivisionInteger (II)Z params: 0: valMul, 1: val class: AnimationMetadataSection$1 path: net/minecraft/client/resources/metadata/animation/AnimationMetadataSection$1 method: getFrameSize (II)Lcom/mojang/datafixers/util/Pair; params: 1: width, 2: height class: AnimationMetadataSectionSerializer path: net/minecraft/client/resources/metadata/animation/AnimationMetadataSectionSerializer method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resources/metadata/animation/AnimationMetadataSection; params: 1: json method: getFrame (ILcom/google/gson/JsonElement;)Lnet/minecraft/client/resources/metadata/animation/AnimationFrame; params: 1: frame, 2: element method: getMetadataSectionName ()Ljava/lang/String; The name of this section type as it appears in JSON.
class: VillagerMetadataSectionSerializer path: net/minecraft/client/resources/metadata/animation/VillagerMetadataSectionSerializer method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resources/metadata/animation/VillagerMetaDataSection; params: 1: json method: getMetadataSectionName ()Ljava/lang/String; The name of this section type as it appears in JSON.
language class: LanguageMetadataSectionSerializer path: net/minecraft/client/resources/metadata/language/LanguageMetadataSectionSerializer method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resources/metadata/language/LanguageMetadataSection; params: 1: json method: getMetadataSectionName ()Ljava/lang/String; The name of this section type as it appears in JSON.
texture class: TextureMetadataSectionSerializer path: net/minecraft/client/resources/metadata/texture/TextureMetadataSectionSerializer method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resources/metadata/texture/TextureMetadataSection; params: 1: json method: getMetadataSectionName ()Ljava/lang/String; The name of this section type as it appears in JSON.
model class: BakedModel path: net/minecraft/client/resources/model/BakedModel method: getQuads (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Ljava/util/Random;)Ljava/util/List; params: 1: state, 2: side, 3: rand class: BlockModelRotation path: net/minecraft/client/resources/model/BlockModelRotation method: by (II)Lnet/minecraft/client/resources/model/BlockModelRotation; params: 0: x, 1: y method: getIndex class: BuiltInModel path: net/minecraft/client/resources/model/BuiltInModel method: getQuads (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Ljava/util/Random;)Ljava/util/List; params: 1: state, 2: side, 3: rand class: Material path: net/minecraft/client/resources/model/Material method: buffer (Lnet/minecraft/client/renderer/MultiBufferSource;Ljava/util/function/Function;)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: buffer, 2: renderTypeGetter method: buffer (Lnet/minecraft/client/renderer/MultiBufferSource;Ljava/util/function/Function;Z)Lcom/mojang/blaze3d/vertex/VertexConsumer; params: 1: buffer, 2: renderTypeGetter, 3: withGlint method: renderType (Ljava/util/function/Function;)Lnet/minecraft/client/renderer/RenderType; params: 1: renderTypeGetter class: ModelBakery path: net/minecraft/client/resources/model/ModelBakery method: bake (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/resources/model/ModelState;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: location, 2: transform method: cacheAndQueueDependencies (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/resources/model/UnbakedModel;)V params: 1: location, 2: model method: getModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/UnbakedModel; params: 1: modelLocation method: getValueHelper (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)Ljava/lang/Comparable; params: 0: property, 1: value method: loadBlockModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/block/model/BlockModel; params: 1: location method: loadModel (Lnet/minecraft/resources/ResourceLocation;)V params: 1: blockstateLocation method: loadTopLevel (Lnet/minecraft/client/resources/model/ModelResourceLocation;)V params: 1: location method: predicate (Lnet/minecraft/world/level/block/state/StateDefinition;Ljava/lang/String;)Ljava/util/function/Predicate; params: 0: container, 1: variant method: registerModelGroup (Ljava/lang/Iterable;)V params: 1: blockStates method: uploadTextures (Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Lnet/minecraft/client/renderer/texture/AtlasSet; params: 1: resourceManager, 2: profiler class: ModelBakery$ModelGroupKey path: net/minecraft/client/resources/model/ModelBakery$ModelGroupKey method: create (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/renderer/block/model/multipart/MultiPart;Ljava/util/Collection;)Lnet/minecraft/client/resources/model/ModelBakery$ModelGroupKey; params: 0: blockState, 1: multipart, 2: properties method: create (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/resources/model/UnbakedModel;Ljava/util/Collection;)Lnet/minecraft/client/resources/model/ModelBakery$ModelGroupKey; params: 0: blockState, 1: model, 2: properties method: getColoringValues (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Collection;)Ljava/util/List; params: 0: blockState, 1: properties class: ModelManager path: net/minecraft/client/resources/model/ModelManager method: apply (Lnet/minecraft/client/resources/model/ModelBakery;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: getAtlas (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/TextureAtlas; params: 1: location method: getModel (Lnet/minecraft/client/resources/model/ModelResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: modelLocation method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Lnet/minecraft/client/resources/model/ModelBakery; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
method: requiresRender (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: oldState, 2: newState method: updateMaxMipLevel class: ModelResourceLocation path: net/minecraft/client/resources/model/ModelResourceLocation method: decompose (Ljava/lang/String;)[Ljava/lang/String; params: 0: path class: MultiPartBakedModel path: net/minecraft/client/resources/model/MultiPartBakedModel method: getQuads (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Ljava/util/Random;)Ljava/util/List; params: 1: state, 2: side, 3: rand class: MultiPartBakedModel$Builder path: net/minecraft/client/resources/model/MultiPartBakedModel$Builder method: add (Ljava/util/function/Predicate;Lnet/minecraft/client/resources/model/BakedModel;)V params: 1: predicate, 2: model class: SimpleBakedModel path: net/minecraft/client/resources/model/SimpleBakedModel method: getQuads (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Ljava/util/Random;)Ljava/util/List; params: 1: state, 2: side, 3: rand class: SimpleBakedModel$Builder path: net/minecraft/client/resources/model/SimpleBakedModel$Builder method: addCulledFace (Lnet/minecraft/core/Direction;Lnet/minecraft/client/renderer/block/model/BakedQuad;)Lnet/minecraft/client/resources/model/SimpleBakedModel$Builder; params: 1: facing, 2: quad method: addUnculledFace (Lnet/minecraft/client/renderer/block/model/BakedQuad;)Lnet/minecraft/client/resources/model/SimpleBakedModel$Builder; params: 1: quad method: particle (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;)Lnet/minecraft/client/resources/model/SimpleBakedModel$Builder; params: 1: texture class: UnbakedModel path: net/minecraft/client/resources/model/UnbakedModel method: bake (Lnet/minecraft/client/resources/model/ModelBakery;Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; params: 1: modelBakery, 2: spriteGetter, 3: transform, 4: location method: getMaterials (Ljava/util/function/Function;Ljava/util/Set;)Ljava/util/Collection; params: 1: modelGetter, 2: missingTextureErrors class: WeightedBakedModel path: net/minecraft/client/resources/model/WeightedBakedModel method: getQuads (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Ljava/util/Random;)Ljava/util/List; params: 1: state, 2: side, 3: rand class: WeightedBakedModel$Builder path: net/minecraft/client/resources/model/WeightedBakedModel$Builder method: add (Lnet/minecraft/client/resources/model/BakedModel;I)Lnet/minecraft/client/resources/model/WeightedBakedModel$Builder; params: 1: model, 2: weight sounds class: AbstractSoundInstance path: net/minecraft/client/resources/sounds/AbstractSoundInstance field: delay I The number of ticks between repeating the sound
method: isRelative ()Z True if the sound is not tied to a particular position in world (e.g. BGM)
method: resolve (Lnet/minecraft/client/sounds/SoundManager;)Lnet/minecraft/client/sounds/WeighedSoundEvents; params: 1: handler class: SimpleSoundInstance path: net/minecraft/client/resources/sounds/SimpleSoundInstance method: forAmbientAddition (Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound method: forAmbientMood (Lnet/minecraft/sounds/SoundEvent;DDD)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound, 1: x, 3: y, 5: z method: forLocalAmbience (Lnet/minecraft/sounds/SoundEvent;FF)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound, 1: volume, 2: pitch method: forMusic (Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound method: forRecord (Lnet/minecraft/sounds/SoundEvent;DDD)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound, 1: x, 3: y, 5: z method: forUI (Lnet/minecraft/sounds/SoundEvent;F)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound, 1: pitch method: forUI (Lnet/minecraft/sounds/SoundEvent;FF)Lnet/minecraft/client/resources/sounds/SimpleSoundInstance; params: 0: sound, 1: pitch, 2: volume class: Sound path: net/minecraft/client/resources/sounds/Sound method: preloadIfRequired (Lnet/minecraft/client/sounds/SoundEngine;)V params: 1: engine class: Sound$Type path: net/minecraft/client/resources/sounds/Sound$Type method: getByName (Ljava/lang/String;)Lnet/minecraft/client/resources/sounds/Sound$Type; params: 0: name class: SoundEventRegistration path: net/minecraft/client/resources/sounds/SoundEventRegistration field: replace Z if true it will override all the sounds from the resourcepacks loaded before
class: SoundEventRegistrationSerializer path: net/minecraft/client/resources/sounds/SoundEventRegistrationSerializer method: getSound (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/resources/sounds/Sound; params: 1: object method: getSounds (Lcom/google/gson/JsonObject;)Ljava/util/List; params: 1: object method: getType (Lcom/google/gson/JsonObject;Lnet/minecraft/client/resources/sounds/Sound$Type;)Lnet/minecraft/client/resources/sounds/Sound$Type; params: 1: object, 2: defaultValue class: SoundInstance path: net/minecraft/client/resources/sounds/SoundInstance method: isRelative ()Z True if the sound is not tied to a particular position in world (e.g. BGM)
method: resolve (Lnet/minecraft/client/sounds/SoundManager;)Lnet/minecraft/client/sounds/WeighedSoundEvents; params: 1: handler class: AssetIndex path: net/minecraft/client/resources/AssetIndex method: getFile (Lnet/minecraft/resources/ResourceLocation;)Ljava/io/File; params: 1: location class: ClientPackSource path: net/minecraft/client/resources/ClientPackSource method: checkHash (Ljava/lang/String;Ljava/io/File;)Z params: 1: expectedHash, 2: file method: deleteQuietly (Ljava/io/File;)V params: 0: file method: loadPacks (Ljava/util/function/Consumer;Lnet/minecraft/server/packs/repository/Pack$PackConstructor;)V params: 1: infoConsumer, 2: infoFactory method: setServerPack (Ljava/io/File;Lnet/minecraft/server/packs/repository/PackSource;)Ljava/util/concurrent/CompletableFuture; params: 1: file class: DefaultClientPackResources path: net/minecraft/client/resources/DefaultClientPackResources method: getResourceAsStream (Ljava/lang/String;)Ljava/io/InputStream; params: 1: path method: getResourceAsStream (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: hasResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: type, 2: location class: DefaultPlayerSkin path: net/minecraft/client/resources/DefaultPlayerSkin field: ALEX_SKIN_LOCATION Lnet/minecraft/resources/ResourceLocation; The default skin for the Alex model.
field: STEVE_SKIN_LOCATION Lnet/minecraft/resources/ResourceLocation; The default skin for the Steve model.
method: getDefaultSkin ()Lnet/minecraft/resources/ResourceLocation; Returns the default skind for versions prior to 1.8, which is always the Steve texture.
method: getDefaultSkin (Ljava/util/UUID;)Lnet/minecraft/resources/ResourceLocation; params: 0: playerUUID Retrieves the default skin for this player. Depending on the model used this will be Alex or Steve.
method: getSkinModelName (Ljava/util/UUID;)Ljava/lang/String; params: 0: playerUUID Retrieves the type of skin that a player is using. The Alex model is slim while the Steve model is default.
method: isAlexDefault (Ljava/util/UUID;)Z params: 0: playerUUID Checks if a players skin model is slim or the default. The Alex model is slime while the Steve model is default.
class: DirectAssetIndex path: net/minecraft/client/resources/DirectAssetIndex method: getFile (Lnet/minecraft/resources/ResourceLocation;)Ljava/io/File; params: 1: location class: FoliageColorReloadListener path: net/minecraft/client/resources/FoliageColorReloadListener method: apply ([ILnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)[I params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
class: GrassColorReloadListener path: net/minecraft/client/resources/GrassColorReloadListener method: apply ([ILnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)[I params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
class: LegacyPackResourcesAdapter path: net/minecraft/client/resources/LegacyPackResourcesAdapter method: getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: deserializer method: getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; params: 1: type method: getResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: getRootResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: fileName method: hasResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: type, 2: location class: LegacyStuffWrapper path: net/minecraft/client/resources/LegacyStuffWrapper method: getPixels (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;)[I params: 0: manager, 1: location class: MobEffectTextureManager path: net/minecraft/client/resources/MobEffectTextureManager method: get (Lnet/minecraft/world/effect/MobEffect;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: effect class: PackResourcesAdapterV4 path: net/minecraft/client/resources/PackResourcesAdapterV4 method: getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: deserializer method: getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; params: 1: type method: getResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: getRootResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: fileName method: hasResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: type, 2: location class: PaintingTextureManager path: net/minecraft/client/resources/PaintingTextureManager method: get (Lnet/minecraft/world/entity/decoration/Motive;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: paintingType Gets the sprite used for a specific painting type.
class: SkinManager path: net/minecraft/client/resources/SkinManager method: getInsecureSkinInformation (Lcom/mojang/authlib/GameProfile;)Ljava/util/Map; params: 1: profile method: registerSkins (Lcom/mojang/authlib/GameProfile;Lnet/minecraft/client/resources/SkinManager$SkinTextureCallback;Z)V params: 1: profile, 2: skinAvailableCallback, 3: requireSecure method: registerTexture (Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)Lnet/minecraft/resources/ResourceLocation; params: 1: profileTexture, 2: textureType Used in the Skull renderer to fetch a skin. May download the skin if it's not in the cache
method: registerTexture (Lcom/mojang/authlib/minecraft/MinecraftProfileTexture;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;Lnet/minecraft/client/resources/SkinManager$SkinTextureCallback;)Lnet/minecraft/resources/ResourceLocation; params: 1: profileTexture, 2: textureType, 3: skinAvailableCallback May download the skin if its not in the cache, can be passed a SkinManager#SkinAvailableCallback for handling
class: SplashManager path: net/minecraft/client/resources/SplashManager method: apply (Ljava/util/List;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Ljava/util/List; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
class: TextureAtlasHolder path: net/minecraft/client/resources/TextureAtlasHolder method: apply (Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: getSprite (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; params: 1: location Gets a sprite associated with the passed resource location.
method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Lnet/minecraft/client/renderer/texture/TextureAtlas$Preparations; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
method: resolveLocation (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 1: location searchtree class: MutableSearchTree path: net/minecraft/client/searchtree/MutableSearchTree method: refresh ()V Recalculates the contents of this search tree, reapplying {@link #nameFunc} and {@link #idFunc}. Should be called whenever resources are reloaded (e.g. language changes).
class: ReloadableIdSearchTree path: net/minecraft/client/searchtree/ReloadableIdSearchTree method: comparePosition (Ljava/lang/Object;Ljava/lang/Object;)I Compares two elements. Returns {@code 1} if the first element has more entries, {@code 0} if they have the same number of entries, and {@code -1} if the second element has more enties.
method: index (Ljava/lang/Object;)V params: 1: element Directly puts the given item into {@link #byId} and {@link #byName}, applying {@link #nameFunc} and {@link idFunc}.
method: refresh ()V Recalculates the contents of this search tree, reapplying {@link #nameFunc} and {@link #idFunc}. Should be called whenever resources are reloaded (e.g. language changes).
method: search (Ljava/lang/String;)Ljava/util/List; params: 1: searchText Searches this search tree for the given text.
<p>
If the query does not contain a <code>:</code>, then only {@link #byName} is searched" if it does contain a colon, both {@link #byName} and {@link #byId} are searched and the results are merged using a {@link MergingIterator}.
@return A list of all matching items in this search tree.
class: ReloadableSearchTree path: net/minecraft/client/searchtree/ReloadableSearchTree method: index (Ljava/lang/Object;)V params: 1: element Directly puts the given item into {@link #byId} and {@link #byName}, applying {@link #nameFunc} and {@link idFunc}.
method: refresh ()V Recalculates the contents of this search tree, reapplying {@link #nameFunc} and {@link #idFunc}. Should be called whenever resources are reloaded (e.g. language changes).
method: search (Ljava/lang/String;)Ljava/util/List; params: 1: searchText Searches this search tree for the given text.
<p>
If the query does not contain a <code>:</code>, then only {@link #byName} is searched" if it does contain a colon, both {@link #byName} and {@link #byId} are searched and the results are merged using a {@link MergingIterator}.
@return A list of all matching items in this search tree.
class: SearchRegistry path: net/minecraft/client/searchtree/SearchRegistry method: getTree (Lnet/minecraft/client/searchtree/SearchRegistry$Key;)Lnet/minecraft/client/searchtree/MutableSearchTree; params: 1: key method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: register (Lnet/minecraft/client/searchtree/SearchRegistry$Key;Lnet/minecraft/client/searchtree/MutableSearchTree;)V params: 1: key, 2: value class: SearchTree path: net/minecraft/client/searchtree/SearchTree method: search (Ljava/lang/String;)Ljava/util/List; params: 1: searchText Searches this search tree for the given text.
<p>
If the query does not contain a <code>:</code>, then only {@link #byName} is searched" if it does contain a colon, both {@link #byName} and {@link #byId} are searched and the results are merged using a {@link MergingIterator}.
@return A list of all matching items in this search tree.
class: SuffixArray path: net/minecraft/client/searchtree/SuffixArray method: print ()V Prints the entire array to the logger, on debug level
server class: IntegratedPlayerList path: net/minecraft/client/server/IntegratedPlayerList method: getSingleplayerData ()Lnet/minecraft/nbt/CompoundTag; On integrated servers, returns the host's player data to be written to level.dat.
method: save (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player also stores the NBTTags if this is an intergratedPlayerList
class: IntegratedServer path: net/minecraft/client/server/IntegratedServer method: getPort method: halt (Z)V params: 1: waitForServer Sets the serverRunning variable to false, in order to get the server to shut down.
method: initServer ()Z Initialises the server and starts it.
method: isCommandBlockEnabled ()Z Return whether command blocks are enabled.
method: isEpollEnabled ()Z Get if native transport should be used. Native transport means linux server performance improvements and optimized packet sending/receiving on linux
method: isPublished ()Z Returns true if this integrated server is open to LAN
method: isSingleplayerOwner (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: onServerCrash (Lnet/minecraft/CrashReport;)V params: 1: report Called on exit from the main run() loop.
method: populateSnooper (Lnet/minecraft/world/Snooper;)V params: 1: snooper method: publishServer (Lnet/minecraft/world/level/GameType;ZI)Z params: 1: gameMode, 2: cheats, 3: port method: setDefaultGameType (Lnet/minecraft/world/level/GameType;)V params: 1: gameMode Sets the game type for all worlds.
method: setUUID (Ljava/util/UUID;)V params: 1: uuid method: stopServer ()V Saves all necessary data as preparation for stopping the server.
method: tickServer (Ljava/util/function/BooleanSupplier;)V params: 1: hasTimeLeft Main function called by run() every loop.
class: LanServer path: net/minecraft/client/server/LanServer method: updatePingTime ()V Updates the time this LanServer was last seen.
class: LanServerDetection$LanServerList path: net/minecraft/client/server/LanServerDetection$LanServerList method: addServer (Ljava/lang/String;Ljava/net/InetAddress;)V params: 1: pingResponse, 2: ipAddress class: LanServerPinger path: net/minecraft/client/server/LanServerPinger method: createPingString (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; params: 0: motdMessage, 1: adMessage method: parseAddress (Ljava/lang/String;)Ljava/lang/String; params: 0: pingResponse method: parseMotd (Ljava/lang/String;)Ljava/lang/String; params: 0: pingResponse sounds class: AudioStream path: net/minecraft/client/sounds/AudioStream method: read (I)Ljava/nio/ByteBuffer; params: 1: size class: ChannelAccess path: net/minecraft/client/sounds/ChannelAccess method: createHandle (Lcom/mojang/blaze3d/audio/Library$Pool;)Ljava/util/concurrent/CompletableFuture; params: 1: systemMode method: executeOnChannels (Ljava/util/function/Consumer;)V params: 1: sourceStreamConsumer class: ChannelAccess$ChannelHandle path: net/minecraft/client/sounds/ChannelAccess$ChannelHandle method: execute (Ljava/util/function/Consumer;)V params: 1: soundConsumer class: LoopingAudioStream path: net/minecraft/client/sounds/LoopingAudioStream method: read (I)Ljava/nio/ByteBuffer; params: 1: size class: MusicManager path: net/minecraft/client/sounds/MusicManager method: isPlayingMusic (Lnet/minecraft/sounds/Music;)Z params: 1: selector method: startPlaying (Lnet/minecraft/sounds/Music;)V params: 1: selector class: SoundBufferLibrary path: net/minecraft/client/sounds/SoundBufferLibrary method: getCompleteBuffer (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/concurrent/CompletableFuture; params: 1: soundID method: getStream (Lnet/minecraft/resources/ResourceLocation;Z)Ljava/util/concurrent/CompletableFuture; params: 1: resourceLocation, 2: isWrapper method: preload (Ljava/util/Collection;)Ljava/util/concurrent/CompletableFuture; params: 1: sounds class: SoundEngine path: net/minecraft/client/sounds/SoundEngine field: MARKER Lorg/apache/logging/log4j/Marker; The marker used for logging
field: loaded Z Set to true when the SoundManager has been initialised.
field: options Lnet/minecraft/client/Options; Reference to the GameSettings object.
field: queuedSounds Ljava/util/Map; Contains sounds to play in n ticks. Type: HashMap<ISound, Integer>
field: soundDeleteTime Ljava/util/Map; The future time in which to stop this sound. Type: HashMap<String, Integer>
field: soundManager Lnet/minecraft/client/sounds/SoundManager; A reference to the sound handler.
field: tickCount I A counter for how long the sound manager has been running
field: tickingSounds Ljava/util/List; A subset of playingSounds, this contains only ITickableSounds
method: addEventListener (Lnet/minecraft/client/sounds/SoundEventListener;)V params: 1: listener method: calculatePitch (Lnet/minecraft/client/resources/sounds/SoundInstance;)F params: 1: sound method: calculateVolume (Lnet/minecraft/client/resources/sounds/SoundInstance;)F params: 1: sound method: destroy ()V Cleans up the Sound System
method: getVolume (Lnet/minecraft/sounds/SoundSource;)F params: 1: category method: isActive (Lnet/minecraft/client/resources/sounds/SoundInstance;)Z params: 1: sound method: loadLibrary ()V Tries to add the paulscode library and the relevant codecs. If it fails, the master volume will be set to zero.
method: pause ()V Pauses all currently playing sounds
method: play (Lnet/minecraft/client/resources/sounds/SoundInstance;)V params: 1: sound method: playDelayed (Lnet/minecraft/client/resources/sounds/SoundInstance;I)V params: 1: sound, 2: delay Adds a sound to play in n tick
method: queueTickingSound (Lnet/minecraft/client/resources/sounds/TickableSoundInstance;)V params: 1: tickableSound method: removeEventListener (Lnet/minecraft/client/sounds/SoundEventListener;)V params: 1: listener method: requestPreload (Lnet/minecraft/client/resources/sounds/Sound;)V params: 1: sound method: requiresManualLooping (Lnet/minecraft/client/resources/sounds/SoundInstance;)Z params: 0: sound method: resume ()V Resumes playing all currently playing sounds (after pauseAllSounds)
method: shouldLoopAutomatically (Lnet/minecraft/client/resources/sounds/SoundInstance;)Z params: 0: sound method: shouldLoopManually (Lnet/minecraft/client/resources/sounds/SoundInstance;)Z params: 0: sound method: stop (Lnet/minecraft/client/resources/sounds/SoundInstance;)V params: 1: sound method: stop (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/sounds/SoundSource;)V params: 1: soundName, 2: category method: stopAll ()V Stops all currently playing sounds
method: tick (Z)V params: 1: isGamePaused method: updateCategoryVolume (Lnet/minecraft/sounds/SoundSource;F)V params: 1: category, 2: volume method: updateSource (Lnet/minecraft/client/Camera;)V params: 1: renderInfo class: SoundEngineExecutor path: net/minecraft/client/sounds/SoundEngineExecutor method: shouldRun (Ljava/lang/Runnable;)Z params: 1: runnable method: wrapRunnable (Ljava/lang/Runnable;)Ljava/lang/Runnable; params: 1: runnable class: SoundEventListener path: net/minecraft/client/sounds/SoundEventListener method: onPlaySound (Lnet/minecraft/client/resources/sounds/SoundInstance;Lnet/minecraft/client/sounds/WeighedSoundEvents;)V params: 1: sound, 2: accessor class: SoundManager path: net/minecraft/client/sounds/SoundManager method: addListener (Lnet/minecraft/client/sounds/SoundEventListener;)V params: 1: listener method: apply (Lnet/minecraft/client/sounds/SoundManager$Preparations;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: getSoundEvent (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/sounds/WeighedSoundEvents; params: 1: location method: isActive (Lnet/minecraft/client/resources/sounds/SoundInstance;)Z params: 1: sound method: play (Lnet/minecraft/client/resources/sounds/SoundInstance;)V params: 1: sound Play a sound
method: playDelayed (Lnet/minecraft/client/resources/sounds/SoundInstance;I)V params: 1: sound, 2: delay Plays the sound in n ticks
method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Lnet/minecraft/client/sounds/SoundManager$Preparations; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
method: queueTickingSound (Lnet/minecraft/client/resources/sounds/TickableSoundInstance;)V params: 1: tickableSound method: removeListener (Lnet/minecraft/client/sounds/SoundEventListener;)V params: 1: listener method: stop (Lnet/minecraft/client/resources/sounds/SoundInstance;)V params: 1: sound method: stop (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/sounds/SoundSource;)V params: 1: id, 2: category method: tick (Z)V params: 1: isGamePaused method: updateSource (Lnet/minecraft/client/Camera;)V params: 1: activeRenderInfo method: updateSourceVolume (Lnet/minecraft/sounds/SoundSource;F)V params: 1: category, 2: volume method: validateSoundResource (Lnet/minecraft/client/resources/sounds/Sound;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/server/packs/resources/ResourceManager;)Z params: 0: sound, 1: soundLocation, 2: resourceManager class: SoundManager$Preparations path: net/minecraft/client/sounds/SoundManager$Preparations method: apply (Ljava/util/Map;Lnet/minecraft/client/sounds/SoundEngine;)V params: 1: soundRegistry, 2: soundManager method: handleRegistration (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/resources/sounds/SoundEventRegistration;Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: soundLocation, 2: soundList, 3: resourceManager class: SoundManager$Preparations$1 path: net/minecraft/client/sounds/SoundManager$Preparations$1 method: preloadIfRequired (Lnet/minecraft/client/sounds/SoundEngine;)V params: 1: engine class: WeighedSoundEvents path: net/minecraft/client/sounds/WeighedSoundEvents method: addSound (Lnet/minecraft/client/sounds/Weighted;)V params: 1: accessor method: preloadIfRequired (Lnet/minecraft/client/sounds/SoundEngine;)V params: 1: engine class: Weighted path: net/minecraft/client/sounds/Weighted method: preloadIfRequired (Lnet/minecraft/client/sounds/SoundEngine;)V params: 1: engine tutorial class: CraftPlanksTutorialStep path: net/minecraft/client/tutorial/CraftPlanksTutorialStep method: hasCraftedPlanksPreviously (Lnet/minecraft/client/player/LocalPlayer;Lnet/minecraft/tags/Tag;)Z params: 0: player, 1: items method: onGetItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Called when the player pick up an ItemStack
class: FindTreeTutorialStepInstance path: net/minecraft/client/tutorial/FindTreeTutorialStepInstance method: onGetItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Called when the player pick up an ItemStack
method: onLookAt (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/phys/HitResult;)V params: 1: level, 2: result Handles blocks and entities hovering
class: MovementTutorialStepInstance path: net/minecraft/client/tutorial/MovementTutorialStepInstance method: onInput (Lnet/minecraft/client/player/Input;)V params: 1: input Handles the player movement
method: onMouse (DD)V params: 1: velocityX, 3: velocityY class: OpenInventoryTutorialStep path: net/minecraft/client/tutorial/OpenInventoryTutorialStep method: onOpenInventory ()V Called when the player opens his inventory
class: PunchTreeTutorialStepInstance path: net/minecraft/client/tutorial/PunchTreeTutorialStepInstance method: onDestroyBlock (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)V params: 1: level, 2: pos, 3: state, 4: diggingStage Called when a player hits block to destroy it.
method: onGetItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Called when the player pick up an ItemStack
class: Tutorial path: net/minecraft/client/tutorial/Tutorial method: key (Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: keybind method: onDestroyBlock (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)V params: 1: level, 2: pos, 3: state, 4: diggingStage method: onGetItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Called when the player pick up an ItemStack
method: onLookAt (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/phys/HitResult;)V params: 1: level, 2: result method: onMouse (DD)V params: 1: velocityX, 3: velocityY method: onOpenInventory ()V Called when the player opens his inventory
method: setStep (Lnet/minecraft/client/tutorial/TutorialSteps;)V params: 1: step Sets a new step to the tutorial
method: start ()V Reloads the tutorial step from the game settings
class: TutorialStepInstance path: net/minecraft/client/tutorial/TutorialStepInstance method: onDestroyBlock (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)V params: 1: level, 2: pos, 3: state, 4: diggingStage Called when a player hits block to destroy it.
method: onGetItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Called when the player pick up an ItemStack
method: onInput (Lnet/minecraft/client/player/Input;)V params: 1: input Handles the player movement
method: onLookAt (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/phys/HitResult;)V params: 1: level, 2: result Handles blocks and entities hovering
method: onMouse (DD)V params: 1: velocityX, 3: velocityY method: onOpenInventory ()V Called when the player opens his inventory
class: TutorialSteps path: net/minecraft/client/tutorial/TutorialSteps method: create (Lnet/minecraft/client/tutorial/Tutorial;)Lnet/minecraft/client/tutorial/TutorialStepInstance; params: 1: tutorial method: getByName (Ljava/lang/String;)Lnet/minecraft/client/tutorial/TutorialSteps; params: 0: name class: AmbientOcclusionStatus path: net/minecraft/client/AmbientOcclusionStatus method: byId (I)Lnet/minecraft/client/AmbientOcclusionStatus; params: 0: value class: AttackIndicatorStatus path: net/minecraft/client/AttackIndicatorStatus method: byId (I)Lnet/minecraft/client/AttackIndicatorStatus; params: 0: id class: Camera path: net/minecraft/client/Camera method: getMaxZoom (D)D params: 1: startingDistance Checks for collision of the third person camera and returns the distance
method: move (DDD)V params: 1: distanceOffset, 3: verticalOffset, 5: horizontalOffset Moves the render position relative to the view direction, for third person camera
method: setPosition (DDD)V params: 1: x, 3: y, 5: z Sets the position and blockpos of the active render
method: setPosition (Lnet/minecraft/world/phys/Vec3;)V params: 1: pos method: setRotation (FF)V params: 1: pitch, 2: yaw method: setup (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/entity/Entity;ZZF)V params: 1: level, 2: renderViewEntity, 3: thirdPerson, 4: thirdPersonReverse, 5: partialTicks class: CameraType path: net/minecraft/client/CameraType method: <init> (Ljava/lang/String;IZZ)V params: 3: firstPerson, 4: mirrored class: ClientRecipeBook path: net/minecraft/client/ClientRecipeBook method: getCategory (Lnet/minecraft/world/item/crafting/Recipe;)Lnet/minecraft/client/RecipeBookCategories; params: 0: recipe method: getCollection (Lnet/minecraft/client/RecipeBookCategories;)Ljava/util/List; params: 1: categories class: CycleOption path: net/minecraft/client/CycleOption method: createButton (Lnet/minecraft/client/Options;III)Lnet/minecraft/client/gui/components/AbstractWidget; params: 1: options, 2: x, 3: y, 4: width class: DebugQueryHandler path: net/minecraft/client/DebugQueryHandler method: queryEntityTag (ILjava/util/function/Consumer;)V params: 1: entId class: Game path: net/minecraft/client/Game method: <init> (Lnet/minecraft/client/Minecraft;)V params: 1: minecraft method: setSessionEventListener (Lcom/mojang/bridge/launcher/SessionEventListener;)V params: 1: listener class: Game$Metrics path: net/minecraft/client/Game$Metrics method: <init> (IIII)V params: 1: min, 2: max, 3: average, 4: samples class: GuiMessage path: net/minecraft/client/GuiMessage method: <init> (ILjava/lang/Object;I)V params: 1: addedTime, 2: message, 3: id class: HotbarManager path: net/minecraft/client/HotbarManager method: get (I)Lnet/minecraft/client/player/inventory/Hotbar; params: 1: index class: KeyMapping path: net/minecraft/client/KeyMapping method: click (Lcom/mojang/blaze3d/platform/InputConstants$Key;)V params: 0: key method: consumeClick ()Z Returns true on the initial key press. For continuous querying use {@link isKeyDown()}. Should be used in key events.
method: createNameSupplier (Ljava/lang/String;)Ljava/util/function/Supplier; params: 0: key Returns a supplier which gets a keybind's current binding (eg, <code>key.forward</code> returns <samp>W</samp> by default), or the keybind's name if no such keybind exists (eg, <code>key.invalid</code> returns <samp>key.invalid</samp>)
method: isDefault ()Z Returns true if the keybinding is using the default key and key modifier
method: isDown ()Z Returns true if the key is pressed (used for continuous querying). Should be used in tickers.
method: matches (II)Z params: 1: keysym, 2: scancode method: matchesMouse (I)Z params: 1: key Returns true if the KeyBinding is set to a mouse key and the key matches
method: same (Lnet/minecraft/client/KeyMapping;)Z params: 1: binding Returns true if the supplied KeyBinding conflicts with this
method: set (Lcom/mojang/blaze3d/platform/InputConstants$Key;Z)V params: 0: key, 1: held method: setAll ()V Completely recalculates whether any keybinds are held, from scratch.
method: setDown method: setKey (Lcom/mojang/blaze3d/platform/InputConstants$Key;)V params: 1: key Binds a new KeyCode to this
class: KeyboardHandler path: net/minecraft/client/KeyboardHandler method: charTyped (JII)V params: 1: windowPointer, 3: codePoint, 4: modifiers method: copyCreateBlockCommand (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/nbt/CompoundTag;)V params: 1: state, 2: pos, 3: compound method: copyCreateEntityCommand (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/nbt/CompoundTag;)V params: 1: entityId, 2: pos, 3: compound method: copyRecreateCommand (ZZ)V params: 1: privileged, 2: askServer method: debugFeedbackTranslated (Ljava/lang/String;[Ljava/lang/Object;)V params: 1: message, 2: args method: debugWarningTranslated (Ljava/lang/String;[Ljava/lang/Object;)V params: 1: message, 2: args method: handleDebugKeys method: keyPress (JIIII)V params: 1: windowPointer, 3: key, 4: scanCode, 5: action, 6: modifiers method: setClipboard (Ljava/lang/String;)V params: 1: string method: setSendRepeatsToGui (Z)V params: 1: repeatEvents method: setup class: LogaritmicProgressOption path: net/minecraft/client/LogaritmicProgressOption method: toPct method: toValue class: Minecraft path: net/minecraft/client/Minecraft field: blockRenderer Lnet/minecraft/client/renderer/block/BlockRenderDispatcher; The BlockRenderDispatcher instance that will be used based off gamesettings
field: connectedToRealms Z True if the player is connected to a realms server
field: frameTimer Lnet/minecraft/util/FrameTimer; The FrameTimer's instance
field: lastNanoTime J Time in nanoseconds of when the class is loaded
field: profileProperties Lcom/mojang/authlib/properties/PropertyMap; The player's GameProfile properties
method: <init> (Lnet/minecraft/client/main/GameConfig;)V params: 1: gameConfig method: adaptV3 (Ljava/util/function/Supplier;)Ljava/util/function/Supplier; params: 0: resourcePackSupplier method: adaptV4 (Ljava/util/function/Supplier;)Ljava/util/function/Supplier; params: 0: resourcePackSupplier method: addCustomNbtData (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/entity/BlockEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: te method: clearLevel (Lnet/minecraft/client/gui/screens/Screen;)V params: 1: screen method: clearResourcePacksOnError (Ljava/lang/Throwable;Lnet/minecraft/network/chat/Component;)V params: 1: throwable, 2: errorMessage method: continueAttack method: crash (Lnet/minecraft/CrashReport;)V params: 0: report Wrapper around displayCrashReportInternal
method: createLevel (Ljava/lang/String;Lnet/minecraft/world/level/LevelSettings;Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/world/level/levelgen/WorldGenSettings;)V params: 1: levelName, 2: levelSettings, 3: dynamicRegistries, 4: dimensionGeneratorSettings method: createSearchTrees ()V Fills {@link #searchTreeManager} with the current item and recipe registry contents.
method: createSocialInteractions (Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;Lnet/minecraft/client/main/GameConfig;)Lcom/mojang/authlib/minecraft/SocialInteractionsService; params: 1: authService, 2: gameConfig method: debugFpsMeterKeyPress (I)V params: 1: keyCount Update debugProfilerName in response to number keys in debug screen
method: delayCrash (Lnet/minecraft/CrashReport;)V params: 1: crash method: destroy ()V Shuts down the minecraft applet by stopping the resource downloads, and clearing up GL stuff" called when the application (or web page) is exited.
method: displayExperimentalConfirmationDialog (Lnet/minecraft/client/Minecraft$ExperimentalDialogType;Ljava/lang/String;ZLjava/lang/Runnable;)V params: 1: selectionType, 2: levelName, 3: customized, 4: runnable method: doLoadLevel (Ljava/lang/String;Lnet/minecraft/core/RegistryAccess$RegistryHolder;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function4;ZLnet/minecraft/client/Minecraft$ExperimentalDialogType;)V params: 1: levelName, 2: dynamicRegistries, 3: levelSaveToDatapackFunction, 4: quadFunction, 5: vanillaOnly, 6: selectionType method: emergencySave ()V Attempts to free as much memory as possible, including leaving the world and running the garbage collector.
method: fillReport (Lnet/minecraft/CrashReport;)Lnet/minecraft/CrashReport; params: 1: theCrash adds core server Info (GL version , Texture pack, isModded, type), and the worldInfo to the crash report
method: forceSetScreen (Lnet/minecraft/client/gui/screens/Screen;)V params: 1: screen method: getCurrentSnooperAction ()Ljava/lang/String; Return the current action's name
method: getFrameTimer ()Lnet/minecraft/util/FrameTimer; Return the FrameTimer's instance
method: getInstance ()Lnet/minecraft/client/Minecraft; Return the singleton Minecraft instance for the game
method: getLaunchedVersion ()Ljava/lang/String; Gets the version that Minecraft was launched under (the name of a version JSON). Specified via the <code>--version</code> flag.
method: getLevelSource ()Lnet/minecraft/world/level/storage/LevelStorageSource; Returns the save loader that is currently being used
method: getMobEffectTextures ()Lnet/minecraft/client/resources/MobEffectTextureManager; Gets the sprite uploader used for potions.
method: getMusicManager ()Lnet/minecraft/client/sounds/MusicManager; Return the musicTicker's instance
method: getPaintingTextures ()Lnet/minecraft/client/resources/PaintingTextureManager; Gets the sprite uploader used for paintings.
method: getProfileProperties ()Lcom/mojang/authlib/properties/PropertyMap; Return the player's GameProfile properties
method: getSearchTree (Lnet/minecraft/client/searchtree/SearchRegistry$Key;)Lnet/minecraft/client/searchtree/MutableSearchTree; params: 1: key method: getSingleplayerServer ()Lnet/minecraft/client/server/IntegratedServer; Returns the currently running integrated server
method: getSnooper ()Lnet/minecraft/world/Snooper; Returns the PlayerUsageSnooper instance.
method: getTextureAtlas (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/function/Function; params: 1: location method: getVersionType ()Ljava/lang/String; Gets the type of version that Minecraft was launched under (as specified in the version JSON). Specified via the <code>--versionType</code> flag.
method: hasSingleplayerServer ()Z Returns true if there is only one player playing, and the current server is the integrated one.
method: isBlocked (Ljava/util/UUID;)Z params: 1: playerUUID method: isConnectedToRealms ()Z Return true if the player is connected to a realms server
method: isDemo ()Z Gets whether this is a demo or not.
method: loadDataPacks (Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;)Lnet/minecraft/world/level/DataPackConfig; params: 0: levelStorage method: loadLevel (Ljava/lang/String;)V params: 1: levelName method: loadWorldData (Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/world/level/DataPackConfig;)Lnet/minecraft/world/level/storage/WorldData; params: 0: levelStorage, 1: dynamicRegistries, 2: resourceManager, 3: datapackCodec method: makeServerStem (Lnet/minecraft/core/RegistryAccess$RegistryHolder;Ljava/util/function/Function;Lcom/mojang/datafixers/util/Function4;ZLnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;)Lnet/minecraft/client/Minecraft$ServerStem; params: 1: dynamicRegistries, 2: levelStorageToDatapackFunction, 3: quadFunction, 4: vanillaOnly, 5: levelStorage method: onFullscreenError (IJ)V params: 1: error, 2: description method: openChatScreen (Ljava/lang/String;)V params: 1: defaultText method: pauseGame (Z)V params: 1: pauseOnly Displays the ingame menu
method: pickBlock ()V Called when user clicked he's mouse middle button (pick block)
method: populateSnooper (Lnet/minecraft/world/Snooper;)V params: 1: snooper method: renderFpsMeter (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/util/profiling/ProfileResults;)V params: 1: matrixStack, 2: profilerResult method: rollbackResourcePacks (Ljava/lang/Throwable;)V params: 1: throwable method: runTick (Z)V params: 1: renderLevel method: selectMainFont method: setCameraEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: viewingEntity method: setConnectedToRealms (Z)V params: 1: isConnected Set if the player is connected to a realms server
method: setCurrentServer (Lnet/minecraft/client/multiplayer/ServerData;)V params: 1: serverData Set the current ServerData instance.
method: setLevel (Lnet/minecraft/client/multiplayer/ClientLevel;)V params: 1: levelClient unloads the current world first
method: setOverlay (Lnet/minecraft/client/gui/screens/Overlay;)V params: 1: loadingGui method: setScreen (Lnet/minecraft/client/gui/screens/Screen;)V params: 1: guiScreen method: setWindowActive method: shouldEntityAppearGlowing (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: shouldRun (Ljava/lang/Runnable;)Z params: 1: runnable method: showOnlyReducedInfo ()Z Whether to use reduced debug info
method: startUseItem ()V Called when user clicked he's mouse right button (place)
method: stop ()V Called when the window is closing. Sets 'running' to false which allows the game loop to exit cleanly.
method: tick ()V Runs the current tick.
method: updateLevelInEngines (Lnet/minecraft/client/multiplayer/ClientLevel;)V params: 1: level method: updateMaxMipLevel (I)V params: 1: mipMapLevel method: updateScreenAndTick (Lnet/minecraft/client/gui/screens/Screen;)V params: 1: screen method: useAmbientOcclusion ()Z Returns if ambient occlusion is enabled
method: wrapRunnable (Ljava/lang/Runnable;)Ljava/lang/Runnable; params: 1: runnable class: Minecraft$ServerStem path: net/minecraft/client/Minecraft$ServerStem method: <init> (Lnet/minecraft/server/packs/repository/PackRepository;Lnet/minecraft/server/ServerResources;Lnet/minecraft/world/level/storage/WorldData;)V params: 1: packRepository, 2: serverResources, 3: worldData class: MouseHandler path: net/minecraft/client/MouseHandler method: grabMouse ()V Will set the focus to ingame if the Minecraft window is the active with focus. Also clears any GUI screen currently displayed
method: isMouseGrabbed ()Z Returns true if the mouse is grabbed.
method: onDrop (JLjava/util/List;)V params: 1: window, 3: paths method: onMove (JDD)V params: 1: handle, 3: xpos, 5: ypos Will be called when the cursor is moved.
<p>The callback function receives the cursor position, measured in screen coordinates but relative to the top-left corner of the window client area. On platforms that provide it, the full sub-pixel cursor position is passed on.</p>
@see GLFWCursorPosCallbackI
method: onPress (JIII)V params: 1: handle, 3: button, 4: action, 5: mods Will be called when a mouse button is pressed or released.
@see GLFWMouseButtonCallbackI
method: onScroll (JDD)V params: 1: handle, 3: xoffset, 5: yoffset Will be called when a scrolling device is used, such as a mouse wheel or scrolling area of a touchpad.
@see GLFWScrollCallbackI
method: releaseMouse ()V Resets the player keystate, disables the ingame focus, and ungrabs the mouse cursor.
method: setup class: NarratorStatus path: net/minecraft/client/NarratorStatus method: byId (I)Lnet/minecraft/client/NarratorStatus; params: 0: id class: Option path: net/minecraft/client/Option method: <init> (Ljava/lang/String;)V params: 1: captionKey method: createButton (Lnet/minecraft/client/Options;III)Lnet/minecraft/client/gui/components/AbstractWidget; params: 1: options, 2: x, 3: y, 4: width method: genericValueLabel (I)Lnet/minecraft/network/chat/Component; params: 1: value method: genericValueLabel (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/Component; params: 1: valueMessage method: percentAddValueLabel (I)Lnet/minecraft/network/chat/Component; params: 1: doubleValue method: percentValueLabel (D)Lnet/minecraft/network/chat/Component; params: 1: percentage method: pixelValueLabel (I)Lnet/minecraft/network/chat/Component; params: 1: value class: Options path: net/minecraft/client/Options method: <init> (Lnet/minecraft/client/Minecraft;Ljava/io/File;)V params: 1: minecraft, 2: gameDirectory method: broadcastOptions ()V Send a client info packet with settings information to the server
method: dataFix (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: nbt method: getBackgroundColor method: getBackgroundColor method: getBackgroundOpacity method: getSoundSourceVolume (Lnet/minecraft/sounds/SoundSource;)F params: 1: category method: load ()V Loads the options from the options file. It appears that this has replaced the previous 'loadOptions'
method: loadSelectedResourcePacks (Lnet/minecraft/server/packs/repository/PackRepository;)V params: 1: resourcePackList method: save ()V Saves the options to the options file.
method: setCameraType (Lnet/minecraft/client/CameraType;)V params: 1: pointOfView method: setKey (Lnet/minecraft/client/KeyMapping;Lcom/mojang/blaze3d/platform/InputConstants$Key;)V params: 1: keyBinding, 2: input method: setModelPart (Lnet/minecraft/world/entity/player/PlayerModelPart;Z)V params: 1: modelPart, 2: enable method: setSoundCategoryVolume (Lnet/minecraft/sounds/SoundSource;F)V params: 1: category, 2: volume method: useNativeTransport ()Z Return true if the client connect to a server using the native transport system
class: ParticleStatus path: net/minecraft/client/ParticleStatus method: byId (I)Lnet/minecraft/client/ParticleStatus; params: 0: id class: ProgressOption path: net/minecraft/client/ProgressOption method: clamp method: createButton (Lnet/minecraft/client/Options;III)Lnet/minecraft/client/gui/components/AbstractWidget; params: 1: options, 2: x, 3: y, 4: width method: get (Lnet/minecraft/client/Options;)D params: 1: options method: set (Lnet/minecraft/client/Options;D)V params: 1: options, 2: value method: setMaxValue method: toPct method: toValue class: Screenshot path: net/minecraft/client/Screenshot method: _grab (Ljava/io/File;Ljava/lang/String;IILcom/mojang/blaze3d/pipeline/RenderTarget;Ljava/util/function/Consumer;)V params: 0: gameDirectory, 1: screenshotName, 2: width, 3: height, 4: buffer, 5: messageConsumer method: getFile (Ljava/io/File;)Ljava/io/File; params: 0: gameDirectory Creates a unique PNG file in the given directory named by a timestamp. Handles cases where the timestamp alone is not enough to create a uniquely named file, though it still might suffer from an unlikely race condition where the filename was unique when this method was called, but another process or thread created a file at the same path immediately after this method returned.
method: grab (Ljava/io/File;IILcom/mojang/blaze3d/pipeline/RenderTarget;Ljava/util/function/Consumer;)V params: 0: gameDirectory, 1: width, 2: height, 3: buffer, 4: messageConsumer Saves a screenshot in the game directory with a time-stamped filename.
Returns an ITextComponent indicating the success/failure of the saving.
method: grab (Ljava/io/File;Ljava/lang/String;IILcom/mojang/blaze3d/pipeline/RenderTarget;Ljava/util/function/Consumer;)V params: 0: gameDirectory, 1: screenshotName, 2: width, 3: height, 4: buffer, 5: messageConsumer Saves a screenshot in the game directory with the given file name (or null to generate a time-stamped name).
Returns an ITextComponent indicating the success/failure of the saving.
method: takeScreenshot (IILcom/mojang/blaze3d/pipeline/RenderTarget;)Lcom/mojang/blaze3d/platform/NativeImage; params: 0: width, 1: height, 2: framebuffer class: StringSplitter$LineComponent path: net/minecraft/client/StringSplitter$LineComponent method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style class: Timer path: net/minecraft/client/Timer method: <init> (FJ)V params: 1: ticksPerSecond, 2: lastMs method: advanceTime class: ToggleKeyMapping path: net/minecraft/client/ToggleKeyMapping method: setDown class: User path: net/minecraft/client/User method: <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V params: 1: name, 2: uuid, 3: accessToken, 4: typeName class: User$Type path: net/minecraft/client/User$Type method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/client/User$Type; params: 0: typeName commands arguments blocks class: BlockInput path: net/minecraft/commands/arguments/blocks/BlockInput method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Set;Lnet/minecraft/nbt/CompoundTag;)V params: 1: state, 2: properties, 3: tag method: place (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;I)Z params: 1: level, 2: pos, 3: flags method: test (Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;)Z params: 1: block class: BlockPredicateArgument path: net/minecraft/commands/arguments/blocks/BlockPredicateArgument method: getBlockPredicate (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate; params: 0: context, 1: name method: lambda$parse$1 (Lnet/minecraft/commands/arguments/blocks/BlockPredicateArgument$BlockPredicate;Lnet/minecraft/tags/TagContainer;)Ljava/util/function/Predicate; params: 1: tagContainer method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: tag method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/blocks/BlockPredicateArgument$Result; params: 1: reader class: BlockPredicateArgument$BlockPredicate path: net/minecraft/commands/arguments/blocks/BlockPredicateArgument$BlockPredicate method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Set;Lnet/minecraft/nbt/CompoundTag;)V params: 1: state, 2: properties, 3: nbt method: test (Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;)Z params: 1: block class: BlockPredicateArgument$Result path: net/minecraft/commands/arguments/blocks/BlockPredicateArgument$Result method: create (Lnet/minecraft/tags/TagContainer;)Ljava/util/function/Predicate; params: 1: tagContainer class: BlockPredicateArgument$TagPredicate path: net/minecraft/commands/arguments/blocks/BlockPredicateArgument$TagPredicate method: <init> (Lnet/minecraft/tags/Tag;Ljava/util/Map;Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag, 2: vagueProperties, 3: nbt method: test (Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;)Z params: 1: block class: BlockStateArgument path: net/minecraft/commands/arguments/blocks/BlockStateArgument method: getBlock (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/blocks/BlockInput; params: 0: context, 1: name method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/blocks/BlockInput; params: 1: reader class: BlockStateParser path: net/minecraft/commands/arguments/blocks/BlockStateParser method: <init> (Lcom/mojang/brigadier/StringReader;Z)V params: 1: reader, 2: forTesting method: addSuggestions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/world/level/block/state/properties/Property;)Lcom/mojang/brigadier/suggestion/SuggestionsBuilder; params: 0: builder, 1: property method: appendProperty (Ljava/lang/StringBuilder;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)V params: 0: builder, 1: property, 2: value method: fillSuggestions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: getVagueProperties ()Ljava/util/Map; Gets all of the properties the user has specified.
method: hasBlockEntity (Lnet/minecraft/tags/TagCollection;)Z params: 1: tags method: lambda$readProperties$7 (Lnet/minecraft/world/level/block/state/properties/Property;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: lambda$readVagueProperties$8 (Ljava/lang/String;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 2: builder, 3: tags method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: block method: lambda$static$1 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: block, 1: property method: lambda$static$2 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: property, 1: block method: lambda$static$3 (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: block, 1: value, 2: property method: lambda$static$4 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: property, 1: block method: lambda$static$5 (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 0: builder, 1: tags method: parse (Z)Lnet/minecraft/commands/arguments/blocks/BlockStateParser; params: 1: parseBlockEntity method: serialize (Lnet/minecraft/world/level/block/state/BlockState;)Ljava/lang/String; params: 0: state method: setValue (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;I)V params: 1: property, 2: value, 3: valuePosition method: suggestBlockIdOrTag (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestEquals (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestNextPropertyOrEnd (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestOpenNbt (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestOpenPropertiesOrNbt (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestOpenVaguePropertiesOrNbt (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestPropertyName (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestPropertyNameOrEnd (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestTag (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestVaguePropertyName (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestVaguePropertyNameOrEnd (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags method: suggestVaguePropertyValue (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags, 3: property coordinates class: BlockPosArgument path: net/minecraft/commands/arguments/coordinates/BlockPosArgument method: getLoadedBlockPos (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/core/BlockPos; params: 0: context, 1: name method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 1: reader class: ColumnPosArgument path: net/minecraft/commands/arguments/coordinates/ColumnPosArgument method: getColumnPos (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/server/level/ColumnPos; params: 0: context, 1: name method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 1: reader class: Coordinates path: net/minecraft/commands/arguments/coordinates/Coordinates method: getBlockPos (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/core/BlockPos; params: 1: source method: getPosition (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec3; params: 1: source method: getRotation (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec2; params: 1: source class: LocalCoordinates path: net/minecraft/commands/arguments/coordinates/LocalCoordinates method: <init> (DDD)V params: 1: left, 3: up, 5: forwards method: equals (Ljava/lang/Object;)Z params: 1: other method: getPosition (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec3; params: 1: source method: getRotation (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec2; params: 1: source method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/LocalCoordinates; params: 0: reader method: readDouble (Lcom/mojang/brigadier/StringReader;I)D params: 0: reader, 1: start class: RotationArgument path: net/minecraft/commands/arguments/coordinates/RotationArgument method: getRotation (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 1: reader class: SwizzleArgument path: net/minecraft/commands/arguments/coordinates/SwizzleArgument method: getSwizzle (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/EnumSet; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/util/EnumSet; params: 1: reader class: Vec2Argument path: net/minecraft/commands/arguments/coordinates/Vec2Argument method: <init> (Z)V params: 1: centerCorrect method: getVec2 (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/phys/Vec2; params: 0: context, 1: name method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 1: reader class: Vec3Argument path: net/minecraft/commands/arguments/coordinates/Vec3Argument method: <init> (Z)V params: 1: centerCorrect method: getCoordinates (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 0: context, 1: name method: getVec3 (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/phys/Vec3; params: 0: context, 1: name method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 1: reader method: vec3 (Z)Lnet/minecraft/commands/arguments/coordinates/Vec3Argument; params: 0: centerCorrect class: WorldCoordinate path: net/minecraft/commands/arguments/coordinates/WorldCoordinate method: <init> (ZD)V params: 1: relative, 2: value method: equals (Ljava/lang/Object;)Z params: 1: other method: get method: isRelative (Lcom/mojang/brigadier/StringReader;)Z params: 0: reader method: parseDouble (Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/commands/arguments/coordinates/WorldCoordinate; params: 0: reader, 1: centerCorrect method: parseInt (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/WorldCoordinate; params: 0: reader class: WorldCoordinates path: net/minecraft/commands/arguments/coordinates/WorldCoordinates method: <init> (Lnet/minecraft/commands/arguments/coordinates/WorldCoordinate;Lnet/minecraft/commands/arguments/coordinates/WorldCoordinate;Lnet/minecraft/commands/arguments/coordinates/WorldCoordinate;)V params: 1: x, 2: y, 3: z method: current ()Lnet/minecraft/commands/arguments/coordinates/WorldCoordinates; A location with a delta of 0 for all values (equivalent to <code>~ ~ ~</code> or <code>~0 ~0 ~0</code>)
method: equals (Ljava/lang/Object;)Z params: 1: other method: getPosition (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec3; params: 1: source method: getRotation (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec2; params: 1: source method: parseDouble (Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/commands/arguments/coordinates/WorldCoordinates; params: 0: reader, 1: centerCorrect method: parseInt (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/coordinates/WorldCoordinates; params: 0: reader item class: FunctionArgument path: net/minecraft/commands/arguments/item/FunctionArgument method: getFunction (Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/commands/CommandFunction; params: 0: context, 1: id method: getFunctionOrTag (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair; params: 0: context, 1: name method: getFunctionTag (Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/tags/Tag; params: 0: context, 1: id method: getFunctions (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: tag method: lambda$static$1 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: function method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/item/FunctionArgument$Result; params: 1: reader class: FunctionArgument$Result path: net/minecraft/commands/arguments/item/FunctionArgument$Result method: create (Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/Collection; params: 1: context method: unwrap (Lcom/mojang/brigadier/context/CommandContext;)Lcom/mojang/datafixers/util/Pair; params: 1: context class: ItemArgument path: net/minecraft/commands/arguments/item/ItemArgument method: getItem (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/item/ItemInput; params: 0: context, 1: name method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/item/ItemInput; params: 1: reader class: ItemInput path: net/minecraft/commands/arguments/item/ItemInput method: <init> (Lnet/minecraft/world/item/Item;Lnet/minecraft/nbt/CompoundTag;)V params: 1: item, 2: tag method: createItemStack (IZ)Lnet/minecraft/world/item/ItemStack; params: 1: count, 2: allowOversizedStacks method: lambda$static$0 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: item, 1: quantity method: test (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack class: ItemParser path: net/minecraft/commands/arguments/item/ItemParser field: suggestions Ljava/util/function/BiFunction; Builder to be used when creating a list of suggestions
method: <init> (Lcom/mojang/brigadier/StringReader;Z)V params: 1: reader, 2: forTesting method: fillSuggestions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags Create a list of suggestions for the specified builder.
method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: itemId method: lambda$static$1 (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 0: builder, 1: tags method: suggestItemIdOrTag (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags Builds a list of suggestions based on item tags (if the parser is set to allows tags) and item registry names.
method: suggestOpenNbt (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags Builds a list of suggestions based on item registry names.
method: suggestTag (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/tags/TagCollection;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: tags Builds a list of suggestions based on item tags.
class: ItemPredicateArgument path: net/minecraft/commands/arguments/item/ItemPredicateArgument method: getItemPredicate (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate; params: 0: context, 1: name method: lambda$parse$1 (Lnet/minecraft/commands/arguments/item/ItemPredicateArgument$ItemPredicate;Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/function/Predicate; params: 1: context method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: tag method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/item/ItemPredicateArgument$Result; params: 1: reader class: ItemPredicateArgument$ItemPredicate path: net/minecraft/commands/arguments/item/ItemPredicateArgument$ItemPredicate method: <init> (Lnet/minecraft/world/item/Item;Lnet/minecraft/nbt/CompoundTag;)V params: 1: item, 2: tag method: test (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack class: ItemPredicateArgument$Result path: net/minecraft/commands/arguments/item/ItemPredicateArgument$Result method: create (Lcom/mojang/brigadier/context/CommandContext;)Ljava/util/function/Predicate; params: 1: context class: ItemPredicateArgument$TagPredicate path: net/minecraft/commands/arguments/item/ItemPredicateArgument$TagPredicate method: <init> (Lnet/minecraft/tags/Tag;Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag, 2: nbt method: test (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack selector options class: EntitySelectorOptions path: net/minecraft/commands/arguments/selector/options/EntitySelectorOptions method: get (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;Ljava/lang/String;I)Lnet/minecraft/commands/arguments/selector/options/EntitySelectorOptions$Modifier; params: 0: parser, 1: id, 2: cursor method: lambda$bootStrap$10 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$11 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$12 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$13 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$14 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$15 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$16 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$17 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$18 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$19 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$20 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$21 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$22 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$23 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$24 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$26 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$28 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$29 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$31 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$32 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$35 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$36 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$38 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$39 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$44 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$45 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$47 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$48 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$50 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$51 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$53 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$54 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$59 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$6 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$60 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$62 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$63 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$7 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$bootStrap$8 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 0: parser method: lambda$bootStrap$9 (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)Z params: 0: parser method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: option method: lambda$static$1 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: option method: lambda$static$2 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: sort method: lambda$static$3 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: gameMode method: lambda$static$4 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: type method: register (Ljava/lang/String;Lnet/minecraft/commands/arguments/selector/options/EntitySelectorOptions$Modifier;Ljava/util/function/Predicate;Lnet/minecraft/network/chat/Component;)V params: 0: id, 1: handler, 2: predicate, 3: tooltip method: suggestNames (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V params: 0: parser, 1: builder class: EntitySelectorOptions$Modifier path: net/minecraft/commands/arguments/selector/options/EntitySelectorOptions$Modifier method: handle (Lnet/minecraft/commands/arguments/selector/EntitySelectorParser;)V params: 1: parser class: EntitySelectorOptions$Option path: net/minecraft/commands/arguments/selector/options/EntitySelectorOptions$Option method: <init> (Lnet/minecraft/commands/arguments/selector/options/EntitySelectorOptions$Modifier;Ljava/util/function/Predicate;Lnet/minecraft/network/chat/Component;)V params: 1: modifier, 2: predicate, 3: description class: EntitySelector path: net/minecraft/commands/arguments/selector/EntitySelector method: addEntities (Ljava/util/List;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/phys/Vec3;Ljava/util/function/Predicate;)V params: 1: result, 2: level, 3: pos, 4: predicate Gets all entities matching this selector, and adds them to the passed list.
method: checkPermissions (Lnet/minecraft/commands/CommandSourceStack;)V params: 1: source method: findEntities (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/List; params: 1: source method: findPlayers (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/List; params: 1: source method: findSingleEntity (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/entity/Entity; params: 1: source method: findSinglePlayer (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/server/level/ServerPlayer; params: 1: source method: getPredicate (Lnet/minecraft/world/phys/Vec3;)Ljava/util/function/Predicate; params: 1: pos Returns a modified version of the predicate on this selector that also checks the AABB and distance.
method: lambda$getPredicate$0 (Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: lambda$getPredicate$1 (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/Entity;)Z params: 2: entity method: sortAndLimit (Lnet/minecraft/world/phys/Vec3;Ljava/util/List;)Ljava/util/List; params: 1: pos, 2: entities class: EntitySelectorParser path: net/minecraft/commands/arguments/selector/EntitySelectorParser method: <init> (Lcom/mojang/brigadier/StringReader;)V params: 1: reader method: <init> (Lcom/mojang/brigadier/StringReader;Z)V params: 1: reader, 2: allowSelectors method: addPredicate (Ljava/util/function/Predicate;)V params: 1: predicate method: createAabb (DDD)Lnet/minecraft/world/phys/AABB; params: 1: sizeX, 3: sizeY, 5: sizeZ method: createRotationPredicate (Lnet/minecraft/advancements/critereon/WrappedMinMaxBounds;Ljava/util/function/ToDoubleFunction;)Ljava/util/function/Predicate; params: 1: angleBounds, 2: angleFunction method: fillSelectorSuggestions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V params: 0: builder method: fillSuggestions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: lambda$getSelector$10 (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 0: vector method: lambda$getSelector$11 (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vector method: lambda$new$9 (Lnet/minecraft/world/entity/Entity;)Z params: 0: entity method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: type method: lambda$static$1 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value method: lambda$static$2 (Lnet/minecraft/world/phys/Vec3;Ljava/util/List;)V params: 0: pos, 1: entities method: lambda$static$4 (Lnet/minecraft/world/phys/Vec3;Ljava/util/List;)V params: 0: pos, 1: entities method: lambda$static$6 (Lnet/minecraft/world/phys/Vec3;Ljava/util/List;)V params: 0: vector, 1: entities method: lambda$static$7 (Lnet/minecraft/world/phys/Vec3;Ljava/util/List;)V params: 0: vector, 1: entities method: lambda$static$8 (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 0: builder, 1: consumer method: limitToType (Lnet/minecraft/world/entity/EntityType;)V params: 1: type method: setDeltaX method: setDeltaY method: setDeltaZ method: setHasAdvancements (Z)V params: 1: hasAdvancements method: setHasGamemodeEquals (Z)V params: 1: hasGamemodeEquals method: setHasGamemodeNotEquals (Z)V params: 1: hasGamemodeNotEquals method: setHasNameEquals (Z)V params: 1: hasNameEquals method: setHasNameNotEquals (Z)V params: 1: hasNameNotEquals method: setHasScores method: setHasTeamEquals (Z)V params: 1: hasTeamEquals method: setHasTeamNotEquals (Z)V params: 1: hasTeamNotEquals method: setIncludesEntities (Z)V params: 1: includesEntities method: setLevel (Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;)V params: 1: level method: setLimited method: setMaxResults (I)V params: 1: maxResults method: setOrder (Ljava/util/function/BiConsumer;)V params: 1: order method: setRotX (Lnet/minecraft/advancements/critereon/WrappedMinMaxBounds;)V params: 1: rotX method: setRotY (Lnet/minecraft/advancements/critereon/WrappedMinMaxBounds;)V params: 1: rotY method: setSorted method: setSuggestions (Ljava/util/function/BiFunction;)V params: 1: suggestionHandler method: setX method: setY method: setZ method: suggestName (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: suggestNameOrSelector (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: suggestOpenOptions (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: suggestOptionsKey (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: suggestOptionsKeyOrClose (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: suggestOptionsNextOrClose (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer method: suggestSelector (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Consumer;)Ljava/util/concurrent/CompletableFuture; params: 1: builder, 2: consumer class: AngleArgument path: net/minecraft/commands/arguments/AngleArgument method: getAngle (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)F params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/AngleArgument$SingleAngle; params: 1: reader class: AngleArgument$SingleAngle path: net/minecraft/commands/arguments/AngleArgument$SingleAngle method: <init> (FZ)V params: 1: angle, 2: isRelative method: getAngle (Lnet/minecraft/commands/CommandSourceStack;)F params: 1: source class: ColorArgument path: net/minecraft/commands/arguments/ColorArgument method: getColor (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/ChatFormatting; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: color method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/ChatFormatting; params: 1: reader class: ComponentArgument path: net/minecraft/commands/arguments/ComponentArgument method: getComponent (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: component method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/network/chat/Component; params: 1: reader class: CompoundTagArgument path: net/minecraft/commands/arguments/CompoundTagArgument method: getCompoundTag (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/nbt/CompoundTag; params: 1: reader class: DimensionArgument path: net/minecraft/commands/arguments/DimensionArgument method: getDimension (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/server/level/ServerLevel; params: 0: context, 1: name method: lambda$static$0 (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/String; params: 0: key method: lambda$static$1 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: dimension method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder class: EntityAnchorArgument path: net/minecraft/commands/arguments/EntityAnchorArgument method: getAnchor (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: anchor method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder class: EntityAnchorArgument$Anchor path: net/minecraft/commands/arguments/EntityAnchorArgument$Anchor method: <init> (Ljava/lang/String;ILjava/lang/String;Ljava/util/function/BiFunction;)V params: 3: name, 4: transform method: apply (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/world/phys/Vec3; params: 1: source Gets the coordinate based on the given command source's position. If the source is not an entity, no offsetting occurs.
method: apply (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/phys/Vec3; params: 1: entity Gets the coordinate based on the given entity's position.
method: getByName (Ljava/lang/String;)Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor; params: 0: name method: lambda$static$0 (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/phys/Vec3; params: 0: pos, 1: entity method: lambda$static$1 (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/phys/Vec3; params: 0: pos, 1: entity method: lambda$static$2 (Ljava/util/HashMap;)V params: 0: map class: EntityArgument path: net/minecraft/commands/arguments/EntityArgument method: <init> (ZZ)V params: 1: single, 2: playersOnly method: getEntities (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name method: getEntity (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/entity/Entity; params: 0: context, 1: name method: getOptionalEntities (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name method: getOptionalPlayers (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name method: getPlayer (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/server/level/ServerPlayer; params: 0: context, 1: name method: getPlayers (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name method: lambda$listSuggestions$0 (Lnet/minecraft/commands/SharedSuggestionProvider;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V params: 2: offsetBuilder method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/selector/EntitySelector; params: 1: reader class: EntityArgument$Serializer path: net/minecraft/commands/arguments/EntityArgument$Serializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/commands/arguments/EntityArgument; params: 1: buffer method: serializeToJson (Lnet/minecraft/commands/arguments/EntityArgument;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lnet/minecraft/commands/arguments/EntityArgument;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: EntitySummonArgument path: net/minecraft/commands/arguments/EntitySummonArgument method: getSummonableEntity (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: entity method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/resources/ResourceLocation; params: 1: reader method: verifyCanSummon (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 0: id class: GameProfileArgument path: net/minecraft/commands/arguments/GameProfileArgument method: getGameProfiles (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name method: lambda$listSuggestions$1 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)V params: 1: offsetBuilder method: lambda$parse$0 (Ljava/lang/String;Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/Collection; params: 1: source method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/GameProfileArgument$Result; params: 1: reader class: GameProfileArgument$Result path: net/minecraft/commands/arguments/GameProfileArgument$Result method: getNames (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/Collection; params: 1: source class: GameProfileArgument$SelectorResult path: net/minecraft/commands/arguments/GameProfileArgument$SelectorResult method: <init> (Lnet/minecraft/commands/arguments/selector/EntitySelector;)V params: 1: selector method: getNames (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/Collection; params: 1: source class: ItemEnchantmentArgument path: net/minecraft/commands/arguments/ItemEnchantmentArgument method: getEnchantment (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/item/enchantment/Enchantment; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: enchantment method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/world/item/enchantment/Enchantment; params: 1: reader class: MessageArgument path: net/minecraft/commands/arguments/MessageArgument method: getMessage (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/MessageArgument$Message; params: 1: reader class: MessageArgument$Message path: net/minecraft/commands/arguments/MessageArgument$Message method: <init> (Ljava/lang/String;[Lnet/minecraft/commands/arguments/MessageArgument$Part;)V params: 1: text, 2: parts method: parseText (Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/commands/arguments/MessageArgument$Message; params: 0: reader, 1: allowSelectors Parses a message. The algorithm for this is simply to run though and look for selectors, ignoring any invalid selectors in the text (since players may type e.g. "[@]").
method: toComponent (Lnet/minecraft/commands/CommandSourceStack;Z)Lnet/minecraft/network/chat/Component; params: 1: source, 2: allowSelectors Converts this message into a text component, replacing any selectors in the text with the actual evaluated selector.
class: MessageArgument$Part path: net/minecraft/commands/arguments/MessageArgument$Part method: <init> (IILnet/minecraft/commands/arguments/selector/EntitySelector;)V params: 1: start, 2: end, 3: selector method: toComponent (Lnet/minecraft/commands/CommandSourceStack;)Lnet/minecraft/network/chat/Component; params: 1: source Runs the selector and returns the component produced by it. This method does not actually appear to ever return null.
class: MobEffectArgument path: net/minecraft/commands/arguments/MobEffectArgument method: getEffect (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/effect/MobEffect; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: effect method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/world/effect/MobEffect; params: 1: reader class: NbtPathArgument path: net/minecraft/commands/arguments/NbtPathArgument method: createTagPredicate (Lnet/minecraft/nbt/CompoundTag;)Ljava/util/function/Predicate; params: 0: tag method: getPath (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath; params: 0: context, 1: name method: isAllowedInUnquotedName (C)Z params: 0: ch @return {@code true} if the given character is normal for a tag name; otherwise {@code false} if it has special meaning for paths.
method: lambda$createTagPredicate$1 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/Tag;)Z params: 1: other method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: path method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath; params: 1: reader method: parseNode (Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/commands/arguments/NbtPathArgument$Node; params: 0: reader, 1: first method: readObjectNode (Lcom/mojang/brigadier/StringReader;Ljava/lang/String;)Lnet/minecraft/commands/arguments/NbtPathArgument$Node; params: 0: reader, 1: name method: readUnquotedName (Lcom/mojang/brigadier/StringReader;)Ljava/lang/String; params: 0: reader Reads a tag name until the next special character. Throws if the result would be a 0-length string. Does not handle quoted tag names.
class: NbtPathArgument$AllElementsNode path: net/minecraft/commands/arguments/NbtPathArgument$AllElementsNode method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$CompoundChildNode path: net/minecraft/commands/arguments/NbtPathArgument$CompoundChildNode method: <init> (Ljava/lang/String;)V params: 1: name method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$IndexedElementNode path: net/minecraft/commands/arguments/NbtPathArgument$IndexedElementNode method: <init> method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$MatchElementNode path: net/minecraft/commands/arguments/NbtPathArgument$MatchElementNode method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: pattern method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: lambda$getOrCreateTag$0 (Ljava/util/List;Lorg/apache/commons/lang3/mutable/MutableBoolean;Lnet/minecraft/nbt/Tag;)V params: 2: currentTag method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$MatchObjectNode path: net/minecraft/commands/arguments/NbtPathArgument$MatchObjectNode method: <init> (Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)V params: 1: name, 2: pattern method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$MatchRootObjectNode path: net/minecraft/commands/arguments/NbtPathArgument$MatchRootObjectNode method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$NbtPath path: net/minecraft/commands/arguments/NbtPathArgument$NbtPath method: <init> (Ljava/lang/String;[Lnet/minecraft/commands/arguments/NbtPathArgument$Node;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V params: 1: original, 2: nodes, 3: nodeToOriginPosition method: apply (Ljava/util/List;Ljava/util/function/Function;)I params: 0: tags, 1: function method: countMatching (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: createNotFoundException (Lnet/minecraft/commands/arguments/NbtPathArgument$Node;)Lcom/mojang/brigadier/exceptions/CommandSyntaxException; params: 1: node method: get (Lnet/minecraft/nbt/Tag;)Ljava/util/List; params: 1: tag method: getOrCreate (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)Ljava/util/List; params: 1: tag, 2: supplier method: getOrCreateParents (Lnet/minecraft/nbt/Tag;)Ljava/util/List; params: 1: tag method: lambda$apply$0 (Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/lang/Integer; params: 0: a, 1: b method: lambda$set$1 (Lnet/minecraft/commands/arguments/NbtPathArgument$Node;Ljava/util/function/Supplier;Lnet/minecraft/nbt/Tag;)Ljava/lang/Integer; params: 2: currentTag method: remove (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: set (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtPathArgument$Node path: net/minecraft/commands/arguments/NbtPathArgument$Node method: collect (Ljava/util/List;Ljava/util/function/BiConsumer;)Ljava/util/List; params: 1: tags, 2: consumer method: createPreferredParentTag ()Lnet/minecraft/nbt/Tag; Creates an empty element of the type read by this node.
method: get (Ljava/util/List;)Ljava/util/List; params: 1: tags method: getOrCreate (Ljava/util/List;Ljava/util/function/Supplier;)Ljava/util/List; params: 1: tags, 2: supplier method: getOrCreateTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V params: 1: tag, 2: supplier, 3: tags method: getTag (Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 1: tag, 2: tags method: lambda$getOrCreate$0 (Ljava/util/function/Supplier;Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 2: tag, 3: tagList method: removeTag (Lnet/minecraft/nbt/Tag;)I params: 1: tag method: setTag (Lnet/minecraft/nbt/Tag;Ljava/util/function/Supplier;)I params: 1: tag, 2: supplier class: NbtTagArgument path: net/minecraft/commands/arguments/NbtTagArgument method: getNbtTag (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/nbt/Tag; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/nbt/Tag; params: 1: reader class: ObjectiveArgument path: net/minecraft/commands/arguments/ObjectiveArgument method: getObjective (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/scores/Objective; params: 0: context, 1: name method: getWritableObjective (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/scores/Objective; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: objective method: lambda$static$1 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: objective method: lambda$static$2 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: maxLength method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/lang/String; params: 1: reader class: ObjectiveCriteriaArgument path: net/minecraft/commands/arguments/ObjectiveCriteriaArgument method: getCriteria (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/scores/criteria/ObjectiveCriteria; params: 0: context, 1: name method: getName (Lnet/minecraft/stats/StatType;Ljava/lang/Object;)Ljava/lang/String; params: 1: type, 2: value method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: criterion method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/world/scores/criteria/ObjectiveCriteria; params: 1: reader class: OperationArgument path: net/minecraft/commands/arguments/OperationArgument method: getOperation (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/commands/arguments/OperationArgument$Operation; params: 0: context, 1: name method: getOperation (Ljava/lang/String;)Lnet/minecraft/commands/arguments/OperationArgument$Operation; params: 0: name Makes an {@link net.minecraft.commands.arguments.OperationArgument.Operation} instance based on the given name. This method handles all operations.
method: getSimpleOperation (Ljava/lang/String;)Lnet/minecraft/commands/arguments/OperationArgument$SimpleOperation; params: 0: name Makes an {@link net.minecraft.commands.arguments.OperationArgument.Operation} instance based on the given name. This method actually returns {@link net.minecraft.commands.arguments.OperationArgument.SimpleOperation}, which is used as a functional interface target with 2 ints. It handles all operations other than swap (><).
method: lambda$getOperation$0 (Lnet/minecraft/world/scores/Score;Lnet/minecraft/world/scores/Score;)V params: 0: targetScore, 1: sourceScore method: lambda$getSimpleOperation$1 (II)I params: 0: targetScore, 1: sourceScore method: lambda$getSimpleOperation$2 (II)I params: 0: targetScore, 1: sourceScore method: lambda$getSimpleOperation$3 (II)I params: 0: targetScore, 1: sourceScore method: lambda$getSimpleOperation$4 (II)I params: 0: targetScore, 1: sourceScore method: lambda$getSimpleOperation$5 (II)I params: 0: targetScore, 1: sourceScore method: lambda$getSimpleOperation$6 (II)I params: 0: targetScore, 1: sourceScore method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/OperationArgument$Operation; params: 1: reader class: OperationArgument$Operation path: net/minecraft/commands/arguments/OperationArgument$Operation method: apply (Lnet/minecraft/world/scores/Score;Lnet/minecraft/world/scores/Score;)V params: 1: targetScore, 2: sourceScore class: OperationArgument$SimpleOperation path: net/minecraft/commands/arguments/OperationArgument$SimpleOperation method: apply (II)I params: 1: targetScore, 2: sourceScore method: apply (Lnet/minecraft/world/scores/Score;Lnet/minecraft/world/scores/Score;)V params: 1: targetScore, 2: sourceScore class: ParticleArgument path: net/minecraft/commands/arguments/ParticleArgument method: getParticle (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/core/particles/ParticleOptions; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: particle method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/ParticleOptions; params: 1: reader method: readParticle (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/ParticleOptions; params: 0: reader Parses a particle, including its type.
method: readParticle (Lcom/mojang/brigadier/StringReader;Lnet/minecraft/core/particles/ParticleType;)Lnet/minecraft/core/particles/ParticleOptions; params: 0: reader, 1: type Deserializes a particle once its type is known.
class: RangeArgument path: net/minecraft/commands/arguments/RangeArgument method: intRange ()Lnet/minecraft/commands/arguments/RangeArgument$Ints; Note: this class is missing several fields and methods due to them not being used in particular FloatRange has no way of being created.
class: RangeArgument$Ints path: net/minecraft/commands/arguments/RangeArgument$Ints method: getRange (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints; params: 1: reader class: ResourceLocationArgument path: net/minecraft/commands/arguments/ResourceLocationArgument method: getAdvancement (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/advancements/Advancement; params: 0: context, 1: name method: getAttribute (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/entity/ai/attributes/Attribute; params: 0: context, 1: name method: getId (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: context, 1: name method: getPredicate (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition; params: 0: context, 1: name method: getRecipe (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/item/crafting/Recipe; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: advancement method: lambda$static$1 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: recipe method: lambda$static$2 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: predicate method: lambda$static$3 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: attribute method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/resources/ResourceLocation; params: 1: reader class: ScoreHolderArgument path: net/minecraft/commands/arguments/ScoreHolderArgument method: <init> method: getName (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String; params: 0: context, 1: name Gets a single score holder, with no objectives list.
method: getNames (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name Gets one or more score holders, with no objectives list.
method: getNames (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Ljava/util/function/Supplier;)Ljava/util/Collection; params: 0: context, 1: name, 2: objectives Gets one or more score holders.
method: getNamesWithDefaultWildcard (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/Collection; params: 0: context, 1: name Gets one or more score holders, using the server's complete list of objectives.
method: lambda$parse$2 (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/function/Supplier;)Ljava/util/Collection; params: 0: source, 1: objectives method: lambda$parse$3 (Ljava/util/Collection;Lnet/minecraft/commands/CommandSourceStack;Ljava/util/function/Supplier;)Ljava/util/Collection; params: 1: source, 2: objectives method: lambda$static$1 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: context, 1: builder method: parse (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/commands/arguments/ScoreHolderArgument$Result; params: 1: reader class: ScoreHolderArgument$Result path: net/minecraft/commands/arguments/ScoreHolderArgument$Result method: getNames (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/function/Supplier;)Ljava/util/Collection; params: 1: source, 2: objectives class: ScoreHolderArgument$SelectorResult path: net/minecraft/commands/arguments/ScoreHolderArgument$SelectorResult method: <init> (Lnet/minecraft/commands/arguments/selector/EntitySelector;)V params: 1: selector method: getNames (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/function/Supplier;)Ljava/util/Collection; params: 1: source, 2: objectives class: ScoreHolderArgument$Serializer path: net/minecraft/commands/arguments/ScoreHolderArgument$Serializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/commands/arguments/ScoreHolderArgument; params: 1: buffer method: serializeToJson (Lnet/minecraft/commands/arguments/ScoreHolderArgument;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lnet/minecraft/commands/arguments/ScoreHolderArgument;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: ScoreboardSlotArgument path: net/minecraft/commands/arguments/ScoreboardSlotArgument method: getDisplaySlot (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: displaySlot method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/lang/Integer; params: 1: reader class: SlotArgument path: net/minecraft/commands/arguments/SlotArgument method: getSlot (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: slot method: lambda$static$1 (Ljava/util/HashMap;)V params: 0: slots method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/lang/Integer; params: 1: reader class: TeamArgument path: net/minecraft/commands/arguments/TeamArgument method: getTeam (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/scores/PlayerTeam; params: 0: context, 1: name method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: team method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/lang/String; params: 1: reader class: TimeArgument path: net/minecraft/commands/arguments/TimeArgument method: lambda$static$0 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: tickCount method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/lang/Integer; params: 1: reader class: UuidArgument path: net/minecraft/commands/arguments/UuidArgument method: getUuid (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/UUID; params: 0: context, 1: name method: parse (Lcom/mojang/brigadier/StringReader;)Ljava/util/UUID; params: 1: reader synchronization brigadier class: BrigadierArgumentSerializers path: net/minecraft/commands/synchronization/brigadier/BrigadierArgumentSerializers method: createNumberFlags (ZZ)B params: 0: min, 1: max method: numberHasMax method: numberHasMin class: DoubleArgumentSerializer path: net/minecraft/commands/synchronization/brigadier/DoubleArgumentSerializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/DoubleArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: FloatArgumentSerializer path: net/minecraft/commands/synchronization/brigadier/FloatArgumentSerializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/FloatArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/FloatArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/FloatArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: IntegerArgumentSerializer path: net/minecraft/commands/synchronization/brigadier/IntegerArgumentSerializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/IntegerArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/IntegerArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/IntegerArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: LongArgumentSerializer path: net/minecraft/commands/synchronization/brigadier/LongArgumentSerializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/LongArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/LongArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/LongArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: StringArgumentSerializer path: net/minecraft/commands/synchronization/brigadier/StringArgumentSerializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/StringArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/StringArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/StringArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: ArgumentSerializer path: net/minecraft/commands/synchronization/ArgumentSerializer method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/ArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/ArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/ArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: ArgumentTypes path: net/minecraft/commands/synchronization/ArgumentTypes method: deserialize (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/ArgumentType; params: 0: buffer method: findUsedArgumentTypes (Lcom/mojang/brigadier/tree/CommandNode;)Ljava/util/Set; params: 0: node method: findUsedArgumentTypes (Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Set;Ljava/util/Set;)V params: 0: node, 1: types, 2: nodes method: get (Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/commands/synchronization/ArgumentTypes$Entry; params: 0: type method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/commands/synchronization/ArgumentTypes$Entry; params: 0: name method: isTypeRegistered (Lcom/mojang/brigadier/arguments/ArgumentType;)Z params: 0: type method: lambda$findUsedArgumentTypes$0 (Ljava/util/Set;Ljava/util/Set;Lcom/mojang/brigadier/tree/CommandNode;)V params: 2: childNode method: register (Ljava/lang/String;Ljava/lang/Class;Lnet/minecraft/commands/synchronization/ArgumentSerializer;)V params: 0: name, 1: clazz, 2: serializer method: serialize (Lnet/minecraft/network/FriendlyByteBuf;Lcom/mojang/brigadier/arguments/ArgumentType;)V params: 0: buffer, 1: type method: serializeNodeToJson (Lcom/mojang/brigadier/CommandDispatcher;Lcom/mojang/brigadier/tree/CommandNode;)Lcom/google/gson/JsonObject; params: 0: dispatcher, 1: node method: serializeToJson (Lcom/google/gson/JsonObject;Lcom/mojang/brigadier/arguments/ArgumentType;)V params: 0: json, 1: type class: ArgumentTypes$Entry path: net/minecraft/commands/synchronization/ArgumentTypes$Entry method: <init> (Ljava/lang/Class;Lnet/minecraft/commands/synchronization/ArgumentSerializer;Lnet/minecraft/resources/ResourceLocation;)V params: 1: clazz, 2: serializer, 3: name class: EmptyArgumentSerializer path: net/minecraft/commands/synchronization/EmptyArgumentSerializer method: <init> (Ljava/util/function/Supplier;)V params: 1: constructor method: deserializeFromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lcom/mojang/brigadier/arguments/ArgumentType; params: 1: buffer method: serializeToJson (Lcom/mojang/brigadier/arguments/ArgumentType;Lcom/google/gson/JsonObject;)V params: 1: argument, 2: json method: serializeToNetwork (Lcom/mojang/brigadier/arguments/ArgumentType;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: argument, 2: buffer class: SuggestionProviders path: net/minecraft/commands/synchronization/SuggestionProviders method: getName (Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lnet/minecraft/resources/ResourceLocation; params: 0: provider Gets the ID for the given provider. If the provider is not a wrapped one created via {@link #register}, then it returns {@link #ASK_SERVER_ID} instead, as there is no known ID but ASK_SERVER always works.
method: getProvider (Lnet/minecraft/resources/ResourceLocation;)Lcom/mojang/brigadier/suggestion/SuggestionProvider; params: 0: name method: lambda$static$0 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: context, 1: builder method: lambda$static$1 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: context, 1: builder method: lambda$static$2 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: context, 1: builder method: lambda$static$3 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: context, 1: builder method: lambda$static$5 (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: context, 1: builder method: register (Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lcom/mojang/brigadier/suggestion/SuggestionProvider; params: 0: name, 1: provider method: safelySwap (Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lcom/mojang/brigadier/suggestion/SuggestionProvider; params: 0: provider Checks to make sure that the given suggestion provider is a wrapped one that was created via {@link #register}. If not, returns {@link #ASK_SERVER}. Needed because custom providers don't have a known ID to send to the client, but ASK_SERVER always works.
class: SuggestionProviders$Wrapper path: net/minecraft/commands/synchronization/SuggestionProviders$Wrapper method: <init> (Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)V params: 1: name, 2: delegate method: getSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder class: BrigadierExceptions path: net/minecraft/commands/BrigadierExceptions method: lambda$static$0 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: min method: lambda$static$1 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: max method: lambda$static$10 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value method: lambda$static$11 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value method: lambda$static$12 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value method: lambda$static$13 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value method: lambda$static$14 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value method: lambda$static$15 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: symbol method: lambda$static$16 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: command method: lambda$static$2 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: min method: lambda$static$3 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: max method: lambda$static$4 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: min method: lambda$static$5 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: max method: lambda$static$6 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: min method: lambda$static$7 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: value, 1: max method: lambda$static$8 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: literal method: lambda$static$9 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: sequence class: CommandFunction path: net/minecraft/commands/CommandFunction method: <init> (Lnet/minecraft/resources/ResourceLocation;[Lnet/minecraft/commands/CommandFunction$Entry;)V params: 1: id, 2: entries method: fromLines (Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/commands/CommandSourceStack;Ljava/util/List;)Lnet/minecraft/commands/CommandFunction; params: 0: id, 1: dispatcher, 2: source, 3: lines class: CommandFunction$CacheableFunction path: net/minecraft/commands/CommandFunction$CacheableFunction method: <init> (Lnet/minecraft/commands/CommandFunction;)V params: 1: function method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id method: get (Lnet/minecraft/server/ServerFunctionManager;)Ljava/util/Optional; params: 1: functionManager method: lambda$getId$0 (Lnet/minecraft/commands/CommandFunction;)Lnet/minecraft/resources/ResourceLocation; params: 0: function class: CommandFunction$CommandEntry path: net/minecraft/commands/CommandFunction$CommandEntry method: <init> (Lcom/mojang/brigadier/ParseResults;)V params: 1: parse class: CommandFunction$FunctionEntry path: net/minecraft/commands/CommandFunction$FunctionEntry method: <init> (Lnet/minecraft/commands/CommandFunction;)V params: 1: function class: CommandRuntimeException path: net/minecraft/commands/CommandRuntimeException method: <init> (Lnet/minecraft/network/chat/Component;)V params: 1: message class: CommandSource path: net/minecraft/commands/CommandSource field: NULL Lnet/minecraft/commands/CommandSource; A {@code CommandSource} that ignores all messages.
method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
class: CommandSource$1 path: net/minecraft/commands/CommandSource$1 method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
class: CommandSourceStack path: net/minecraft/commands/CommandSourceStack method: <init> (Lnet/minecraft/commands/CommandSource;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec2;Lnet/minecraft/server/level/ServerLevel;ILjava/lang/String;Lnet/minecraft/network/chat/Component;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/entity/Entity;)V params: 1: source, 2: worldPosition, 3: rotation, 4: level, 5: permissionLevel, 6: textName, 7: displayName, 8: server, 9: entity method: <init> (Lnet/minecraft/commands/CommandSource;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec2;Lnet/minecraft/server/level/ServerLevel;ILjava/lang/String;Lnet/minecraft/network/chat/Component;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/entity/Entity;ZLcom/mojang/brigadier/ResultConsumer;Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;)V params: 1: source, 2: worldPosition, 3: rotation, 4: level, 5: permissionLevel, 6: textName, 7: displayName, 8: server, 9: entity, 10: silent, 11: consumer, 12: anchor method: broadcastToAdmins (Lnet/minecraft/network/chat/Component;)V params: 1: message method: customSuggestion (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: suggestionsBuilder method: facing (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;)Lnet/minecraft/commands/CommandSourceStack; params: 1: entity, 2: anchor method: facing (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/commands/CommandSourceStack; params: 1: lookPos method: hasPermission method: lambda$new$0 (Lcom/mojang/brigadier/context/CommandContext;ZI)V params: 0: context, 1: success, 2: result method: onCommandComplete (Lcom/mojang/brigadier/context/CommandContext;ZI)V params: 1: context, 2: success, 3: result method: sendFailure (Lnet/minecraft/network/chat/Component;)V params: 1: message method: sendSuccess (Lnet/minecraft/network/chat/Component;Z)V params: 1: message, 2: allowLogging method: withAnchor (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;)Lnet/minecraft/commands/CommandSourceStack; params: 1: anchor method: withCallback (Lcom/mojang/brigadier/ResultConsumer;)Lnet/minecraft/commands/CommandSourceStack; params: 1: consumer method: withCallback (Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Lnet/minecraft/commands/CommandSourceStack; params: 1: resultConsumer, 2: resultConsumerSelector method: withEntity (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/commands/CommandSourceStack; params: 1: entity method: withLevel (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/commands/CommandSourceStack; params: 1: level method: withMaximumPermission (I)Lnet/minecraft/commands/CommandSourceStack; params: 1: permissionLevel method: withPermission (I)Lnet/minecraft/commands/CommandSourceStack; params: 1: permissionLevel method: withPosition (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/commands/CommandSourceStack; params: 1: pos method: withRotation (Lnet/minecraft/world/phys/Vec2;)Lnet/minecraft/commands/CommandSourceStack; params: 1: rotation class: Commands path: net/minecraft/commands/Commands method: <init> (Lnet/minecraft/commands/Commands$CommandSelection;)V params: 1: selection method: argument (Ljava/lang/String;Lcom/mojang/brigadier/arguments/ArgumentType;)Lcom/mojang/brigadier/builder/RequiredArgumentBuilder; params: 0: name, 1: type Creates a new argument. Intended to be imported statically. The benefit of this over the brigadier {@link RequiredArgumentBuilder#argument} method is that it is typed to {@link CommandSource}.
method: createValidator (Lnet/minecraft/commands/Commands$ParseFunction;)Ljava/util/function/Predicate; params: 0: parser method: fillUsableCommands (Lcom/mojang/brigadier/tree/CommandNode;Lcom/mojang/brigadier/tree/CommandNode;Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Map;)V params: 1: rootCommandSource, 2: rootSuggestion, 3: source, 4: commandNodeToSuggestionNode method: getParseException (Lcom/mojang/brigadier/ParseResults;)Lcom/mojang/brigadier/exceptions/CommandSyntaxException; params: 0: result method: lambda$createValidator$6 (Lnet/minecraft/commands/Commands$ParseFunction;Ljava/lang/String;)Z params: 1: input method: lambda$fillUsableCommands$4 (Lnet/minecraft/commands/SharedSuggestionProvider;)Z params: 0: suggestionProvider method: lambda$fillUsableCommands$5 (Lcom/mojang/brigadier/context/CommandContext;)I params: 0: context method: lambda$new$0 (Lcom/mojang/brigadier/tree/CommandNode;Lcom/mojang/brigadier/tree/CommandNode;Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Collection;)V params: 1: parent, 2: child, 3: sibling, 4: inputs method: lambda$new$1 (Lcom/mojang/brigadier/context/CommandContext;ZI)V params: 0: context, 1: success, 2: result method: lambda$performCommand$2 (Ljava/lang/String;Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 1: style method: lambda$performCommand$3 (Lnet/minecraft/network/chat/MutableComponent;Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 1: style method: lambda$validate$7 (Lcom/mojang/brigadier/arguments/ArgumentType;)Z params: 0: type method: lambda$validate$8 (Lcom/mojang/brigadier/arguments/ArgumentType;)Ljava/lang/String; params: 0: type method: literal (Ljava/lang/String;)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder; params: 0: name Creates a new argument. Intended to be imported statically. The benefit of this over the brigadier {@link LiteralArgumentBuilder#literal} method is that it is typed to {@link CommandSource}.
method: performCommand (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 1: source, 2: command Runs a command.
@return The success value of the command, or 0 if an exception occured.
method: sendCommands (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player class: Commands$CommandSelection path: net/minecraft/commands/Commands$CommandSelection method: <init> (Ljava/lang/String;IZZ)V params: 3: includeIntegrated, 4: includeDedicated class: Commands$ParseFunction path: net/minecraft/commands/Commands$ParseFunction method: parse (Lcom/mojang/brigadier/StringReader;)V params: 1: input class: SharedSuggestionProvider path: net/minecraft/commands/SharedSuggestionProvider method: customSuggestion (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder method: filterResources (Ljava/lang/Iterable;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Consumer;)V params: 0: resources, 1: remaining, 2: prefix, 3: locationFunction, 4: resourceConsumer method: filterResources (Ljava/lang/Iterable;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Consumer;)V params: 0: resources, 1: input, 2: locationFunction, 3: resourceConsumer method: hasPermission (I)Z params: 1: permissionLevel method: lambda$suggest$5 (Ljava/lang/String;Ljava/lang/String;)Z params: 1: string method: lambda$suggestResource$0 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 0: resourceLocation method: lambda$suggestResource$1 (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)V params: 2: resourceLocation method: lambda$suggestResource$2 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 0: resourceLocation method: lambda$suggestResource$3 (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/resources/ResourceLocation;)V params: 1: resourceLocation method: lambda$suggestResource$4 (Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)V params: 3: resource method: matchesSubStr (Ljava/lang/String;Ljava/lang/String;)Z params: 0: input, 1: substring method: suggest (Ljava/lang/Iterable;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: strings, 1: builder method: suggest (Ljava/util/stream/Stream;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: strings, 1: builder method: suggest ([Ljava/lang/String;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: strings, 1: builder method: suggest2DCoordinates (Ljava/lang/String;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Predicate;)Ljava/util/concurrent/CompletableFuture; params: 0: remaining, 1: coordinates, 2: builder, 3: validator method: suggestCoordinates (Ljava/lang/String;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Predicate;)Ljava/util/concurrent/CompletableFuture; params: 0: remaining, 1: coordinates, 2: builder, 3: vaidator method: suggestResource (Ljava/lang/Iterable;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: resources, 1: builder method: suggestResource (Ljava/lang/Iterable;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture; params: 0: resources, 1: builder, 2: prefix method: suggestResource (Ljava/lang/Iterable;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture; params: 0: resources, 1: builder, 2: locationFunction, 3: suggestionFunction method: suggestResource (Ljava/util/stream/Stream;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: resourceLocations, 1: builder method: suggestResource (Ljava/util/stream/Stream;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/concurrent/CompletableFuture; params: 0: resources, 1: builder, 2: locationFunction, 3: suggestionFunction class: SharedSuggestionProvider$TextCoordinates path: net/minecraft/commands/SharedSuggestionProvider$TextCoordinates method: <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V params: 1: x, 2: y, 3: z core dispenser class: AbstractProjectileDispenseBehavior path: net/minecraft/core/dispenser/AbstractProjectileDispenseBehavior method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
class: BoatDispenseItemBehavior path: net/minecraft/core/dispenser/BoatDispenseItemBehavior method: <init> (Lnet/minecraft/world/entity/vehicle/Boat$Type;)V params: 1: type method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
class: DefaultDispenseItemBehavior path: net/minecraft/core/dispenser/DefaultDispenseItemBehavior method: dispense (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: playAnimation (Lnet/minecraft/core/BlockSource;Lnet/minecraft/core/Direction;)V params: 1: source, 2: facing Order clients to display dispense particles from the specified block and facing.
method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
method: spawnItem (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;ILnet/minecraft/core/Direction;Lnet/minecraft/core/Position;)V params: 0: level, 1: stack, 2: speed, 3: facing, 4: position class: DispenseItemBehavior path: net/minecraft/core/dispenser/DispenseItemBehavior method: dispense (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack method: setEntityPokingOutOfBlock (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Direction;)V params: 0: source, 1: entity, 2: direction class: DispenseItemBehavior$1 path: net/minecraft/core/dispenser/DispenseItemBehavior$1 method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
class: DispenseItemBehavior$10 path: net/minecraft/core/dispenser/DispenseItemBehavior$10 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$11 path: net/minecraft/core/dispenser/DispenseItemBehavior$11 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$12 path: net/minecraft/core/dispenser/DispenseItemBehavior$12 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$13 path: net/minecraft/core/dispenser/DispenseItemBehavior$13 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$14 path: net/minecraft/core/dispenser/DispenseItemBehavior$14 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
class: DispenseItemBehavior$15 path: net/minecraft/core/dispenser/DispenseItemBehavior$15 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
class: DispenseItemBehavior$16 path: net/minecraft/core/dispenser/DispenseItemBehavior$16 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$17 path: net/minecraft/core/dispenser/DispenseItemBehavior$17 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$18 path: net/minecraft/core/dispenser/DispenseItemBehavior$18 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$19 path: net/minecraft/core/dispenser/DispenseItemBehavior$19 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$2 path: net/minecraft/core/dispenser/DispenseItemBehavior$2 method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
class: DispenseItemBehavior$20 path: net/minecraft/core/dispenser/DispenseItemBehavior$20 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$21 path: net/minecraft/core/dispenser/DispenseItemBehavior$21 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$22 path: net/minecraft/core/dispenser/DispenseItemBehavior$22 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$23 path: net/minecraft/core/dispenser/DispenseItemBehavior$23 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$24 path: net/minecraft/core/dispenser/DispenseItemBehavior$24 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: takeLiquid (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: empty, 3: filled class: DispenseItemBehavior$25 path: net/minecraft/core/dispenser/DispenseItemBehavior$25 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: DispenseItemBehavior$3 path: net/minecraft/core/dispenser/DispenseItemBehavior$3 method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
class: DispenseItemBehavior$4 path: net/minecraft/core/dispenser/DispenseItemBehavior$4 method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
class: DispenseItemBehavior$5 path: net/minecraft/core/dispenser/DispenseItemBehavior$5 method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
class: DispenseItemBehavior$6 path: net/minecraft/core/dispenser/DispenseItemBehavior$6 method: getProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Position;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/Projectile; params: 1: level, 2: position, 3: stack Return the projectile entity spawned by this dispense behavior.
class: DispenseItemBehavior$9 path: net/minecraft/core/dispenser/DispenseItemBehavior$9 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: OptionalDispenseItemBehavior path: net/minecraft/core/dispenser/OptionalDispenseItemBehavior method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
method: setSuccess class: ShearsDispenseItemBehavior path: net/minecraft/core/dispenser/ShearsDispenseItemBehavior method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: tryShearBeehive (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: tryShearLivingEntity (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos class: ShulkerBoxDispenseBehavior path: net/minecraft/core/dispenser/ShulkerBoxDispenseBehavior method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
particles class: BlockParticleOption path: net/minecraft/core/particles/BlockParticleOption method: writeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: BlockParticleOption$1 path: net/minecraft/core/particles/BlockParticleOption$1 method: fromCommand (Lnet/minecraft/core/particles/ParticleType;Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/BlockParticleOption; params: 1: particleType, 2: reader method: fromNetwork (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/particles/BlockParticleOption; params: 1: particleType, 2: buffer class: DustParticleOptions path: net/minecraft/core/particles/DustParticleOptions method: writeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: DustParticleOptions$1 path: net/minecraft/core/particles/DustParticleOptions$1 method: fromCommand (Lnet/minecraft/core/particles/ParticleType;Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/DustParticleOptions; params: 1: particleType, 2: reader method: fromNetwork (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/particles/DustParticleOptions; params: 1: particleType, 2: buffer class: ItemParticleOption path: net/minecraft/core/particles/ItemParticleOption method: writeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: ItemParticleOption$1 path: net/minecraft/core/particles/ItemParticleOption$1 method: fromCommand (Lnet/minecraft/core/particles/ParticleType;Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/ItemParticleOption; params: 1: particleType, 2: reader method: fromNetwork (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/particles/ItemParticleOption; params: 1: particleType, 2: buffer class: ParticleOptions path: net/minecraft/core/particles/ParticleOptions method: writeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: ParticleOptions$Deserializer path: net/minecraft/core/particles/ParticleOptions$Deserializer method: fromCommand (Lnet/minecraft/core/particles/ParticleType;Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/ParticleOptions; params: 1: particleType, 2: reader method: fromNetwork (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/particles/ParticleOptions; params: 1: particleType, 2: buffer class: ParticleType path: net/minecraft/core/particles/ParticleType method: <init> (ZLnet/minecraft/core/particles/ParticleOptions$Deserializer;)V params: 1: overrideLimiter, 2: deserializer class: ParticleTypes path: net/minecraft/core/particles/ParticleTypes method: register (Ljava/lang/String;Lnet/minecraft/core/particles/ParticleOptions$Deserializer;Ljava/util/function/Function;)Lnet/minecraft/core/particles/ParticleType; params: 0: key, 1: deserializer method: register (Ljava/lang/String;Z)Lnet/minecraft/core/particles/SimpleParticleType; params: 0: key, 1: alwaysShow class: SimpleParticleType path: net/minecraft/core/particles/SimpleParticleType method: writeToNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: SimpleParticleType$1 path: net/minecraft/core/particles/SimpleParticleType$1 method: fromCommand (Lnet/minecraft/core/particles/ParticleType;Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/core/particles/SimpleParticleType; params: 1: particleType, 2: reader method: fromNetwork (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/particles/SimpleParticleType; params: 1: particleType, 2: buffer class: AxisCycle path: net/minecraft/core/AxisCycle method: between (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/AxisCycle; params: 0: to, 1: axis2 method: cycle (IIILnet/minecraft/core/Direction$Axis;)I params: 1: x, 2: y, 3: z, 4: axis method: cycle (Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/Direction$Axis; params: 1: axis class: AxisCycle$1 path: net/minecraft/core/AxisCycle$1 method: cycle (IIILnet/minecraft/core/Direction$Axis;)I params: 1: x, 2: y, 3: z, 4: axis method: cycle (Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/Direction$Axis; params: 1: axis class: AxisCycle$2 path: net/minecraft/core/AxisCycle$2 method: cycle (IIILnet/minecraft/core/Direction$Axis;)I params: 1: x, 2: y, 3: z, 4: axis method: cycle (Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/Direction$Axis; params: 1: axis class: AxisCycle$3 path: net/minecraft/core/AxisCycle$3 method: cycle (IIILnet/minecraft/core/Direction$Axis;)I params: 1: x, 2: y, 3: z, 4: axis method: cycle (Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/Direction$Axis; params: 1: axis class: BlockMath path: net/minecraft/core/BlockMath method: blockCenterToCorner (Lcom/mojang/math/Transformation;)Lcom/mojang/math/Transformation; params: 0: transformation method: getUVLockTransform (Lcom/mojang/math/Transformation;Lnet/minecraft/core/Direction;Ljava/util/function/Supplier;)Lcom/mojang/math/Transformation; params: 0: transformation, 1: direction, 2: warningMessage method: lambda$static$0 (Ljava/util/EnumMap;)V params: 0: map method: lambda$static$1 (Ljava/util/EnumMap;)V params: 0: map class: BlockPos path: net/minecraft/core/BlockPos field: ZERO Lnet/minecraft/core/BlockPos; An immutable BlockPos with zero as all coordinates.
method: <init> (III)V params: 1: x, 2: y, 3: z Constructs a {@code BlockPos} using the provided X, Y, and Z coordinates.
method: <init> (Lnet/minecraft/core/Position;)V params: 1: pos method: <init> (Lnet/minecraft/core/Vec3i;)V params: 1: vector method: <init> (Lnet/minecraft/world/phys/Vec3;)V params: 1: vector method: above ()Lnet/minecraft/core/BlockPos; Offset this BlockPos 1 block up
method: above (I)Lnet/minecraft/core/BlockPos; params: 1: n Offset this BlockPos n blocks up
method: asLong (III)J params: 0: x, 1: y, 2: z method: below ()Lnet/minecraft/core/BlockPos; Offset this BlockPos 1 block down
method: below (I)Lnet/minecraft/core/BlockPos; params: 1: n Offset this BlockPos n blocks down
method: betweenClosed (IIIIII)Ljava/lang/Iterable; params: 0: x1, 1: y1, 2: z1, 3: x2, 4: y2, 5: z2 Creates an Iterable that returns all positions in the box specified by the given corners. <strong>Coordinates must be in order</strong>" e.g. x1 <= x2.
This method uses {@link BlockPos.MutableBlockPos MutableBlockPos} instead of regular BlockPos, which grants better performance. However, the resulting BlockPos instances can only be used inside the iteration loop (as otherwise the value will change), unless {@link #toImmutable()} is called. This method is ideal for searching large areas and only storing a few locations.
@see #betweenClosed(BlockPos, BlockPos)
@see #betweenClosed(int, int, int, int, int, int)
method: betweenClosed (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Ljava/lang/Iterable; params: 0: firstPos, 1: secondPos method: betweenClosedStream (IIIIII)Ljava/util/stream/Stream; params: 0: minX, 1: minY, 2: minZ, 3: maxX, 4: maxY, 5: maxZ method: betweenClosedStream (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 0: firstPos, 1: secondPos method: betweenClosedStream (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Ljava/util/stream/Stream; params: 0: box method: betweenClosedStream (Lnet/minecraft/world/phys/AABB;)Ljava/util/stream/Stream; params: 0: aabb method: cross (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/core/BlockPos; params: 1: vector Calculate the cross product of this and the given Vector
method: findClosestMatch (Lnet/minecraft/core/BlockPos;IILjava/util/function/Predicate;)Ljava/util/Optional; params: 0: pos, 1: width, 2: height, 3: posFilter method: getFlatIndex method: getX method: getY method: getZ method: immutable ()Lnet/minecraft/core/BlockPos; Returns a version of this BlockPos that is guaranteed to be immutable.
<p>When storing a BlockPos given to you for an extended period of time, make sure you
use this in case the value is changed internally.</p>
method: of (J)Lnet/minecraft/core/BlockPos; params: 0: packedPos method: offset (JIII)J params: 0: pos, 2: dx, 3: dy, 4: dz method: offset (JLnet/minecraft/core/Direction;)J params: 0: pos, 2: direction method: randomBetweenClosed (Ljava/util/Random;IIIIIII)Ljava/lang/Iterable; params: 0: random, 1: amount, 2: minX, 3: minY, 4: minZ, 5: maxX, 6: maxY, 7: maxZ method: relative (Lnet/minecraft/core/Direction;I)Lnet/minecraft/core/BlockPos; params: 1: facing, 2: n Offsets this BlockPos n blocks in the given direction
method: rotate (Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/core/BlockPos; params: 1: rotation method: withinManhattan (Lnet/minecraft/core/BlockPos;III)Ljava/lang/Iterable; params: 0: pos, 1: xSize, 2: ySize, 3: zSize Returns BlockPos#getProximitySortedBoxPositions as an Iterator.
method: withinManhattanStream (Lnet/minecraft/core/BlockPos;III)Ljava/util/stream/Stream; params: 0: pos, 1: xSize, 2: ySize, 3: zSize Returns a stream of positions in a box shape, ordered by closest to furthest. Returns by definition the given position as first element in the stream.
class: BlockPos$MutableBlockPos path: net/minecraft/core/BlockPos$MutableBlockPos method: above ()Lnet/minecraft/core/Vec3i; Offset this vector 1 unit up
method: above (I)Lnet/minecraft/core/Vec3i; params: 1: distance Offset this vector upwards by the given distance.
method: below ()Lnet/minecraft/core/Vec3i; Offset this vector 1 unit down
method: below (I)Lnet/minecraft/core/Vec3i; params: 1: distance Offset this vector downwards by the given distance.
method: clamp (Lnet/minecraft/core/Direction$Axis;II)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: axis, 2: min, 3: max method: cross (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/core/Vec3i; params: 1: vector Calculate the cross product of this and the given Vector
method: immutable ()Lnet/minecraft/core/BlockPos; Returns a version of this BlockPos that is guaranteed to be immutable.
<p>When storing a BlockPos given to you for an extended period of time, make sure you
use this in case the value is changed internally.</p>
method: move (III)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: x, 2: y, 3: z method: move (Lnet/minecraft/core/Direction;)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: direction method: move (Lnet/minecraft/core/Direction;I)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: direction, 2: n method: relative (Lnet/minecraft/core/Direction;I)Lnet/minecraft/core/BlockPos; params: 1: facing, 2: n Offsets this BlockPos n blocks in the given direction
method: rotate (Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/core/BlockPos; params: 1: rotation method: set (DDD)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: x, 3: y, 5: z method: set (III)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: x, 2: y, 3: z Sets position
method: set (J)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: packedPos method: set (Lnet/minecraft/core/AxisCycle;III)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: cycle, 2: x, 3: y, 4: z method: set (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: vector method: setWithOffset (Lnet/minecraft/core/Vec3i;III)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: vector, 2: offsetX, 3: offsetY, 4: offsetZ method: setWithOffset (Lnet/minecraft/core/Vec3i;Lnet/minecraft/core/Direction;)Lnet/minecraft/core/BlockPos$MutableBlockPos; params: 1: pos, 2: direction class: BlockSource path: net/minecraft/core/BlockSource method: getBlockState ()Lnet/minecraft/world/level/block/state/BlockState; @return the BlockState at this position
class: BlockSourceImpl path: net/minecraft/core/BlockSourceImpl method: <init> (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: getBlockState ()Lnet/minecraft/world/level/block/state/BlockState; Gets the block state of this position and returns it.
@return Block state in this position
class: Cursor3D path: net/minecraft/core/Cursor3D method: <init> (IIIIII)V params: 1: originX, 2: originY, 3: originZ class: DefaultedRegistry path: net/minecraft/core/DefaultedRegistry field: defaultKey Lnet/minecraft/resources/ResourceLocation; The key of the default value.
field: defaultValue Ljava/lang/Object; The default value for this registry, retrurned in the place of a null value.
method: <init> (Ljava/lang/String;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;)V params: 1: defaultName, 2: registryKey, 3: lifecycle method: byId (I)Ljava/lang/Object; params: 1: value method: get (Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/Object; params: 1: name method: getId (Ljava/lang/Object;)I params: 1: value Gets the integer ID we use to identify the given object.
method: getKey (Ljava/lang/Object;)Lnet/minecraft/resources/ResourceLocation; params: 1: value Gets the name we use to identify the given object.
method: getOptional (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/Optional; params: 1: id method: registerMapping (ILnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: id, 2: name, 3: instance, 4: lifecycle class: Direction path: net/minecraft/core/Direction field: BY_2D_DATA [Lnet/minecraft/core/Direction; All Facings with horizontal axis in order S-W-N-E
field: data2d I Ordering index for the HORIZONTALS field (S-W-N-E)
field: data3d I Ordering index for D-U-N-S-W-E
field: normal Lnet/minecraft/core/Vec3i; Normalized vector that points in the direction of this Direction
field: oppositeIndex I Index of the opposite Direction in the VALUES array
method: <init> (Ljava/lang/String;IIIILjava/lang/String;Lnet/minecraft/core/Direction$AxisDirection;Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/core/Vec3i;)V params: 3: data3d, 4: oppositeIndex, 5: data2d, 6: name, 7: axisDirection, 8: axis, 9: normal method: byName (Ljava/lang/String;)Lnet/minecraft/core/Direction; params: 0: name @return the Direction specified by the given name or null if no such Direction exists
method: from2DDataValue (I)Lnet/minecraft/core/Direction; params: 0: horizontalIndex @return the Direction corresponding to the given horizontal index (0-3). Out of bounds values are wrapped around. The order is S-W-N-E.
@see #get2DDataValue
method: from3DDataValue (I)Lnet/minecraft/core/Direction; params: 0: index @return the {@code Direction} corresponding to the given index (0-5). Out of bounds values are wrapped around. The order is D-U-N-S-W-E.
@see #get3DDataValue
method: fromAxisAndDirection (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/core/Direction$AxisDirection;)Lnet/minecraft/core/Direction; params: 0: axis, 1: axisDirection method: fromNormal (III)Lnet/minecraft/core/Direction; params: 0: x, 1: y, 2: z method: fromYRot (D)Lnet/minecraft/core/Direction; params: 0: angle @return the Direction corresponding to the given angle in degrees (0-360). Out of bounds values are wrapped around. An angle of 0 is SOUTH, an angle of 90 would be WEST.
method: get (Lnet/minecraft/core/Direction$AxisDirection;Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/Direction; params: 0: axisDirection, 1: axis method: get2DDataValue ()I @return the index of this horizontal facing (0-3). The order is S-W-N-E
method: get3DDataValue ()I @return the index of this Direction (0-5). The order is D-U-N-S-W-E
method: getAxisDirection ()Lnet/minecraft/core/Direction$AxisDirection; Get the AxisDirection of this Facing.
method: getClockWise ()Lnet/minecraft/core/Direction; Rotate this Direction around the Y axis clockwise (NORTH => EAST => SOUTH => WEST => NORTH)
method: getCounterClockWise ()Lnet/minecraft/core/Direction; Rotate this Direction around the Y axis counter-clockwise (NORTH => WEST => SOUTH => EAST => NORTH)
method: getName ()Ljava/lang/String; Same as getName, but does not override the method from Enum.
method: getNearest (DDD)Lnet/minecraft/core/Direction; params: 0: x, 2: y, 4: z method: getNearest (FFF)Lnet/minecraft/core/Direction; params: 0: x, 1: y, 2: z method: getNormal ()Lnet/minecraft/core/Vec3i; @return the normalized Vector that points in the direction of this Direction.
method: getOpposite ()Lnet/minecraft/core/Direction; @return the opposite Direction (e.g. DOWN => UP)
method: getRandom (Ljava/util/Random;)Lnet/minecraft/core/Direction; params: 0: random method: getStepX ()I @return the offset in the x direction
method: getStepY ()I @return the offset in the y direction
method: getStepZ ()I @return the offset in the z direction
method: isFacingAngle method: makeDirectionArray (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)[Lnet/minecraft/core/Direction; params: 0: first, 1: second, 2: third Creates an array of x y z equivalent facing values.
method: orderedByNearest (Lnet/minecraft/world/entity/Entity;)[Lnet/minecraft/core/Direction; params: 0: entity Gets the {@code Direction} values for the provided entity's
looking direction. Dependent on yaw and pitch of entity looking.
method: rotate (Lcom/mojang/math/Matrix4f;Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 0: matrix, 1: direction method: toYRot ()F @return the angle in degrees corresponding to this Direction.
@see #fromYRot
class: Direction$Axis path: net/minecraft/core/Direction$Axis method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/core/Direction$Axis; params: 0: name @return the Axis specified by the given name or {@code null} if no such Axis exists
method: choose (DDD)D params: 1: x, 3: y, 5: z method: choose (III)I params: 1: x, 2: y, 3: z method: getName ()Ljava/lang/String; Like getName but doesn't override the method from Enum.
method: getPlane ()Lnet/minecraft/core/Direction$Plane; @return this Axis' Plane (VERTICAL for Y, HORIZONTAL for X and Z)
method: getRandom (Ljava/util/Random;)Lnet/minecraft/core/Direction$Axis; params: 0: random method: isHorizontal ()Z @return whether this Axis is on the horizontal plane (true for X and Z)
method: lambda$static$0 (Lnet/minecraft/core/Direction$Axis;)Lnet/minecraft/core/Direction$Axis; params: 0: axis method: test (Lnet/minecraft/core/Direction;)Z params: 1: direction class: Direction$AxisDirection path: net/minecraft/core/Direction$AxisDirection method: <init> (Ljava/lang/String;IILjava/lang/String;)V params: 3: step, 4: name method: getStep ()I @return the offset for this AxisDirection. 1 for POSITIVE, -1 for NEGATIVE
class: Direction$Plane path: net/minecraft/core/Direction$Plane method: <init> (Ljava/lang/String;I[Lnet/minecraft/core/Direction;[Lnet/minecraft/core/Direction$Axis;)V params: 3: faces, 4: axis method: getRandomAxis (Ljava/util/Random;)Lnet/minecraft/core/Direction$Axis; params: 1: random method: getRandomDirection (Ljava/util/Random;)Lnet/minecraft/core/Direction; params: 1: random Choose a random Direction from this Plane using the given Random
class: Direction8 path: net/minecraft/core/Direction8 method: <init> (Ljava/lang/String;I[Lnet/minecraft/core/Direction;)V params: 3: directions class: FrontAndTop path: net/minecraft/core/FrontAndTop method: <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)V params: 3: name, 4: front, 5: top method: fromFrontAndTop (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)Lnet/minecraft/core/FrontAndTop; params: 0: front, 1: top method: lookupKey (Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;)I params: 0: front, 1: top class: GlobalPos path: net/minecraft/core/GlobalPos method: <init> (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/BlockPos;)V params: 1: dimension, 2: pos method: equals (Ljava/lang/Object;)Z params: 1: other method: of (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/GlobalPos; params: 0: dimension, 1: pos class: IdMap path: net/minecraft/core/IdMap method: byId (I)Ljava/lang/Object; params: 1: id method: getId (Ljava/lang/Object;)I params: 1: value @return the integer ID used to identify the given object
class: IdMapper path: net/minecraft/core/IdMapper method: <init> (I)V params: 1: expectedSize method: add (Ljava/lang/Object;)V params: 1: key method: addMapping (Ljava/lang/Object;I)V params: 1: key, 2: value method: byId (I)Ljava/lang/Object; params: 1: value method: getId (Ljava/lang/Object;)I params: 1: value Gets the integer ID we use to identify the given object.
class: MappedRegistry path: net/minecraft/core/MappedRegistry method: byId (I)Ljava/lang/Object; params: 1: value method: containsKey (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: name method: dataPackCodec (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; params: 0: registryKey, 1: lifecycle, 2: mapCodec method: directCodec (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; params: 0: registryKey, 1: lifecycle, 2: mapCodec method: get (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/Object; params: 1: key method: get (Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/Object; params: 1: name method: getId (Ljava/lang/Object;)I params: 1: value Gets the integer ID we use to identify the given object.
method: getKey (Ljava/lang/Object;)Lnet/minecraft/resources/ResourceLocation; params: 1: value Gets the name we use to identify the given object.
method: getResourceKey (Ljava/lang/Object;)Ljava/util/Optional; params: 1: value method: keySet ()Ljava/util/Set; Gets all the keys recognized by this registry.
method: lifecycle (Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle; params: 1: object method: networkCodec (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; params: 0: registryKey, 1: lifecycle, 2: codec method: register (Lnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: name, 2: instance, 3: lifecycle method: registerMapping (ILnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: id, 2: name, 3: instance, 4: lifecycle method: registerMapping (ILnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;Z)Ljava/lang/Object; params: 1: id, 2: key, 3: value, 4: lifecycle, 5: logDuplicateKeys method: registerOrOverride (Ljava/util/OptionalInt;Lnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: index, 2: registryKey, 3: value, 4: lifecycle method: withNameAndId (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/MapCodec;)Lcom/mojang/serialization/MapCodec; params: 0: registryKey, 1: mapCodec class: MappedRegistry$RegistryEntry path: net/minecraft/core/MappedRegistry$RegistryEntry method: <init> (Lnet/minecraft/resources/ResourceKey;ILjava/lang/Object;)V params: 1: key, 2: id, 3: value class: NonNullList path: net/minecraft/core/NonNullList method: <init> (Ljava/util/List;Ljava/lang/Object;)V params: 1: list, 2: defaultValue method: add (ILjava/lang/Object;)V params: 1: index, 2: value method: get (I)Ljava/lang/Object; params: 1: index method: of (Ljava/lang/Object;[Ljava/lang/Object;)Lnet/minecraft/core/NonNullList; params: 0: defaultValue, 1: elements method: remove (I)Ljava/lang/Object; params: 1: index method: set (ILjava/lang/Object;)Ljava/lang/Object; params: 1: index, 2: value method: withSize (ILjava/lang/Object;)Lnet/minecraft/core/NonNullList; params: 0: size, 1: defaultValue Creates a new NonNullList with <i>fixed</i> size and default value. The list will be filled with the default value.
class: PositionImpl path: net/minecraft/core/PositionImpl method: <init> (DDD)V params: 1: x, 3: y, 5: z class: Registry path: net/minecraft/core/Registry method: <init> (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;)V params: 1: key, 2: lifecycle method: checkRegistry (Lnet/minecraft/core/WritableRegistry;)V params: 0: metaRegistry method: containsKey (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: name method: createRegistryKey (Ljava/lang/String;)Lnet/minecraft/resources/ResourceKey; params: 0: registryName method: get (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/Object; params: 1: key method: get (Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/Object; params: 1: name method: getId (Ljava/lang/Object;)I params: 1: value Gets the integer ID we use to identify the given object.
method: getKey (Ljava/lang/Object;)Lnet/minecraft/resources/ResourceLocation; params: 1: value @return the name used to identify the given object within this registry or {@code null} if the object is not within this registry
method: getOptional (Lnet/minecraft/resources/ResourceKey;)Ljava/util/Optional; params: 1: registryKey method: getOptional (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/Optional; params: 1: name method: getOrThrow (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/Object; params: 1: key method: getResourceKey (Ljava/lang/Object;)Ljava/util/Optional; params: 1: value method: internalRegister (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/WritableRegistry;Ljava/util/function/Supplier;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/core/WritableRegistry; params: 0: registryKey, 1: registry, 2: loader, 3: lifecycle Registers the passed registry
method: keySet ()Ljava/util/Set; @return all keys in this registry
method: lifecycle (Ljava/lang/Object;)Lcom/mojang/serialization/Lifecycle; params: 1: value method: register (Lnet/minecraft/core/Registry;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; params: 0: registry, 1: name, 2: value method: register (Lnet/minecraft/core/Registry;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Object;)Ljava/lang/Object; params: 0: registry, 1: name, 2: value method: registerDefaulted (Lnet/minecraft/resources/ResourceKey;Ljava/lang/String;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/core/DefaultedRegistry; params: 0: registryKey, 1: defaultValueName, 2: lifecycle, 3: loader method: registerDefaulted (Lnet/minecraft/resources/ResourceKey;Ljava/lang/String;Ljava/util/function/Supplier;)Lnet/minecraft/core/DefaultedRegistry; params: 0: registryKey, 1: defaultValueName, 2: loader method: registerMapping (Lnet/minecraft/core/Registry;ILjava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; params: 0: registry, 1: id, 2: name, 3: value method: registerSimple (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/core/Registry; params: 0: registryKey, 1: lifecycle, 2: loader Makes a simple registry and registers it
method: registerSimple (Lnet/minecraft/resources/ResourceKey;Ljava/util/function/Supplier;)Lnet/minecraft/core/Registry; params: 0: registryKey, 1: loader Makes a simple registry with the default lifecycle of "experimental" and registers it
class: RegistryAccess path: net/minecraft/core/RegistryAccess method: addBuiltinElements (Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/resources/RegistryReadOps$ResourceAccess$MemoryMap;Lnet/minecraft/core/RegistryAccess$RegistryData;)V params: 0: registryHolder, 1: registryAccess, 2: codecHolder method: copy (Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/core/Registry;)V params: 0: registryHolder, 1: registry method: copyBuiltin (Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/resources/ResourceKey;)V params: 0: registryHolder, 1: key method: put (Lcom/google/common/collect/ImmutableMap$Builder;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;)V params: 0: codecHolder, 1: registryKey, 2: codec method: put (Lcom/google/common/collect/ImmutableMap$Builder;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)V params: 0: codecHolder, 1: registryKey, 2: codec, 3: codec2 class: RegistryAccess$RegistryData path: net/minecraft/core/RegistryAccess$RegistryData method: <init> (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)V params: 1: key, 2: codec, 3: networkCodec class: RegistryAccess$RegistryHolder path: net/minecraft/core/RegistryAccess$RegistryHolder method: captureMap (Lcom/mojang/serialization/codecs/UnboundedMapCodec;)Lcom/mojang/serialization/Codec; params: 0: unboundedMapCodec method: createRegistry (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/core/MappedRegistry; params: 0: registryKey method: getNetworkCodec (Lnet/minecraft/resources/ResourceKey;)Lcom/mojang/serialization/DataResult; params: 0: registryKey class: Rotations path: net/minecraft/core/Rotations field: x field: y field: z method: <init> (FFF)V params: 1: x, 2: y, 3: z method: equals (Ljava/lang/Object;)Z params: 1: other method: getX ()F @return the X axis rotation
method: getY ()F @return the Y axis rotation
method: getZ ()F @return the Z axis rotation
class: SectionPos path: net/minecraft/core/SectionPos method: blockToSection method: blockToSectionCoord (I)I params: 0: blockCoord method: cube (Lnet/minecraft/core/SectionPos;I)Ljava/util/stream/Stream; params: 0: center, 1: radius method: getZeroNode (J)J Returns the given section position with Y position set to 0.
method: of (III)Lnet/minecraft/core/SectionPos; params: 0: chunkX, 1: chunkY, 2: chunkZ method: of (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/SectionPos; params: 0: pos method: of (Lnet/minecraft/world/level/ChunkPos;I)Lnet/minecraft/core/SectionPos; params: 0: chunkPos, 1: y method: offset (JIII)J params: 2: dx, 3: dy, 4: dz method: sectionToBlockCoord (I)I params: 0: sectionCoord method: x method: y method: z class: SerializableUUID path: net/minecraft/core/SerializableUUID method: leastMostToIntArray (JJ)[I params: 0: most, 2: least method: uuidFromIntArray ([I)Ljava/util/UUID; params: 0: bits method: uuidToIntArray (Ljava/util/UUID;)[I params: 0: uuid class: Vec3i path: net/minecraft/core/Vec3i field: ZERO Lnet/minecraft/core/Vec3i; An immutable vector with zero as all coordinates.
method: <init> (DDD)V params: 1: x, 3: y, 5: z method: <init> (III)V params: 1: x, 2: y, 3: z method: above ()Lnet/minecraft/core/Vec3i; Offset this vector 1 unit up
method: above (I)Lnet/minecraft/core/Vec3i; params: 1: distance Offset this vector upwards by the given distance.
method: below ()Lnet/minecraft/core/Vec3i; Offset this vector 1 unit down
method: below (I)Lnet/minecraft/core/Vec3i; params: 1: distance Offset this vector downwards by the given distance.
method: closerThan (Lnet/minecraft/core/Position;D)Z params: 1: position, 2: distance method: closerThan (Lnet/minecraft/core/Vec3i;D)Z params: 1: vector, 2: distance method: cross (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/core/Vec3i; params: 1: vector Calculate the cross product of this and the given Vector
method: distManhattan (Lnet/minecraft/core/Vec3i;)I params: 1: vector method: distSqr (DDDZ)D params: 1: x, 3: y, 5: z, 7: useCenter method: distSqr (Lnet/minecraft/core/Position;Z)D params: 1: position, 2: useCenter method: distSqr (Lnet/minecraft/core/Vec3i;)D params: 1: vector Calculate squared distance to the given Vector
method: equals (Ljava/lang/Object;)Z params: 1: other method: get (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis method: getX ()I Gets the X coordinate.
method: getY ()I Gets the Y coordinate.
method: getZ ()I Gets the Z coordinate.
method: relative (Lnet/minecraft/core/Direction;I)Lnet/minecraft/core/Vec3i; params: 1: direction, 2: distance Offsets this Vector by the given distance in the specified direction.
class: WritableRegistry path: net/minecraft/core/WritableRegistry method: register (Lnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: key, 2: value, 3: lifecycle method: registerMapping (ILnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: id, 2: key, 3: value, 4: lifecycle method: registerOrOverride (Ljava/util/OptionalInt;Lnet/minecraft/resources/ResourceKey;Ljava/lang/Object;Lcom/mojang/serialization/Lifecycle;)Ljava/lang/Object; params: 1: id, 2: key, 3: value, 4: lifecycle data advancements class: AdvancementProvider path: net/minecraft/data/advancements/AdvancementProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: createPath (Ljava/nio/file/Path;Lnet/minecraft/advancements/Advancement;)Ljava/nio/file/Path; params: 0: path, 1: advancement method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
class: AdventureAdvancements path: net/minecraft/data/advancements/AdventureAdvancements method: addBiomes (Lnet/minecraft/advancements/Advancement$Builder;Ljava/util/List;)Lnet/minecraft/advancements/Advancement$Builder; params: 0: builder, 1: biomes method: addMobsToKill (Lnet/minecraft/advancements/Advancement$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: builder Adds all the entities in {@link #MOB_ENTITIES} to the given advancement's criteria
class: HusbandryAdvancements path: net/minecraft/data/advancements/HusbandryAdvancements method: addBreedable (Lnet/minecraft/advancements/Advancement$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: builder method: addCatVariants (Lnet/minecraft/advancements/Advancement$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: builder method: addFish (Lnet/minecraft/advancements/Advancement$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: builder method: addFishBuckets (Lnet/minecraft/advancements/Advancement$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: builder method: addFood (Lnet/minecraft/advancements/Advancement$Builder;)Lnet/minecraft/advancements/Advancement$Builder; params: 1: builder Adds all the items in {@link #BALANCED_DIET} to the given advancement's criteria
info class: BlockListReport path: net/minecraft/data/info/BlockListReport method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
class: CommandsReport path: net/minecraft/data/info/CommandsReport method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
class: RegistryDumpReport path: net/minecraft/data/info/RegistryDumpReport method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: dumpRegistry (Lnet/minecraft/core/Registry;)Lcom/google/gson/JsonElement; params: 0: registry method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
loot class: BlockLoot path: net/minecraft/data/loot/BlockLoot method: add (Lnet/minecraft/world/level/block/Block;Ljava/util/function/Function;)V params: 1: block, 2: factory method: add (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/storage/loot/LootTable$Builder;)V params: 1: block, 2: lootTableBuilder method: addNetherVinesDropTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: vines, 2: plant method: applyExplosionCondition (Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/storage/loot/predicates/ConditionUserBuilder;)Ljava/lang/Object; params: 0: item, 1: condition method: applyExplosionDecay (Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/storage/loot/functions/FunctionUserBuilder;)Ljava/lang/Object; params: 0: item, 1: function method: createAttachedStemDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: attachedStemBlock, 1: seedsItem method: createBannerDrop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: bannerBlock method: createBeeHiveDrop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: beeHiveBlock method: createBeeNestDrop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: beeNestBlock method: createCropDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: cropBlock, 1: grownCropItem, 2: seedsItem, 3: dropGrownCropCondition If {@code dropGrownCropCondition} fails (i.e. crop is not ready), drops 1 {@code seedsItem}.
If {@code dropGrownCropCondition} succeeds (i.e. crop is ready), drops 1 {@code grownCropItem}, and 0-3 {@code seedsItem} with fortune applied.
method: createDoorTable (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: doorBlock method: createDoublePlantShearsDrop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: sheared method: createDoublePlantWithSeedDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: sheared method: createGrassDrops (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block method: createLeavesDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;[F)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: leavesBlock, 1: saplingBlock, 2: chances Used for all leaves, drops self with silk touch, otherwise drops the second Block param with the passed chances for fortune levels, adding in sticks.
method: createMushroomBlockDrop (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: item Creates a builder that drops the given IItemProvider in amounts between 0 and 2, most often 0. Only used in vanilla for huge mushroom blocks.
method: createNameableBlockEntityTable (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block method: createOakLeavesDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;[F)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: oakLeavesBlock, 1: saplingBlock, 2: chances Used for oak and dark oak, same as droppingWithChancesAndSticks but adding in apples.
method: createOreDrop (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: item method: createPotFlowerItemTable (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: flowerPotContent method: createSelfDropDispatchTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: conditionBuilder, 2: alternativeEntryBuilder If the condition from {@code conditionBuilder} succeeds, drops 1 {@code block}.
Otherwise, drops loot specified by {@code alternativeEntryBuilder}.
method: createShearsDispatchTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: alternativeEntryBuilder If the block is mined with Shears, drops 1 {@code block}.
Otherwise, drops loot specified by {@code alternativeEntryBuilder}.
method: createShearsOnlyDrop (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: item method: createShulkerBoxDrop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: shulkerBoxBlock method: createSilkTouchDispatchTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: alternativeEntryBuilder If the block is mined with Silk Touch, drops 1 {@code block}.
Otherwise, drops loot specified by {@code alternativeEntryBuilder}.
method: createSilkTouchOnlyTable (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: item method: createSilkTouchOrShearsDispatchTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: alternativeEntryBuilder If the block is mined either with Silk Touch or Shears, drops 1 {@code block}.
Otherwise, drops loot specified by {@code alternativeEntryBuilder}.
method: createSingleItemTable (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: item method: createSingleItemTableWithSilkTouch (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: silkTouchBlock, 1: noSilkTouchItemLike method: createSinglePropConditionTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: block, 1: property, 2: value method: createSlabItemTable (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: slabBock method: createStemDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: stemBlock, 1: seedsItem Creates a builder that drops the given IItemProvider in amounts between 0 and 3, based on the AGE property. Only used in vanilla for pumpkin and melon stems.
method: dropOther (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/ItemLike;)V params: 1: block, 2: drop method: dropPottedContents (Lnet/minecraft/world/level/block/Block;)V params: 1: flowerPot method: dropSelf (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: dropWhenSilkTouch (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: otherWhenSilkTouch (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: block, 2: silkTouchDrop class: EntityLoot path: net/minecraft/data/loot/EntityLoot method: add (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/storage/loot/LootTable$Builder;)V params: 1: lootTableId, 2: lootTableBuilder method: add (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/storage/loot/LootTable$Builder;)V params: 1: entityType, 2: lootTableBuilder method: createSheepTable (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 0: wool class: LootTableProvider path: net/minecraft/data/loot/LootTableProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: createPath (Ljava/nio/file/Path;Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 0: path, 1: id method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
models blockstates class: Condition path: net/minecraft/data/models/blockstates/Condition method: or ([Lnet/minecraft/data/models/blockstates/Condition;)Lnet/minecraft/data/models/blockstates/Condition; params: 0: conditions method: validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: stateDefinition class: Condition$CompositeCondition path: net/minecraft/data/models/blockstates/Condition$CompositeCondition method: <init> (Lnet/minecraft/data/models/blockstates/Condition$Operation;Ljava/util/List;)V params: 1: operation, 2: subconditions method: validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: stateDefinition class: Condition$Operation path: net/minecraft/data/models/blockstates/Condition$Operation method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: id class: Condition$TerminalCondition path: net/minecraft/data/models/blockstates/Condition$TerminalCondition method: getTerm (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String; params: 0: property, 1: firstValue, 2: additionalValues method: joinValues (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/util/stream/Stream;)Ljava/lang/String; params: 0: property, 1: valueStream method: putValue (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)V params: 1: property, 2: value method: term (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition; params: 1: property, 2: value method: term (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition; params: 1: property, 2: firstValue, 3: additionalValues method: validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: stateDefinition class: MultiPartGenerator path: net/minecraft/data/models/blockstates/MultiPartGenerator method: <init> (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: multiPart (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/blockstates/MultiPartGenerator; params: 0: block method: with (Ljava/util/List;)Lnet/minecraft/data/models/blockstates/MultiPartGenerator; params: 1: variants method: with (Lnet/minecraft/data/models/blockstates/Condition;Ljava/util/List;)Lnet/minecraft/data/models/blockstates/MultiPartGenerator; params: 1: condition, 2: variants method: with (Lnet/minecraft/data/models/blockstates/Condition;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/MultiPartGenerator; params: 1: condition, 2: variant method: with (Lnet/minecraft/data/models/blockstates/Condition;[Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/MultiPartGenerator; params: 1: condition, 2: variants method: with (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/MultiPartGenerator; params: 1: variant class: MultiPartGenerator$ConditionalEntry path: net/minecraft/data/models/blockstates/MultiPartGenerator$ConditionalEntry method: <init> (Lnet/minecraft/data/models/blockstates/Condition;Ljava/util/List;)V params: 1: condition, 2: variants method: decorate (Lcom/google/gson/JsonObject;)V params: 1: jsonObject method: validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: stateDefinition class: MultiPartGenerator$Entry path: net/minecraft/data/models/blockstates/MultiPartGenerator$Entry method: <init> (Ljava/util/List;)V params: 1: variants method: decorate (Lcom/google/gson/JsonObject;)V params: 1: jsonObject method: validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: stateDefinition class: MultiVariantGenerator path: net/minecraft/data/models/blockstates/MultiVariantGenerator method: <init> (Lnet/minecraft/world/level/block/Block;Ljava/util/List;)V params: 1: block, 2: baseVariants method: mergeVariants (Ljava/util/List;Ljava/util/List;)Ljava/util/List; params: 0: variants1, 1: variants2 method: multiVariant (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 0: block method: multiVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 0: block, 1: variant method: multiVariant (Lnet/minecraft/world/level/block/Block;[Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 0: block, 1: variants method: with (Lnet/minecraft/data/models/blockstates/PropertyDispatch;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 1: propertyDispatch class: PropertyDispatch path: net/minecraft/data/models/blockstates/PropertyDispatch method: properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C2; params: 0: property1, 1: property2 method: properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C3; params: 0: property1, 1: property2, 2: property3 method: properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C4; params: 0: property1, 1: property2, 2: property3, 3: property4 method: properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C5; params: 0: property1, 1: property2, 2: property3, 3: property4, 4: property5 method: property (Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C1; params: 0: property1 method: putValue (Lnet/minecraft/data/models/blockstates/Selector;Ljava/util/List;)V params: 1: selector, 2: values class: PropertyDispatch$C1 path: net/minecraft/data/models/blockstates/PropertyDispatch$C1 method: <init> (Lnet/minecraft/world/level/block/state/properties/Property;)V params: 1: property1 method: generate (Ljava/util/function/Function;)Lnet/minecraft/data/models/blockstates/PropertyDispatch; params: 1: propertyValueToVariantMapper method: select (Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C1; params: 1: propertyValue, 2: variants method: select (Ljava/lang/Comparable;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C1; params: 1: propertyValue, 2: variant class: PropertyDispatch$C2 path: net/minecraft/data/models/blockstates/PropertyDispatch$C2 method: <init> (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V params: 1: property1, 2: property2 method: generate (Ljava/util/function/BiFunction;)Lnet/minecraft/data/models/blockstates/PropertyDispatch; params: 1: propertyValuesToVariantMapper method: generateList (Ljava/util/function/BiFunction;)Lnet/minecraft/data/models/blockstates/PropertyDispatch; params: 1: propertyValuesToVariantsMapper method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C2; params: 1: property1Value, 2: property2Value, 3: variants method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C2; params: 1: property1Value, 2: property2Value, 3: variant class: PropertyDispatch$C3 path: net/minecraft/data/models/blockstates/PropertyDispatch$C3 method: <init> (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V params: 1: property1, 2: property2, 3: property3 method: generate (Lnet/minecraft/data/models/blockstates/PropertyDispatch$TriFunction;)Lnet/minecraft/data/models/blockstates/PropertyDispatch; params: 1: propertyValuesToVariantMapper method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C3; params: 1: property1Value, 2: property2Value, 3: property3Value, 4: variants method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C3; params: 1: property1Value, 2: property2Value, 3: property3Value, 4: variant class: PropertyDispatch$C4 path: net/minecraft/data/models/blockstates/PropertyDispatch$C4 method: <init> (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V params: 1: property1, 2: property2, 3: property3, 4: property4 method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C4; params: 1: property1Value, 2: property2Value, 3: property3Value, 4: property4Value, 5: variants method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C4; params: 1: property1Value, 2: property2Value, 3: property3Value, 4: property4Value, 5: variant class: PropertyDispatch$C5 path: net/minecraft/data/models/blockstates/PropertyDispatch$C5 method: <init> (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V params: 1: property1, 2: property2, 3: property3, 4: property4, 5: property5 method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C5; params: 1: property1Value, 2: property2Value, 3: property3Value, 4: property4Value, 5: property5Value, 6: variants method: select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C5; params: 1: property1Value, 2: property2Value, 3: property3Value, 4: property4Value, 5: property5Value, 6: variant class: PropertyDispatch$TriFunction path: net/minecraft/data/models/blockstates/PropertyDispatch$TriFunction method: apply (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; params: 1: p1, 2: p2, 3: p3 class: Selector path: net/minecraft/data/models/blockstates/Selector method: <init> (Ljava/util/List;)V params: 1: values method: equals (Ljava/lang/Object;)Z params: 1: other method: extend (Lnet/minecraft/data/models/blockstates/Selector;)Lnet/minecraft/data/models/blockstates/Selector; params: 1: selector method: extend (Lnet/minecraft/world/level/block/state/properties/Property$Value;)Lnet/minecraft/data/models/blockstates/Selector; params: 1: value method: of ([Lnet/minecraft/world/level/block/state/properties/Property$Value;)Lnet/minecraft/data/models/blockstates/Selector; params: 0: values class: Variant path: net/minecraft/data/models/blockstates/Variant method: convertList (Ljava/util/List;)Lcom/google/gson/JsonElement; params: 0: definitions method: merge (Lnet/minecraft/data/models/blockstates/Variant;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; params: 0: definition1, 1: definition2 method: with (Lnet/minecraft/data/models/blockstates/VariantProperty;Ljava/lang/Object;)Lnet/minecraft/data/models/blockstates/Variant; params: 1: property, 2: value class: VariantProperties$Rotation path: net/minecraft/data/models/blockstates/VariantProperties$Rotation method: <init> (Ljava/lang/String;II)V params: 3: value class: VariantProperty path: net/minecraft/data/models/blockstates/VariantProperty method: <init> (Ljava/lang/String;Ljava/util/function/Function;)V params: 1: key, 2: serializer method: withValue (Ljava/lang/Object;)Lnet/minecraft/data/models/blockstates/VariantProperty$Value; params: 1: value class: VariantProperty$Value path: net/minecraft/data/models/blockstates/VariantProperty$Value method: <init> (Lnet/minecraft/data/models/blockstates/VariantProperty;Ljava/lang/Object;)V params: 2: value method: addToVariant (Lcom/google/gson/JsonObject;)V params: 1: jsonObject model class: DelegatedModel path: net/minecraft/data/models/model/DelegatedModel method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: parent class: ModelLocationUtils path: net/minecraft/data/models/model/ModelLocationUtils method: decorateBlockModelLocation (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: blockModelLocation method: decorateItemModelLocation (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: itemModelLocation method: getModelLocation (Lnet/minecraft/world/item/Item;)Lnet/minecraft/resources/ResourceLocation; params: 0: item method: getModelLocation (Lnet/minecraft/world/item/Item;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: item, 1: modelLocationSuffix method: getModelLocation (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; params: 0: block method: getModelLocation (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: block, 1: modelLocationSuffix class: ModelTemplate path: net/minecraft/data/models/model/ModelTemplate method: <init> (Ljava/util/Optional;Ljava/util/Optional;[Lnet/minecraft/data/models/model/TextureSlot;)V params: 1: model, 2: suffix, 3: requiredSlots method: create (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelLocation, 2: textureMapping, 3: modelOutput method: create (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: textureMapping, 3: modelOutput method: createMap (Lnet/minecraft/data/models/model/TextureMapping;)Ljava/util/Map; params: 1: textureMapping method: createWithOverride (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Lnet/minecraft/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: modelLocationSuffix, 3: textureMapping, 4: modelOutput method: createWithSuffix (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Lnet/minecraft/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: modelLocationSuffix, 3: textureMapping, 4: modelOutput class: ModelTemplates path: net/minecraft/data/models/model/ModelTemplates method: create (Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/data/models/model/ModelTemplate; params: 0: blockModelLocation, 1: suffix, 2: requiredSlots method: create (Ljava/lang/String;[Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/data/models/model/ModelTemplate; params: 0: blockModelLocation, 1: requiredSlots method: create ([Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/data/models/model/ModelTemplate; params: 0: requiredSlots method: createItem (Ljava/lang/String;[Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/data/models/model/ModelTemplate; params: 0: itemModelLocation, 1: requiredSlots class: TextureMapping path: net/minecraft/data/models/model/TextureMapping method: attachedStem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: unattachedStemBlock, 1: attachedStemBlock method: campfire (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: campfireBlock method: column (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: sideTextureLocation, 1: endTextureLocation method: column (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: columnBlock method: columnWithWall (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: columnBlock method: commandBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: commandBlock method: copyAndUpdate (Lnet/minecraft/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 1: textureSlot, 2: textureLocation method: copyForced (Lnet/minecraft/data/models/model/TextureSlot;Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/data/models/model/TextureMapping; params: 1: sourceSlot, 2: targetSlot method: craftingTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: craftingTableBlock, 1: craftingTableMaterialBlock method: crop (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: cropTextureLocation method: cross (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: crossTextureLocation method: cross (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: cube (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: allTextureLocation method: cube (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: cubeBottomTop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: cubeBottomTopWithWall (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: cubeTop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: defaultTexture (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: textureLocation method: defaultTexture (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: door (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: doorBlock method: fan (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: fanBlock method: fire0 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: fireBlock method: fire1 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: fireBlock method: fletchingTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: fletchingTableBlock, 1: fletchingTableMaterialBlock method: get (Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/resources/ResourceLocation; params: 1: textureSlot method: getBlockTexture (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; params: 0: block method: getBlockTexture (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: block, 1: textureSuffix method: getItemTexture (Lnet/minecraft/world/item/Item;)Lnet/minecraft/resources/ResourceLocation; params: 0: item method: getItemTexture (Lnet/minecraft/world/item/Item;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: item, 1: textureSuffix method: lantern (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: lanternBlock method: layer0 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: layerZeroTextureLocation method: layer0 (Lnet/minecraft/world/item/Item;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: layerZeroItem method: layer0 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: layerZeroBlock method: logColumn (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: logBlock method: orientableCube (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: orientableCubeOnlyTop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: orientableCubeSameEnds (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: pane (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: glassBlock, 1: paneBlock method: particle (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: textureLocation method: particle (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: particleBlock method: particleFromItem (Lnet/minecraft/world/item/Item;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: particleItem method: pattern (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: patternBlock method: plant (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: plantTextureLocation method: plant (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: plantBlock method: put (Lnet/minecraft/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 1: textureSlot, 2: textureLocation method: rail (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: railTextureLocation method: rail (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: railBlock method: singleSlot (Lnet/minecraft/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: textureSlot, 1: textureLocation method: stem (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: stemBlock method: top (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: block method: torch (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: torchTextureLocation method: torch (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: torchBlock method: wool (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; params: 0: woolBlock class: TextureSlot path: net/minecraft/data/models/model/TextureSlot method: <init> (Ljava/lang/String;Lnet/minecraft/data/models/model/TextureSlot;)V params: 1: id, 2: parent method: create (Ljava/lang/String;)Lnet/minecraft/data/models/model/TextureSlot; params: 0: id method: create (Ljava/lang/String;Lnet/minecraft/data/models/model/TextureSlot;)Lnet/minecraft/data/models/model/TextureSlot; params: 0: id, 1: parent class: TexturedModel path: net/minecraft/data/models/model/TexturedModel method: <init> (Lnet/minecraft/data/models/model/TextureMapping;Lnet/minecraft/data/models/model/ModelTemplate;)V params: 1: mapping, 2: template method: create (Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: modelOutput method: createAllSame (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TexturedModel; params: 0: allTextureLocation method: createDefault (Ljava/util/function/Function;Lnet/minecraft/data/models/model/ModelTemplate;)Lnet/minecraft/data/models/model/TexturedModel$Provider; params: 0: blockToTextureMapping, 1: modelTemplate method: createWithSuffix (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: modelLocationSuffix, 3: modelOutput method: updateTextures (Ljava/util/function/Consumer;)Lnet/minecraft/data/models/model/TexturedModel; params: 1: textureMappingConsumer class: TexturedModel$Provider path: net/minecraft/data/models/model/TexturedModel$Provider method: create (Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: modelOutput method: createWithSuffix (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; params: 1: modelBlock, 2: modelLocationSuffix, 3: modelOutput method: get (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TexturedModel; params: 1: block method: updateTexture (Ljava/util/function/Consumer;)Lnet/minecraft/data/models/model/TexturedModel$Provider; params: 1: textureMappingConsumer class: BlockModelGenerators path: net/minecraft/data/models/BlockModelGenerators method: <init> (Ljava/util/function/Consumer;Ljava/util/function/BiConsumer;Ljava/util/function/Consumer;)V params: 1: blockStateOutput, 2: modelOutput, 3: skippedAutoModelsOutput method: applyRotation (Lnet/minecraft/core/FrontAndTop;Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; params: 1: frontAndTop, 2: variant method: blockEntityModels (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockEntityModelGenerator; params: 1: entityBlockModelLocation, 2: particleBlock method: blockEntityModels (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockEntityModelGenerator; params: 1: entityBlockBaseModel, 2: particleBlock method: configureDoorHalf (Lnet/minecraft/data/models/blockstates/PropertyDispatch$C4;Lnet/minecraft/world/level/block/state/properties/DoubleBlockHalf;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/PropertyDispatch$C4; params: 0: doorProperties, 1: doorHalf, 2: doorModelLocation, 3: doorRightHingeModelLocation method: copyModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: sourceBlock, 2: targetBlock method: createActiveRail (Lnet/minecraft/world/level/block/Block;)V params: 1: railBlock method: createAirLikeBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V params: 1: airLikeBlock, 2: particleTexture method: createAirLikeBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)V params: 1: airLikeBlock, 2: particleItem method: createAnvil (Lnet/minecraft/world/level/block/Block;)V params: 1: anvilBlock method: createAxisAlignedPillarBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;)V params: 1: axisAlignedPillarBlock, 2: provider method: createAxisAlignedPillarBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: axisAlignedPillarBlock, 1: modelLocation method: createAxisAlignedPillarBlockCustomModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V params: 1: axisAlignedPillarBlock, 2: modelLocation method: createBambooModels (I)Ljava/util/List; params: 1: age method: createBedItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: bedBlock, 2: woolBlock method: createBeeNest (Lnet/minecraft/world/level/block/Block;Ljava/util/function/Function;)V params: 1: beeNestBlock, 2: textureMappingGetter method: createBooleanModelDispatch (Lnet/minecraft/world/level/block/state/properties/BooleanProperty;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/PropertyDispatch; params: 0: property, 1: trueModelLocation, 2: falseModelLocation method: createButton (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: buttonBlock, 1: unpoweredModelLocation, 2: poweredModelLocation method: createCampfires ([Lnet/minecraft/world/level/block/Block;)V params: 1: campfireBlocks method: createColoredBlockWithRandomRotations (Lnet/minecraft/data/models/model/TexturedModel$Provider;[Lnet/minecraft/world/level/block/Block;)V params: 1: modelProvider, 2: coloredBlocks method: createColoredBlockWithStateRotations (Lnet/minecraft/data/models/model/TexturedModel$Provider;[Lnet/minecraft/world/level/block/Block;)V params: 1: modelProvider, 2: coloredBlocks method: createCommandBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: commandBlock method: createCoral (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: coralBlock, 2: deadCoralBlock, 3: coralFullBlock, 4: deadCoralFullBlock, 5: coralFanBlock, 6: deadCoralFanBlock, 7: coralWallFanBlock, 8: deadCoralWallFanBlock method: createCoralFans (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: coralFanBlock, 2: coralWallFanBlock method: createCraftingTableLike (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiFunction;)V params: 1: craftingTableBlock, 2: craftingTableMaterialBlock, 3: textureMappingGetter method: createCropBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/properties/Property;[I)V params: 1: cropBlock, 2: ageProperty, 3: ageToVisualStageMapping method: createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V params: 1: crossBlock, 2: tintState method: createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;Lnet/minecraft/data/models/model/TextureMapping;)V params: 1: crossBlock, 2: tintState, 3: textureMapping method: createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V params: 1: crossBlock, 2: tintState method: createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;Lnet/minecraft/data/models/model/TextureMapping;)V params: 1: crossBlock, 2: tintState, 3: textureMapping method: createDispenserBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: dispenserBlock method: createDoor (Lnet/minecraft/world/level/block/Block;)V params: 1: doorBlock method: createDoor (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: doorBlock, 1: bottomHalfModelLocation, 2: bottomHalfRightHingeModelLocation, 3: topHalfModelLocation, 4: topHalfRightHingeModelLocation method: createDoubleBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)V params: 1: doubleBlock, 2: topHalfModelLocation, 3: bottomHalfModelLocation method: createDoublePlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V params: 1: doublePlantBlock, 2: tintState method: createEmptyOrFullDispatch (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/PropertyDispatch; params: 0: property, 1: minimumValueForFullVariant, 2: fullVariantModelLocation, 3: emptyVariantModelLocation method: createFence (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: fenceBlock, 1: fencePostModelLocation, 2: fenceSideModelLocation method: createFenceGate (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: fenceGateBlock, 1: openModelLocation, 2: closedModelLocation, 3: wallOpenModelLocation, 4: wallClosedModelLocation method: createFloorFireModels (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; params: 1: fireBlock method: createFurnace (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;)V params: 1: furnaceBlock, 2: modelProvider method: createGlassBlocks (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: glassBlock, 2: paneBlock method: createGrassLikeBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/blockstates/Variant;)V params: 1: grassLikeBlock, 2: modelLocation, 3: variant method: createGrowingPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V params: 1: growingPlantBlock, 2: plantBlock, 3: tintState method: createHorizontallyRotatedBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;)V params: 1: horizontallyRotatedBlock, 2: provider method: createLantern (Lnet/minecraft/world/level/block/Block;)V params: 1: lanternBlock method: createMushroomBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: mushroomBlock method: createNetherRoots (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: plantBlock, 2: pottedPlantBlock method: createNonTemplateHorizontalBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: horizontalBlock method: createNonTemplateModelBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: createNonTemplateModelBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: block, 2: modelBlock method: createNormalTorch (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: torchBlock, 2: wallTorchBlock method: createNyliumBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: nyliumBlock method: createOrientableTrapdoor (Lnet/minecraft/world/level/block/Block;)V params: 1: orientableTrapdoorBlock method: createOrientableTrapdoor (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: orientableTrapdoorBlock, 1: topModelLocation, 2: bottomModelLocation, 3: openModelLocation method: createPassiveRail (Lnet/minecraft/world/level/block/Block;)V params: 1: railBlock method: createPistonVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/model/TextureMapping;)V params: 1: pistonBlock, 2: baseModelLocation, 3: topTextureMapping method: createPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V params: 1: plantBlock, 2: pottedPlantBlock, 3: tintState method: createPressurePlate (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: pressurePlateBlock, 1: unpoweredModelLocation, 2: poweredModelLocation method: createPumpkinVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;)V params: 1: pumpkinBlock, 2: columnTextureMapping method: createRotatableColumn (Lnet/minecraft/world/level/block/Block;)V params: 1: rotatableColumnBlock method: createRotatedMirroredVariantBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: createRotatedPillarWithHorizontalVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;Lnet/minecraft/data/models/model/TexturedModel$Provider;)V params: 1: rotatedPillarBlock, 2: modelProvider, 3: horizontalModelProvider method: createRotatedPillarWithHorizontalVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: rotatedPillarBlock, 1: modelLocation, 2: horizontalModelLocation method: createRotatedVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 0: block, 1: modelLocation method: createRotatedVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 0: block, 1: normalModelLocation, 2: mirroredModelLocation method: createRotatedVariantBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: createRotatedVariants (Lnet/minecraft/resources/ResourceLocation;)[Lnet/minecraft/data/models/blockstates/Variant; params: 0: modelLocation method: createShulkerBox (Lnet/minecraft/world/level/block/Block;)V params: 1: shulkerBoxBlock method: createSideFireModels (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; params: 1: fireBlock method: createSimpleBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; params: 0: block, 1: modelLocation method: createSimpleFlatItemModel (Lnet/minecraft/world/item/Item;)V params: 1: flatItem method: createSimpleFlatItemModel (Lnet/minecraft/world/level/block/Block;)V params: 1: flatBlock method: createSimpleFlatItemModel (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)V params: 1: flatBlock, 2: layerZeroTextureSuffix method: createSlab (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: slabBlock, 1: bottomHalfModelLocation, 2: topHalfModelLocation, 3: doubleModelLocation method: createStairs (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: stairsBlock, 1: innerModelLocation, 2: straightModelLocation, 3: outerModelLocation method: createStems (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: unattachedStemBlock, 2: attachedStemBlock method: createSuffixedVariant (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Lnet/minecraft/data/models/model/ModelTemplate;Ljava/util/function/Function;)Lnet/minecraft/resources/ResourceLocation; params: 1: block, 2: suffix, 3: modelTemplate, 4: textureMappingGetter method: createTopFireModels (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; params: 1: fireBlock method: createTrapdoor (Lnet/minecraft/world/level/block/Block;)V params: 1: trapdoorBlock method: createTrapdoor (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: trapdoorBlock, 1: topModelLocation, 2: bottomModelLocation, 3: openModelLocation method: createTrivialBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;Lnet/minecraft/data/models/model/ModelTemplate;)V params: 1: block, 2: textureMapping, 3: modelTemplate method: createTrivialBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;)V params: 1: block, 2: provider method: createTrivialCube (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: createTurtleEggModel (ILjava/lang/String;Lnet/minecraft/data/models/model/TextureMapping;)Lnet/minecraft/resources/ResourceLocation; params: 1: hatchAmount, 2: variantName, 3: textureMapping method: createTurtleEggModel (Ljava/lang/Integer;Ljava/lang/Integer;)Lnet/minecraft/resources/ResourceLocation; params: 1: eggAmount, 2: variantId method: createWall (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; params: 0: wallBlock, 1: postModelLocation, 2: lowSideModelLocation, 3: tallSideModelLocation method: createWeightedPressurePlate (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: pressurePlateBlock, 2: plateMaterialBlock method: delegateItemModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;)V params: 1: item, 2: delegateModelLocation method: delegateItemModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V params: 1: block, 2: delegateModelLocation method: family (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: block method: skipAutoItemBlock (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: woodProvider (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$WoodProvider; params: 1: logBlock method: wrapModels (Ljava/util/List;Ljava/util/function/UnaryOperator;)Ljava/util/List; params: 0: modelLocations, 1: variantMapper class: BlockModelGenerators$BlockEntityModelGenerator path: net/minecraft/data/models/BlockModelGenerators$BlockEntityModelGenerator method: <init> (Lnet/minecraft/data/models/BlockModelGenerators;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/Block;)V params: 2: baseModel, 3: particleBlock method: create ([Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockEntityModelGenerator; params: 1: blocks method: createWithCustomBlockItemModel (Lnet/minecraft/data/models/model/ModelTemplate;[Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockEntityModelGenerator; params: 1: modelTemplate, 2: blocks method: createWithoutBlockItem ([Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockEntityModelGenerator; params: 1: blocks class: BlockModelGenerators$BlockFamilyProvider path: net/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider method: <init> (Lnet/minecraft/data/models/BlockModelGenerators;Lnet/minecraft/data/models/model/TextureMapping;)V params: 2: mapping method: button (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: buttonBlock method: fence (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: fenceBlock method: fenceGate (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: fenceGateBlock method: fullBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/ModelTemplate;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: block, 2: modelTemplate method: pressurePlate (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: pressurePlateBlock method: slab (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: slabBlock method: stairs (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: stairsBlock method: wall (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; params: 1: wallBlock class: BlockModelGenerators$WoodProvider path: net/minecraft/data/models/BlockModelGenerators$WoodProvider method: <init> (Lnet/minecraft/data/models/BlockModelGenerators;Lnet/minecraft/data/models/model/TextureMapping;)V params: 2: logMapping method: log (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$WoodProvider; params: 1: logBlock method: logWithHorizontal (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$WoodProvider; params: 1: logBlock method: wood (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$WoodProvider; params: 1: woodBlock class: ItemModelGenerators path: net/minecraft/data/models/ItemModelGenerators method: <init> (Ljava/util/function/BiConsumer;)V params: 1: output method: generateFlatItem (Lnet/minecraft/world/item/Item;Ljava/lang/String;Lnet/minecraft/data/models/model/ModelTemplate;)V params: 1: item, 2: modelLocationSuffix, 3: modelTemplate method: generateFlatItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/data/models/model/ModelTemplate;)V params: 1: item, 2: modelTemplate method: generateFlatItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;Lnet/minecraft/data/models/model/ModelTemplate;)V params: 1: item, 2: layerZeroItem, 3: modelTemplate class: ModelProvider path: net/minecraft/data/models/ModelProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: createBlockStatePath (Ljava/nio/file/Path;Lnet/minecraft/world/level/block/Block;)Ljava/nio/file/Path; params: 0: rootPath, 1: block method: createModelPath (Ljava/nio/file/Path;Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 0: rootPath, 1: modelLocation method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
method: saveCollection (Lnet/minecraft/data/HashCache;Ljava/nio/file/Path;Ljava/util/Map;Ljava/util/function/BiFunction;)V params: 1: cache, 2: rootPath, 3: objectToJsonMap, 4: resolveObjectPath recipes class: FinishedRecipe path: net/minecraft/data/recipes/FinishedRecipe method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipe ()Lcom/google/gson/JsonObject; Gets the JSON for the recipe.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json class: RecipeProvider path: net/minecraft/data/recipes/RecipeProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: banner (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: banner, 2: material method: bedFromPlanksAndWool (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: bed, 2: wool method: bedFromWhiteBedAndDye (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: dyedBed, 2: dye method: coloredCarpetFromWhiteCarpetAndDye (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: dyedCarpet, 2: dye method: coloredTerracottaFromTerracottaAndDye (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: coloredTerracotta, 2: dye method: coloredWoolFromWhiteWoolAndDye (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: dyedWool, 2: dye method: concretePowder (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: dyedConcretePowder, 2: dye method: cookRecipes (Ljava/util/function/Consumer;Ljava/lang/String;Lnet/minecraft/world/item/crafting/SimpleCookingSerializer;I)V params: 0: finishedRecipeConsumer, 1: cookingMethod, 2: cookingSerializer, 3: cookingTime method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: has (Lnet/minecraft/tags/Tag;)Lnet/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance; params: 0: tag Creates a new {@link InventoryChangeTrigger} that checks for a player having an item within the given tag.
method: has (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance; params: 0: itemLike Creates a new {@link InventoryChangeTrigger} that checks for a player having a certain item.
method: insideOf (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/advancements/critereon/EnterBlockTrigger$TriggerInstance; params: 0: block Creates a new {@link EnterBlockTrigger} for use with recipe unlock criteria.
method: inventoryTrigger ([Lnet/minecraft/advancements/critereon/ItemPredicate;)Lnet/minecraft/advancements/critereon/InventoryChangeTrigger$TriggerInstance; params: 0: predicate Creates a new {@link InventoryChangeTrigger} that checks for a player having a certain item.
method: netheriteSmithing (Ljava/util/function/Consumer;Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;)V params: 0: finishedRecipeConsumer, 1: ingredientItem, 2: resultItem method: planksFromLog (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/tags/Tag;)V params: 0: finishedRecipeConsumer, 1: planks, 2: log method: planksFromLogs (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/tags/Tag;)V params: 0: finishedRecipeConsumer, 1: planks, 2: logs method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
method: saveAdvancement (Lnet/minecraft/data/HashCache;Lcom/google/gson/JsonObject;Ljava/nio/file/Path;)V params: 0: cache, 1: advancementJson, 2: path Saves an advancement to a file.
method: saveRecipe (Lnet/minecraft/data/HashCache;Lcom/google/gson/JsonObject;Ljava/nio/file/Path;)V params: 0: cache, 1: recipeJson, 2: path Saves a recipe to a file.
method: stainedGlassFromGlassAndDye (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: stainedGlass, 2: dye method: stainedGlassPaneFromGlassPaneAndDye (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: stainedGlassPane, 2: dye method: stainedGlassPaneFromStainedGlass (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: stainedGlassPane, 2: stainedGlass method: woodFromLogs (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: wood, 2: log method: woodenBoat (Ljava/util/function/Consumer;Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/level/ItemLike;)V params: 0: finishedRecipeConsumer, 1: boat, 2: material class: ShapedRecipeBuilder path: net/minecraft/data/recipes/ShapedRecipeBuilder method: <init> (Lnet/minecraft/world/level/ItemLike;I)V params: 1: result, 2: count method: define (Ljava/lang/Character;Lnet/minecraft/tags/Tag;)Lnet/minecraft/data/recipes/ShapedRecipeBuilder; params: 1: symbol, 2: tag Adds a key to the recipe pattern.
method: define (Ljava/lang/Character;Lnet/minecraft/world/item/crafting/Ingredient;)Lnet/minecraft/data/recipes/ShapedRecipeBuilder; params: 1: symbol, 2: ingredient Adds a key to the recipe pattern.
method: define (Ljava/lang/Character;Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/data/recipes/ShapedRecipeBuilder; params: 1: symbol, 2: item Adds a key to the recipe pattern.
method: ensureValid (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id Makes sure that this recipe is valid and obtainable.
method: pattern (Ljava/lang/String;)Lnet/minecraft/data/recipes/ShapedRecipeBuilder; params: 1: pattern Adds a new entry to the patterns for this recipe.
method: shaped (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/data/recipes/ShapedRecipeBuilder; params: 0: result Creates a new builder for a shaped recipe.
method: shaped (Lnet/minecraft/world/level/ItemLike;I)Lnet/minecraft/data/recipes/ShapedRecipeBuilder; params: 0: result, 1: count Creates a new builder for a shaped recipe.
class: ShapedRecipeBuilder$Result path: net/minecraft/data/recipes/ShapedRecipeBuilder$Result method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json class: ShapelessRecipeBuilder path: net/minecraft/data/recipes/ShapelessRecipeBuilder method: <init> (Lnet/minecraft/world/level/ItemLike;I)V params: 1: result, 2: count method: ensureValid (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id Makes sure that this recipe is valid and obtainable.
method: requires (Lnet/minecraft/tags/Tag;)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 1: tag Adds an ingredient that can be any item in the given tag.
method: requires (Lnet/minecraft/world/item/crafting/Ingredient;)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 1: ingredient Adds an ingredient.
method: requires (Lnet/minecraft/world/item/crafting/Ingredient;I)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 1: ingredient, 2: quantity Adds an ingredient multiple times.
method: requires (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 1: item Adds an ingredient of the given item.
method: requires (Lnet/minecraft/world/level/ItemLike;I)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 1: item, 2: quantity Adds the given ingredient multiple times.
method: shapeless (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 0: result Creates a new builder for a shapeless recipe.
method: shapeless (Lnet/minecraft/world/level/ItemLike;I)Lnet/minecraft/data/recipes/ShapelessRecipeBuilder; params: 0: result, 1: count Creates a new builder for a shapeless recipe.
class: ShapelessRecipeBuilder$Result path: net/minecraft/data/recipes/ShapelessRecipeBuilder$Result method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/Item;ILjava/lang/String;Ljava/util/List;Lnet/minecraft/advancements/Advancement$Builder;Lnet/minecraft/resources/ResourceLocation;)V params: 1: id, 2: result, 3: count, 4: group, 5: ingredients, 6: advancement, 7: advancementId method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json class: SimpleCookingRecipeBuilder path: net/minecraft/data/recipes/SimpleCookingRecipeBuilder method: <init> (Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/world/item/crafting/Ingredient;FILnet/minecraft/world/item/crafting/SimpleCookingSerializer;)V params: 1: result, 2: ingredient, 3: experience, 4: cookingTime, 5: serializer method: blasting (Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/level/ItemLike;FI)Lnet/minecraft/data/recipes/SimpleCookingRecipeBuilder; params: 0: ingredient, 1: result, 2: experience, 3: cookingTime method: cooking (Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/level/ItemLike;FILnet/minecraft/world/item/crafting/SimpleCookingSerializer;)Lnet/minecraft/data/recipes/SimpleCookingRecipeBuilder; params: 0: ingredient, 1: result, 2: experience, 3: cookingTime, 4: serializer method: ensureValid (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id Makes sure that this obtainable.
method: smelting (Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/level/ItemLike;FI)Lnet/minecraft/data/recipes/SimpleCookingRecipeBuilder; params: 0: ingredient, 1: result, 2: experience, 3: cookingTime class: SimpleCookingRecipeBuilder$Result path: net/minecraft/data/recipes/SimpleCookingRecipeBuilder$Result method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/Item;FILnet/minecraft/advancements/Advancement$Builder;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/crafting/RecipeSerializer;)V params: 1: id, 2: group, 3: ingredient, 4: result, 5: experience, 6: cookingTime, 7: advancement, 8: advancementId, 9: serializer method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json class: SingleItemRecipeBuilder path: net/minecraft/data/recipes/SingleItemRecipeBuilder method: <init> (Lnet/minecraft/world/item/crafting/RecipeSerializer;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/level/ItemLike;I)V params: 1: type, 2: ingredient, 3: result, 4: count method: ensureValid (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id method: stonecutting (Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/data/recipes/SingleItemRecipeBuilder; params: 0: ingredient, 1: result method: stonecutting (Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/level/ItemLike;I)Lnet/minecraft/data/recipes/SingleItemRecipeBuilder; params: 0: ingredient, 1: result, 2: count class: SingleItemRecipeBuilder$Result path: net/minecraft/data/recipes/SingleItemRecipeBuilder$Result method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/crafting/RecipeSerializer;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/Item;ILnet/minecraft/advancements/Advancement$Builder;Lnet/minecraft/resources/ResourceLocation;)V params: 1: id, 2: type, 3: group, 4: ingredient, 5: result, 6: count, 7: advancement, 8: advancementId method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json class: SpecialRecipeBuilder path: net/minecraft/data/recipes/SpecialRecipeBuilder method: <init> (Lnet/minecraft/world/item/crafting/SimpleRecipeSerializer;)V params: 1: serializer method: save (Ljava/util/function/Consumer;Ljava/lang/String;)V params: 1: finishedRecipeConsumer, 2: id Builds this recipe into an {@link IFinishedRecipe}.
method: special (Lnet/minecraft/world/item/crafting/SimpleRecipeSerializer;)Lnet/minecraft/data/recipes/SpecialRecipeBuilder; params: 0: serializer class: SpecialRecipeBuilder$1 path: net/minecraft/data/recipes/SpecialRecipeBuilder$1 method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json class: UpgradeRecipeBuilder path: net/minecraft/data/recipes/UpgradeRecipeBuilder method: <init> (Lnet/minecraft/world/item/crafting/RecipeSerializer;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/Item;)V params: 1: type, 2: base, 3: addition, 4: result method: ensureValid (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id method: save (Ljava/util/function/Consumer;Ljava/lang/String;)V params: 1: finishedRecipeConsumer, 2: id method: save (Ljava/util/function/Consumer;Lnet/minecraft/resources/ResourceLocation;)V params: 1: finishedRecipeConsumer, 2: id method: smithing (Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/Item;)Lnet/minecraft/data/recipes/UpgradeRecipeBuilder; params: 0: base, 1: addition, 2: result method: unlocks (Ljava/lang/String;Lnet/minecraft/advancements/CriterionTriggerInstance;)Lnet/minecraft/data/recipes/UpgradeRecipeBuilder; params: 1: name, 2: criterion class: UpgradeRecipeBuilder$Result path: net/minecraft/data/recipes/UpgradeRecipeBuilder$Result method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/crafting/RecipeSerializer;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/Item;Lnet/minecraft/advancements/Advancement$Builder;Lnet/minecraft/resources/ResourceLocation;)V params: 1: id, 2: type, 3: base, 4: addition, 5: result, 6: advancement, 7: advancementId method: getAdvancementId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the advancement associated with this recipe. Should not be null if {@link #getAdvancementJson} is non-null.
method: getId ()Lnet/minecraft/resources/ResourceLocation; Gets the ID for the recipe.
method: serializeAdvancement ()Lcom/google/gson/JsonObject; Gets the JSON for the advancement that unlocks this recipe. Null if there is no advancement.
method: serializeRecipeData (Lcom/google/gson/JsonObject;)V params: 1: json structures class: NbtToSnbt path: net/minecraft/data/structures/NbtToSnbt method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: convertStructure (Ljava/nio/file/Path;Ljava/lang/String;Ljava/nio/file/Path;)Ljava/nio/file/Path; params: 0: snbtPath, 1: name, 2: nbtPath method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: getName (Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String; params: 1: inputFolder, 2: file Gets the name of the given NBT file, based on its path and the input directory. The result does not have the ".nbt" extension.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
class: SnbtToNbt path: net/minecraft/data/structures/SnbtToNbt method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: addFilter (Lnet/minecraft/data/structures/SnbtToNbt$Filter;)Lnet/minecraft/data/structures/SnbtToNbt; params: 1: filter method: applyFilters (Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: fileName, 2: tag method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: getName (Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String; params: 1: inputFolder, 2: file Gets the name of the given SNBT file, based on its path and the input directory. The result does not have the ".snbt" extension.
method: readStructure (Ljava/nio/file/Path;Ljava/lang/String;)Lnet/minecraft/data/structures/SnbtToNbt$TaskResult; params: 1: filePath, 2: fileName method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
method: storeStructureIfChanged (Lnet/minecraft/data/HashCache;Lnet/minecraft/data/structures/SnbtToNbt$TaskResult;Ljava/nio/file/Path;)V params: 1: cache, 2: taskResult, 3: directoryPath class: SnbtToNbt$Filter path: net/minecraft/data/structures/SnbtToNbt$Filter method: apply (Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: structureLocationPath, 2: tag class: SnbtToNbt$TaskResult path: net/minecraft/data/structures/SnbtToNbt$TaskResult method: <init> (Ljava/lang/String;[BLjava/lang/String;Ljava/lang/String;)V params: 1: name, 2: payload, 3: snbtPayload, 4: hash class: StructureUpdater path: net/minecraft/data/structures/StructureUpdater method: apply (Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: structureLocationPath, 2: tag method: patchVersion (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 0: tag method: updateStructure (Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 0: structureLocationPath, 1: tag tags class: BlockTagsProvider path: net/minecraft/data/tags/BlockTagsProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: getPath (Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 1: id Resolves a Path for the location to save the given tag.
class: EntityTypeTagsProvider path: net/minecraft/data/tags/EntityTypeTagsProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: getPath (Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 1: id Resolves a Path for the location to save the given tag.
class: FluidTagsProvider path: net/minecraft/data/tags/FluidTagsProvider method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: getPath (Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 1: id Resolves a Path for the location to save the given tag.
class: ItemTagsProvider path: net/minecraft/data/tags/ItemTagsProvider field: blockTags Ljava/util/function/Function; A function that resolves block tag builders.
method: <init> (Lnet/minecraft/data/DataGenerator;Lnet/minecraft/data/tags/BlockTagsProvider;)V params: 1: generator, 2: blockTagsProvider method: copy (Lnet/minecraft/tags/Tag$Named;Lnet/minecraft/tags/Tag$Named;)V params: 1: blockTag, 2: itemTag Copies the entries from a block tag into an item tag.
method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: getPath (Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 1: id Resolves a Path for the location to save the given tag.
class: TagsProvider path: net/minecraft/data/tags/TagsProvider method: <init> (Lnet/minecraft/data/DataGenerator;Lnet/minecraft/core/Registry;)V params: 1: generator, 2: registry method: getOrCreateRawBuilder (Lnet/minecraft/tags/Tag$Named;)Lnet/minecraft/tags/Tag$Builder; params: 1: tag method: getPath (Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 1: id Resolves a Path for the location to save the given tag.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
method: tag (Lnet/minecraft/tags/Tag$Named;)Lnet/minecraft/data/tags/TagsProvider$TagAppender; params: 1: tag class: TagsProvider$TagAppender path: net/minecraft/data/tags/TagsProvider$TagAppender method: <init> (Lnet/minecraft/tags/Tag$Builder;Lnet/minecraft/core/Registry;Ljava/lang/String;)V params: 1: builder, 2: registry, 3: source method: add (Ljava/lang/Object;)Lnet/minecraft/data/tags/TagsProvider$TagAppender; params: 1: item method: add ([Ljava/lang/Object;)Lnet/minecraft/data/tags/TagsProvider$TagAppender; params: 1: toAdd method: addTag (Lnet/minecraft/tags/Tag$Named;)Lnet/minecraft/data/tags/TagsProvider$TagAppender; params: 1: tag worldgen biome class: BiomeReport path: net/minecraft/data/worldgen/biome/BiomeReport method: <init> (Lnet/minecraft/data/DataGenerator;)V params: 1: generator method: createPath (Ljava/nio/file/Path;Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; params: 0: path, 1: biomeLocation method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
class: Biomes path: net/minecraft/data/worldgen/biome/Biomes method: byId (I)Lnet/minecraft/resources/ResourceKey; params: 0: id method: register (ILnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/level/biome/Biome;)Lnet/minecraft/world/level/biome/Biome; params: 0: id, 1: key, 2: biome class: VanillaBiomes path: net/minecraft/data/worldgen/biome/VanillaBiomes method: badlandsBiome (FFZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isHighland method: bambooJungleBiome (FFII)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: parrotWeight, 3: parrotMaxCount method: baseBadlandsBiome (Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder;FFZZ)Lnet/minecraft/world/level/biome/Biome; params: 0: surfaceBuilder, 1: depth, 2: scale, 3: isHighland, 4: hasOakTrees method: baseEndBiome (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)Lnet/minecraft/world/level/biome/Biome; params: 0: generationSettingsBuilder method: baseForestBiome (FFZLnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isFlowerForestVariant, 3: mobSpawnBuilder method: baseJungleBiome (FFFZZZLnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: downfall, 3: hasOnlyBambooVegetation, 4: isEdgeBiome, 5: isModified, 6: mobSpawnBuilder method: baseOceanBiome (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;IIZLnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)Lnet/minecraft/world/level/biome/Biome; params: 0: mobSpawnBuilder, 1: waterColor, 2: waterFogColor, 3: isDeepVariant, 4: generationSettingsBuilder method: baseOceanGeneration (Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder;ZZZ)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 0: surfaceBuilder, 1: hasOceanMonument, 2: isWarmOcean, 3: isDeepVariant method: baseSavannaBiome (FFFZZLnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: temperature, 3: isHighland, 4: isShatteredSavanna, 5: mobSpawnBuilder method: beachBiome (FFFFIZZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: temperature, 3: downfall, 4: waterColor, 5: isColdBiome, 6: isStoneVariant method: birchForestBiome (FFZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isTallVariant method: calculateSkyColor (F)I params: 0: temperature method: coldOceanBiome (Z)Lnet/minecraft/world/level/biome/Biome; params: 0: isDeepVariant method: darkForestBiome (FFZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isHillsVariant method: desertBiome (FFZZZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: hasVillageAndOutpost, 3: hasDesertPyramid, 4: hasFossils method: forestBiome (FF)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale method: frozenOceanBiome (Z)Lnet/minecraft/world/level/biome/Biome; params: 0: isDeepVariant method: giantTreeTaiga (FFFZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: temperature, 3: isSpruceVariant method: jungleBiome (FFIII)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: parrotWeight, 3: parrotMaxCount, 4: ocelotMaxCount method: lukeWarmOceanBiome (Z)Lnet/minecraft/world/level/biome/Biome; params: 0: isDeepVariant method: mountainBiome (FFLnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder;Z)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: surfaceBuilder, 3: isEdgeBiome method: mushroomFieldsBiome (FF)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale method: oceanBiome (Z)Lnet/minecraft/world/level/biome/Biome; params: 0: isDeepVariant method: plainsBiome (Z)Lnet/minecraft/world/level/biome/Biome; params: 0: isSunflowerVariant method: riverBiome (FFFIZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: temperature, 3: waterColor, 4: isSnowy method: savannaBiome (FFFZZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: temperature, 3: isHighland, 4: isShatteredSavanna method: swampBiome (FFZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isHillsVariant method: taigaBiome (FFZZZZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isSnowyVariant, 3: isMountainVariant, 4: hasVillageAndOutpost, 5: hasIgloos method: tundraBiome (FFZZ)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale, 2: isIceSpikesBiome, 3: isMountainVariant method: woodedBadlandsPlateauBiome (FF)Lnet/minecraft/world/level/biome/Biome; params: 0: depth, 1: scale class: BiomeDefaultFeatures path: net/minecraft/data/worldgen/BiomeDefaultFeatures method: addAncientDebris (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBadlandExtraVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBadlandGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBadlandsTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBambooVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBerryBushes (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBirchTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addBlueIce (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addColdOceanExtraVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultCarvers (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultExtraVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultFlowers (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultLakes (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultMonsterRoom (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultMushrooms (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultOres (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultOverworldLandMesaStructures (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultOverworldLandStructures (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultOverworldOceanStructures (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultSeagrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultSoftDisks (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultSprings (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDefaultUndergroundVariety (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDesertExtraDecoration (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDesertExtraVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDesertLakes (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addDesertVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addExtraEmeralds (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addExtraGold (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addFerns (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addForestFlowers (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addForestGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addFossilDecoration (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addGiantTaigaVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addIcebergs (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addInfestedStone (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addJungleEdgeTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addJungleExtraVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addJungleGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addJungleTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addLightBambooVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addLukeWarmKelp (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addMossyStoneBlock (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addMountainEdgeTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addMountainTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addMushroomFieldVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addNetherDefaultOres (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addOceanCarvers (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addOtherBirchTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addPlainGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addPlainVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSavannaExtraGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSavannaGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSavannaTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addShatteredSavannaGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addShatteredSavannaTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSnowyTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSparseBerryBushes (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSurfaceFreezing (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSwampClayDisk (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSwampExtraVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addSwampVegetation (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addTaigaGrass (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addTaigaTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addTallBirchTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addWarmFlowers (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: addWaterTrees (Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder;)V params: 0: builder method: baseJungleSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: commonSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: desertSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: endSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: farmAnimals (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: monsters (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;III)V params: 0: builder, 1: zombieWeight, 2: zombieVillagerWeight, 3: skeletonWeight method: mooshroomSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: oceanSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;III)V params: 0: builder, 1: squidWeight, 2: squidMaxCount, 3: codWeight method: plainsSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: snowySpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;)V params: 0: builder method: warmOceanSpawns (Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder;II)V params: 0: builder, 1: squidWeight, 2: squidMinCount class: Carvers path: net/minecraft/data/worldgen/Carvers method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver;)Lnet/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver; params: 0: id, 1: carver class: Features path: net/minecraft/data/worldgen/Features method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 0: id, 1: configuredFeature class: Pools path: net/minecraft/data/worldgen/Pools method: register (Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool;)Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool; params: 0: pool class: ProcessorLists path: net/minecraft/data/worldgen/ProcessorLists method: register (Ljava/lang/String;Lcom/google/common/collect/ImmutableList;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessorList; params: 0: id, 1: processors class: StructureFeatures path: net/minecraft/data/worldgen/StructureFeatures method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature; params: 0: id, 1: configuredStructureFeature class: SurfaceBuilders path: net/minecraft/data/worldgen/SurfaceBuilders method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder;)Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder; params: 0: id, 1: configuredSurfaceBuilder class: BuiltinRegistries path: net/minecraft/data/BuiltinRegistries method: bootstrap ()V Dummy method to ensure all static variables are loaded before Registry loads registries.
method: internalRegister (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/WritableRegistry;Ljava/util/function/Supplier;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/core/WritableRegistry; params: 0: registryKey, 1: registry, 2: defaultSupplier, 3: lifecycle Registers the passed registry
method: register (Lnet/minecraft/core/Registry;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; params: 0: registry, 1: id, 2: value Creates a new simple registry and registers it
method: register (Lnet/minecraft/core/Registry;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Object;)Ljava/lang/Object; params: 0: registry, 1: id, 2: value Registers the given value to the registry
method: registerMapping (Lnet/minecraft/core/Registry;ILnet/minecraft/resources/ResourceKey;Ljava/lang/Object;)Ljava/lang/Object; params: 0: registry, 1: index, 2: registryKey, 3: value Registers the given value to the registry
method: registerSimple (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;Ljava/util/function/Supplier;)Lnet/minecraft/core/Registry; params: 0: registryKey, 1: lifecycle, 2: defaultSupplier Creates a new simple registry and registers it
method: registerSimple (Lnet/minecraft/resources/ResourceKey;Ljava/util/function/Supplier;)Lnet/minecraft/core/Registry; params: 0: registryKey, 1: defaultSupplier class: DataGenerator path: net/minecraft/data/DataGenerator method: <init> (Ljava/nio/file/Path;Ljava/util/Collection;)V params: 1: outputFolder, 2: inputFolders method: addProvider (Lnet/minecraft/data/DataProvider;)V params: 1: provider Adds a data provider to the list of providers to run
method: getInputFolders ()Ljava/util/Collection; Gets a collection of folders to look for data to convert in
method: getOutputFolder ()Ljava/nio/file/Path; Gets the location to put generated data into
method: run ()V Runs all the previously registered data providors.
class: DataProvider path: net/minecraft/data/DataProvider method: getName ()Ljava/lang/String; Gets a name for this provider, to use in logging.
method: run (Lnet/minecraft/data/HashCache;)V params: 1: cache Performs this provider's action.
method: save (Lcom/google/gson/Gson;Lnet/minecraft/data/HashCache;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)V params: 0: gson, 1: cache, 2: jsonElement, 3: path class: HashCache path: net/minecraft/data/HashCache method: <init> (Ljava/nio/file/Path;Ljava/lang/String;)V params: 1: path, 2: cacheFileName method: getHash (Ljava/nio/file/Path;)Ljava/lang/String; params: 1: filePath Gets the previous hash of a file, so that it doesn't need to be written to disk. Only meaningful before {@link recordHash} has been called.
@return The hash that was recorded when {@link recordHash} was called on the previous run, or <code>null</code> if the file does not exist, or an empty string if the file exists but was not recorded. Note that the hash is <em>not</em> based on the current bytes on disk.
method: had (Ljava/nio/file/Path;)Z params: 1: filePath method: keep (Ljava/nio/file/Path;)V params: 1: filePath method: purgeStaleAndWrite ()V Writes the cache file containing the hashes of newly created files to the disk, and deletes any stale files.
method: putNew (Ljava/nio/file/Path;Ljava/lang/String;)V params: 1: filePath, 2: hash Inform the cache that a file has been written to {@code fileIn} with contents hashing to {@code hash}.
method: walkOutputFiles ()Ljava/util/stream/Stream; Gets all files in the directory, other than the cache file itself.
class: Main path: net/minecraft/data/Main method: createStandardGenerator (Ljava/nio/file/Path;Ljava/util/Collection;ZZZZZ)Lnet/minecraft/data/DataGenerator; params: 0: output, 1: inputs, 2: client, 3: server, 4: dev, 5: reports, 6: validate Creates a data generator based on the given options
method: main ([Ljava/lang/String;)V params: 0: args gametest framework class: GameTestAssertException path: net/minecraft/gametest/framework/GameTestAssertException method: <init> (Ljava/lang/String;)V params: 1: exceptionMessage class: GameTestBatch path: net/minecraft/gametest/framework/GameTestBatch method: runBeforeBatchFunction (Lnet/minecraft/server/level/ServerLevel;)V params: 1: serverLevel class: GameTestBatchRunner path: net/minecraft/gametest/framework/GameTestBatchRunner method: <init> (Ljava/util/Collection;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/gametest/framework/GameTestTicker;I)V params: 1: testBatches, 2: pos, 3: rotation, 4: serverLevel, 5: testTicker, 6: testsPerRow method: runBatch class: GameTestEvent path: net/minecraft/gametest/framework/GameTestEvent method: <init> (Ljava/lang/Long;Ljava/lang/Runnable;)V params: 1: expectedDelay, 2: assertion class: GameTestHelper path: net/minecraft/gametest/framework/GameTestHelper method: <init> (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo class: GameTestInfo path: net/minecraft/gametest/framework/GameTestInfo method: <init> (Lnet/minecraft/gametest/framework/TestFunction;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/server/level/ServerLevel;)V params: 1: function, 2: rotation, 3: serverLevel method: addListener (Lnet/minecraft/gametest/framework/GameTestListener;)V params: 1: listener method: fail (Ljava/lang/Throwable;)V params: 1: error method: lambda$spawnStructure$4 (Lnet/minecraft/gametest/framework/GameTestListener;)V params: 1: listener method: setStructureBlockPos (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: spawnStructure (Lnet/minecraft/core/BlockPos;I)V params: 1: pos class: GameTestListener path: net/minecraft/gametest/framework/GameTestListener method: testFailed (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo method: testStructureLoaded (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo class: GameTestRegistry path: net/minecraft/gametest/framework/GameTestRegistry method: findTestFunction (Ljava/lang/String;)Ljava/util/Optional; params: 0: testName method: getBeforeBatchFunction (Ljava/lang/String;)Ljava/util/function/Consumer; params: 0: functionName method: getTestFunction (Ljava/lang/String;)Lnet/minecraft/gametest/framework/TestFunction; params: 0: testName method: getTestFunctionsForClassName (Ljava/lang/String;)Ljava/util/Collection; params: 0: className method: isTestClass (Ljava/lang/String;)Z params: 0: className method: isTestFunctionPartOfClass (Lnet/minecraft/gametest/framework/TestFunction;Ljava/lang/String;)Z params: 0: testFunction, 1: className method: lambda$findTestFunction$1 (Ljava/lang/String;Lnet/minecraft/gametest/framework/TestFunction;)Z params: 1: testFunction method: lambda$getTestFunctionsForClassName$0 (Ljava/lang/String;Lnet/minecraft/gametest/framework/TestFunction;)Z params: 1: testFunction method: rememberFailedTest (Lnet/minecraft/gametest/framework/TestFunction;)V params: 0: testFunction class: GameTestRunner path: net/minecraft/gametest/framework/GameTestRunner method: clearAllTests (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/gametest/framework/GameTestTicker;I)V params: 0: serverLevel, 1: pos, 2: testTicker, 3: radius method: clearMarkers (Lnet/minecraft/server/level/ServerLevel;)V params: 0: serverLevel method: groupTestsIntoBatches (Ljava/util/Collection;)Ljava/util/Collection; params: 0: testFunctions method: runTest (Lnet/minecraft/gametest/framework/GameTestInfo;Lnet/minecraft/core/BlockPos;Lnet/minecraft/gametest/framework/GameTestTicker;)V params: 0: testInfo, 1: pos, 2: testTicker method: runTestBatches (Ljava/util/Collection;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/gametest/framework/GameTestTicker;I)Ljava/util/Collection; params: 0: testBatches, 1: pos, 2: rotation, 3: serverLevel, 4: testTicker, 5: testsPerRow method: runTests (Ljava/util/Collection;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/gametest/framework/GameTestTicker;I)Ljava/util/Collection; params: 0: testFunctions, 1: pos, 2: rotation, 3: serverLevel, 4: testTicker, 5: testsPerRow class: GameTestSequence path: net/minecraft/gametest/framework/GameTestSequence method: tick method: tickAndContinue method: tickAndFailIfNotComplete class: GameTestTicker path: net/minecraft/gametest/framework/GameTestTicker method: add (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo class: GameTestTimeoutException path: net/minecraft/gametest/framework/GameTestTimeoutException method: <init> (Ljava/lang/String;)V params: 1: exceptionMessage class: MultipleTestTracker path: net/minecraft/gametest/framework/MultipleTestTracker method: <init> (Ljava/util/Collection;)V params: 1: testInfos method: addListener (Lnet/minecraft/gametest/framework/GameTestListener;)V params: 1: testListener method: addTestToTrack (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo method: lambda$addListener$0 (Lnet/minecraft/gametest/framework/GameTestListener;Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo method: lambda$getProgressBar$1 (Ljava/lang/StringBuffer;Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo class: StructureUtils path: net/minecraft/gametest/framework/StructureUtils method: addCommandBlockAndButtonToStartTest (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/server/level/ServerLevel;)V params: 2: rotation, 3: serverLevel method: clearBlock (ILnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;)V params: 1: pos, 2: serverLevel method: clearSpaceForStructure (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;ILnet/minecraft/server/level/ServerLevel;)V params: 0: boundingBox, 2: serverLevel method: createStructureBlock (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/server/level/ServerLevel;Z)Lnet/minecraft/world/level/block/entity/StructureBlockEntity; params: 0: structureName, 1: pos, 2: rotation, 3: serverLevel method: doesStructureContain (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;)Z params: 0: structureBlockPos, 1: posToTest, 2: serverLevel method: findNearestStructureBlock (Lnet/minecraft/core/BlockPos;ILnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/core/BlockPos; params: 0: pos, 2: serverLevel method: findStructureBlockContainingPos (Lnet/minecraft/core/BlockPos;ILnet/minecraft/server/level/ServerLevel;)Ljava/util/Optional; params: 0: pos, 2: serverLevel method: findStructureBlocks (Lnet/minecraft/core/BlockPos;ILnet/minecraft/server/level/ServerLevel;)Ljava/util/Collection; params: 0: pos, 2: serverLevel method: forceLoadChunks (Lnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;)V params: 0: pos, 1: serverLevel method: getRotationForRotationSteps (I)Lnet/minecraft/world/level/block/Rotation; params: 0: rotationSteps method: getStructureBoundingBox (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 0: structureBlockEntity method: getStructureBounds (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)Lnet/minecraft/world/phys/AABB; params: 0: structureBlockEntity method: getStructureTemplate (Ljava/lang/String;Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate; params: 0: structureName, 1: serverLevel method: spawnStructure (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;ILnet/minecraft/server/level/ServerLevel;Z)Lnet/minecraft/world/level/block/entity/StructureBlockEntity; params: 0: structureName, 1: pos, 2: rotation, 4: serverLevel method: tryLoadStructure (Ljava/nio/file/Path;)Lnet/minecraft/nbt/CompoundTag; params: 0: pathToStructure class: TestClassNameArgument path: net/minecraft/gametest/framework/TestClassNameArgument method: getTestClassName (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String; params: 0: context, 1: argument method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder class: TestCommand path: net/minecraft/gametest/framework/TestCommand method: clearAllTests (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: radius method: createNewStructure (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;III)I params: 0: source, 1: structureName, 2: x, 3: y, 4: z method: exportNearestTestStructure (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: exportTestStructure (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 0: source, 1: structurePath method: importTestStructure (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 0: source, 1: structurePath method: lambda$runAllNearbyTests$24 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/gametest/framework/MultipleTestTracker;Lnet/minecraft/core/BlockPos;)V params: 2: pos method: lambda$runTests$25 (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 0: testInfo method: lambda$say$26 (Lnet/minecraft/server/level/ServerPlayer;)Z params: 0: player method: lambda$say$27 (Lnet/minecraft/ChatFormatting;Ljava/lang/String;Lnet/minecraft/server/level/ServerPlayer;)V params: 2: player method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: runAllNearbyTests (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: runAllTests (Lnet/minecraft/commands/CommandSourceStack;II)I params: 0: source, 1: rotationSteps, 2: testsPerRow method: runAllTestsInClass (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;II)I params: 0: source, 1: testClassName, 2: rotationSteps, 3: testsPerRow method: runLastFailedTests (Lnet/minecraft/commands/CommandSourceStack;ZII)I params: 0: source, 1: runOnlyRequired, 2: rotationSteps, 3: testsPerRow method: runNearbyTest (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: runTest (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/gametest/framework/TestFunction;I)I params: 0: source, 1: function, 2: rotationSteps method: runTest (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/gametest/framework/MultipleTestTracker;)V params: 0: serverLevel, 1: pos, 2: tracker method: runTestPreparation (Lnet/minecraft/gametest/framework/TestFunction;Lnet/minecraft/server/level/ServerLevel;)V params: 0: function, 1: serverLevel method: runTests (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;II)V params: 0: source, 2: rotationSteps, 3: testsPerRow method: say (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)V params: 0: source, 1: message method: say (Lnet/minecraft/server/level/ServerLevel;Ljava/lang/String;Lnet/minecraft/ChatFormatting;)V params: 0: serverLevel, 1: message, 2: formatting method: showPos (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 0: source method: showTestSummaryIfAllDone (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/gametest/framework/MultipleTestTracker;)V params: 0: serverLevel, 1: tracker class: TestCommand$TestSummaryDisplayer path: net/minecraft/gametest/framework/TestCommand$TestSummaryDisplayer method: <init> (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/gametest/framework/MultipleTestTracker;)V params: 1: serverLevel, 2: tracker method: testFailed (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo method: testStructureLoaded (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo class: TestFunction path: net/minecraft/gametest/framework/TestFunction method: <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V params: 1: batchName, 2: testName, 3: structureName, 4: maxTicks, 5: setupTicks, 7: required, 8: function method: run (Lnet/minecraft/gametest/framework/GameTestHelper;)V params: 1: gameTestHelper class: TestFunctionArgument path: net/minecraft/gametest/framework/TestFunctionArgument method: getTestFunction (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/gametest/framework/TestFunction; params: 0: context, 1: argument method: listSuggestions (Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 1: context, 2: builder class: TestReporter path: net/minecraft/gametest/framework/TestReporter method: onTestFailed (Lnet/minecraft/gametest/framework/GameTestInfo;)V params: 1: testInfo locale class: Language path: net/minecraft/locale/Language field: UNSUPPORTED_FORMAT_PATTERN Ljava/util/regex/Pattern; Pattern that matches numeric variable placeholders in a resource string, such as "%d", "%3$d", "%.2f"
method: getInstance ()Lnet/minecraft/locale/Language; Return the StringTranslate singleton instance
nbt class: ByteArrayTag path: net/minecraft/nbt/ByteArrayTag method: <init> (Ljava/util/List;)V params: 1: dataList method: <init> method: addTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: copy ()Lnet/minecraft/nbt/Tag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: setTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: toArray (Ljava/util/List;)[B params: 0: dataList method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: ByteArrayTag$1 path: net/minecraft/nbt/ByteArrayTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/ByteArrayTag; params: 1: input, 2: depth, 3: accounter class: ByteTag path: net/minecraft/nbt/ByteTag method: <init> method: copy ()Lnet/minecraft/nbt/ByteTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: valueOf (B)Lnet/minecraft/nbt/ByteTag; params: 0: data method: valueOf (Z)Lnet/minecraft/nbt/ByteTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: ByteTag$1 path: net/minecraft/nbt/ByteTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/ByteTag; params: 1: input, 2: depth, 3: accounter class: CollectionTag path: net/minecraft/nbt/CollectionTag method: addTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: tag method: setTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: tag class: CompoundTag path: net/minecraft/nbt/CompoundTag method: <init> (Ljava/util/Map;)V params: 1: tags method: contains (Ljava/lang/String;)Z params: 1: key Returns whether the given string has been previously stored as a key in the map.
method: contains (Ljava/lang/String;I)Z params: 1: key, 2: tagType Returns whether the tag of the specified {@code key} is a particular {@code tagType}. If the {@code tagType} is {@code 99}, all numeric tags will be checked against the type of the stored tag.
method: copy ()Lnet/minecraft/nbt/CompoundTag; Creates a clone of the tag.
method: createReport (Ljava/lang/String;Lnet/minecraft/nbt/TagType;Ljava/lang/ClassCastException;)Lnet/minecraft/CrashReport; params: 1: tagName, 2: type, 3: exception method: equals (Ljava/lang/Object;)Z params: 1: other method: get (Ljava/lang/String;)Lnet/minecraft/nbt/Tag; params: 1: key gets a generic tag with the specified name
method: getAllKeys ()Ljava/util/Set; Gets a set with the names of the keys in the tag compound.
method: getBoolean (Ljava/lang/String;)Z params: 1: key Retrieves a boolean value using the specified key, or false if no such key was stored. This uses the getByte method.
method: getByte (Ljava/lang/String;)B params: 1: key Retrieves a byte value using the specified key, or 0 if no such key was stored.
method: getByteArray (Ljava/lang/String;)[B params: 1: key Retrieves a byte array using the specified key, or a zero-length array if no such key was stored.
method: getCompound (Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag; params: 1: key Retrieves a NBTTagCompound subtag matching the specified key, or a new empty NBTTagCompound if no such key was stored.
method: getDouble (Ljava/lang/String;)D params: 1: key Retrieves a double value using the specified key, or 0 if no such key was stored.
method: getFloat (Ljava/lang/String;)F params: 1: key Retrieves a float value using the specified key, or 0 if no such key was stored.
method: getId ()B Gets the type byte for the tag.
method: getInt (Ljava/lang/String;)I params: 1: key Retrieves an integer value using the specified key, or 0 if no such key was stored.
method: getIntArray (Ljava/lang/String;)[I params: 1: key Retrieves an int array using the specified key, or a zero-length array if no such key was stored.
method: getList (Ljava/lang/String;I)Lnet/minecraft/nbt/ListTag; params: 1: key, 2: tagType Gets the NBTTagList object with the given name.
method: getLong (Ljava/lang/String;)J params: 1: key Retrieves a long value using the specified key, or 0 if no such key was stored.
method: getLongArray (Ljava/lang/String;)[J params: 1: key method: getShort (Ljava/lang/String;)S params: 1: key Retrieves a short value using the specified key, or 0 if no such key was stored.
method: getString (Ljava/lang/String;)Ljava/lang/String; params: 1: key Retrieves a string value using the specified key, or an empty string if no such key was stored.
method: getTagType (Ljava/lang/String;)B params: 1: key Gets the byte identifier of the tag of the specified {@code key}, or {@code 0} if no tag exists for the {@code key}.
method: getUUID (Ljava/lang/String;)Ljava/util/UUID; params: 1: key method: hasUUID (Ljava/lang/String;)Z params: 1: key method: lambda$static$0 (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/DataResult; params: 0: dynamic method: lambda$static$1 (Lnet/minecraft/nbt/CompoundTag;)Lcom/mojang/serialization/Dynamic; params: 0: compoundTag method: merge (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: other Copies all the tags of {@code other} into this tag, then returns itself.
@see #copy()
method: put (Ljava/lang/String;Lnet/minecraft/nbt/Tag;)Lnet/minecraft/nbt/Tag; params: 1: key, 2: value method: putBoolean (Ljava/lang/String;Z)V params: 1: key, 2: value Stores the given boolean value as a NBTTagByte, storing 1 for true and 0 for false, using the given string key.
method: putByte (Ljava/lang/String;B)V params: 1: key, 2: value Stores a new NBTTagByte with the given byte value into the map with the given string key.
method: putByteArray (Ljava/lang/String;[B)V params: 1: key, 2: value Stores a new NBTTagByteArray with the given array as data into the map with the given string key.
method: putDouble (Ljava/lang/String;D)V params: 1: key, 2: value Stores a new NBTTagDouble with the given double value into the map with the given string key.
method: putFloat (Ljava/lang/String;F)V params: 1: key, 2: value Stores a new NBTTagFloat with the given float value into the map with the given string key.
method: putInt (Ljava/lang/String;I)V params: 1: key, 2: value Stores a new NBTTagInt with the given integer value into the map with the given string key.
method: putIntArray (Ljava/lang/String;Ljava/util/List;)V params: 1: key, 2: value method: putIntArray (Ljava/lang/String;[I)V params: 1: key, 2: value Stores a new NBTTagIntArray with the given array as data into the map with the given string key.
method: putLong (Ljava/lang/String;J)V params: 1: key, 2: value Stores a new NBTTagLong with the given long value into the map with the given string key.
method: putLongArray (Ljava/lang/String;Ljava/util/List;)V params: 1: key, 2: value method: putLongArray (Ljava/lang/String;[J)V params: 1: key, 2: value method: putShort (Ljava/lang/String;S)V params: 1: key, 2: value Stores a new NBTTagShort with the given short value into the map with the given string key.
method: putString (Ljava/lang/String;Ljava/lang/String;)V params: 1: key, 2: value Stores a new NBTTagString with the given string value into the map with the given string key.
method: putUUID (Ljava/lang/String;Ljava/util/UUID;)V params: 1: key, 2: value method: readNamedTagData (Lnet/minecraft/nbt/TagType;Ljava/lang/String;Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/Tag; params: 0: type, 1: name, 2: input, 3: depth, 4: accounter method: readNamedTagName (Ljava/io/DataInput;Lnet/minecraft/nbt/NbtAccounter;)Ljava/lang/String; params: 0: input, 1: accounter method: readNamedTagType (Ljava/io/DataInput;Lnet/minecraft/nbt/NbtAccounter;)B params: 0: input, 1: accounter method: remove (Ljava/lang/String;)V params: 1: key Remove the specified tag.
method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
method: writeNamedTag (Ljava/lang/String;Lnet/minecraft/nbt/Tag;Ljava/io/DataOutput;)V params: 0: name, 1: tag, 2: output class: CompoundTag$1 path: net/minecraft/nbt/CompoundTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/CompoundTag; params: 1: input, 2: depth, 3: accounter class: DoubleTag path: net/minecraft/nbt/DoubleTag method: <init> method: copy ()Lnet/minecraft/nbt/DoubleTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: valueOf (D)Lnet/minecraft/nbt/DoubleTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: DoubleTag$1 path: net/minecraft/nbt/DoubleTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/DoubleTag; params: 1: input, 2: depth, 3: accounter class: EndTag path: net/minecraft/nbt/EndTag method: copy ()Lnet/minecraft/nbt/EndTag; Creates a clone of the tag.
method: getId ()B Gets the type byte for the tag.
method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: EndTag$1 path: net/minecraft/nbt/EndTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/EndTag; params: 1: input, 2: depth, 3: accounter class: FloatTag path: net/minecraft/nbt/FloatTag method: <init> method: copy ()Lnet/minecraft/nbt/FloatTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: valueOf (F)Lnet/minecraft/nbt/FloatTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: FloatTag$1 path: net/minecraft/nbt/FloatTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/FloatTag; params: 1: input, 2: depth, 3: accounter class: IntArrayTag path: net/minecraft/nbt/IntArrayTag method: <init> (Ljava/util/List;)V params: 1: dataList method: <init> method: addTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: copy ()Lnet/minecraft/nbt/IntArrayTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: setTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: toArray (Ljava/util/List;)[I params: 0: dataList method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: IntArrayTag$1 path: net/minecraft/nbt/IntArrayTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/IntArrayTag; params: 1: input, 2: depth, 3: accounter class: IntTag path: net/minecraft/nbt/IntTag method: <init> method: copy ()Lnet/minecraft/nbt/IntTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: valueOf (I)Lnet/minecraft/nbt/IntTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: IntTag$1 path: net/minecraft/nbt/IntTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/IntTag; params: 1: input, 2: depth, 3: accounter class: ListTag path: net/minecraft/nbt/ListTag method: <init> (Ljava/util/List;B)V params: 1: list, 2: type method: addTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: copy ()Lnet/minecraft/nbt/ListTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getCompound (I)Lnet/minecraft/nbt/CompoundTag; params: 1: index Retrieves the NBTTagCompound at the specified index in the list
method: getDouble method: getFloat method: getId ()B Gets the type byte for the tag.
method: getInt method: getIntArray method: getList (I)Lnet/minecraft/nbt/ListTag; params: 1: index method: getShort method: getString (I)Ljava/lang/String; params: 1: index Retrieves the tag String value at the specified index in the list
method: setTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: updateType (Lnet/minecraft/nbt/Tag;)Z params: 1: tag method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: ListTag$1 path: net/minecraft/nbt/ListTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/ListTag; params: 1: input, 2: depth, 3: accounter class: LongArrayTag path: net/minecraft/nbt/LongArrayTag method: <init> (Lit/unimi/dsi/fastutil/longs/LongSet;)V params: 1: dataSet method: <init> (Ljava/util/List;)V params: 1: dataList method: <init> method: addTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: copy ()Lnet/minecraft/nbt/LongArrayTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: setTag (ILnet/minecraft/nbt/Tag;)Z params: 1: index, 2: nbt method: toArray (Ljava/util/List;)[J params: 0: dataList method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: LongArrayTag$1 path: net/minecraft/nbt/LongArrayTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/LongArrayTag; params: 1: input, 2: depth, 3: accounter class: LongTag path: net/minecraft/nbt/LongTag method: <init> method: copy ()Lnet/minecraft/nbt/LongTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: valueOf (J)Lnet/minecraft/nbt/LongTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: LongTag$1 path: net/minecraft/nbt/LongTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/LongTag; params: 1: input, 2: depth, 3: accounter class: NbtAccounter path: net/minecraft/nbt/NbtAccounter method: <init> method: accountBits (J)V params: 1: bits Adds the bits to the current number of read bytes. If the number of bytes is greater than the stored quota, an exception will occur.
@throws RuntimeException if the number of {@code usage} bytes exceed the number of {@code quota} bytes
class: NbtAccounter$1 path: net/minecraft/nbt/NbtAccounter$1 method: accountBits (J)V params: 1: bits Tracks the reading of the given amount of bits(!)
class: NbtIo path: net/minecraft/nbt/NbtIo method: read (Ljava/io/DataInput;)Lnet/minecraft/nbt/CompoundTag; params: 0: input Reads a compound tag from a file. The size of the file can be infinite.
method: read (Ljava/io/DataInput;Lnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/CompoundTag; params: 0: input, 1: accounter Reads a compound tag from a file. The size of the file is limited by the {@code accounter}.
@throws RuntimeException if the size of the file is larger than the maximum amount of bytes specified by the {@code accounter}
method: read (Ljava/io/File;)Lnet/minecraft/nbt/CompoundTag; params: 0: file method: readCompressed (Ljava/io/File;)Lnet/minecraft/nbt/CompoundTag; params: 0: file method: readCompressed (Ljava/io/InputStream;)Lnet/minecraft/nbt/CompoundTag; params: 0: zippedStream Reads a compressed compound tag from a GNU zipped file.
@see #readCompressed(File)
method: readUnnamedTag (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/Tag; params: 0: input, 1: depth, 2: accounter method: write (Lnet/minecraft/nbt/CompoundTag;Ljava/io/DataOutput;)V params: 0: compoundTag, 1: output method: write (Lnet/minecraft/nbt/CompoundTag;Ljava/io/File;)V params: 0: compoundTag, 1: file method: writeCompressed (Lnet/minecraft/nbt/CompoundTag;Ljava/io/File;)V params: 0: compoundTag, 1: file method: writeCompressed (Lnet/minecraft/nbt/CompoundTag;Ljava/io/OutputStream;)V params: 0: compoundTag, 1: outputStream Writes and compresses a compound tag to a GNU zipped file.
@see #writeCompressed(CompoundTag, File)
method: writeUnnamedTag (Lnet/minecraft/nbt/Tag;Ljava/io/DataOutput;)V params: 0: tag, 1: output class: NbtOps path: net/minecraft/nbt/NbtOps method: createGenericList (BB)Lnet/minecraft/nbt/CollectionTag; params: 0: collectionElementId, 1: newElementId method: fillMany (Lnet/minecraft/nbt/CollectionTag;Lnet/minecraft/nbt/Tag;Ljava/util/List;)V params: 0: collectionTag, 1: mergingCollectionTag, 2: elementTags method: fillOne (Lnet/minecraft/nbt/CollectionTag;Lnet/minecraft/nbt/Tag;Lnet/minecraft/nbt/Tag;)V params: 0: collectionTag, 1: mergingCollectionTag, 2: elementTag method: lambda$createList$11 (Lnet/minecraft/nbt/Tag;)Ljava/lang/Byte; params: 0: byteTag method: lambda$createList$12 (Lnet/minecraft/nbt/Tag;)Ljava/lang/Integer; params: 0: intTag method: lambda$createList$13 (Lnet/minecraft/nbt/Tag;)Ljava/lang/Long; params: 0: longTag method: lambda$createMap$9 (Lnet/minecraft/nbt/CompoundTag;Lcom/mojang/datafixers/util/Pair;)V params: 1: entry method: lambda$fillMany$1 (Lnet/minecraft/nbt/CollectionTag;Lnet/minecraft/nbt/Tag;)V params: 1: tag method: lambda$fillMany$2 (Lnet/minecraft/nbt/CollectionTag;Lnet/minecraft/nbt/Tag;)V params: 1: tag method: lambda$fillOne$0 (Lnet/minecraft/nbt/CollectionTag;Lnet/minecraft/nbt/Tag;)V params: 1: tag method: lambda$getMapEntries$8 (Lnet/minecraft/nbt/CompoundTag;Ljava/util/function/BiConsumer;)V params: 2: entryValueConsumer method: lambda$getMapValues$6 (Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair; params: 2: key method: lambda$getStream$10 (Lnet/minecraft/nbt/Tag;)Lnet/minecraft/nbt/Tag; params: 0: tag method: lambda$mergeToMap$3 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)V params: 2: compoundTagKey method: lambda$mergeToMap$4 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)V params: 2: compoundTagKey method: lambda$mergeToMap$5 (Ljava/util/List;Lnet/minecraft/nbt/CompoundTag;Lcom/mojang/datafixers/util/Pair;)V params: 2: entry method: lambda$remove$14 (Ljava/lang/String;Ljava/lang/String;)Z params: 1: compoundTagKey method: lambda$remove$15 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)V params: 2: compoundTagKey method: typesMatch (BBB)Z params: 0: collectionElementId, 1: newElementId, 2: newCollectionElementId Returns {@code true} if {@code collectionElementId} if it is the same type as the {@code newCollectionElementId} and the {@code newElementId} being added is either the same type as those entries in the collection or is an {@link EndTag}.
class: NbtOps$1 path: net/minecraft/nbt/NbtOps$1 method: lambda$entries$0 (Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;)Lcom/mojang/datafixers/util/Pair; params: 2: key class: NbtUtils path: net/minecraft/nbt/NbtUtils method: compareNbt (Lnet/minecraft/nbt/Tag;Lnet/minecraft/nbt/Tag;Z)Z params: 0: tag, 1: other, 2: compareListTag method: createUUID (Ljava/util/UUID;)Lnet/minecraft/nbt/IntArrayTag; params: 0: uuid method: getName (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Ljava/lang/String; params: 0: property, 1: value method: loadUUID (Lnet/minecraft/nbt/Tag;)Ljava/util/UUID; params: 0: tag Reads a UUID from the passed NBTTagCompound.
method: readBlockPos (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/core/BlockPos; params: 0: tag Creates a BlockPos object from the data stored in the passed NBTTagCompound.
method: readBlockState (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: tag Reads a blockstate from the given tag.
method: readGameProfile (Lnet/minecraft/nbt/CompoundTag;)Lcom/mojang/authlib/GameProfile; params: 0: tag Reads and returns a GameProfile that has been saved to the passed in NBTTagCompound
method: setValueHelper (Lnet/minecraft/world/level/block/state/StateHolder;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/block/state/StateHolder; params: 0: stateHolder, 1: property, 2: propertyName, 3: propertiesTag, 4: blockStateTag method: update (Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/util/datafix/DataFixTypes;Lnet/minecraft/nbt/CompoundTag;I)Lnet/minecraft/nbt/CompoundTag; params: 0: dataFixer, 1: type, 2: compoundTag, 3: version method: update (Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/util/datafix/DataFixTypes;Lnet/minecraft/nbt/CompoundTag;II)Lnet/minecraft/nbt/CompoundTag; params: 0: dataFixer, 1: type, 2: compoundTag, 3: version, 4: newVersion method: writeBlockPos (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 0: pos Creates a new NBTTagCompound from a BlockPos.
method: writeBlockState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/nbt/CompoundTag; params: 0: state Writes the given blockstate to the given tag.
method: writeGameProfile (Lnet/minecraft/nbt/CompoundTag;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/nbt/CompoundTag; params: 0: tag, 1: profile Writes a {@code profile} to the given {@code tag}.
class: ShortTag path: net/minecraft/nbt/ShortTag method: <init> method: copy ()Lnet/minecraft/nbt/ShortTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: valueOf (S)Lnet/minecraft/nbt/ShortTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: ShortTag$1 path: net/minecraft/nbt/ShortTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/ShortTag; params: 1: input, 2: depth, 3: accounter class: StringTag path: net/minecraft/nbt/StringTag method: <init> (Ljava/lang/String;)V params: 1: data method: copy ()Lnet/minecraft/nbt/StringTag; Creates a clone of the tag.
method: equals (Ljava/lang/Object;)Z params: 1: other method: getId ()B Gets the type byte for the tag.
method: quoteAndEscape (Ljava/lang/String;)Ljava/lang/String; params: 0: text method: valueOf (Ljava/lang/String;)Lnet/minecraft/nbt/StringTag; params: 0: data method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: StringTag$1 path: net/minecraft/nbt/StringTag$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/StringTag; params: 1: input, 2: depth, 3: accounter class: Tag path: net/minecraft/nbt/Tag method: copy ()Lnet/minecraft/nbt/Tag; Creates a deep copy of the value held by this tag. Primitive and string tage will return the same tag instance while all other objects will return a new tag instance with the copied data.
method: getId ()B Gets the type byte for the tag.
method: write (Ljava/io/DataOutput;)V params: 1: output Write the actual data contents of the tag, implemented in NBT extension classes
class: TagParser path: net/minecraft/nbt/TagParser method: <init> (Lcom/mojang/brigadier/StringReader;)V params: 1: reader method: expect method: lambda$static$0 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: listElementType, 1: elementType method: lambda$static$1 (Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: elementType, 1: arrayType method: lambda$static$2 (Ljava/lang/Object;)Lcom/mojang/brigadier/Message; params: 0: arrayType method: parseTag (Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag; params: 0: text method: readArray (Lnet/minecraft/nbt/TagType;Lnet/minecraft/nbt/TagType;)Ljava/util/List; params: 1: arrayType, 2: elementType method: type (Ljava/lang/String;)Lnet/minecraft/nbt/Tag; params: 1: value class: TagType path: net/minecraft/nbt/TagType method: createInvalid (I)Lnet/minecraft/nbt/TagType; params: 0: id method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/Tag; params: 1: input, 2: depth, 3: accounter class: TagType$1 path: net/minecraft/nbt/TagType$1 method: load (Ljava/io/DataInput;ILnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/EndTag; params: 1: input, 2: depth, 3: accounter class: TagTypes path: net/minecraft/nbt/TagTypes method: getType (I)Lnet/minecraft/nbt/TagType; params: 0: id network chat class: BaseComponent path: net/minecraft/network/chat/BaseComponent field: siblings Ljava/util/List; The later siblings of this component. If this component turns the text bold, that will apply to all the siblings until a later sibling turns the text something else.
method: append (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/MutableComponent; params: 1: sibling Add the given component to this component's siblings.
Note: If this component turns the text bold, that will apply to all the siblings until a later sibling turns the text something else.
method: copy ()Lnet/minecraft/network/chat/MutableComponent; Creates a copy of this component and also copies the style and siblings. Note that the siblings are copied shallowly, meaning the siblings themselves are not copied.
method: getContents ()Ljava/lang/String; Gets the raw content of this component (but not its sibling components), without any formatting codes. For example, this is the raw text in a {@link TextComponentString}, but it's the translated text for a {@link TextComponentTranslation} and it's the score value for a {@link TextComponentScore}.
method: getSiblings ()Ljava/util/List; Gets the sibling components of this one.
method: getStyle ()Lnet/minecraft/network/chat/Style; Gets the style of this component. Returns a direct reference" changes to this style will modify the style of this component (IE, there is no need to call {@link #setStyle(Style)} again after modifying it).
If this component's style is currently <code>null</code>, it will be initialized to the default style, and the parent style of all sibling components will be set to that style. (IE, changes to this style will also be reflected in sibling components.)
This method never returns <code>null</code>.
method: plainCopy ()Lnet/minecraft/network/chat/BaseComponent; Creates a copy of this component, losing any style or siblings.
method: setStyle (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/MutableComponent; params: 1: style Sets the style for this component and returns the component itself.
class: ChatType path: net/minecraft/network/chat/ChatType method: <init> (Ljava/lang/String;IBZ)V params: 3: index, 4: interrupt method: getForIndex (B)Lnet/minecraft/network/chat/ChatType; params: 0: id class: ClickEvent path: net/minecraft/network/chat/ClickEvent method: <init> (Lnet/minecraft/network/chat/ClickEvent$Action;Ljava/lang/String;)V params: 1: action, 2: value method: getAction ()Lnet/minecraft/network/chat/ClickEvent$Action; Gets the action to perform when this event is raised.
method: getValue ()Ljava/lang/String; Gets the value to perform the action on when this event is raised. For example, if the action is "open URL", this would be the URL to open.
class: ClickEvent$Action path: net/minecraft/network/chat/ClickEvent$Action field: name Ljava/lang/String; The canonical name used to refer to this action.
method: getByName (Ljava/lang/String;)Lnet/minecraft/network/chat/ClickEvent$Action; params: 0: canonicalName Gets a value by its canonical name.
method: getName ()Ljava/lang/String; Gets the canonical name for this action (e.g., "run_command")
method: isAllowedFromServer ()Z Indicates whether this event can be run from chat text.
class: CommonComponents path: net/minecraft/network/chat/CommonComponents method: optionStatus (Lnet/minecraft/network/chat/Component;Z)Lnet/minecraft/network/chat/MutableComponent; params: 0: message, 1: composed method: optionStatus (Z)Lnet/minecraft/network/chat/Component; params: 0: isEnabled class: Component path: net/minecraft/network/chat/Component method: copy ()Lnet/minecraft/network/chat/MutableComponent; Creates a copy of this component and also copies the style and siblings. Note that the siblings are copied shallowly, meaning the siblings themselves are not copied.
method: getContents ()Ljava/lang/String; Gets the raw content of this component if possible. For special components (like {@link TranslatableComponent} this usually returns the empty string.
method: getSiblings ()Ljava/util/List; Gets the sibling components of this one.
method: getString ()Ljava/lang/String; Get the plain text of this FormattedText, without any styling or formatting codes.
method: getString (I)Ljava/lang/String; params: 1: maxLength Get the plain text of this FormattedText, without any styling or formatting codes, limited to {@code maxLength} characters.
method: getStyle ()Lnet/minecraft/network/chat/Style; Gets the style of this component.
method: nullToEmpty (Ljava/lang/String;)Lnet/minecraft/network/chat/Component; params: 0: text method: plainCopy ()Lnet/minecraft/network/chat/MutableComponent; Creates a copy of this component, losing any style or siblings.
method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style method: visitSelf (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: consumer method: visitSelf (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: consumer, 2: style class: Component$Serializer path: net/minecraft/network/chat/Component$Serializer method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/network/chat/MutableComponent; params: 0: json method: fromJson (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/network/chat/MutableComponent; params: 0: reader method: fromJson (Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; params: 0: json method: getPos (Lcom/google/gson/stream/JsonReader;)I params: 0: reader method: serializeStyle (Lnet/minecraft/network/chat/Style;Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V params: 1: style, 2: object, 3: ctx method: toJson (Lnet/minecraft/network/chat/Component;)Ljava/lang/String; params: 0: component Serializes a component into JSON.
method: toJsonTree (Lnet/minecraft/network/chat/Component;)Lcom/google/gson/JsonElement; params: 0: component class: ComponentUtils path: net/minecraft/network/chat/ComponentUtils method: formatAndSortList (Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/network/chat/Component; params: 0: elements, 1: componentExtractor method: formatList (Ljava/util/Collection;)Lnet/minecraft/network/chat/Component; params: 0: elements method: fromMessage (Lcom/mojang/brigadier/Message;)Lnet/minecraft/network/chat/Component; params: 0: message method: getDisplayName (Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/network/chat/Component; params: 0: profile method: mergeStyles (Lnet/minecraft/network/chat/MutableComponent;Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/MutableComponent; params: 0: component, 1: style Merge the component's styles with the given Style.
method: resolveStyle (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/network/chat/Style;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/Style; params: 0: commandSourceStack, 1: style, 2: entity, 3: recursionDepth method: updateForEntity (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/MutableComponent; params: 0: commandSourceStack, 1: component, 2: entity, 3: recursionDepth method: wrapInSquareBrackets (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/MutableComponent; params: 0: toWrap Wraps the text with square brackets.
class: ContextAwareComponent path: net/minecraft/network/chat/ContextAwareComponent method: resolve (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/MutableComponent; params: 1: commandSourceStack, 2: entity, 3: recursionDepth class: FormattedText path: net/minecraft/network/chat/FormattedText method: composite (Ljava/util/List;)Lnet/minecraft/network/chat/FormattedText; params: 0: elements method: composite ([Lnet/minecraft/network/chat/FormattedText;)Lnet/minecraft/network/chat/FormattedText; params: 0: elements method: getString ()Ljava/lang/String; Get the plain text of this FormattedText, without any styling or formatting codes.
method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style class: FormattedText$1 path: net/minecraft/network/chat/FormattedText$1 method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style class: FormattedText$2 path: net/minecraft/network/chat/FormattedText$2 method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style class: FormattedText$3 path: net/minecraft/network/chat/FormattedText$3 method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style class: FormattedText$4 path: net/minecraft/network/chat/FormattedText$4 method: visit (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: acceptor method: visit (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: acceptor, 2: style class: FormattedText$ContentConsumer path: net/minecraft/network/chat/FormattedText$ContentConsumer method: accept (Ljava/lang/String;)Ljava/util/Optional; params: 1: content class: FormattedText$StyledContentConsumer path: net/minecraft/network/chat/FormattedText$StyledContentConsumer method: accept (Lnet/minecraft/network/chat/Style;Ljava/lang/String;)Ljava/util/Optional; params: 1: style, 2: content class: HoverEvent path: net/minecraft/network/chat/HoverEvent method: <init> (Lnet/minecraft/network/chat/HoverEvent$Action;Ljava/lang/Object;)V params: 1: action, 2: value method: deserialize (Lcom/google/gson/JsonObject;)Lnet/minecraft/network/chat/HoverEvent; params: 0: json method: getAction ()Lnet/minecraft/network/chat/HoverEvent$Action; Gets the action to perform when this event is raised.
method: getValue (Lnet/minecraft/network/chat/HoverEvent$Action;)Ljava/lang/Object; params: 1: actionType class: HoverEvent$Action path: net/minecraft/network/chat/HoverEvent$Action method: cast (Ljava/lang/Object;)Ljava/lang/Object; params: 1: parameter method: deserialize (Lcom/google/gson/JsonElement;)Lnet/minecraft/network/chat/HoverEvent; params: 1: element method: deserializeFromLegacy (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/HoverEvent; params: 1: component method: getByName (Ljava/lang/String;)Lnet/minecraft/network/chat/HoverEvent$Action; params: 0: canonicalName Gets a value by its canonical name.
method: getName ()Ljava/lang/String; Gets the canonical name for this action (e.g., "show_achievement")
method: isAllowedFromServer ()Z Indicates whether this event can be run from chat text.
method: serializeArg (Ljava/lang/Object;)Lcom/google/gson/JsonElement; params: 1: parameter class: HoverEvent$EntityTooltipInfo path: net/minecraft/network/chat/HoverEvent$EntityTooltipInfo method: <init> (Lnet/minecraft/world/entity/EntityType;Ljava/util/UUID;Lnet/minecraft/network/chat/Component;)V params: 1: type, 2: id, 3: name method: create (Lcom/google/gson/JsonElement;)Lnet/minecraft/network/chat/HoverEvent$EntityTooltipInfo; params: 0: element method: create (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/HoverEvent$EntityTooltipInfo; params: 0: component class: HoverEvent$ItemStackInfo path: net/minecraft/network/chat/HoverEvent$ItemStackInfo method: <init> (Lnet/minecraft/world/item/Item;ILnet/minecraft/nbt/CompoundTag;)V params: 1: item, 2: count, 3: tag method: <init> (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: create (Lcom/google/gson/JsonElement;)Lnet/minecraft/network/chat/HoverEvent$ItemStackInfo; params: 0: element method: create (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/HoverEvent$ItemStackInfo; params: 0: component class: KeybindComponent path: net/minecraft/network/chat/KeybindComponent A Component which displays a KeyBinding's display name.
method: <init> (Ljava/lang/String;)V params: 1: name method: plainCopy ()Lnet/minecraft/network/chat/KeybindComponent; Creates a copy of this component, losing any style or siblings.
method: setKeyResolver (Ljava/util/function/Function;)V params: 0: keyResolver method: visitSelf (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: consumer method: visitSelf (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: consumer, 2: style class: MutableComponent path: net/minecraft/network/chat/MutableComponent A Component which can have its Style and siblings modified.
method: append (Ljava/lang/String;)Lnet/minecraft/network/chat/MutableComponent; params: 1: string Add the given text to this component's siblings.
Note: If this component turns the text bold, that will apply to all the siblings until a later sibling turns the text something else.
method: append (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/MutableComponent; params: 1: sibling Add the given component to this component's siblings.
Note: If this component turns the text bold, that will apply to all the siblings until a later sibling turns the text something else.
method: setStyle (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/MutableComponent; params: 1: style Sets the style for this component and returns the component itself.
method: withStyle (Ljava/util/function/UnaryOperator;)Lnet/minecraft/network/chat/MutableComponent; params: 1: modifyFunc method: withStyle (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; params: 1: format method: withStyle (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/MutableComponent; params: 1: style method: withStyle ([Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/MutableComponent; params: 1: formats class: NbtComponent path: net/minecraft/network/chat/NbtComponent method: getData (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/stream/Stream; params: 1: commandSourceStack method: resolve (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/MutableComponent; params: 1: commandSourceStack, 2: entity, 3: recursionDepth class: NbtComponent$BlockNbtComponent path: net/minecraft/network/chat/NbtComponent$BlockNbtComponent method: compilePos (Ljava/lang/String;)Lnet/minecraft/commands/arguments/coordinates/Coordinates; params: 1: posPattern method: getData (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/stream/Stream; params: 1: commandSourceStack method: plainCopy ()Lnet/minecraft/network/chat/NbtComponent$BlockNbtComponent; Creates a copy of this component, losing any style or siblings.
class: NbtComponent$EntityNbtComponent path: net/minecraft/network/chat/NbtComponent$EntityNbtComponent method: compileSelector (Ljava/lang/String;)Lnet/minecraft/commands/arguments/selector/EntitySelector; params: 0: selectorPattern method: getData (Lnet/minecraft/commands/CommandSourceStack;)Ljava/util/stream/Stream; params: 1: commandSourceStack method: plainCopy ()Lnet/minecraft/network/chat/NbtComponent$EntityNbtComponent; Creates a copy of this component, losing any style or siblings.
class: ScoreComponent path: net/minecraft/network/chat/ScoreComponent A Component that shows the score for an entity which is selected by an {@link EntitySelector}.
method: <init> (Ljava/lang/String;Ljava/lang/String;)V params: 1: entitySelector, 2: objective method: <init> (Ljava/lang/String;Lnet/minecraft/commands/arguments/selector/EntitySelector;Ljava/lang/String;)V params: 1: name, 2: selector, 3: objective method: findTargetName (Lnet/minecraft/commands/CommandSourceStack;)Ljava/lang/String; params: 1: commandSourceStack method: getName ()Ljava/lang/String; Gets the name of the entity who owns this score.
method: getObjective ()Ljava/lang/String; Gets the name of the objective for this score.
method: getScore (Ljava/lang/String;Lnet/minecraft/commands/CommandSourceStack;)Ljava/lang/String; params: 1: username, 2: commandSourceStack method: parseSelector (Ljava/lang/String;)Lnet/minecraft/commands/arguments/selector/EntitySelector; params: 0: entitySelector method: plainCopy ()Lnet/minecraft/network/chat/ScoreComponent; Creates a copy of this component, losing any style or siblings.
method: resolve (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/MutableComponent; params: 1: commandSourceStack, 2: entity, 3: recursionDepth class: SelectorComponent path: net/minecraft/network/chat/SelectorComponent A component which shows the display names of entities selected by an {@link EntitySelector}.
field: pattern Ljava/lang/String; The selector used to find the matching entities of this text component
method: getContents ()Ljava/lang/String; Gets the raw content of this component (but not its sibling components), without any formatting codes. For example, this is the raw text in a {@link TextComponentString}, but it's the translated text for a {@link TextComponentTranslation} and it's the score value for a {@link TextComponentScore}.
method: getPattern ()Ljava/lang/String; Gets the selector of this component, in plain text.
method: plainCopy ()Lnet/minecraft/network/chat/SelectorComponent; Creates a copy of this component, losing any style or siblings.
method: resolve (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/MutableComponent; params: 1: commandSourceStack, 2: entity, 3: recursionDepth class: Style path: net/minecraft/network/chat/Style A Style for {@link Component}.
Stores color, text formatting (bold, etc.) as well as possible HoverEvent/ClickEvent.
method: <init> (Lnet/minecraft/network/chat/TextColor;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lnet/minecraft/network/chat/ClickEvent;Lnet/minecraft/network/chat/HoverEvent;Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)V params: 1: color, 2: bold, 3: italic, 4: underlined, 5: strikethrough, 6: obfuscated, 7: clickEvent, 8: hoverEvent, 9: insertion, 10: font method: applyFormat (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; params: 1: formatting method: applyFormats ([Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; params: 1: formats method: applyLegacyFormat (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; params: 1: formatting method: applyTo (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 1: style Merges the style with another one. If either styles are empty the other will be returned. If a value already exists on the current style it will not be overriden.
method: getClickEvent ()Lnet/minecraft/network/chat/ClickEvent; The effective chat click event.
method: getFont ()Lnet/minecraft/resources/ResourceLocation; The font to use for this Style
method: getHoverEvent ()Lnet/minecraft/network/chat/HoverEvent; The effective chat hover event.
method: getInsertion ()Ljava/lang/String; Get the text to be inserted into Chat when the component is shift-clicked
method: isBold ()Z Whether or not text of this ChatStyle should be in bold.
method: isEmpty ()Z Whether or not this style is empty (inherits everything from the parent).
method: isItalic ()Z Whether or not text of this ChatStyle should be italicized.
method: isObfuscated ()Z Whether or not text of this ChatStyle should be obfuscated.
method: isStrikethrough ()Z Whether or not to format text of this ChatStyle using strikethrough.
method: isUnderlined ()Z Whether or not text of this ChatStyle should be underlined.
method: withBold (Ljava/lang/Boolean;)Lnet/minecraft/network/chat/Style; params: 1: bold method: withClickEvent (Lnet/minecraft/network/chat/ClickEvent;)Lnet/minecraft/network/chat/Style; params: 1: clickEvent method: withColor (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; params: 1: formatting method: withColor (Lnet/minecraft/network/chat/TextColor;)Lnet/minecraft/network/chat/Style; params: 1: color method: withFont (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/network/chat/Style; params: 1: fontId method: withHoverEvent (Lnet/minecraft/network/chat/HoverEvent;)Lnet/minecraft/network/chat/Style; params: 1: hoverEvent method: withInsertion (Ljava/lang/String;)Lnet/minecraft/network/chat/Style; params: 1: insertion method: withItalic (Ljava/lang/Boolean;)Lnet/minecraft/network/chat/Style; params: 1: italic method: withUnderlined (Ljava/lang/Boolean;)Lnet/minecraft/network/chat/Style; params: 1: underlined class: Style$Serializer path: net/minecraft/network/chat/Style$Serializer method: getClickEvent (Lcom/google/gson/JsonObject;)Lnet/minecraft/network/chat/ClickEvent; params: 0: json method: getFont (Lcom/google/gson/JsonObject;)Lnet/minecraft/resources/ResourceLocation; params: 0: json method: getHoverEvent (Lcom/google/gson/JsonObject;)Lnet/minecraft/network/chat/HoverEvent; params: 0: json method: getInsertion (Lcom/google/gson/JsonObject;)Ljava/lang/String; params: 0: json method: getOptionalFlag (Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/Boolean; params: 0: json, 1: memberName method: getTextColor (Lcom/google/gson/JsonObject;)Lnet/minecraft/network/chat/TextColor; params: 0: json class: SubStringSource path: net/minecraft/network/chat/SubStringSource method: <init> (Ljava/lang/String;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)V params: 1: plainText, 2: charStyles, 3: reverseCharModifier method: create (Lnet/minecraft/network/chat/FormattedText;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;Ljava/util/function/UnaryOperator;)Lnet/minecraft/network/chat/SubStringSource; params: 0: formattedText, 1: reverseCharModifier, 2: textTransformer method: substring (IIZ)Ljava/util/List; params: 1: fromIndex, 2: toIndex, 3: reversed class: TextColor path: net/minecraft/network/chat/TextColor method: <init> method: <init> (ILjava/lang/String;)V params: 1: value, 2: name method: fromLegacyFormat (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/TextColor; params: 0: formatting method: fromRgb (I)Lnet/minecraft/network/chat/TextColor; params: 0: color method: parseColor (Ljava/lang/String;)Lnet/minecraft/network/chat/TextColor; params: 0: hexString class: TextComponent path: net/minecraft/network/chat/TextComponent A Component that represents just a fixed String.
method: <init> (Ljava/lang/String;)V params: 1: text method: getContents ()Ljava/lang/String; Gets the raw content of this component (but not its sibling components), without any formatting codes. For example, this is the raw text in a {@link TextComponentString}, but it's the translated text for a {@link TextComponentTranslation} and it's the score value for a {@link TextComponentScore}.
method: getText ()Ljava/lang/String; Gets the text value of this component. This is used to access the {@link #text} property, and only should be used when dealing specifically with instances of {@link TextComponentString} - for other purposes, use {@link #getUnformattedComponentText()}.
method: plainCopy ()Lnet/minecraft/network/chat/TextComponent; Creates a copy of this component, losing any style or siblings.
class: TranslatableComponent path: net/minecraft/network/chat/TranslatableComponent field: decomposedParts Ljava/util/List; The discrete elements that make up this component. For example, this would be ["Prefix, ", "FirstArg", "SecondArg", " again ", "SecondArg", " and ", "FirstArg", " lastly ", "ThirdArg", " and also ", "FirstArg", " again!"] for "translation.test.complex" (see en_us.json)
method: <init> (Ljava/lang/String;)V params: 1: key method: <init> (Ljava/lang/String;[Ljava/lang/Object;)V params: 1: key, 2: args method: decompose ()V Ensures that all of the children are up to date with the most recent translation mapping.
method: decomposeTemplate (Ljava/lang/String;)V params: 1: formatTemplate method: getArgs ()[Ljava/lang/Object; Gets the object array that is used to translate the key.
method: getArgument (I)Lnet/minecraft/network/chat/FormattedText; params: 1: index method: getKey ()Ljava/lang/String; Gets the key used to translate this component.
method: plainCopy ()Lnet/minecraft/network/chat/TranslatableComponent; Creates a copy of this component, losing any style or siblings.
method: resolve (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/network/chat/MutableComponent; params: 1: commandSourceStack, 2: entity, 3: recursionDepth method: visitSelf (Lnet/minecraft/network/chat/FormattedText$ContentConsumer;)Ljava/util/Optional; params: 1: consumer method: visitSelf (Lnet/minecraft/network/chat/FormattedText$StyledContentConsumer;Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; params: 1: consumer, 2: style class: TranslatableFormatException path: net/minecraft/network/chat/TranslatableFormatException method: <init> (Lnet/minecraft/network/chat/TranslatableComponent;I)V params: 1: component, 2: invalidIndex method: <init> (Lnet/minecraft/network/chat/TranslatableComponent;Ljava/lang/String;)V params: 1: component, 2: error method: <init> (Lnet/minecraft/network/chat/TranslatableComponent;Ljava/lang/Throwable;)V params: 1: component, 2: cause protocol game class: ClientGamePacketListener path: net/minecraft/network/protocol/game/ClientGamePacketListener PacketListener for the client side of the PLAY protocol.
method: handleAddEntity (Lnet/minecraft/network/protocol/game/ClientboundAddEntityPacket;)V params: 1: packet Spawns an instance of the objecttype indicated by the packet and sets its position and momentum
method: handleAddExperienceOrb (Lnet/minecraft/network/protocol/game/ClientboundAddExperienceOrbPacket;)V params: 1: packet Spawns an experience orb and sets its value (amount of XP)
method: handleAddMob (Lnet/minecraft/network/protocol/game/ClientboundAddMobPacket;)V params: 1: packet Spawns the mob entity at the specified location, with the specified rotation, momentum and type. Updates the entities Datawatchers with the entity metadata specified in the packet
method: handleAddObjective (Lnet/minecraft/network/protocol/game/ClientboundSetObjectivePacket;)V params: 1: packet May create a scoreboard objective, remove an objective from the scoreboard or update an objectives' displayname
method: handleAddOrRemoveRecipes (Lnet/minecraft/network/protocol/game/ClientboundRecipePacket;)V params: 1: packet method: handleAddPainting (Lnet/minecraft/network/protocol/game/ClientboundAddPaintingPacket;)V params: 1: packet Handles the spawning of a painting object
method: handleAddPlayer (Lnet/minecraft/network/protocol/game/ClientboundAddPlayerPacket;)V params: 1: packet Handles the creation of a nearby player entity, sets the position and held item
method: handleAnimate (Lnet/minecraft/network/protocol/game/ClientboundAnimatePacket;)V params: 1: packet Renders a specified animation: Waking up a player, a living entity swinging its currently held item, being hurt or receiving a critical hit by normal or magical means
method: handleAwardStats (Lnet/minecraft/network/protocol/game/ClientboundAwardStatsPacket;)V params: 1: packet Updates the players statistics or achievements
method: handleBlockBreakAck (Lnet/minecraft/network/protocol/game/ClientboundBlockBreakAckPacket;)V params: 1: packet method: handleBlockDestruction (Lnet/minecraft/network/protocol/game/ClientboundBlockDestructionPacket;)V params: 1: packet Updates all registered IWorldAccess instances with destroyBlockInWorldPartially
method: handleBlockEntityData (Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket;)V params: 1: packet Updates the NBTTagCompound metadata of instances of the following entitytypes: Mob spawners, command blocks, beacons, skulls, flowerpot
method: handleBlockEvent (Lnet/minecraft/network/protocol/game/ClientboundBlockEventPacket;)V params: 1: packet Triggers Block.onBlockEventReceived, which is implemented in BlockPistonBase for extension/retraction, BlockNote for setting the instrument (including audiovisual feedback) and in BlockContainer to set the number of players accessing a (Ender)Chest
method: handleBlockUpdate (Lnet/minecraft/network/protocol/game/ClientboundBlockUpdatePacket;)V params: 1: packet Updates the block and metadata and generates a blockupdate (and notify the clients)
method: handleBossUpdate (Lnet/minecraft/network/protocol/game/ClientboundBossEventPacket;)V params: 1: packet method: handleChangeDifficulty (Lnet/minecraft/network/protocol/game/ClientboundChangeDifficultyPacket;)V params: 1: packet method: handleChat (Lnet/minecraft/network/protocol/game/ClientboundChatPacket;)V params: 1: packet Prints a chatmessage in the chat GUI
method: handleChunkBlocksUpdate (Lnet/minecraft/network/protocol/game/ClientboundSectionBlocksUpdatePacket;)V params: 1: packet Received from the servers PlayerManager if between 1 and 64 blocks in a chunk are changed. If only one block requires an update, the server sends S23PacketBlockChange and if 64 or more blocks are changed, the server sends S21PacketChunkData
method: handleCommandSuggestions (Lnet/minecraft/network/protocol/game/ClientboundCommandSuggestionsPacket;)V params: 1: packet This method is only called for manual tab-completion (the {@link net.minecraft.command.arguments.SuggestionProviders#ASK_SERVER minecraft:ask_server} suggestion provider).
method: handleCommands (Lnet/minecraft/network/protocol/game/ClientboundCommandsPacket;)V params: 1: packet method: handleContainerClose (Lnet/minecraft/network/protocol/game/ClientboundContainerClosePacket;)V params: 1: packet Resets the ItemStack held in hand and closes the window that is opened
method: handleContainerContent (Lnet/minecraft/network/protocol/game/ClientboundContainerSetContentPacket;)V params: 1: packet Handles the placement of a specified ItemStack in a specified container/inventory slot
method: handleContainerSetData (Lnet/minecraft/network/protocol/game/ClientboundContainerSetDataPacket;)V params: 1: packet Sets the progressbar of the opened window to the specified value
method: handleContainerSetSlot (Lnet/minecraft/network/protocol/game/ClientboundContainerSetSlotPacket;)V params: 1: packet Handles pickin up an ItemStack or dropping one in your inventory or an open (non-creative) container
method: handleCustomPayload (Lnet/minecraft/network/protocol/game/ClientboundCustomPayloadPacket;)V params: 1: packet Handles packets that have room for a channel specification. Vanilla implemented channels are "MC|TrList" to acquire a MerchantRecipeList trades for a villager merchant, "MC|Brand" which sets the server brand? on the player instance and finally "MC|RPack" which the server uses to communicate the identifier of the default server resourcepack for the client to load.
method: handleCustomSoundEvent (Lnet/minecraft/network/protocol/game/ClientboundCustomSoundPacket;)V params: 1: packet method: handleDisconnect (Lnet/minecraft/network/protocol/game/ClientboundDisconnectPacket;)V params: 1: packet Closes the network channel
method: handleEntityEvent (Lnet/minecraft/network/protocol/game/ClientboundEntityEventPacket;)V params: 1: packet Invokes the entities' handleUpdateHealth method which is implemented in LivingBase (hurt/death), MinecartMobSpawner (spawn delay), FireworkRocket & MinecartTNT (explosion), IronGolem (throwing,...), Witch (spawn particles), Zombie (villager transformation), Animal (breeding mode particles), Horse (breeding/smoke particles), Sheep (...), Tameable (...), Villager (particles for breeding mode, angry and happy), Wolf (...)
method: handleEntityLinkPacket (Lnet/minecraft/network/protocol/game/ClientboundSetEntityLinkPacket;)V params: 1: packet method: handleExplosion (Lnet/minecraft/network/protocol/game/ClientboundExplodePacket;)V params: 1: packet Initiates a new explosion (sound, particles, drop spawn) for the affected blocks indicated by the packet.
method: handleForgetLevelChunk (Lnet/minecraft/network/protocol/game/ClientboundForgetLevelChunkPacket;)V params: 1: packet method: handleGameEvent (Lnet/minecraft/network/protocol/game/ClientboundGameEventPacket;)V params: 1: packet method: handleHorseScreenOpen (Lnet/minecraft/network/protocol/game/ClientboundHorseScreenOpenPacket;)V params: 1: packet method: handleItemCooldown (Lnet/minecraft/network/protocol/game/ClientboundCooldownPacket;)V params: 1: packet method: handleKeepAlive (Lnet/minecraft/network/protocol/game/ClientboundKeepAlivePacket;)V params: 1: packet method: handleLevelChunk (Lnet/minecraft/network/protocol/game/ClientboundLevelChunkPacket;)V params: 1: packet Updates the specified chunk with the supplied data, marks it for re-rendering and lighting recalculation
method: handleLevelEvent (Lnet/minecraft/network/protocol/game/ClientboundLevelEventPacket;)V params: 1: packet method: handleLightUpdatePacked (Lnet/minecraft/network/protocol/game/ClientboundLightUpdatePacket;)V params: 1: packet method: handleLogin (Lnet/minecraft/network/protocol/game/ClientboundLoginPacket;)V params: 1: packet Registers some server properties (gametype,hardcore-mode,terraintype,difficulty,player limit), creates a new WorldClient and sets the player initial dimension
method: handleLookAt (Lnet/minecraft/network/protocol/game/ClientboundPlayerLookAtPacket;)V params: 1: packet method: handleMapItemData (Lnet/minecraft/network/protocol/game/ClientboundMapItemDataPacket;)V params: 1: packet Updates the worlds MapStorage with the specified MapData for the specified map-identifier and invokes a MapItemRenderer for it
method: handleMerchantOffers (Lnet/minecraft/network/protocol/game/ClientboundMerchantOffersPacket;)V params: 1: packet method: handleMoveEntity (Lnet/minecraft/network/protocol/game/ClientboundMoveEntityPacket;)V params: 1: packet Updates the specified entity's position by the specified relative moment and absolute rotation. Note that subclassing of the packet allows for the specification of a subset of this data (e.g. only rel. position, abs. rotation or both).
method: handleMovePlayer (Lnet/minecraft/network/protocol/game/ClientboundPlayerPositionPacket;)V params: 1: packet method: handleMoveVehicle (Lnet/minecraft/network/protocol/game/ClientboundMoveVehiclePacket;)V params: 1: packet method: handleOpenBook (Lnet/minecraft/network/protocol/game/ClientboundOpenBookPacket;)V params: 1: packet method: handleOpenScreen (Lnet/minecraft/network/protocol/game/ClientboundOpenScreenPacket;)V params: 1: packet method: handleOpenSignEditor (Lnet/minecraft/network/protocol/game/ClientboundOpenSignEditorPacket;)V params: 1: packet Creates a sign in the specified location if it didn't exist and opens the GUI to edit its text
method: handleParticleEvent (Lnet/minecraft/network/protocol/game/ClientboundLevelParticlesPacket;)V params: 1: packet Spawns a specified number of particles at the specified location with a randomized displacement according to specified bounds
method: handlePlaceRecipe (Lnet/minecraft/network/protocol/game/ClientboundPlaceGhostRecipePacket;)V params: 1: packet method: handlePlayerAbilities (Lnet/minecraft/network/protocol/game/ClientboundPlayerAbilitiesPacket;)V params: 1: packet method: handlePlayerInfo (Lnet/minecraft/network/protocol/game/ClientboundPlayerInfoPacket;)V params: 1: packet method: handleRemoveMobEffect (Lnet/minecraft/network/protocol/game/ClientboundRemoveMobEffectPacket;)V params: 1: packet method: handleResourcePack (Lnet/minecraft/network/protocol/game/ClientboundResourcePackPacket;)V params: 1: packet method: handleRespawn (Lnet/minecraft/network/protocol/game/ClientboundRespawnPacket;)V params: 1: packet method: handleRotateMob (Lnet/minecraft/network/protocol/game/ClientboundRotateHeadPacket;)V params: 1: packet Updates the direction in which the specified entity is looking, normally this head rotation is independent of the rotation of the entity itself
method: handleSelectAdvancementsTab (Lnet/minecraft/network/protocol/game/ClientboundSelectAdvancementsTabPacket;)V params: 1: packet method: handleSetCamera (Lnet/minecraft/network/protocol/game/ClientboundSetCameraPacket;)V params: 1: packet method: handleSetCarriedItem (Lnet/minecraft/network/protocol/game/ClientboundSetCarriedItemPacket;)V params: 1: packet Updates which hotbar slot of the player is currently selected
method: handleSetChunkCacheCenter (Lnet/minecraft/network/protocol/game/ClientboundSetChunkCacheCenterPacket;)V params: 1: packet method: handleSetChunkCacheRadius (Lnet/minecraft/network/protocol/game/ClientboundSetChunkCacheRadiusPacket;)V params: 1: packet method: handleSetDisplayObjective (Lnet/minecraft/network/protocol/game/ClientboundSetDisplayObjectivePacket;)V params: 1: packet Removes or sets the ScoreObjective to be displayed at a particular scoreboard position (list, sidebar, below name)
method: handleSetEntityData (Lnet/minecraft/network/protocol/game/ClientboundSetEntityDataPacket;)V params: 1: packet Invoked when the server registers new proximate objects in your watchlist or when objects in your watchlist have changed -> Registers any changes locally
method: handleSetEntityMotion (Lnet/minecraft/network/protocol/game/ClientboundSetEntityMotionPacket;)V params: 1: packet Sets the velocity of the specified entity to the specified value
method: handleSetEntityPassengersPacket (Lnet/minecraft/network/protocol/game/ClientboundSetPassengersPacket;)V params: 1: packet method: handleSetEquipment (Lnet/minecraft/network/protocol/game/ClientboundSetEquipmentPacket;)V params: 1: packet method: handleSetExperience (Lnet/minecraft/network/protocol/game/ClientboundSetExperiencePacket;)V params: 1: packet method: handleSetHealth (Lnet/minecraft/network/protocol/game/ClientboundSetHealthPacket;)V params: 1: packet method: handleSetPlayerTeamPacket (Lnet/minecraft/network/protocol/game/ClientboundSetPlayerTeamPacket;)V params: 1: packet Updates a team managed by the scoreboard: Create/Remove the team registration, Register/Remove the player-team-memberships, Set team displayname/prefix/suffix and/or whether friendly fire is enabled
method: handleSetScore (Lnet/minecraft/network/protocol/game/ClientboundSetScorePacket;)V params: 1: packet Either updates the score with a specified value or removes the score for an objective
method: handleSetSpawn (Lnet/minecraft/network/protocol/game/ClientboundSetDefaultSpawnPositionPacket;)V params: 1: packet method: handleSetTime (Lnet/minecraft/network/protocol/game/ClientboundSetTimePacket;)V params: 1: packet method: handleSoundEntityEvent (Lnet/minecraft/network/protocol/game/ClientboundSoundEntityPacket;)V params: 1: packet method: handleSoundEvent (Lnet/minecraft/network/protocol/game/ClientboundSoundPacket;)V params: 1: packet method: handleStopSoundEvent (Lnet/minecraft/network/protocol/game/ClientboundStopSoundPacket;)V params: 1: packet method: handleTabListCustomisation (Lnet/minecraft/network/protocol/game/ClientboundTabListPacket;)V params: 1: packet method: handleTagQueryPacket (Lnet/minecraft/network/protocol/game/ClientboundTagQueryPacket;)V params: 1: packet method: handleTakeItemEntity (Lnet/minecraft/network/protocol/game/ClientboundTakeItemEntityPacket;)V params: 1: packet method: handleTeleportEntity (Lnet/minecraft/network/protocol/game/ClientboundTeleportEntityPacket;)V params: 1: packet Updates an entity's position and rotation as specified by the packet
method: handleUpdateAdvancementsPacket (Lnet/minecraft/network/protocol/game/ClientboundUpdateAdvancementsPacket;)V params: 1: packet method: handleUpdateAttributes (Lnet/minecraft/network/protocol/game/ClientboundUpdateAttributesPacket;)V params: 1: packet Updates en entity's attributes and their respective modifiers, which are used for speed bonusses (player sprinting, animals fleeing, baby speed), weapon/tool attackDamage, hostiles followRange randomization, zombie maxHealth and knockback resistance as well as reinforcement spawning chance.
method: handleUpdateMobEffect (Lnet/minecraft/network/protocol/game/ClientboundUpdateMobEffectPacket;)V params: 1: packet method: handleUpdateRecipes (Lnet/minecraft/network/protocol/game/ClientboundUpdateRecipesPacket;)V params: 1: packet method: handleUpdateTags (Lnet/minecraft/network/protocol/game/ClientboundUpdateTagsPacket;)V params: 1: packet class: ClientboundAddEntityPacket path: net/minecraft/network/protocol/game/ClientboundAddEntityPacket method: <init> (ILjava/util/UUID;DDDFFLnet/minecraft/world/entity/EntityType;ILnet/minecraft/world/phys/Vec3;)V params: 1: id, 2: uuid, 3: x, 5: y, 7: z, 9: xRot, 10: yRot, 11: type, 12: data, 13: deltaMovement method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: <init> (Lnet/minecraft/world/entity/Entity;I)V params: 1: entity, 2: data method: <init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/EntityType;ILnet/minecraft/core/BlockPos;)V params: 1: entity, 2: type, 3: data, 4: pos method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundAddExperienceOrbPacket path: net/minecraft/network/protocol/game/ClientboundAddExperienceOrbPacket method: <init> (Lnet/minecraft/world/entity/ExperienceOrb;)V params: 1: orbEntity method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundAddMobPacket path: net/minecraft/network/protocol/game/ClientboundAddMobPacket method: <init> (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundAddPaintingPacket path: net/minecraft/network/protocol/game/ClientboundAddPaintingPacket method: <init> (Lnet/minecraft/world/entity/decoration/Painting;)V params: 1: painting method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundAddPlayerPacket path: net/minecraft/network/protocol/game/ClientboundAddPlayerPacket method: <init> (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundAnimatePacket path: net/minecraft/network/protocol/game/ClientboundAnimatePacket method: <init> (Lnet/minecraft/world/entity/Entity;I)V params: 1: entity, 2: action method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundAwardStatsPacket path: net/minecraft/network/protocol/game/ClientboundAwardStatsPacket method: <init> (Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V params: 1: stats method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundBlockBreakAckPacket path: net/minecraft/network/protocol/game/ClientboundBlockBreakAckPacket field: LOGGER Lorg/apache/logging/log4j/Logger; Unused (probably related to the unused parameter in the constructor)
method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket$Action;ZLjava/lang/String;)V params: 1: pos, 2: state, 3: action, 4: allGood, 5: reason method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundBlockDestructionPacket path: net/minecraft/network/protocol/game/ClientboundBlockDestructionPacket method: <init> (ILnet/minecraft/core/BlockPos;I)V params: 1: id, 2: pos, 3: progress method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundBlockEntityDataPacket path: net/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket field: type I Used only for vanilla tile entities
method: <init> (Lnet/minecraft/core/BlockPos;ILnet/minecraft/nbt/CompoundTag;)V params: 1: pos, 2: type, 3: tag method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundBlockEventPacket path: net/minecraft/network/protocol/game/ClientboundBlockEventPacket Triggers a block event on the client.
@see Block#triggerEvent
@see Level#blockEvent
method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;II)V params: 1: pos, 2: block, 3: b0, 4: b1 method: getB0 ()I First parameter of the block event. The meaning of this value depends on the block.
method: getB1 ()I Second parameter of the block event. The meaning of this value depends on the block.
method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundBlockUpdatePacket path: net/minecraft/network/protocol/game/ClientboundBlockUpdatePacket method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: blockState method: <init> (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)V params: 1: blockGetter, 2: pos method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundBossEventPacket path: net/minecraft/network/protocol/game/ClientboundBossEventPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundChangeDifficultyPacket path: net/minecraft/network/protocol/game/ClientboundChangeDifficultyPacket method: <init> (Lnet/minecraft/world/Difficulty;Z)V params: 1: difficulty, 2: locked method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundChatPacket path: net/minecraft/network/protocol/game/ClientboundChatPacket method: <init> (Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/ChatType;Ljava/util/UUID;)V params: 1: message, 2: type, 3: sender method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: isSkippable ()Z Whether decoding errors will be ignored for this packet.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundCommandSuggestionsPacket path: net/minecraft/network/protocol/game/ClientboundCommandSuggestionsPacket method: <init> (ILcom/mojang/brigadier/suggestion/Suggestions;)V params: 1: id, 2: suggestions method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundCommandsPacket path: net/minecraft/network/protocol/game/ClientboundCommandsPacket method: <init> (Lcom/mojang/brigadier/tree/RootCommandNode;)V params: 1: root method: createBuilder (Lnet/minecraft/network/FriendlyByteBuf;B)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 0: buffer, 1: flags method: enumerateNodes (Lcom/mojang/brigadier/tree/RootCommandNode;)Lit/unimi/dsi/fastutil/objects/Object2IntMap; params: 0: rootNode method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: readNode (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/network/protocol/game/ClientboundCommandsPacket$Entry; params: 0: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
method: writeNode (Lnet/minecraft/network/FriendlyByteBuf;Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Map;)V params: 0: buffer, 1: node, 2: nodeIds class: ClientboundCommandsPacket$Entry path: net/minecraft/network/protocol/game/ClientboundCommandsPacket$Entry method: <init> (Lcom/mojang/brigadier/builder/ArgumentBuilder;BI[I)V params: 1: builder, 2: flags, 3: redirect, 4: children class: ClientboundContainerClosePacket path: net/minecraft/network/protocol/game/ClientboundContainerClosePacket method: <init> (I)V params: 1: containerId method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundContainerSetContentPacket path: net/minecraft/network/protocol/game/ClientboundContainerSetContentPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundContainerSetDataPacket path: net/minecraft/network/protocol/game/ClientboundContainerSetDataPacket method: <init> (III)V params: 1: containerId, 2: id, 3: value method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundContainerSetSlotPacket path: net/minecraft/network/protocol/game/ClientboundContainerSetSlotPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundCooldownPacket path: net/minecraft/network/protocol/game/ClientboundCooldownPacket method: <init> (Lnet/minecraft/world/item/Item;I)V params: 1: item, 2: duration method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundCustomPayloadPacket path: net/minecraft/network/protocol/game/ClientboundCustomPayloadPacket method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: identifier, 2: data method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundCustomSoundPacket path: net/minecraft/network/protocol/game/ClientboundCustomSoundPacket method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/sounds/SoundSource;Lnet/minecraft/world/phys/Vec3;FF)V params: 1: name, 2: source, 3: position, 4: volume, 5: pitch method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundDisconnectPacket path: net/minecraft/network/protocol/game/ClientboundDisconnectPacket method: <init> (Lnet/minecraft/network/chat/Component;)V params: 1: reason method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundEntityEventPacket path: net/minecraft/network/protocol/game/ClientboundEntityEventPacket method: <init> (Lnet/minecraft/world/entity/Entity;B)V params: 1: entity, 2: eventId method: getEntity (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundExplodePacket path: net/minecraft/network/protocol/game/ClientboundExplodePacket method: <init> (DDDFLjava/util/List;Lnet/minecraft/world/phys/Vec3;)V params: 1: x, 3: y, 5: z, 7: power, 8: toBlow, 9: knockback method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundForgetLevelChunkPacket path: net/minecraft/network/protocol/game/ClientboundForgetLevelChunkPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundGameEventPacket path: net/minecraft/network/protocol/game/ClientboundGameEventPacket method: <init> (Lnet/minecraft/network/protocol/game/ClientboundGameEventPacket$Type;F)V params: 1: event, 2: param method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundGameEventPacket$Type path: net/minecraft/network/protocol/game/ClientboundGameEventPacket$Type method: <init> class: ClientboundHorseScreenOpenPacket path: net/minecraft/network/protocol/game/ClientboundHorseScreenOpenPacket method: <init> (III)V params: 1: containerId, 2: size, 3: entityId method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundKeepAlivePacket path: net/minecraft/network/protocol/game/ClientboundKeepAlivePacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLevelChunkPacket path: net/minecraft/network/protocol/game/ClientboundLevelChunkPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLevelEventPacket path: net/minecraft/network/protocol/game/ClientboundLevelEventPacket field: data I can be a block/item id or other depending on the soundtype
field: globalEvent Z If true the sound is played across the server
method: <init> (ILnet/minecraft/core/BlockPos;IZ)V params: 1: type, 2: pos, 3: data, 4: globalEvent method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLevelParticlesPacket path: net/minecraft/network/protocol/game/ClientboundLevelParticlesPacket method: <init> (Lnet/minecraft/core/particles/ParticleOptions;ZDDDFFFFI)V params: 1: particle, 2: overrideLimiter, 3: x, 5: y, 7: z, 9: xDist, 10: yDist, 11: zDist, 12: maxSpeed, 13: count method: getCount ()I Gets the amount of particles to spawn
method: getMaxSpeed ()F Gets the speed of the particle animation (used in client side rendering).
method: getX ()D Gets the x coordinate to spawn the particle.
method: getXDist ()F Gets the x coordinate offset for the particle. The particle may use the offset for particle spread.
method: getY ()D Gets the y coordinate to spawn the particle.
method: getYDist ()F Gets the y coordinate offset for the particle. The particle may use the offset for particle spread.
method: getZ ()D Gets the z coordinate to spawn the particle.
method: getZDist ()F Gets the z coordinate offset for the particle. The particle may use the offset for particle spread.
method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: readParticle (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/core/particles/ParticleType;)Lnet/minecraft/core/particles/ParticleOptions; params: 1: buffer, 2: particleType method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLightUpdatePacket path: net/minecraft/network/protocol/game/ClientboundLightUpdatePacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLoginPacket path: net/minecraft/network/protocol/game/ClientboundLoginPacket field: seed J First 8 bytes of the SHA-256 hash of the world's seed
field: showDeathScreen Z Set to false when the doImmediateRespawn gamerule is true
method: <init> (ILnet/minecraft/world/level/GameType;Lnet/minecraft/world/level/GameType;JZLjava/util/Set;Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/world/level/dimension/DimensionType;Lnet/minecraft/resources/ResourceKey;IIZZZZ)V params: 1: playerId, 2: gameType, 3: previousGameType, 4: seed, 6: hardcore, 7: levels, 8: registryHolder, 9: dimensionType, 10: dimension, 11: maxPlayers, 12: chunkRadius, 13: reducedDebugInfo, 14: showDeathScreen, 15: isDebug, 16: isFlat method: getSeed method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMapItemDataPacket path: net/minecraft/network/protocol/game/ClientboundMapItemDataPacket method: applyToMap (Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData;)V params: 1: mapdata Sets new MapData from the packet to given MapData param
method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMerchantOffersPacket path: net/minecraft/network/protocol/game/ClientboundMerchantOffersPacket method: <init> (ILnet/minecraft/world/item/trading/MerchantOffers;IIZZ)V params: 1: containerId, 2: offers, 3: villagerLevel, 4: villagerXp, 5: showProgress, 6: canRestock method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMoveEntityPacket path: net/minecraft/network/protocol/game/ClientboundMoveEntityPacket method: entityToPacket (D)J params: 0: entityPosition method: getEntity (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: packetToEntity (J)D params: 0: packetPosition method: packetToEntity (JJJ)Lnet/minecraft/world/phys/Vec3; params: 0: x, 2: y, 4: z method: updateEntityPosition (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: entityPosition method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMoveEntityPacket$Pos path: net/minecraft/network/protocol/game/ClientboundMoveEntityPacket$Pos method: <init> (ISSSZ)V params: 1: entityId, 2: xa, 3: ya, 4: za, 5: onGround method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMoveEntityPacket$PosRot path: net/minecraft/network/protocol/game/ClientboundMoveEntityPacket$PosRot method: <init> (ISSSBBZ)V params: 1: entityId, 2: xa, 3: ya, 4: za, 5: yRot, 6: xRot, 7: onGround method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMoveEntityPacket$Rot path: net/minecraft/network/protocol/game/ClientboundMoveEntityPacket$Rot method: <init> (IBBZ)V params: 1: entityId, 2: yRot, 3: xRot, 4: onGround method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundMoveVehiclePacket path: net/minecraft/network/protocol/game/ClientboundMoveVehiclePacket method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: vehicle method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundOpenBookPacket path: net/minecraft/network/protocol/game/ClientboundOpenBookPacket method: <init> (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundOpenScreenPacket path: net/minecraft/network/protocol/game/ClientboundOpenScreenPacket method: <init> (ILnet/minecraft/world/inventory/MenuType;Lnet/minecraft/network/chat/Component;)V params: 1: containerId, 2: menuType, 3: title method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundOpenSignEditorPacket path: net/minecraft/network/protocol/game/ClientboundOpenSignEditorPacket method: <init> (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundPlaceGhostRecipePacket path: net/minecraft/network/protocol/game/ClientboundPlaceGhostRecipePacket method: <init> (ILnet/minecraft/world/item/crafting/Recipe;)V params: 1: containerId, 2: recipe method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: byteBuf Writes the raw packet data to the data stream.
class: ClientboundPlayerAbilitiesPacket path: net/minecraft/network/protocol/game/ClientboundPlayerAbilitiesPacket method: <init> (Lnet/minecraft/world/entity/player/Abilities;)V params: 1: abilities method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundPlayerInfoPacket path: net/minecraft/network/protocol/game/ClientboundPlayerInfoPacket method: <init> (Lnet/minecraft/network/protocol/game/ClientboundPlayerInfoPacket$Action;[Lnet/minecraft/server/level/ServerPlayer;)V params: 1: action, 2: players method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundPlayerLookAtPacket path: net/minecraft/network/protocol/game/ClientboundPlayerLookAtPacket method: <init> (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;DDD)V params: 1: fromAnchor, 2: x, 4: y, 6: z method: <init> (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;)V params: 1: fromAnchor, 2: entity, 3: toAnchor method: getPosition (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/phys/Vec3; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundPlayerPositionPacket path: net/minecraft/network/protocol/game/ClientboundPlayerPositionPacket method: getRelativeArguments ()Ljava/util/Set; Returns a set of which fields are relative. Items in this set indicate that the value is a relative change applied to the player's position, rather than an exact value.
method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundPlayerPositionPacket$RelativeArgument path: net/minecraft/network/protocol/game/ClientboundPlayerPositionPacket$RelativeArgument method: isSet (I)Z params: 1: flags Checks if this flag is set within the given set of flags.
method: pack (Ljava/util/Set;)I params: 0: flags method: unpack (I)Ljava/util/Set; params: 0: flags class: ClientboundRecipePacket path: net/minecraft/network/protocol/game/ClientboundRecipePacket method: <init> (Lnet/minecraft/network/protocol/game/ClientboundRecipePacket$State;Ljava/util/Collection;Ljava/util/Collection;Lnet/minecraft/stats/RecipeBookSettings;)V params: 1: state, 2: recipes, 3: toHighlight, 4: bookSettings method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundRemoveMobEffectPacket path: net/minecraft/network/protocol/game/ClientboundRemoveMobEffectPacket method: <init> (ILnet/minecraft/world/effect/MobEffect;)V params: 1: entityId, 2: effect method: getEntity (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundResourcePackPacket path: net/minecraft/network/protocol/game/ClientboundResourcePackPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundRespawnPacket path: net/minecraft/network/protocol/game/ClientboundRespawnPacket field: seed J First 8 bytes of the SHA-256 hash of the world's seed
method: <init> (Lnet/minecraft/world/level/dimension/DimensionType;Lnet/minecraft/resources/ResourceKey;JLnet/minecraft/world/level/GameType;Lnet/minecraft/world/level/GameType;ZZZ)V params: 1: dimensionType, 2: dimension, 3: seed, 5: playerGameType, 6: previousPlayerGameType, 7: isDebug, 8: isFlat, 9: keepAllPlayerData method: getSeed method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundRotateHeadPacket path: net/minecraft/network/protocol/game/ClientboundRotateHeadPacket method: <init> (Lnet/minecraft/world/entity/Entity;B)V params: 1: entity, 2: yHeadRot method: getEntity (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSectionBlocksUpdatePacket path: net/minecraft/network/protocol/game/ClientboundSectionBlocksUpdatePacket method: <init> (Lnet/minecraft/core/SectionPos;Lit/unimi/dsi/fastutil/shorts/ShortSet;Lnet/minecraft/world/level/chunk/LevelChunkSection;Z)V params: 1: sectionPos, 2: changedBlocks, 3: levelChunkSection, 4: suppressLightUpdates method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: runUpdates (Ljava/util/function/BiConsumer;)V params: 1: consumer method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSelectAdvancementsTabPacket path: net/minecraft/network/protocol/game/ClientboundSelectAdvancementsTabPacket method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: tab method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetCameraPacket path: net/minecraft/network/protocol/game/ClientboundSetCameraPacket method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: cameraEntity method: getEntity (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetCarriedItemPacket path: net/minecraft/network/protocol/game/ClientboundSetCarriedItemPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetChunkCacheCenterPacket path: net/minecraft/network/protocol/game/ClientboundSetChunkCacheCenterPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetChunkCacheRadiusPacket path: net/minecraft/network/protocol/game/ClientboundSetChunkCacheRadiusPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetDefaultSpawnPositionPacket path: net/minecraft/network/protocol/game/ClientboundSetDefaultSpawnPositionPacket method: <init> (Lnet/minecraft/core/BlockPos;F)V params: 1: pos, 2: angle method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetDisplayObjectivePacket path: net/minecraft/network/protocol/game/ClientboundSetDisplayObjectivePacket method: <init> (ILnet/minecraft/world/scores/Objective;)V params: 1: slot, 2: objective method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetEntityDataPacket path: net/minecraft/network/protocol/game/ClientboundSetEntityDataPacket method: <init> (ILnet/minecraft/network/syncher/SynchedEntityData;Z)V params: 1: id, 2: entityData, 3: sendAll method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetEntityLinkPacket path: net/minecraft/network/protocol/game/ClientboundSetEntityLinkPacket field: destId I The entity that is holding the leash, or -1 to clear the holder.
method: <init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V params: 1: source, 2: destination method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetEntityMotionPacket path: net/minecraft/network/protocol/game/ClientboundSetEntityMotionPacket method: <init> (ILnet/minecraft/world/phys/Vec3;)V params: 1: id, 2: deltaMovement method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetEquipmentPacket path: net/minecraft/network/protocol/game/ClientboundSetEquipmentPacket method: <init> (ILjava/util/List;)V params: 1: entity, 2: slots method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetExperiencePacket path: net/minecraft/network/protocol/game/ClientboundSetExperiencePacket method: <init> (FII)V params: 1: experienceProgress, 2: totalExperience, 3: experienceLevel method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetHealthPacket path: net/minecraft/network/protocol/game/ClientboundSetHealthPacket method: <init> (FIF)V params: 1: health, 2: food, 3: saturation method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetObjectivePacket path: net/minecraft/network/protocol/game/ClientboundSetObjectivePacket method: <init> (Lnet/minecraft/world/scores/Objective;I)V params: 1: objective, 2: method method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetPassengersPacket path: net/minecraft/network/protocol/game/ClientboundSetPassengersPacket method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: vehicle method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetPlayerTeamPacket path: net/minecraft/network/protocol/game/ClientboundSetPlayerTeamPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetScorePacket path: net/minecraft/network/protocol/game/ClientboundSetScorePacket method: <init> (Lnet/minecraft/server/ServerScoreboard$Method;Ljava/lang/String;Ljava/lang/String;I)V params: 1: method, 2: objectiveName, 3: owner, 4: score method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSetTimePacket path: net/minecraft/network/protocol/game/ClientboundSetTimePacket method: <init> (JJZ)V params: 1: gameTime, 3: dayTime, 5: daylightCycleEnabled method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSoundEntityPacket path: net/minecraft/network/protocol/game/ClientboundSoundEntityPacket method: <init> (Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;Lnet/minecraft/world/entity/Entity;FF)V params: 1: sound, 2: source, 3: entity, 4: volume, 5: pitch method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundSoundPacket path: net/minecraft/network/protocol/game/ClientboundSoundPacket method: <init> (Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;DDDFF)V params: 1: sound, 2: source, 3: x, 5: y, 7: z, 9: volume, 10: pitch method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundStopSoundPacket path: net/minecraft/network/protocol/game/ClientboundStopSoundPacket method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/sounds/SoundSource;)V params: 1: name, 2: source method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundTabListPacket path: net/minecraft/network/protocol/game/ClientboundTabListPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundTagQueryPacket path: net/minecraft/network/protocol/game/ClientboundTagQueryPacket method: <init> (ILnet/minecraft/nbt/CompoundTag;)V params: 1: transactionId, 2: tag method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: isSkippable ()Z Whether decoding errors will be ignored for this packet.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundTakeItemEntityPacket path: net/minecraft/network/protocol/game/ClientboundTakeItemEntityPacket method: <init> (III)V params: 1: itemId, 2: playerId, 3: amount method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundTeleportEntityPacket path: net/minecraft/network/protocol/game/ClientboundTeleportEntityPacket method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundUpdateAdvancementsPacket path: net/minecraft/network/protocol/game/ClientboundUpdateAdvancementsPacket method: <init> (ZLjava/util/Collection;Ljava/util/Set;Ljava/util/Map;)V params: 1: reset, 2: added, 3: removed, 4: progress method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundUpdateAttributesPacket path: net/minecraft/network/protocol/game/ClientboundUpdateAttributesPacket method: <init> (ILjava/util/Collection;)V params: 1: entityId, 2: attributes method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundUpdateMobEffectPacket path: net/minecraft/network/protocol/game/ClientboundUpdateMobEffectPacket method: <init> (ILnet/minecraft/world/effect/MobEffectInstance;)V params: 1: entityId, 2: effectInstance method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundUpdateRecipesPacket path: net/minecraft/network/protocol/game/ClientboundUpdateRecipesPacket method: <init> (Ljava/util/Collection;)V params: 1: recipes method: fromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/Recipe; params: 0: buffer method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundUpdateTagsPacket path: net/minecraft/network/protocol/game/ClientboundUpdateTagsPacket method: handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: DebugEntityNameGenerator path: net/minecraft/network/protocol/game/DebugEntityNameGenerator method: getEntityName (Ljava/util/UUID;)Ljava/lang/String; params: 0: uuid method: getRandom (Ljava/util/UUID;)Ljava/util/Random; params: 0: uuid method: getRandomString (Ljava/util/Random;[Ljava/lang/String;)Ljava/lang/String; params: 0: rand, 1: strings class: DebugPackets path: net/minecraft/network/protocol/game/DebugPackets method: sendBeeInfo (Lnet/minecraft/world/entity/animal/Bee;)V params: 0: bee method: sendEntityBrain (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: livingEntity method: sendGameTestAddMarker (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/lang/String;II)V params: 0: level, 1: pos, 2: text, 3: color, 4: lifetimeMillis method: sendGameTestClearPacket (Lnet/minecraft/server/level/ServerLevel;)V params: 0: level method: sendGoalSelector (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/ai/goal/GoalSelector;)V params: 0: level, 1: mob, 2: goalSelector method: sendNeighborsUpdatePacket (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: sendPathFindingPacket (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/level/pathfinder/Path;F)V params: 0: level, 1: mob, 2: path, 3: maxDistanceToWaypoint method: sendPoiAddedPacket (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: sendPoiPacketsForChunk (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/ChunkPos;)V params: 0: level, 1: chunkPos method: sendPoiRemovedPacket (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: sendPoiTicketCountPacket (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: sendRaids (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Collection;)V params: 0: level, 1: raids method: sendStructurePacket (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/StructureStart;)V params: 0: level, 1: structureStart method: sendVillageSectionsPacket (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos class: ServerGamePacketListener path: net/minecraft/network/protocol/game/ServerGamePacketListener PacketListener for the server side of the PLAY protocol.
method: handleAcceptTeleportPacket (Lnet/minecraft/network/protocol/game/ServerboundAcceptTeleportationPacket;)V params: 1: packet method: handleAnimate (Lnet/minecraft/network/protocol/game/ServerboundSwingPacket;)V params: 1: packet method: handleBlockEntityTagQuery (Lnet/minecraft/network/protocol/game/ServerboundBlockEntityTagQuery;)V params: 1: packet method: handleChangeDifficulty (Lnet/minecraft/network/protocol/game/ServerboundChangeDifficultyPacket;)V params: 1: packet method: handleChat (Lnet/minecraft/network/protocol/game/ServerboundChatPacket;)V params: 1: packet Process chat messages (broadcast back to clients) and commands (executes)
method: handleClientCommand (Lnet/minecraft/network/protocol/game/ServerboundClientCommandPacket;)V params: 1: packet Processes the client status updates: respawn attempt from player, opening statistics or achievements, or acquiring 'open inventory' achievement
method: handleClientInformation (Lnet/minecraft/network/protocol/game/ServerboundClientInformationPacket;)V params: 1: packet Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty, and whether to show the cape
method: handleContainerButtonClick (Lnet/minecraft/network/protocol/game/ServerboundContainerButtonClickPacket;)V params: 1: packet Enchants the item identified by the packet given some convoluted conditions (matching window, which should/shouldn't be in use?)
method: handleContainerClick (Lnet/minecraft/network/protocol/game/ServerboundContainerClickPacket;)V params: 1: packet Executes a container/inventory slot manipulation as indicated by the packet. Sends the serverside result if they didn't match the indicated result and prevents further manipulation by the player until he confirms that it has the same open container/inventory
method: handleContainerClose (Lnet/minecraft/network/protocol/game/ServerboundContainerClosePacket;)V params: 1: packet Processes the client closing windows (container)
method: handleCustomCommandSuggestions (Lnet/minecraft/network/protocol/game/ServerboundCommandSuggestionPacket;)V params: 1: packet This method is only called for manual tab-completion (the {@link net.minecraft.command.arguments.SuggestionProviders#ASK_SERVER minecraft:ask_server} suggestion provider).
method: handleCustomPayload (Lnet/minecraft/network/protocol/game/ServerboundCustomPayloadPacket;)V params: 1: packet Synchronizes serverside and clientside book contents and signing
method: handleEditBook (Lnet/minecraft/network/protocol/game/ServerboundEditBookPacket;)V params: 1: packet method: handleEntityTagQuery (Lnet/minecraft/network/protocol/game/ServerboundEntityTagQuery;)V params: 1: packet method: handleInteract (Lnet/minecraft/network/protocol/game/ServerboundInteractPacket;)V params: 1: packet Processes left and right clicks on entities
method: handleJigsawGenerate (Lnet/minecraft/network/protocol/game/ServerboundJigsawGeneratePacket;)V params: 1: packet method: handleKeepAlive (Lnet/minecraft/network/protocol/game/ServerboundKeepAlivePacket;)V params: 1: packet Updates a players' ping statistics
method: handleLockDifficulty (Lnet/minecraft/network/protocol/game/ServerboundLockDifficultyPacket;)V params: 1: packet method: handleMovePlayer (Lnet/minecraft/network/protocol/game/ServerboundMovePlayerPacket;)V params: 1: packet Processes clients perspective on player positioning and/or orientation
method: handleMoveVehicle (Lnet/minecraft/network/protocol/game/ServerboundMoveVehiclePacket;)V params: 1: packet method: handlePaddleBoat (Lnet/minecraft/network/protocol/game/ServerboundPaddleBoatPacket;)V params: 1: packet method: handlePickItem (Lnet/minecraft/network/protocol/game/ServerboundPickItemPacket;)V params: 1: packet method: handlePlaceRecipe (Lnet/minecraft/network/protocol/game/ServerboundPlaceRecipePacket;)V params: 1: packet method: handlePlayerAbilities (Lnet/minecraft/network/protocol/game/ServerboundPlayerAbilitiesPacket;)V params: 1: packet Processes a player starting/stopping flying
method: handlePlayerAction (Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket;)V params: 1: packet Processes the player initiating/stopping digging on a particular spot, as well as a player dropping items
method: handlePlayerCommand (Lnet/minecraft/network/protocol/game/ServerboundPlayerCommandPacket;)V params: 1: packet Processes a range of action-types: sneaking, sprinting, waking from sleep, opening the inventory or setting jump height of the horse the player is riding
method: handlePlayerInput (Lnet/minecraft/network/protocol/game/ServerboundPlayerInputPacket;)V params: 1: packet Processes player movement input. Includes walking, strafing, jumping, sneaking" excludes riding and toggling flying/sprinting
method: handleRecipeBookChangeSettingsPacket (Lnet/minecraft/network/protocol/game/ServerboundRecipeBookChangeSettingsPacket;)V params: 1: packet method: handleRecipeBookSeenRecipePacket (Lnet/minecraft/network/protocol/game/ServerboundRecipeBookSeenRecipePacket;)V params: 1: packet method: handleRenameItem (Lnet/minecraft/network/protocol/game/ServerboundRenameItemPacket;)V params: 1: packet method: handleResourcePackResponse (Lnet/minecraft/network/protocol/game/ServerboundResourcePackPacket;)V params: 1: packet method: handleSeenAdvancements (Lnet/minecraft/network/protocol/game/ServerboundSeenAdvancementsPacket;)V params: 1: packet method: handleSelectTrade (Lnet/minecraft/network/protocol/game/ServerboundSelectTradePacket;)V params: 1: packet method: handleSetBeaconPacket (Lnet/minecraft/network/protocol/game/ServerboundSetBeaconPacket;)V params: 1: packet method: handleSetCarriedItem (Lnet/minecraft/network/protocol/game/ServerboundSetCarriedItemPacket;)V params: 1: packet Updates which quickbar slot is selected
method: handleSetCommandBlock (Lnet/minecraft/network/protocol/game/ServerboundSetCommandBlockPacket;)V params: 1: packet method: handleSetCommandMinecart (Lnet/minecraft/network/protocol/game/ServerboundSetCommandMinecartPacket;)V params: 1: packet method: handleSetCreativeModeSlot (Lnet/minecraft/network/protocol/game/ServerboundSetCreativeModeSlotPacket;)V params: 1: packet Update the server with an ItemStack in a slot.
method: handleSetJigsawBlock (Lnet/minecraft/network/protocol/game/ServerboundSetJigsawBlockPacket;)V params: 1: packet method: handleSetStructureBlock (Lnet/minecraft/network/protocol/game/ServerboundSetStructureBlockPacket;)V params: 1: packet method: handleSignUpdate (Lnet/minecraft/network/protocol/game/ServerboundSignUpdatePacket;)V params: 1: packet method: handleTeleportToEntityPacket (Lnet/minecraft/network/protocol/game/ServerboundTeleportToEntityPacket;)V params: 1: packet method: handleUseItem (Lnet/minecraft/network/protocol/game/ServerboundUseItemPacket;)V params: 1: packet Called when a client is using an item while not pointing at a block, but simply using an item
method: handleUseItemOn (Lnet/minecraft/network/protocol/game/ServerboundUseItemOnPacket;)V params: 1: packet class: ServerboundAcceptTeleportationPacket path: net/minecraft/network/protocol/game/ServerboundAcceptTeleportationPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundBlockEntityTagQuery path: net/minecraft/network/protocol/game/ServerboundBlockEntityTagQuery method: <init> (ILnet/minecraft/core/BlockPos;)V params: 1: transactionId, 2: pos method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundChangeDifficultyPacket path: net/minecraft/network/protocol/game/ServerboundChangeDifficultyPacket method: <init> (Lnet/minecraft/world/Difficulty;)V params: 1: difficulty method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundChatPacket path: net/minecraft/network/protocol/game/ServerboundChatPacket method: <init> (Ljava/lang/String;)V params: 1: message method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundClientCommandPacket path: net/minecraft/network/protocol/game/ServerboundClientCommandPacket method: <init> (Lnet/minecraft/network/protocol/game/ServerboundClientCommandPacket$Action;)V params: 1: action method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundClientInformationPacket path: net/minecraft/network/protocol/game/ServerboundClientInformationPacket method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundCommandSuggestionPacket path: net/minecraft/network/protocol/game/ServerboundCommandSuggestionPacket method: <init> (ILjava/lang/String;)V params: 1: id, 2: command method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundContainerButtonClickPacket path: net/minecraft/network/protocol/game/ServerboundContainerButtonClickPacket method: <init> (II)V params: 1: containerId, 2: buttonId method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundContainerClickPacket path: net/minecraft/network/protocol/game/ServerboundContainerClickPacket field: buttonNum field: clickType Lnet/minecraft/world/inventory/ClickType; Inventory operation mode
field: containerId I The id of the window which was clicked. 0 for player inventory.
field: slotNum method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundContainerClosePacket path: net/minecraft/network/protocol/game/ServerboundContainerClosePacket method: <init> (I)V params: 1: containerId method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundCustomPayloadPacket path: net/minecraft/network/protocol/game/ServerboundCustomPayloadPacket method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: identifier, 2: data method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundEditBookPacket path: net/minecraft/network/protocol/game/ServerboundEditBookPacket method: getBook ()Lnet/minecraft/world/item/ItemStack; The client written book stack containing up to date nbt data.
method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: isSigning ()Z If true it updates author, title and pages. Otherwise just update pages.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundEntityTagQuery path: net/minecraft/network/protocol/game/ServerboundEntityTagQuery method: <init> (II)V params: 1: transactionId, 2: entityId method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundInteractPacket path: net/minecraft/network/protocol/game/ServerboundInteractPacket method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundJigsawGeneratePacket path: net/minecraft/network/protocol/game/ServerboundJigsawGeneratePacket method: <init> (Lnet/minecraft/core/BlockPos;IZ)V params: 1: pos, 2: levels, 3: keepJigsaws method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundKeepAlivePacket path: net/minecraft/network/protocol/game/ServerboundKeepAlivePacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundLockDifficultyPacket path: net/minecraft/network/protocol/game/ServerboundLockDifficultyPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundMovePlayerPacket path: net/minecraft/network/protocol/game/ServerboundMovePlayerPacket method: getX (D)D params: 1: defaultValue method: getXRot (F)F params: 1: defaultValue method: getY (D)D params: 1: defaultValue method: getYRot (F)F params: 1: defaultValue method: getZ (D)D params: 1: defaultValue method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundMovePlayerPacket$Pos path: net/minecraft/network/protocol/game/ServerboundMovePlayerPacket$Pos method: <init> (DDDZ)V params: 1: x, 3: y, 5: z, 7: onGround method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundMovePlayerPacket$PosRot path: net/minecraft/network/protocol/game/ServerboundMovePlayerPacket$PosRot method: <init> (DDDFFZ)V params: 1: x, 3: y, 5: z, 7: yRot, 8: xRot, 9: onGround method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundMovePlayerPacket$Rot path: net/minecraft/network/protocol/game/ServerboundMovePlayerPacket$Rot method: <init> (FFZ)V params: 1: yRot, 2: xRot, 3: onGround method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundMoveVehiclePacket path: net/minecraft/network/protocol/game/ServerboundMoveVehiclePacket method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: vehicle method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPaddleBoatPacket path: net/minecraft/network/protocol/game/ServerboundPaddleBoatPacket method: <init> (ZZ)V params: 1: left, 2: right method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPickItemPacket path: net/minecraft/network/protocol/game/ServerboundPickItemPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPlaceRecipePacket path: net/minecraft/network/protocol/game/ServerboundPlaceRecipePacket method: <init> (ILnet/minecraft/world/item/crafting/Recipe;Z)V params: 1: containerId, 2: recipe, 3: shiftDown method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPlayerAbilitiesPacket path: net/minecraft/network/protocol/game/ServerboundPlayerAbilitiesPacket method: <init> (Lnet/minecraft/world/entity/player/Abilities;)V params: 1: abilities method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPlayerActionPacket path: net/minecraft/network/protocol/game/ServerboundPlayerActionPacket field: action Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket$Action; Status of the digging (started, ongoing, broken).
method: <init> (Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket$Action;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)V params: 1: action, 2: pos, 3: direction method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPlayerCommandPacket path: net/minecraft/network/protocol/game/ServerboundPlayerCommandPacket method: <init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/protocol/game/ServerboundPlayerCommandPacket$Action;)V params: 1: entity, 2: action method: <init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/protocol/game/ServerboundPlayerCommandPacket$Action;I)V params: 1: entity, 2: action, 3: data method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundPlayerInputPacket path: net/minecraft/network/protocol/game/ServerboundPlayerInputPacket field: xxa F Positive for left strafe, negative for right
method: <init> (FFZZ)V params: 1: xxa, 2: zza, 3: isJumping, 4: isShiftKeyDown method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundRecipeBookChangeSettingsPacket path: net/minecraft/network/protocol/game/ServerboundRecipeBookChangeSettingsPacket method: <init> (Lnet/minecraft/world/inventory/RecipeBookType;ZZ)V params: 1: bookType, 2: isOpen, 3: isFiltering method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundRecipeBookSeenRecipePacket path: net/minecraft/network/protocol/game/ServerboundRecipeBookSeenRecipePacket method: <init> (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundRenameItemPacket path: net/minecraft/network/protocol/game/ServerboundRenameItemPacket method: <init> (Ljava/lang/String;)V params: 1: name method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundResourcePackPacket path: net/minecraft/network/protocol/game/ServerboundResourcePackPacket method: <init> (Lnet/minecraft/network/protocol/game/ServerboundResourcePackPacket$Action;)V params: 1: action method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSeenAdvancementsPacket path: net/minecraft/network/protocol/game/ServerboundSeenAdvancementsPacket method: <init> (Lnet/minecraft/network/protocol/game/ServerboundSeenAdvancementsPacket$Action;Lnet/minecraft/resources/ResourceLocation;)V params: 1: action, 2: tab method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: openedTab (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/network/protocol/game/ServerboundSeenAdvancementsPacket; params: 0: advancement method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSelectTradePacket path: net/minecraft/network/protocol/game/ServerboundSelectTradePacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetBeaconPacket path: net/minecraft/network/protocol/game/ServerboundSetBeaconPacket method: <init> (II)V params: 1: primary, 2: secondary method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetCarriedItemPacket path: net/minecraft/network/protocol/game/ServerboundSetCarriedItemPacket method: <init> method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetCommandBlockPacket path: net/minecraft/network/protocol/game/ServerboundSetCommandBlockPacket method: <init> (Lnet/minecraft/core/BlockPos;Ljava/lang/String;Lnet/minecraft/world/level/block/entity/CommandBlockEntity$Mode;ZZZ)V params: 1: pos, 2: command, 3: mode, 4: trackOutput, 5: conditional, 6: automatic method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetCommandMinecartPacket path: net/minecraft/network/protocol/game/ServerboundSetCommandMinecartPacket method: <init> (ILjava/lang/String;Z)V params: 1: entity, 2: command, 3: trackOutput method: getCommandBlock (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/level/BaseCommandBlock; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetCreativeModeSlotPacket path: net/minecraft/network/protocol/game/ServerboundSetCreativeModeSlotPacket method: <init> (ILnet/minecraft/world/item/ItemStack;)V params: 1: slotNum, 2: itemStack method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetJigsawBlockPacket path: net/minecraft/network/protocol/game/ServerboundSetJigsawBlockPacket method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/level/block/entity/JigsawBlockEntity$JointType;)V params: 1: pos, 2: name, 3: target, 4: pool, 5: finalState, 6: joint method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSetStructureBlockPacket path: net/minecraft/network/protocol/game/ServerboundSetStructureBlockPacket method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSignUpdatePacket path: net/minecraft/network/protocol/game/ServerboundSignUpdatePacket method: <init> (Lnet/minecraft/core/BlockPos;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V params: 1: pos, 2: line0, 3: line1, 4: line2, 5: line3 method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundSwingPacket path: net/minecraft/network/protocol/game/ServerboundSwingPacket method: <init> (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundTeleportToEntityPacket path: net/minecraft/network/protocol/game/ServerboundTeleportToEntityPacket method: <init> (Ljava/util/UUID;)V params: 1: uuid method: getEntity (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: level method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundUseItemOnPacket path: net/minecraft/network/protocol/game/ServerboundUseItemOnPacket method: <init> (Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)V params: 1: hand, 2: blockHit method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundUseItemPacket path: net/minecraft/network/protocol/game/ServerboundUseItemPacket method: <init> (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
handshake class: ClientIntentionPacket path: net/minecraft/network/protocol/handshake/ClientIntentionPacket method: <init> (Ljava/lang/String;ILnet/minecraft/network/ConnectionProtocol;)V params: 1: hostName, 2: port, 3: intention method: handle (Lnet/minecraft/network/protocol/handshake/ServerHandshakePacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerHandshakePacketListener path: net/minecraft/network/protocol/handshake/ServerHandshakePacketListener PacketListener for the server side of the HANDSHAKING protocol.
method: handleIntention (Lnet/minecraft/network/protocol/handshake/ClientIntentionPacket;)V params: 1: packet There are two recognized intentions for initiating a handshake: logging in and acquiring server status. The NetworkManager's protocol will be reconfigured according to the specified intention, although a login-intention must pass a versioncheck or receive a disconnect otherwise
login class: ClientLoginPacketListener path: net/minecraft/network/protocol/login/ClientLoginPacketListener PacketListener for the client side of the LOGIN protocol.
method: handleCompression (Lnet/minecraft/network/protocol/login/ClientboundLoginCompressionPacket;)V params: 1: packet method: handleCustomQuery (Lnet/minecraft/network/protocol/login/ClientboundCustomQueryPacket;)V params: 1: packet method: handleDisconnect (Lnet/minecraft/network/protocol/login/ClientboundLoginDisconnectPacket;)V params: 1: packet method: handleGameProfile (Lnet/minecraft/network/protocol/login/ClientboundGameProfilePacket;)V params: 1: packet method: handleHello (Lnet/minecraft/network/protocol/login/ClientboundHelloPacket;)V params: 1: packet class: ClientboundCustomQueryPacket path: net/minecraft/network/protocol/login/ClientboundCustomQueryPacket method: handle (Lnet/minecraft/network/protocol/login/ClientLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundGameProfilePacket path: net/minecraft/network/protocol/login/ClientboundGameProfilePacket method: <init> (Lcom/mojang/authlib/GameProfile;)V params: 1: gameProfile method: handle (Lnet/minecraft/network/protocol/login/ClientLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundHelloPacket path: net/minecraft/network/protocol/login/ClientboundHelloPacket method: <init> (Ljava/lang/String;[B[B)V params: 1: serverId, 2: publicKey, 3: nonce method: handle (Lnet/minecraft/network/protocol/login/ClientLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLoginCompressionPacket path: net/minecraft/network/protocol/login/ClientboundLoginCompressionPacket method: <init> (I)V params: 1: compressionThreshold method: handle (Lnet/minecraft/network/protocol/login/ClientLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundLoginDisconnectPacket path: net/minecraft/network/protocol/login/ClientboundLoginDisconnectPacket method: <init> (Lnet/minecraft/network/chat/Component;)V params: 1: reason method: handle (Lnet/minecraft/network/protocol/login/ClientLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerLoginPacketListener path: net/minecraft/network/protocol/login/ServerLoginPacketListener PacketListener for the server side of the LOGIN protocol.
method: handleCustomQueryPacket (Lnet/minecraft/network/protocol/login/ServerboundCustomQueryPacket;)V params: 1: packet method: handleHello (Lnet/minecraft/network/protocol/login/ServerboundHelloPacket;)V params: 1: packet method: handleKey (Lnet/minecraft/network/protocol/login/ServerboundKeyPacket;)V params: 1: packet class: ServerboundCustomQueryPacket path: net/minecraft/network/protocol/login/ServerboundCustomQueryPacket method: <init> (ILnet/minecraft/network/FriendlyByteBuf;)V params: 1: transactionId, 2: data method: handle (Lnet/minecraft/network/protocol/login/ServerLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundHelloPacket path: net/minecraft/network/protocol/login/ServerboundHelloPacket method: <init> (Lcom/mojang/authlib/GameProfile;)V params: 1: gameProfile method: handle (Lnet/minecraft/network/protocol/login/ServerLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundKeyPacket path: net/minecraft/network/protocol/login/ServerboundKeyPacket method: <init> (Ljavax/crypto/SecretKey;Ljava/security/PublicKey;[B)V params: 1: secretKey, 2: publicKey, 3: nonce method: getNonce (Ljava/security/PrivateKey;)[B params: 1: key method: getSecretKey (Ljava/security/PrivateKey;)Ljavax/crypto/SecretKey; params: 1: key method: handle (Lnet/minecraft/network/protocol/login/ServerLoginPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
status class: ClientStatusPacketListener path: net/minecraft/network/protocol/status/ClientStatusPacketListener PacketListener for the client side of the STATUS protocol.
method: handlePongResponse (Lnet/minecraft/network/protocol/status/ClientboundPongResponsePacket;)V params: 1: packet method: handleStatusResponse (Lnet/minecraft/network/protocol/status/ClientboundStatusResponsePacket;)V params: 1: packet class: ClientboundPongResponsePacket path: net/minecraft/network/protocol/status/ClientboundPongResponsePacket method: <init> method: handle (Lnet/minecraft/network/protocol/status/ClientStatusPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ClientboundStatusResponsePacket path: net/minecraft/network/protocol/status/ClientboundStatusResponsePacket method: <init> (Lnet/minecraft/network/protocol/status/ServerStatus;)V params: 1: status method: handle (Lnet/minecraft/network/protocol/status/ClientStatusPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerStatus path: net/minecraft/network/protocol/status/ServerStatus method: setDescription (Lnet/minecraft/network/chat/Component;)V params: 1: description method: setFavicon (Ljava/lang/String;)V params: 1: faviconBlob method: setPlayers (Lnet/minecraft/network/protocol/status/ServerStatus$Players;)V params: 1: players method: setVersion (Lnet/minecraft/network/protocol/status/ServerStatus$Version;)V params: 1: version class: ServerStatus$Players path: net/minecraft/network/protocol/status/ServerStatus$Players method: <init> (II)V params: 1: maxPlayers, 2: numPlayers method: setSample ([Lcom/mojang/authlib/GameProfile;)V params: 1: players class: ServerStatus$Version path: net/minecraft/network/protocol/status/ServerStatus$Version method: <init> (Ljava/lang/String;I)V params: 1: name, 2: protocol class: ServerStatusPacketListener path: net/minecraft/network/protocol/status/ServerStatusPacketListener PacketListener for the server side of the STATUS protocol.
method: handlePingRequest (Lnet/minecraft/network/protocol/status/ServerboundPingRequestPacket;)V params: 1: packet method: handleStatusRequest (Lnet/minecraft/network/protocol/status/ServerboundStatusRequestPacket;)V params: 1: packet class: ServerboundPingRequestPacket path: net/minecraft/network/protocol/status/ServerboundPingRequestPacket method: <init> method: handle (Lnet/minecraft/network/protocol/status/ServerStatusPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: ServerboundStatusRequestPacket path: net/minecraft/network/protocol/status/ServerboundStatusRequestPacket method: handle (Lnet/minecraft/network/protocol/status/ServerStatusPacketListener;)V params: 1: handler Passes this Packet on to the NetHandler for processing.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: Packet path: net/minecraft/network/protocol/Packet method: handle (Lnet/minecraft/network/PacketListener;)V params: 1: handler Passes this Packet on to the PacketListener for processing.
method: isSkippable ()Z Whether decoding errors will be ignored for this packet.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer Writes the raw packet data to the data stream.
class: PacketFlow path: net/minecraft/network/protocol/PacketFlow The direction of packets.
class: PacketUtils path: net/minecraft/network/protocol/PacketUtils method: ensureRunningOnSameThread (Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/network/PacketListener;Lnet/minecraft/server/level/ServerLevel;)V params: 0: packet, 1: processor, 2: level Ensures that the given packet is handled on the main thread. If the current thread is not the main thread, this method
throws {@link RunningOnDifferentThreadException}, which is caught and ignored in the outer call ({@link Connection#channelRead0}). Additionally it then re-schedules the packet to be handled on the main thread,
which will then end up back here, but this time on the main thread.
method: ensureRunningOnSameThread (Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/network/PacketListener;Lnet/minecraft/util/thread/BlockableEventLoop;)V params: 0: packet, 1: processor, 2: executor Ensures that the given packet is handled on the main thread. If the current thread is not the main thread, this method
throws {@link RunningOnDifferentThreadException}, which is caught and ignored in the outer call ({@link Connection#channelRead0}). Additionally it then re-schedules the packet to be handled on the main thread,
which will then end up back here, but this time on the main thread.
syncher class: EntityDataAccessor path: net/minecraft/network/syncher/EntityDataAccessor A Key for {@link SyncedEntityData}.
method: <init> (ILnet/minecraft/network/syncher/EntityDataSerializer;)V params: 1: id, 2: serializer class: EntityDataSerializer path: net/minecraft/network/syncher/EntityDataSerializer Handles encoding and decoding of data for {@link SynchedEntityData}.
Note that mods cannot add new serializers, because this is not a managed registry and the serializer ID is limited to 16.
method: copy (Ljava/lang/Object;)Ljava/lang/Object; params: 1: value method: createAccessor (I)Lnet/minecraft/network/syncher/EntityDataAccessor; params: 1: id method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/lang/Object; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/lang/Object;)V params: 1: buffer, 2: value class: EntityDataSerializers path: net/minecraft/network/syncher/EntityDataSerializers Registry for {@link EntityDataSerializer}.
method: getSerializedId (Lnet/minecraft/network/syncher/EntityDataSerializer;)I params: 0: serializer method: getSerializer (I)Lnet/minecraft/network/syncher/EntityDataSerializer; params: 0: id method: registerSerializer (Lnet/minecraft/network/syncher/EntityDataSerializer;)V params: 0: serializer class: EntityDataSerializers$1 path: net/minecraft/network/syncher/EntityDataSerializers$1 method: copy (Ljava/lang/Byte;)Ljava/lang/Byte; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/lang/Byte; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/lang/Byte;)V params: 1: buffer, 2: value class: EntityDataSerializers$10 path: net/minecraft/network/syncher/EntityDataSerializers$10 method: copy (Lnet/minecraft/core/particles/ParticleOptions;)Lnet/minecraft/core/particles/ParticleOptions; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/particles/ParticleOptions; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: buffer, 2: value class: EntityDataSerializers$11 path: net/minecraft/network/syncher/EntityDataSerializers$11 method: copy (Lnet/minecraft/core/Rotations;)Lnet/minecraft/core/Rotations; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/Rotations; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/core/Rotations;)V params: 1: buffer, 2: value class: EntityDataSerializers$12 path: net/minecraft/network/syncher/EntityDataSerializers$12 method: copy (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/BlockPos; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/core/BlockPos;)V params: 1: buffer, 2: value class: EntityDataSerializers$13 path: net/minecraft/network/syncher/EntityDataSerializers$13 method: copy (Ljava/util/Optional;)Ljava/util/Optional; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/Optional; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/util/Optional;)V params: 1: buffer, 2: value class: EntityDataSerializers$14 path: net/minecraft/network/syncher/EntityDataSerializers$14 method: copy (Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/core/Direction; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/core/Direction;)V params: 1: buffer, 2: value class: EntityDataSerializers$15 path: net/minecraft/network/syncher/EntityDataSerializers$15 method: copy (Ljava/util/Optional;)Ljava/util/Optional; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/Optional; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/util/Optional;)V params: 1: buffer, 2: value class: EntityDataSerializers$16 path: net/minecraft/network/syncher/EntityDataSerializers$16 method: copy (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/nbt/CompoundTag; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/nbt/CompoundTag;)V params: 1: buffer, 2: value class: EntityDataSerializers$17 path: net/minecraft/network/syncher/EntityDataSerializers$17 method: copy (Lnet/minecraft/world/entity/npc/VillagerData;)Lnet/minecraft/world/entity/npc/VillagerData; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/entity/npc/VillagerData; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/entity/npc/VillagerData;)V params: 1: buffer, 2: value class: EntityDataSerializers$18 path: net/minecraft/network/syncher/EntityDataSerializers$18 method: copy (Ljava/util/OptionalInt;)Ljava/util/OptionalInt; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/OptionalInt; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/util/OptionalInt;)V params: 1: buffer, 2: value class: EntityDataSerializers$19 path: net/minecraft/network/syncher/EntityDataSerializers$19 method: copy (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/Pose; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/entity/Pose; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/entity/Pose;)V params: 1: buffer, 2: value class: EntityDataSerializers$2 path: net/minecraft/network/syncher/EntityDataSerializers$2 method: copy (Ljava/lang/Integer;)Ljava/lang/Integer; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/lang/Integer; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/lang/Integer;)V params: 1: buffer, 2: value class: EntityDataSerializers$3 path: net/minecraft/network/syncher/EntityDataSerializers$3 method: copy (Ljava/lang/Float;)Ljava/lang/Float; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/lang/Float; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/lang/Float;)V params: 1: buffer, 2: value class: EntityDataSerializers$4 path: net/minecraft/network/syncher/EntityDataSerializers$4 method: copy (Ljava/lang/String;)Ljava/lang/String; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/lang/String; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/lang/String;)V params: 1: buffer, 2: value class: EntityDataSerializers$5 path: net/minecraft/network/syncher/EntityDataSerializers$5 method: copy (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/Component; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/network/chat/Component; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/network/chat/Component;)V params: 1: buffer, 2: value class: EntityDataSerializers$6 path: net/minecraft/network/syncher/EntityDataSerializers$6 method: copy (Ljava/util/Optional;)Ljava/util/Optional; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/Optional; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/util/Optional;)V params: 1: buffer, 2: value class: EntityDataSerializers$7 path: net/minecraft/network/syncher/EntityDataSerializers$7 method: copy (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/ItemStack; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/ItemStack;)V params: 1: buffer, 2: value class: EntityDataSerializers$8 path: net/minecraft/network/syncher/EntityDataSerializers$8 method: copy (Ljava/util/Optional;)Ljava/util/Optional; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/Optional; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/util/Optional;)V params: 1: buffer, 2: value class: EntityDataSerializers$9 path: net/minecraft/network/syncher/EntityDataSerializers$9 method: copy (Ljava/lang/Boolean;)Ljava/lang/Boolean; params: 1: value method: read (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/lang/Boolean; params: 1: buffer method: write (Lnet/minecraft/network/FriendlyByteBuf;Ljava/lang/Boolean;)V params: 1: buffer, 2: value class: SynchedEntityData path: net/minecraft/network/syncher/SynchedEntityData Keeps data in sync from server to client for an entity.
A maximum of 254 parameters per entity class can be registered. The system then ensures that these values are updated on the client whenever they change on the server.
Use {@link #defineId} to register a piece of data for your entity class.
Use {@link #define} during {@link Entity#defineSynchedData} to set the default value for a given parameter.
method: assignValue (Lnet/minecraft/network/syncher/SynchedEntityData$DataItem;Lnet/minecraft/network/syncher/SynchedEntityData$DataItem;)V params: 1: target, 2: source method: assignValues (Ljava/util/List;)V params: 1: entries Updates the data using the given entries. Used on the client when the update packet is received.
method: clearDirty ()V Clears the dirty flag, marking all entries as unchanged.
method: createDataItem (Lnet/minecraft/network/syncher/EntityDataAccessor;Ljava/lang/Object;)V params: 1: key, 2: value method: define (Lnet/minecraft/network/syncher/EntityDataAccessor;Ljava/lang/Object;)V params: 1: key, 2: value Set the default value for a data parameter. Call this during {@link Entity#defineSynchedData}.
method: defineId (Ljava/lang/Class;Lnet/minecraft/network/syncher/EntityDataSerializer;)Lnet/minecraft/network/syncher/EntityDataAccessor; params: 0: clazz, 1: serializer Register a piece of data to be kept in sync for an entity class.
This method must be called during a static initializer of an entity class and the first parameter of this method must be that entity class.
method: genericHelper (Lnet/minecraft/network/FriendlyByteBuf;ILnet/minecraft/network/syncher/EntityDataSerializer;)Lnet/minecraft/network/syncher/SynchedEntityData$DataItem; params: 0: buffer, 1: id, 2: serializer method: get (Lnet/minecraft/network/syncher/EntityDataAccessor;)Ljava/lang/Object; params: 1: key Get the value of the given key for this entity.
method: getAll ()Ljava/util/List; Get all values from the data entries.
method: getItem (Lnet/minecraft/network/syncher/EntityDataAccessor;)Lnet/minecraft/network/syncher/SynchedEntityData$DataItem; params: 1: key method: isDirty ()Z Whether any keys have changed since the last synchronization packet to the client.
method: pack (Ljava/util/List;Lnet/minecraft/network/FriendlyByteBuf;)V params: 0: entries, 1: buffer Encode the given data entries into the buffer.
method: packDirty ()Ljava/util/List; Gets all data entries which have changed since the last check and clears their dirty flag.
method: set (Lnet/minecraft/network/syncher/EntityDataAccessor;Ljava/lang/Object;)V params: 1: key, 2: value Set the value of the given key for this entity.
method: unpack (Lnet/minecraft/network/FriendlyByteBuf;)Ljava/util/List; params: 0: buffer Decode the data written by {@link #pack}.
method: writeDataItem (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/network/syncher/SynchedEntityData$DataItem;)V params: 0: buffer, 1: entry class: SynchedEntityData$DataItem path: net/minecraft/network/syncher/SynchedEntityData$DataItem method: <init> (Lnet/minecraft/network/syncher/EntityDataAccessor;Ljava/lang/Object;)V params: 1: accessor, 2: value method: setDirty method: setValue (Ljava/lang/Object;)V params: 1: value class: CipherBase path: net/minecraft/network/CipherBase method: bufToByte (Lio/netty/buffer/ByteBuf;)[B params: 1: buffer method: decipher (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; params: 1: ctx, 2: buffer method: encipher (Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V params: 1: input, 2: out class: CipherDecoder path: net/minecraft/network/CipherDecoder Channel handler that handles protocol decryption.
@see Connection#setEncryptionKey
class: CipherEncoder path: net/minecraft/network/CipherEncoder Channel handler that handles protocol encryption.
@see Connection#setEncryptionKey
class: CompressionDecoder path: net/minecraft/network/CompressionDecoder Handles decompression of network traffic.
@see Connection#setupCompression
method: setThreshold class: CompressionEncoder path: net/minecraft/network/CompressionEncoder Handles compression of network traffic.
@see Connection#setupCompression
method: <init> method: setThreshold class: Connection path: net/minecraft/network/Connection field: address Ljava/net/SocketAddress; The address of the remote party
field: channel Lio/netty/channel/Channel; The active channel
field: disconnectedReason Lnet/minecraft/network/chat/Component; A Component indicating why the network has shutdown.
field: packetListener Lnet/minecraft/network/PacketListener; The PacketListener instance responsible for processing received packets
field: queue Ljava/util/Queue; The queue for packets that get sent before the channel is connected.
Every tick or whenever a new packet is sent the connection will try to flush this queue, if the channel has since finished connecting.
method: connectToLocalServer (Ljava/net/SocketAddress;)Lnet/minecraft/network/Connection; params: 0: address Prepares a clientside Connection for a local in-memory connection ("single player").
Establishes a connection to the socket supplied and configures the channel pipeline (only the packet handler is necessary,
since this is for an in-memory connection). Returns the newly created instance.
method: disconnect (Lnet/minecraft/network/chat/Component;)V params: 1: message Closes the channel with a given reason. The reason is stored for later and will be used for informational purposes (info log on server,
disconnection screen on the client). This method is also called on the client when the server requests disconnection via
{@code ClientboundDisconnectPacket}.
Closing the channel this way does not send any disconnection packets, it simply terminates the underlying netty channel.
method: flushQueue ()V Will iterate through the outboundPacketQueue and dispatch all Packets
method: getDisconnectedReason ()Lnet/minecraft/network/chat/Component; If this channel is closed, returns the exit message, null otherwise.
method: getPacketListener ()Lnet/minecraft/network/PacketListener; Gets the current handler for processing packets
method: getRemoteAddress ()Ljava/net/SocketAddress; Returns the socket address of the remote side. Server-only.
method: handleDisconnection ()V Checks if the channle is no longer active and if so, processes the disconnection
by notifying the current packet listener, which will handle things like removing the player from the world (serverside) or
showing the disconnection screen (clientside).
method: isConnected ()Z Returns true if this NetworkManager has an active channel, false otherwise
method: isConnecting ()Z Returns true while this connection is still connecting, i.e. {@link #channelActive} has not fired yet.
method: isMemoryConnection ()Z True if this NetworkManager uses a memory connection (single player game). False may imply both an active TCP connection or simply no active connection at all
method: send (Lnet/minecraft/network/protocol/Packet;)V params: 1: packet method: send (Lnet/minecraft/network/protocol/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V params: 1: packet method: sendPacket (Lnet/minecraft/network/protocol/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V params: 1: inPacket, 2: futureListeners Will commit the packet to the channel. If the current thread 'owns' the channel it will write and flush the packet, otherwise it will add a task for the channel eventloop thread to do that.
method: setEncryptionKey (Ljavax/crypto/Cipher;Ljavax/crypto/Cipher;)V params: 1: decryptingCipher, 2: encryptingCipher Enables encryption for this connection using the given decrypting and encrypting ciphers.
This adds new handlers to this connection's pipeline which handle the decrypting and encrypting.
This happens as part of the normal network handshake.
@see ClientboundHelloPacket
@see ServerboundKeyPacket
method: setListener (Lnet/minecraft/network/PacketListener;)V params: 1: handler Sets the NetHandler for this NetworkManager, no checks are made if this handler is suitable for the particular connection state (protocol)
method: setProtocol (Lnet/minecraft/network/ConnectionProtocol;)V params: 1: newState Sets the new connection state and registers which packets this channel may send and receive
method: setReadOnly ()V Switches the channel to manual reading modus
method: setupCompression method: tick ()V Checks timeouts and processes all packets received
class: ConnectionProtocol path: net/minecraft/network/ConnectionProtocol Describes the set of packets a connection understands at a given point.
A connection always starts out in state {@link #HANDSHAKING}. In this state the client sends its desired protocol using
{@link ClientIntentionPacket}. The server then either accepts the connection and switches to the desired protocol or it disconnects the client (for example in case of an outdated client).
Each protocol has a {@link PacketListener} implementation tied to it for server and client respectively.
Every packet must correspond to exactly one protocol.
field: HANDSHAKING Lnet/minecraft/network/ConnectionProtocol; The handshake protocol. This is the initial protocol, in which the client tells the server its intention (i.e. which protocol it wants to use).
field: LOGIN Lnet/minecraft/network/ConnectionProtocol; The login protocol. This is the first protocol the client switches to to join a server. It handles authentication with the mojang servers. After it is complete, the connection is switched to the PLAY protocol.
field: PLAY Lnet/minecraft/network/ConnectionProtocol; The play protocol. This is the main protocol that is used while "in game" and most normal packets reside in here.
field: STATUS Lnet/minecraft/network/ConnectionProtocol; The status protocol. This protocol is used when a client pings a server while on the multiplayer screen.
method: <init> (Ljava/lang/String;IILnet/minecraft/network/ConnectionProtocol$ProtocolBuilder;)V params: 3: id, 4: protocolBuilder method: getById (I)Lnet/minecraft/network/ConnectionProtocol; params: 0: stateId Get the Protocol for the given ID, or null if the ID is invalid.
method: getId ()I The ID for this protocol.
method: getPacketId (Lnet/minecraft/network/protocol/PacketFlow;Lnet/minecraft/network/protocol/Packet;)Ljava/lang/Integer; params: 1: direction, 2: packet Get the ID for the given packet being sent in the given direction through this protocol.
Returns null if the packet is not valid for this protocol/direction.
method: getProtocolForPacket (Lnet/minecraft/network/protocol/Packet;)Lnet/minecraft/network/ConnectionProtocol; params: 0: packet Look up the protocol that uses the given packet.
class: ConnectionProtocol$PacketSet path: net/minecraft/network/ConnectionProtocol$PacketSet method: getId (Ljava/lang/Class;)Ljava/lang/Integer; params: 1: packetClass class: ConnectionProtocol$ProtocolBuilder path: net/minecraft/network/ConnectionProtocol$ProtocolBuilder method: addFlow (Lnet/minecraft/network/protocol/PacketFlow;Lnet/minecraft/network/ConnectionProtocol$PacketSet;)Lnet/minecraft/network/ConnectionProtocol$ProtocolBuilder; params: 1: packetFlow, 2: packetSet class: FriendlyByteBuf path: net/minecraft/network/FriendlyByteBuf method: getVarIntSize (I)I params: 0: input Calculates the number of bytes ({@code [1-5]}) required to fit the supplied int if it were to be read/written using readVarInt/writeVarInt
method: readAnySizeNbt ()Lnet/minecraft/nbt/CompoundTag; Reads a NBT CompoundTag from this buffer.
{@code null} is a valid value and may be returned.
This method has no size limit on the NBT data.
@see #writeNbt
@see #readNbt()
@see #readNbt(NbtAccounter)
method: readBlockHitResult ()Lnet/minecraft/world/phys/BlockHitResult; Read a BlockHitResult.
@see #writeBlockHitResult
method: readBlockPos ()Lnet/minecraft/core/BlockPos; Reads a BlockPos encoded as a long from the buffer.
@see #writeBlockPos
method: readByteArray (I)[B params: 1: maxLength method: readComponent ()Lnet/minecraft/network/chat/Component; Reads a Component encoded as a JSON string from the buffer.
@see #writeComponent
method: readDate ()Ljava/util/Date; Read a timestamp as milliseconds since the unix epoch.
@see #writeDate
method: readEnum (Ljava/lang/Class;)Ljava/lang/Enum; params: 1: enumClass Reads an enum of the given type T using the ordinal encoded as a VarInt from the buffer.
@see #writeEnum
method: readItem ()Lnet/minecraft/world/item/ItemStack; Reads an ItemStack from this buffer.
@see #writeItem
method: readLongArray ([J)[J params: 1: array Reads a length-prefixed array of longs from the buffer.
Will try to use the given long[] if possible. Note that if an array with the correct size is given, maxLength is ignored.
method: readLongArray ([JI)[J params: 1: array, 2: maxLength Reads a length-prefixed array of longs with a maximum length from the buffer.
Will try to use the given long[] if possible. Note that if an array with the correct size is given, maxLength is ignored.
method: readNbt ()Lnet/minecraft/nbt/CompoundTag; Reads a NBT CompoundTag from this buffer.
{@code null} is a valid value and may be returned.
This method will read a maximum of 0x200000 bytes.
@see #writeNbt
@see #readAnySizeNbt
@see #readNbt(NbtAccounter)
method: readNbt (Lnet/minecraft/nbt/NbtAccounter;)Lnet/minecraft/nbt/CompoundTag; Reads a NBT CompoundTag from this buffer.
{@code null} is a valid value and may be returned.
This method limits the size of the data using the given {@code NbtAccounter}.
@see #writeNbt
@see #readNbt()
@see #readAnySizeNbt
method: readResourceLocation ()Lnet/minecraft/resources/ResourceLocation; Read a ResourceLocation using its String representation.
@see #writeResourceLocation
method: readSectionPos ()Lnet/minecraft/core/SectionPos; Reads a SectionPos encoded as a long from the buffer.
@see #writeSectionPos
method: readUUID ()Ljava/util/UUID; Reads a UUID encoded as two longs from this buffer.
@see #writeUUID
method: readUtf ()Ljava/lang/String; Reads a String with a maximum length of {@code Short.MAX_VALUE}.
@see #readUtf(int)
@see #writeUtf
method: readUtf (I)Ljava/lang/String; params: 1: maxLength Reads a string with a maximum length from this buffer.
@see #writeUtf
method: readVarInt ()I Reads a compressed int from the buffer. To do so it maximally reads 5 byte-sized chunks whose most significant bit dictates whether another byte should be read.
@see #writeVarInt
method: readVarIntArray ()[I Reads an array of VarInts from this buffer.
@see #writeVarIntArray
method: readVarIntArray (I)[I params: 1: maxLength Reads an array of VarInts with a maximum length from this buffer.
@see #writeVarIntArray
method: readVarLong ()J Reads a compressed long from the buffer. To do so it maximally reads 10 byte-sized chunks whose most significant bit dictates whether another byte should be read.
@see #writeVarLong
method: readWithCodec (Lcom/mojang/serialization/Codec;)Ljava/lang/Object; params: 1: codec Read a value of type {@code T} from this buffer using the given Codec.
NBT is used under the hood to read the data.
@see #writeWithCodec
method: writeBlockHitResult (Lnet/minecraft/world/phys/BlockHitResult;)V params: 1: result Write a BlockHitResult.
@see #readBlockHitResult
method: writeBlockPos (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: pos Writes a BlockPos encoded as a long to the buffer.
@see #readBlockPos
method: writeByteArray ([B)Lnet/minecraft/network/FriendlyByteBuf; params: 1: array method: writeComponent (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: component Writes a Component encoded as a JSON string to the buffer.
@see #readComponent
method: writeDate (Ljava/util/Date;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: time Write a timestamp as milliseconds since the unix epoch.
@see #readDate
method: writeEnum (Ljava/lang/Enum;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: value Writes an enum of the given type T using the ordinal encoded as a VarInt to the buffer.
@see #readEnum
method: writeItem (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: stack Writes an ItemStack to this buffer.
@see #readItem
method: writeLongArray ([J)Lnet/minecraft/network/FriendlyByteBuf; params: 1: array Writes an array of longs to the buffer, prefixed by the length of the array (as a VarInt).
@see #readLongArray
method: writeNbt (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: nbt Writes the given NBT CompoundTag to this buffer.
{@code null} is a valid value and can be encoded by this method.
@see #readNbt()
@see #readAnySizeNbt
@see #readNbt(NbtAccounter)
method: writeResourceLocation (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: resourceLocation Write a ResourceLocation using its String representation.
@see #readResourceLocation
method: writeUUID (Ljava/util/UUID;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: uuid Writes a UUID encoded as two longs to this buffer.
@see #readUUID
method: writeUtf (Ljava/lang/String;)Lnet/minecraft/network/FriendlyByteBuf; params: 1: string Writes a String with a maximum length of {@code Short.MAX_VALUE}.
@see #readUtf
method: writeUtf (Ljava/lang/String;I)Lnet/minecraft/network/FriendlyByteBuf; params: 1: string, 2: maxLength Writes a String with a maximum length.
@see #readUtf
method: writeVarInt (I)Lnet/minecraft/network/FriendlyByteBuf; params: 1: input Writes a compressed int to the buffer. The smallest number of bytes to fit the passed int will be written. Of each such byte only 7 bits will be used to describe the actual value since its most significant bit dictates whether the next byte is part of that same int. Micro-optimization for int values that are usually small.
method: writeVarIntArray ([I)Lnet/minecraft/network/FriendlyByteBuf; params: 1: array Writes an array of VarInts to the buffer, prefixed by the length of the array (as a VarInt).
@see #readVarIntArray
method: writeVarLong (J)Lnet/minecraft/network/FriendlyByteBuf; params: 1: value Writes a compressed long to the buffer. The smallest number of bytes to fit the passed long will be written. Of each such byte only 7 bits will be used to describe the actual value since its most significant bit dictates whether the next byte is part of that same long. Micro-optimization for long values that are usually small.
method: writeWithCodec (Lcom/mojang/serialization/Codec;Ljava/lang/Object;)V Write a value of type {@code T} to this buffer using the given Codec.
NBT is used under the hood to write the data.
@see #readWithCodec
class: PacketDecoder path: net/minecraft/network/PacketDecoder Main netty packet decoder. Reads the packet ID as a VarInt and creates the corresponding packet
based on the current {@link ConnectionProtocol}.
method: <init> (Lnet/minecraft/network/protocol/PacketFlow;)V params: 1: flow class: PacketEncoder path: net/minecraft/network/PacketEncoder Main netty packet encoder. Writes the packet ID as a VarInt based on the current {@link ConnectionProtocol} as well as the packet's data.
method: <init> (Lnet/minecraft/network/protocol/PacketFlow;)V params: 1: flow class: PacketListener path: net/minecraft/network/PacketListener Describes how packets are handled. There are various implementations of this class for each possible protocol (e.g. PLAY, CLIENTBOUND; PLAY, SERVERBOUND; etc.)
method: getConnection ()Lnet/minecraft/network/Connection; Returns this the Connection instance registered with this PacketListener
method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a Component describing the reason for termination
class: RateKickingConnection path: net/minecraft/network/RateKickingConnection Variant of {@link Connection} that monitors the amount of received packets and disables receiving if the set limit is exceeded.
method: <init> (I)V params: 1: rateLimitPacketsPerSecond class: SkipPacketException path: net/minecraft/network/SkipPacketException Used to signify that a packet encoding error is not fatal. If a packet fails to encode, but {@link Packet#isSkippable} returns true, then this exception is thrown instead and {@link Connection} will log a message instead of closing the connection.
class: Varint21FrameDecoder path: net/minecraft/network/Varint21FrameDecoder Counterpart to {@link Varint21LengthFieldPrepender}. Decodes each frame ("packet") by first reading its length and then its data.
class: Varint21LengthFieldPrepender path: net/minecraft/network/Varint21LengthFieldPrepender Prepends each frame ("packet") with its length encoded as a VarInt. Every frame's length must fit within a 3-byte VarInt.
@see Varint21FrameDecoder
realms class: DisconnectedRealmsScreen path: net/minecraft/realms/DisconnectedRealmsScreen method: <init> (Lnet/minecraft/client/gui/screens/Screen;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)V params: 1: parent, 2: title, 3: reason method: render (Lcom/mojang/blaze3d/vertex/PoseStack;IIF)V params: 1: matrixStack, 2: mouseX, 3: mouseY, 4: partialTicks class: RealmsConnect path: net/minecraft/realms/RealmsConnect method: <init> (Lnet/minecraft/client/gui/screens/Screen;)V params: 1: onlineScreen class: RealmsLabel path: net/minecraft/realms/RealmsLabel method: <init> (Lnet/minecraft/network/chat/Component;III)V params: 1: text, 2: x, 3: y, 4: color class: RealmsObjectSelectionList path: net/minecraft/realms/RealmsObjectSelectionList method: <init> (IIIII)V params: 1: width, 2: height, 3: y0, 4: y1, 5: itemHeight method: addEntry (Lnet/minecraft/client/gui/components/ObjectSelectionList$Entry;)I params: 1: entry method: getRowTop method: replaceEntries (Ljava/util/Collection;)V params: 1: entries method: selectItem method: setSelectedItem class: RealmsScreen path: net/minecraft/realms/RealmsScreen method: row class: RepeatedNarrator path: net/minecraft/realms/RepeatedNarrator method: <init> (Ljava/time/Duration;)V params: 1: duration recipebook class: PlaceRecipe path: net/minecraft/recipebook/PlaceRecipe method: addItemToSlot (Ljava/util/Iterator;IIII)V params: 1: ingredients, 2: slot, 3: maxAmount, 4: y, 5: x method: placeRecipe (IIILnet/minecraft/world/item/crafting/Recipe;Ljava/util/Iterator;I)V params: 1: width, 2: height, 3: outputSlot, 4: recipe, 5: ingredients, 6: maxAmount class: ServerPlaceRecipe path: net/minecraft/recipebook/ServerPlaceRecipe method: addItemToSlot (Ljava/util/Iterator;IIII)V params: 1: ingredients, 2: slot, 3: maxAmount, 4: y, 5: x method: getStackSize (ZIZ)I params: 1: placeAll, 2: maxPossible, 3: recipeMatches method: handleRecipeClicked (Lnet/minecraft/world/item/crafting/Recipe;Z)V params: 1: recipe, 2: placeAll method: moveItemToGrid (Lnet/minecraft/world/inventory/Slot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slotToFill, 2: ingredient method: recipeClicked (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/crafting/Recipe;Z)V params: 1: player, 2: recipe, 3: placeAll method: testClearGrid ()Z Places the output of the recipe into the player's inventory.
resources class: RegistryDataPackCodec path: net/minecraft/resources/RegistryDataPackCodec method: create (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Lifecycle;Lcom/mojang/serialization/Codec;)Lnet/minecraft/resources/RegistryDataPackCodec; params: 0: registryKey, 1: lifecycle, 2: rawCodec class: RegistryFileCodec path: net/minecraft/resources/RegistryFileCodec method: create (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;)Lnet/minecraft/resources/RegistryFileCodec; params: 0: registryKey, 1: codec method: create (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;Z)Lnet/minecraft/resources/RegistryFileCodec; params: 0: registryKey, 1: registryKeyCodec, 2: allowInlineDefinitions method: homogeneousList (Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; params: 0: registryKey, 1: registryKeyCodec Gets the codecs for all registry objects
class: RegistryLookupCodec path: net/minecraft/resources/RegistryLookupCodec method: create (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/resources/RegistryLookupCodec; params: 0: registryKey class: RegistryReadOps path: net/minecraft/resources/RegistryReadOps method: decodeElement (Ljava/lang/Object;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;Z)Lcom/mojang/serialization/DataResult; params: 1: input, 2: registryKey, 3: mapCodec, 4: allowInlineDefinitions method: decodeElements (Lnet/minecraft/core/MappedRegistry;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/DataResult; params: 1: simpleRegistry, 2: registryKey, 3: mapCodec method: readAndRegisterElement (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/WritableRegistry;Lcom/mojang/serialization/Codec;Lnet/minecraft/resources/ResourceLocation;)Lcom/mojang/serialization/DataResult; params: 1: registryKey, 2: mutableRegistry, 3: mapCodec, 4: id method: readCache (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/resources/RegistryReadOps$ReadCache; params: 1: key method: registry (Lnet/minecraft/resources/ResourceKey;)Lcom/mojang/serialization/DataResult; params: 1: registryKey class: RegistryReadOps$ResourceAccess path: net/minecraft/resources/RegistryReadOps$ResourceAccess method: forResourceManager (Lnet/minecraft/server/packs/resources/ResourceManager;)Lnet/minecraft/resources/RegistryReadOps$ResourceAccess; params: 0: manager method: listResources (Lnet/minecraft/resources/ResourceKey;)Ljava/util/Collection; params: 1: registryKey class: RegistryReadOps$ResourceAccess$1 path: net/minecraft/resources/RegistryReadOps$ResourceAccess$1 method: listResources (Lnet/minecraft/resources/ResourceKey;)Ljava/util/Collection; params: 1: registryKey class: RegistryReadOps$ResourceAccess$MemoryMap path: net/minecraft/resources/RegistryReadOps$ResourceAccess$MemoryMap method: add (Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Encoder;ILjava/lang/Object;Lcom/mojang/serialization/Lifecycle;)V params: 1: dynamicRegistries, 2: key, 3: encoder, 4: id, 5: instance, 6: lifecycle method: listResources (Lnet/minecraft/resources/ResourceKey;)Ljava/util/Collection; params: 1: registryKey class: RegistryWriteOps path: net/minecraft/resources/RegistryWriteOps method: create (Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/core/RegistryAccess;)Lnet/minecraft/resources/RegistryWriteOps; params: 0: ops, 1: dynamicRegistries method: encode (Ljava/lang/Object;Ljava/lang/Object;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/DataResult; params: 1: instance, 2: prefix, 3: registryKey, 4: mapCodec class: ResourceKey path: net/minecraft/resources/ResourceKey method: create (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceKey; params: 0: parent, 1: location method: create (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceKey; params: 0: parent, 1: location method: createRegistryKey (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceKey; params: 0: location method: elementKey (Lnet/minecraft/resources/ResourceKey;)Ljava/util/function/Function; params: 0: parent method: isFor (Lnet/minecraft/resources/ResourceKey;)Z params: 1: key Returns true if the registry represented by the parent key
class: ResourceLocation path: net/minecraft/resources/ResourceLocation method: decompose (Ljava/lang/String;C)[Ljava/lang/String; params: 0: resourceName, 1: splitOn method: isAllowedInResourceLocation method: isValidNamespace (Ljava/lang/String;)Z params: 0: namespace Returns true if given namespace only consists of allowed characters.
method: isValidPath (Ljava/lang/String;)Z params: 0: path Checks if the path contains invalid characters.
method: isValidResourceLocation (Ljava/lang/String;)Z params: 0: resourceName Checks if the specified resource name (namespace and path) contains invalid characters.
method: of (Ljava/lang/String;C)Lnet/minecraft/resources/ResourceLocation; params: 0: resourceName, 1: splitOn Constructs a ResourceLocation by splitting a String representation of a valid location on a specified character.
method: read (Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/resources/ResourceLocation; params: 0: reader method: read (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; params: 0: encoded method: tryParse (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: string method: validNamespaceChar method: validPathChar server bossevents class: CustomBossEvent path: net/minecraft/server/bossevents/CustomBossEvent method: addOfflinePlayer (Ljava/util/UUID;)V params: 1: player method: addPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Makes the boss visible to the given player.
method: load (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/server/bossevents/CustomBossEvent; params: 0: nbt, 1: id method: onPlayerConnect (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: onPlayerDisconnect (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: removePlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Makes the boss non-visible to the given player.
method: setMax method: setPlayers (Ljava/util/Collection;)Z params: 1: serverPlayerList method: setValue class: CustomBossEvents path: net/minecraft/server/bossevents/CustomBossEvents method: create (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/chat/Component;)Lnet/minecraft/server/bossevents/CustomBossEvent; params: 1: id method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/server/bossevents/CustomBossEvent; params: 1: id method: onPlayerConnect (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: onPlayerDisconnect (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: remove (Lnet/minecraft/server/bossevents/CustomBossEvent;)V params: 1: bossbar commands data class: BlockDataAccessor path: net/minecraft/server/commands/data/BlockDataAccessor method: getPrintSuccess (Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;DI)Lnet/minecraft/network/chat/Component; params: 1: path, 2: scale, 4: value Gets the message used as a result of querying the given path with a scale.
method: getPrintSuccess (Lnet/minecraft/nbt/Tag;)Lnet/minecraft/network/chat/Component; params: 1: nbt Gets the message used as a result of querying the given NBT (both for /data get and /data get path)
method: setData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: other class: BlockDataAccessor$1 path: net/minecraft/server/commands/data/BlockDataAccessor$1 method: access (Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/commands/data/DataAccessor; params: 1: context Creates an accessor based on the command context. This should only refer to arguments registered in {@link createArgument}.
method: wrap (Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 1: builder, 2: action Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.
class: DataAccessor path: net/minecraft/server/commands/data/DataAccessor method: getPrintSuccess (Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;DI)Lnet/minecraft/network/chat/Component; params: 1: path, 2: scale, 4: value Gets the message used as a result of querying the given path with a scale.
method: getPrintSuccess (Lnet/minecraft/nbt/Tag;)Lnet/minecraft/network/chat/Component; params: 1: nbt Gets the message used as a result of querying the given NBT (both for /data get and /data get path)
method: setData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: other class: DataCommands path: net/minecraft/server/commands/data/DataCommands method: getData (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/commands/data/DataAccessor;)I params: 0: source, 1: accessor Gets all NBT on the object, and applies syntax highlighting.
@return 1
method: getData (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/commands/data/DataAccessor;Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;)I params: 0: source, 1: accessor, 2: path Gets a value, which can be of any known NBT type.
@return The value associated with the element: length for strings, size for lists and compounds, and numeric value for primitives.
method: getNumeric (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/commands/data/DataAccessor;Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;D)I params: 0: source, 1: accessor, 2: path, 3: scale Gets a single numeric element, scaled by the given amount.
@return The element's value, scaled by scale.
method: mergeData (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/commands/data/DataAccessor;Lnet/minecraft/nbt/CompoundTag;)I params: 0: source, 1: accessor, 2: nbt Merges the given NBT into the targeted object's NBT.
@return 1
method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: removeData (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/commands/data/DataAccessor;Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;)I params: 0: source, 1: accessor, 2: path Removes the tag at the end of the path.
@return 1
class: DataCommands$DataProvider path: net/minecraft/server/commands/data/DataCommands$DataProvider method: access (Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/commands/data/DataAccessor; params: 1: context Creates an accessor based on the command context. This should only refer to arguments registered in {@link createArgument}.
method: wrap (Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 1: builder, 2: action Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.
class: EntityDataAccessor path: net/minecraft/server/commands/data/EntityDataAccessor method: getPrintSuccess (Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;DI)Lnet/minecraft/network/chat/Component; params: 1: path, 2: scale, 4: value Gets the message used as a result of querying the given path with a scale.
method: getPrintSuccess (Lnet/minecraft/nbt/Tag;)Lnet/minecraft/network/chat/Component; params: 1: nbt Gets the message used as a result of querying the given NBT (both for /data get and /data get path)
method: setData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: other class: EntityDataAccessor$1 path: net/minecraft/server/commands/data/EntityDataAccessor$1 method: access (Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/commands/data/DataAccessor; params: 1: context Creates an accessor based on the command context. This should only refer to arguments registered in {@link createArgument}.
method: wrap (Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 1: builder, 2: action Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.
class: StorageDataAccessor path: net/minecraft/server/commands/data/StorageDataAccessor method: getPrintSuccess (Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;DI)Lnet/minecraft/network/chat/Component; params: 1: path, 2: scale, 4: value Gets the message used as a result of querying the given path with a scale.
method: getPrintSuccess (Lnet/minecraft/nbt/Tag;)Lnet/minecraft/network/chat/Component; params: 1: nbt Gets the message used as a result of querying the given NBT (both for /data get and /data get path)
method: setData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: other class: StorageDataAccessor$1 path: net/minecraft/server/commands/data/StorageDataAccessor$1 method: access (Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/commands/data/DataAccessor; params: 1: context Creates an accessor based on the command context. This should only refer to arguments registered in {@link createArgument}.
method: wrap (Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 1: builder, 2: action Creates an argument used for accessing data related to this type of thing, including a literal to distinguish from other types.
class: AdvancementCommands path: net/minecraft/server/commands/AdvancementCommands method: addChildren (Lnet/minecraft/advancements/Advancement;Ljava/util/List;)V params: 0: advancement, 1: list Recursively adds all children of the given advancement to the given list. Does not add the advancement itself to the list.
method: getAdvancements (Lnet/minecraft/advancements/Advancement;Lnet/minecraft/server/commands/AdvancementCommands$Mode;)Ljava/util/List; params: 0: advancement, 1: mode Gets all advancements that match the given mode.
method: perform (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/server/commands/AdvancementCommands$Action;Ljava/util/Collection;)I params: 0: source, 1: targets, 2: action, 3: advancements Performs the given action on each advancement in the list, for each player.
@return The number of affected advancements across all players.
method: performCriterion (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/server/commands/AdvancementCommands$Action;Lnet/minecraft/advancements/Advancement;Ljava/lang/String;)I params: 0: source, 1: targets, 2: action, 3: advancement, 4: criterionName Updates a single criterion based on the given action.
@return The number of affected criteria across all players.
method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: AdvancementCommands$Action path: net/minecraft/server/commands/AdvancementCommands$Action method: perform (Lnet/minecraft/server/level/ServerPlayer;Ljava/lang/Iterable;)I params: 1: player, 2: advancements Applies this action to all of the given advancements.
@return The number of players affected.
method: perform (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/advancements/Advancement;)Z params: 1: player, 2: advancement Applies this action to the given advancement.
@return True if the player was affected.
method: performCriterion (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/advancements/Advancement;Ljava/lang/String;)Z params: 1: player, 2: advancement, 3: criterionName Applies this action to the given criterion.
@return True if the player was affected.
class: AdvancementCommands$Action$1 path: net/minecraft/server/commands/AdvancementCommands$Action$1 method: perform (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/advancements/Advancement;)Z params: 1: player, 2: advancement Applies this action to the given advancement.
@return True if the player was affected.
method: performCriterion (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/advancements/Advancement;Ljava/lang/String;)Z params: 1: player, 2: advancement, 3: criterionName Applies this action to the given criterion.
@return True if the player was affected.
class: AdvancementCommands$Action$2 path: net/minecraft/server/commands/AdvancementCommands$Action$2 method: perform (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/advancements/Advancement;)Z params: 1: player, 2: advancement Applies this action to the given advancement.
@return True if the player was affected.
method: performCriterion (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/advancements/Advancement;Ljava/lang/String;)Z params: 1: player, 2: advancement, 3: criterionName Applies this action to the given criterion.
@return True if the player was affected.
class: BanIpCommands path: net/minecraft/server/commands/BanIpCommands method: banIp (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: ip, 2: reason method: banIpOrName (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: username, 2: reason method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: BanListCommands path: net/minecraft/server/commands/BanListCommands method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: showList (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: bannedPlayerList class: BanPlayerCommands path: net/minecraft/server/commands/BanPlayerCommands method: banPlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: gameProfiles, 2: reason method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: BossBarCommands path: net/minecraft/server/commands/BossBarCommands method: createBar (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: id, 2: displayName method: getBossBar (Lcom/mojang/brigadier/context/CommandContext;)Lnet/minecraft/server/bossevents/CustomBossEvent; params: 0: source method: getMax (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;)I params: 0: source, 1: bossbar method: getPlayers (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;)I params: 0: source, 1: bossbar method: getValue (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;)I params: 0: source, 1: bossbar method: getVisible (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;)I params: 0: source, 1: bossbar method: listBars (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: removeBar (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;)I params: 0: source, 1: bossbar method: setColor (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;Lnet/minecraft/world/BossEvent$BossBarColor;)I params: 0: source, 1: bossbar, 2: color method: setMax (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;I)I params: 0: source, 1: bossbar, 2: max method: setName (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: bossbar, 2: name method: setPlayers (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;Ljava/util/Collection;)I params: 0: source, 1: bossbar, 2: players method: setStyle (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;Lnet/minecraft/world/BossEvent$BossBarOverlay;)I params: 0: source, 1: bossbar, 2: style method: setValue (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;I)I params: 0: source, 1: bossbar, 2: value method: setVisible (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;Z)I params: 0: source, 1: bossbar, 2: visible class: ClearInventoryCommands path: net/minecraft/server/commands/ClearInventoryCommands method: clearInventory (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Ljava/util/function/Predicate;I)I params: 0: source, 1: targetPlayers, 2: itemPredicate, 3: maxCount method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: CloneCommands path: net/minecraft/server/commands/CloneCommands method: clone (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Ljava/util/function/Predicate;Lnet/minecraft/server/commands/CloneCommands$Mode;)I params: 0: source, 1: beginPos, 2: endPos, 3: destPos, 4: filterPredicate, 5: cloneMode method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: DataPackCommand path: net/minecraft/server/commands/DataPackCommand method: disablePack (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/packs/repository/Pack;)I params: 0: source, 1: pack Disables the given pack.
@return The number of packs that are loaded after this operation.
method: enablePack (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/packs/repository/Pack;Lnet/minecraft/server/commands/DataPackCommand$Inserter;)I params: 0: source, 1: pack, 2: priorityCallback Enables the given pack.
@return The number of packs that are loaded after this operation.
method: getPack (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;Z)Lnet/minecraft/server/packs/repository/Pack; params: 0: context, 1: name, 2: enabling method: listAvailablePacks (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source Sends a list of available packs to the user.
@return The number of available packs.
method: listEnabledPacks (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source Sends a list of enabled packs to the user.
@return The number of enabled packs.
method: listPacks (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source Sends a list of both enabled and available packs to the user.
@return The total number of packs.
method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: DeOpCommands path: net/minecraft/server/commands/DeOpCommands method: deopPlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: players method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: DebugCommand path: net/minecraft/server/commands/DebugCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: start (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: stop (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source class: DefaultGameModeCommands path: net/minecraft/server/commands/DefaultGameModeCommands method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setMode (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/level/GameType;)I params: 0: commandSource, 1: gamemode Set Gametype of player who ran the command
class: DifficultyCommand path: net/minecraft/server/commands/DifficultyCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setDifficulty (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/Difficulty;)I params: 0: source, 1: difficulty class: EffectCommands path: net/minecraft/server/commands/EffectCommands method: clearEffect (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/effect/MobEffect;)I params: 0: source, 1: targets, 2: effect method: clearEffects (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: targets method: giveEffect (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/effect/MobEffect;Ljava/lang/Integer;IZ)I params: 0: source, 1: targets, 2: effect, 3: seconds, 4: amplifier, 5: showParticles method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: EmoteCommands path: net/minecraft/server/commands/EmoteCommands method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: EnchantCommand path: net/minecraft/server/commands/EnchantCommand method: enchant (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/item/enchantment/Enchantment;I)I params: 0: source, 1: targets, 2: enchantment, 3: level method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: ExecuteCommand path: net/minecraft/server/commands/ExecuteCommand method: addConditional (Lcom/mojang/brigadier/tree/CommandNode;Lcom/mojang/brigadier/builder/ArgumentBuilder;ZLnet/minecraft/server/commands/ExecuteCommand$CommandPredicate;)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 0: context, 1: builder, 2: value, 3: test method: addConditionals (Lcom/mojang/brigadier/tree/CommandNode;Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;Z)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 0: parent, 1: literal, 2: isIf method: addIfBlocksConditional (Lcom/mojang/brigadier/tree/CommandNode;Lcom/mojang/brigadier/builder/ArgumentBuilder;ZZ)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 0: parent, 1: literal, 2: isIf, 3: isMasked method: checkIfRegions (Lcom/mojang/brigadier/context/CommandContext;Z)I params: 0: context, 1: isMasked method: checkRegions (Lcom/mojang/brigadier/context/CommandContext;Z)Ljava/util/OptionalInt; params: 0: context, 1: isMasked method: checkRegions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Z)Ljava/util/OptionalInt; params: 0: level, 1: begin, 2: end, 3: destination, 4: isMasked method: checkScore (Lcom/mojang/brigadier/context/CommandContext;Ljava/util/function/BiPredicate;)Z params: 0: context, 1: comparison method: checkScore (Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/advancements/critereon/MinMaxBounds$Ints;)Z params: 0: context, 1: bounds method: checkUnlessRegions (Lcom/mojang/brigadier/context/CommandContext;Z)I params: 0: context, 1: isMasked method: expect (Lcom/mojang/brigadier/context/CommandContext;ZZ)Ljava/util/Collection; params: 0: context, 1: actual, 2: expected If actual and expected match, returns a collection containing only the source player.
method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: storeData (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/commands/data/DataAccessor;Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;Ljava/util/function/IntFunction;Z)Lnet/minecraft/commands/CommandSourceStack; params: 0: source, 1: accessor, 2: path, 3: tagConverter, 4: storingResult method: storeValue (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;Z)Lnet/minecraft/commands/CommandSourceStack; params: 0: source, 1: targets, 2: objective, 3: storingResult method: storeValue (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/bossevents/CustomBossEvent;ZZ)Lnet/minecraft/commands/CommandSourceStack; params: 0: source, 1: bar, 2: storingValue, 3: storingResult method: wrapStores (Lcom/mojang/brigadier/tree/LiteralCommandNode;Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;Z)Lcom/mojang/brigadier/builder/ArgumentBuilder; params: 0: parent, 1: literal, 2: storingResult class: ExperienceCommand path: net/minecraft/server/commands/ExperienceCommand method: addExperience (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;ILnet/minecraft/server/commands/ExperienceCommand$Type;)I params: 0: source, 1: targets, 2: amount, 3: type method: queryExperience (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/server/commands/ExperienceCommand$Type;)I params: 0: source, 1: player, 2: type method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setExperience (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;ILnet/minecraft/server/commands/ExperienceCommand$Type;)I params: 0: source, 1: targets, 2: amount, 3: type class: FillCommand path: net/minecraft/server/commands/FillCommand method: fillBlocks (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/commands/arguments/blocks/BlockInput;Lnet/minecraft/server/commands/FillCommand$Mode;Ljava/util/function/Predicate;)I params: 0: source, 1: area, 2: newBlock, 3: mode, 4: replacingPredicate method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: ForceLoadCommand path: net/minecraft/server/commands/ForceLoadCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: FunctionCommand path: net/minecraft/server/commands/FunctionCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: runFunction (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: functions class: GameModeCommand path: net/minecraft/server/commands/GameModeCommand method: logGamemodeChange (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/GameType;)V params: 0: source, 1: player, 2: gameType method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setMode (Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Lnet/minecraft/world/level/GameType;)I params: 0: source, 1: players, 2: gameType class: GameRuleCommand path: net/minecraft/server/commands/GameRuleCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: GameRuleCommand$1 path: net/minecraft/server/commands/GameRuleCommand$1 method: visit (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: key, 2: type class: GiveCommand path: net/minecraft/server/commands/GiveCommand method: giveItem (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/commands/arguments/item/ItemInput;Ljava/util/Collection;I)I params: 0: source, 1: item, 2: targets, 3: count method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: HelpCommand path: net/minecraft/server/commands/HelpCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: KickCommand path: net/minecraft/server/commands/KickCommand method: kickPlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: players, 2: reason method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: KillCommand path: net/minecraft/server/commands/KillCommand method: kill (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: targets method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: ListPlayersCommand path: net/minecraft/server/commands/ListPlayersCommand method: format (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/function/Function;)I params: 0: source, 1: nameExtractor method: listPlayers (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: listPlayersWithUuids (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: LocateCommand path: net/minecraft/server/commands/LocateCommand method: dist (IIII)F params: 0: x1, 1: z1, 2: x2, 3: z2 method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: MsgCommand path: net/minecraft/server/commands/MsgCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: sendMessage (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: recipients, 2: message class: OpCommand path: net/minecraft/server/commands/OpCommand method: opPlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: gameProfiles method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: PardonCommand path: net/minecraft/server/commands/PardonCommand method: pardonPlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: gameProfiles method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: PardonIpCommand path: net/minecraft/server/commands/PardonIpCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: unban (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 0: source, 1: ipAddress class: ParticleCommand path: net/minecraft/server/commands/ParticleCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: sendParticles (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/core/particles/ParticleOptions;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;FIZLjava/util/Collection;)I params: 0: source, 1: particleData, 2: pos, 3: delta, 4: speed, 5: count, 6: force, 7: viewers class: PlaySoundCommand path: net/minecraft/server/commands/PlaySoundCommand method: playSound (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/sounds/SoundSource;Lnet/minecraft/world/phys/Vec3;FFF)I params: 0: source, 1: targets, 2: sound, 3: category, 4: pos, 5: volume, 6: pitch, 7: minVolume method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: source (Lnet/minecraft/sounds/SoundSource;)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder; params: 0: category class: PublishCommand path: net/minecraft/server/commands/PublishCommand method: publish (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: port method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: RecipeCommand path: net/minecraft/server/commands/RecipeCommand method: giveRecipes (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Ljava/util/Collection;)I params: 0: source, 1: targets, 2: recipes method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: takeRecipes (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Ljava/util/Collection;)I params: 0: source, 1: targets, 2: recipes class: ReloadCommand path: net/minecraft/server/commands/ReloadCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: SaveAllCommand path: net/minecraft/server/commands/SaveAllCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: saveAll (Lnet/minecraft/commands/CommandSourceStack;Z)I params: 0: source, 1: flush class: SaveOffCommand path: net/minecraft/server/commands/SaveOffCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: SaveOnCommand path: net/minecraft/server/commands/SaveOnCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: SayCommand path: net/minecraft/server/commands/SayCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: ScoreboardCommand path: net/minecraft/server/commands/ScoreboardCommand method: addObjective (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;Lnet/minecraft/world/scores/criteria/ObjectiveCriteria;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: name, 2: criteria, 3: displayName method: addScore (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;I)I params: 0: source, 1: targets, 2: objective, 3: amount method: clearDisplaySlot (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: slotId method: enableTrigger (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;)I params: 0: source, 1: targets, 2: objective method: getScore (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;Lnet/minecraft/world/scores/Objective;)I params: 0: source, 1: player, 2: objective method: listObjectives (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: listTrackedPlayerScores (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 0: source, 1: player method: listTrackedPlayers (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: performOperation (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;Lnet/minecraft/commands/arguments/OperationArgument$Operation;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;)I params: 0: source, 1: targetEntities, 2: targetObjectives, 3: operation, 4: sourceEntities, 5: sourceObjective method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: removeObjective (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/Objective;)I params: 0: source, 1: objective method: removeScore (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;I)I params: 0: source, 1: targets, 2: objective, 3: amount method: resetScore (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;)I params: 0: source, 1: targets, 2: objective method: resetScores (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: targets method: setDisplayName (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/Objective;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: objective, 2: displayName method: setDisplaySlot (Lnet/minecraft/commands/CommandSourceStack;ILnet/minecraft/world/scores/Objective;)I params: 0: source, 1: slotId, 2: objective method: setRenderType (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/Objective;Lnet/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType;)I params: 0: source, 1: objective, 2: renderType method: setScore (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/scores/Objective;I)I params: 0: source, 1: targets, 2: objective, 3: newValue method: suggestTriggers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: source, 1: targets, 2: suggestions class: SetBlockCommand path: net/minecraft/server/commands/SetBlockCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setBlock (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/core/BlockPos;Lnet/minecraft/commands/arguments/blocks/BlockInput;Lnet/minecraft/server/commands/SetBlockCommand$Mode;Ljava/util/function/Predicate;)I params: 0: source, 1: pos, 2: state, 3: mode, 4: predicate class: SetPlayerIdleTimeoutCommand path: net/minecraft/server/commands/SetPlayerIdleTimeoutCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setIdleTimeout (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: idleTimeout class: SetSpawnCommand path: net/minecraft/server/commands/SetSpawnCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setSpawn (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/core/BlockPos;F)I params: 0: source, 1: targets, 2: pos class: SetWorldSpawnCommand path: net/minecraft/server/commands/SetWorldSpawnCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setSpawn (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/core/BlockPos;F)I params: 0: source, 1: pos class: SpreadPlayersCommand path: net/minecraft/server/commands/SpreadPlayersCommand method: createInitialPositions (Ljava/util/Random;IDDDD)[Lnet/minecraft/server/commands/SpreadPlayersCommand$Position; params: 0: random, 1: count, 2: minX, 4: minZ, 6: maxX, 8: maxZ method: getNumberOfTeams (Ljava/util/Collection;)I params: 0: entities Gets the number of unique teams for the given list of entities.
method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: SpreadPlayersCommand$Position path: net/minecraft/server/commands/SpreadPlayersCommand$Position method: clamp (DDDD)Z params: 1: minX, 3: minZ, 5: maxX, 7: maxZ method: dist (Lnet/minecraft/server/commands/SpreadPlayersCommand$Position;)D params: 1: other method: getSpawnY (Lnet/minecraft/world/level/BlockGetter;I)I params: 1: level method: moveAway (Lnet/minecraft/server/commands/SpreadPlayersCommand$Position;)V params: 1: other method: randomize (Ljava/util/Random;DDDD)V params: 1: random, 2: minX, 4: minZ, 6: maxX, 8: maZx class: StopCommand path: net/minecraft/server/commands/StopCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: StopSoundCommand path: net/minecraft/server/commands/StopSoundCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: stopSound (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/sounds/SoundSource;Lnet/minecraft/resources/ResourceLocation;)I params: 0: source, 1: targets, 2: category, 3: sound class: SummonCommand path: net/minecraft/server/commands/SummonCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: spawnEntity (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/nbt/CompoundTag;Z)I params: 0: source, 1: type, 2: pos, 3: nbt, 4: randomizeProperties class: TagCommand path: net/minecraft/server/commands/TagCommand method: addTag (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Ljava/lang/String;)I params: 0: source, 1: entities, 2: tagName method: getTags (Ljava/util/Collection;)Ljava/util/Collection; params: 0: entities Gets all tags that are present on at least one of the given entities.
method: listTags (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: entities method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: removeTag (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Ljava/lang/String;)I params: 0: source, 1: entities, 2: tagName class: TeamCommand path: net/minecraft/server/commands/TeamCommand method: createTeam (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;)I params: 0: source, 1: name method: createTeam (Lnet/minecraft/commands/CommandSourceStack;Ljava/lang/String;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: name, 2: displayName method: deleteTeam (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;)I params: 0: source, 1: team method: emptyTeam (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;)I params: 0: source, 1: team method: joinTeam (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Ljava/util/Collection;)I params: 0: source, 1: team, 2: players method: leaveTeam (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: players Removes the listed players from their teams.
method: listMembers (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;)I params: 0: source, 1: team method: listTeams (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setCollision (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/world/scores/Team$CollisionRule;)I params: 0: source, 1: team, 2: rule method: setColor (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/ChatFormatting;)I params: 0: source, 1: team, 2: value method: setDeathMessageVisibility (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/world/scores/Team$Visibility;)I params: 0: source, 1: team, 2: visibility method: setDisplayName (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: team, 2: value method: setFriendlyFire (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Z)I params: 0: source, 1: team, 2: value method: setFriendlySight (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Z)I params: 0: source, 1: team, 2: value method: setNametagVisibility (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/world/scores/Team$Visibility;)I params: 0: source, 1: team, 2: visibility method: setPrefix (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: team, 2: prefix method: setSuffix (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/network/chat/Component;)I params: 0: source, 1: team, 2: suffix class: TeleportCommand path: net/minecraft/server/commands/TeleportCommand method: performTeleport (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/server/level/ServerLevel;DDDLjava/util/Set;FFLnet/minecraft/server/commands/TeleportCommand$LookAt;)V params: 0: source, 1: entity, 2: level, 3: x, 5: y, 7: z, 9: relativeList, 10: yaw, 11: pitch, 12: facing method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: teleportToEntity (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/world/entity/Entity;)I params: 0: source, 1: targets, 2: destination method: teleportToPos (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/commands/arguments/coordinates/Coordinates;Lnet/minecraft/commands/arguments/coordinates/Coordinates;Lnet/minecraft/server/commands/TeleportCommand$LookAt;)I params: 0: source, 1: targets, 2: level, 3: position, 4: rotation, 5: facing class: TeleportCommand$LookAt path: net/minecraft/server/commands/TeleportCommand$LookAt method: perform (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;)V params: 1: source, 2: entity class: TellRawCommand path: net/minecraft/server/commands/TellRawCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher class: TimeCommand path: net/minecraft/server/commands/TimeCommand method: addTime (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: amount method: getDayTime (Lnet/minecraft/server/level/ServerLevel;)I params: 0: level Returns the day time (time wrapped within a day)
method: queryTime (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: time method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setTime (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: time class: TitleCommand path: net/minecraft/server/commands/TitleCommand method: clearTitle (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: targets method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: resetTitle (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: targets method: setTimes (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;III)I params: 0: source, 1: target, 2: fade, 3: stay, 4: fadeOut class: TriggerCommand path: net/minecraft/server/commands/TriggerCommand method: addValue (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/Score;I)I params: 0: source, 1: objective, 2: amount method: getScore (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/scores/Objective;)Lnet/minecraft/world/scores/Score; params: 0: player, 1: objective method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setValue (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/Score;I)I params: 0: source, 1: objective, 2: value method: simpleTrigger (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/scores/Score;)I params: 0: source, 1: objectives method: suggestObjectives (Lnet/minecraft/commands/CommandSourceStack;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture; params: 0: source, 1: builder class: WeatherCommand path: net/minecraft/server/commands/WeatherCommand method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setClear (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: time method: setRain (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: time method: setThunder (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: time class: WhitelistCommand path: net/minecraft/server/commands/WhitelistCommand method: addPlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: players method: disableWhitelist (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: enableWhitelist (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: reload (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: removePlayers (Lnet/minecraft/commands/CommandSourceStack;Ljava/util/Collection;)I params: 0: source, 1: players method: showList (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source class: WorldBorderCommand path: net/minecraft/server/commands/WorldBorderCommand method: getSize (Lnet/minecraft/commands/CommandSourceStack;)I params: 0: source method: register (Lcom/mojang/brigadier/CommandDispatcher;)V params: 0: dispatcher method: setCenter (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/phys/Vec2;)I params: 0: source, 1: pos method: setDamageAmount (Lnet/minecraft/commands/CommandSourceStack;F)I params: 0: source, 1: damagePerBlock method: setDamageBuffer (Lnet/minecraft/commands/CommandSourceStack;F)I params: 0: source, 1: distance method: setSize (Lnet/minecraft/commands/CommandSourceStack;DJ)I params: 0: source, 1: newSize, 3: time method: setWarningDistance (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: distance method: setWarningTime (Lnet/minecraft/commands/CommandSourceStack;I)I params: 0: source, 1: time dedicated class: DedicatedPlayerList path: net/minecraft/server/dedicated/DedicatedPlayerList method: canBypassPlayerLimit (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: deop (Lcom/mojang/authlib/GameProfile;)V params: 1: profile method: isWhiteListed (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: op (Lcom/mojang/authlib/GameProfile;)V params: 1: profile method: setUsingWhiteList (Z)V params: 1: whitelistEnabled class: DedicatedServer path: net/minecraft/server/dedicated/DedicatedServer method: getCompressionThreshold ()I The compression treshold. If the packet is larger than the specified amount of bytes, it will be compressed
method: getPluginNames ()Ljava/lang/String; Used by RCon's Query in the form of "MajorServerMod 1.2.3: MyPlugin 1.3" AnotherPlugin 2.1" AndSoForth 1.0".
method: getServerIp ()Ljava/lang/String; Returns the server's hostname.
method: getServerName ()Ljava/lang/String; Returns the server message of the day
method: getServerPort ()I Never used, but "getServerPort" is already taken.
method: getSpawnProtectionRadius ()I Return the spawn protection area's size.
method: initServer ()Z Initialises the server and starts it.
method: isCommandBlockEnabled ()Z Return whether command blocks are enabled.
method: isEpollEnabled ()Z Get if native transport should be used. Native transport means linux server performance improvements and optimized packet sending/receiving on linux
method: isHardcore method: isPublished ()Z Returns true if this integrated server is open to LAN
method: isSingleplayerOwner (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: isUnderSpawnProtection (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)Z params: 1: level, 2: pos, 3: player method: onServerExit ()V Directly calls System.exit(0), instantly killing the program.
method: populateSnooper (Lnet/minecraft/world/Snooper;)V params: 1: snooper method: publishServer (Lnet/minecraft/world/level/GameType;ZI)Z params: 1: gameMode, 2: cheats, 3: port method: runCommand (Ljava/lang/String;)Ljava/lang/String; params: 1: command Handle a command received by an RCon instance
method: setPlayerIdleTimeout (I)V params: 1: idleTimeout method: stopServer ()V Saves all necessary data as preparation for stopping the server.
method: tickChildren (Ljava/util/function/BooleanSupplier;)V params: 1: hasTimeLeft class: DedicatedServerProperties path: net/minecraft/server/dedicated/DedicatedServerProperties field: resourcePackHash Ljava/lang/String; Deprecated. Use resourcePackSha1 instead.
class: Settings path: net/minecraft/server/dedicated/Settings method: dispatchNumberOrString (Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/function/Function; params: 0: byId, 1: byName method: get (Ljava/lang/String;I)I params: 1: key method: get (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; params: 1: key method: get (Ljava/lang/String;Z)Z params: 1: key method: getStringRaw (Ljava/lang/String;)Ljava/lang/String; params: 1: key method: loadFromFile (Ljava/nio/file/Path;)Ljava/util/Properties; params: 0: path method: store (Ljava/nio/file/Path;)V params: 1: path method: wrapNumberDeserializer (Ljava/util/function/Function;)Ljava/util/function/Function; params: 0: parseFunc gui class: MinecraftServerGui path: net/minecraft/server/gui/MinecraftServerGui method: buildInfoPanel ()Ljavax/swing/JComponent; Generates new StatsComponent and returns it.
method: buildPlayerPanel ()Ljavax/swing/JComponent; Generates new PlayerListComponent and returns it.
method: print (Ljavax/swing/JTextArea;Ljavax/swing/JScrollPane;Ljava/lang/String;)V params: 1: textArea, 2: scrollPane, 3: line class: StatsComponent path: net/minecraft/server/gui/StatsComponent method: getAverage level progress class: ChunkProgressListener path: net/minecraft/server/level/progress/ChunkProgressListener method: onStatusChange (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/ChunkStatus;)V params: 1: chunkPosition, 2: newStatus method: updateSpawnPos (Lnet/minecraft/world/level/ChunkPos;)V params: 1: center class: LoggerChunkProgressListener path: net/minecraft/server/level/progress/LoggerChunkProgressListener method: onStatusChange (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/ChunkStatus;)V params: 1: chunkPosition, 2: newStatus method: updateSpawnPos (Lnet/minecraft/world/level/ChunkPos;)V params: 1: center class: ProcessorChunkProgressListener path: net/minecraft/server/level/progress/ProcessorChunkProgressListener method: onStatusChange (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/ChunkStatus;)V params: 1: chunkPosition, 2: newStatus method: updateSpawnPos (Lnet/minecraft/world/level/ChunkPos;)V params: 1: center class: StoringChunkProgressListener path: net/minecraft/server/level/progress/StoringChunkProgressListener method: getStatus (II)Lnet/minecraft/world/level/chunk/ChunkStatus; params: 1: x, 2: z method: onStatusChange (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/ChunkStatus;)V params: 1: chunkPosition, 2: newStatus method: updateSpawnPos (Lnet/minecraft/world/level/ChunkPos;)V params: 1: center class: BlockDestructionProgress path: net/minecraft/server/level/BlockDestructionProgress method: getUpdatedRenderTick ()I retrieves the 'date' at which the PartiallyDestroyedBlock was created
method: setProgress (I)V params: 1: damage inserts damage value into this partially destroyed Block. -1 causes client renderer to delete it, otherwise ranges from 1 to 10
method: updateTick (I)V params: 1: createdAtCloudUpdateTick saves the current Cloud update tick into the PartiallyDestroyedBlock
class: ChunkHolder path: net/minecraft/server/level/ChunkHolder field: entityTickingChunkFuture Ljava/util/concurrent/CompletableFuture; A future that returns the chunk if it is an entity ticking chunk, {@link net.minecraft.world.server.ChunkHolder.IChunkLoadingError#UNLOADED} otherwise.
field: fullChunkFuture Ljava/util/concurrent/CompletableFuture; A future that returns the chunk if it is a border chunk, {@link net.minecraft.world.server.ChunkHolder.IChunkLoadingError#UNLOADED} otherwise.
field: tickingChunkFuture Ljava/util/concurrent/CompletableFuture; A future that returns the chunk if it is a ticking chunk, {@link net.minecraft.world.server.ChunkHolder.IChunkLoadingError#UNLOADED} otherwise.
method: broadcast (Lnet/minecraft/network/protocol/Packet;Z)V params: 1: packet, 2: boundaryOnly method: broadcastBlockEntity (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: broadcastChanges (Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: chunk method: getFullChunkStatus (I)Lnet/minecraft/server/level/ChunkHolder$FullChunkStatus; params: 0: level method: getStatus (I)Lnet/minecraft/world/level/chunk/ChunkStatus; params: 0: level method: sectionLightChanged (Lnet/minecraft/world/level/LightLayer;I)V params: 1: type, 2: sectionY method: setTicketLevel class: ChunkHolder$FullChunkStatus path: net/minecraft/server/level/ChunkHolder$FullChunkStatus method: isOrAfter (Lnet/minecraft/server/level/ChunkHolder$FullChunkStatus;)Z params: 1: type class: ChunkHolder$PlayerProvider path: net/minecraft/server/level/ChunkHolder$PlayerProvider method: getPlayers (Lnet/minecraft/world/level/ChunkPos;Z)Ljava/util/stream/Stream; params: 1: pos, 2: boundaryOnly Returns the players tracking the given chunk.
class: ChunkMap path: net/minecraft/server/level/ChunkMap field: entitiesInLevel Lit/unimi/dsi/fastutil/longs/LongSet; Chunk positions in this set have fully loaded and their TE's and entities are accessible from the world
field: modified Z True if changes have been made to {@link #loadedChunks} and thus a new copy of the collection has to be made into {@link #immutableLoadedChunks}.
field: toDrop Lit/unimi/dsi/fastutil/longs/LongSet; Chunks that have been requested to be unloaded, but haven't been unloaded yet.
field: updatingChunkMap Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap; Chunks in memory. This should only ever be manipulated by the main thread.
field: visibleChunkMap Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap; Same as {@link #loadedChunks}, but immutable for access from other threads. <em>This should never be mutated.</em>
method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: broadcast (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/protocol/Packet;)V params: 1: entity method: broadcastAndSend (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/protocol/Packet;)V params: 1: entity method: checkerboardDistance (Lnet/minecraft/world/level/ChunkPos;II)I params: 0: chunkPos, 1: x, 2: y method: euclideanDistanceSquared (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/entity/Entity;)D params: 0: chunkPos, 1: entity Returns the squared distance to the center of the chunk.
method: getChunkDebugData (Lnet/minecraft/world/level/ChunkPos;)Ljava/lang/String; params: 1: pos method: getChunks ()Ljava/lang/Iterable; Gets an unmodifiable iterable of all loaded chunks in the chunk manager
method: getPlayers (Lnet/minecraft/world/level/ChunkPos;Z)Ljava/util/stream/Stream; params: 1: pos, 2: boundaryOnly Returns the players tracking the given chunk.
method: move (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: noPlayersCloseForSpawning (Lnet/minecraft/world/level/ChunkPos;)Z params: 1: chunkPos method: playerLoadedChunk (Lnet/minecraft/server/level/ServerPlayer;[Lnet/minecraft/network/protocol/Packet;Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: player, 2: packetCache, 3: chunk method: processUnloads (Ljava/util/function/BooleanSupplier;)V params: 1: hasMoreTime method: readChunk (Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: removeEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: save (Lnet/minecraft/world/level/chunk/ChunkAccess;)Z params: 1: chunk method: saveAllChunks method: scheduleChunkGeneration (Lnet/minecraft/server/level/ChunkHolder;Lnet/minecraft/world/level/chunk/ChunkStatus;)Ljava/util/concurrent/CompletableFuture; params: 1: chunkHolder, 2: chunkStatus method: scheduleChunkLoad (Lnet/minecraft/world/level/ChunkPos;)Ljava/util/concurrent/CompletableFuture; params: 1: chunkPos method: scheduleUnload (JLnet/minecraft/server/level/ChunkHolder;)V params: 1: chunkPos, 3: chunkHolder method: setViewDistance (I)V params: 1: viewDistance method: skipPlayer (Lnet/minecraft/server/level/ServerPlayer;)Z params: 1: player method: tick (Ljava/util/function/BooleanSupplier;)V params: 1: hasMoreTime method: updateChunkScheduling (JILnet/minecraft/server/level/ChunkHolder;I)Lnet/minecraft/server/level/ChunkHolder; params: 1: chunkPos, 3: newLevel, 4: holder, 5: oldLevel Sets level and loads/unloads chunk. Used by {@link net.minecraft.world.server.ChunkManager.ProxyTicketManager} to set chunk level.
method: updateChunkTracking (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/ChunkPos;[Lnet/minecraft/network/protocol/Packet;ZZ)V params: 1: player, 2: chunkPos, 3: packetCache, 4: wasLoaded, 5: load Sends the chunk to the client, or tells it to unload it.
method: updatePlayerStatus (Lnet/minecraft/server/level/ServerPlayer;Z)V params: 1: player, 2: track class: ChunkMap$DistanceManager path: net/minecraft/server/level/ChunkMap$DistanceManager method: getChunk (J)Lnet/minecraft/server/level/ChunkHolder; params: 1: chunkPos method: updateChunkScheduling (JILnet/minecraft/server/level/ChunkHolder;I)Lnet/minecraft/server/level/ChunkHolder; params: 1: chunkPos, 3: newLevel, 4: holder, 5: oldLevel class: ChunkMap$TrackedEntity path: net/minecraft/server/level/ChunkMap$TrackedEntity method: removePlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: updatePlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: updatePlayers (Ljava/util/List;)V params: 1: playersList class: ChunkTaskPriorityQueue path: net/minecraft/server/level/ChunkTaskPriorityQueue method: release (JZ)V params: 1: chunkPos, 3: fullClear method: submit (Ljava/util/Optional;JI)V params: 1: task, 2: chunkPos, 4: chunkLevel class: ChunkTracker path: net/minecraft/server/level/ChunkTracker method: checkNeighborsAfterUpdate (JIZ)V params: 1: pos, 3: level, 4: isDecreasing method: computeLevelFromNeighbor (JJI)I params: 1: startPos, 3: endPos, 5: startLevel Returns level propagated from start position with specified level to the neighboring end position.
method: getComputedLevel (JJI)I params: 1: pos, 3: excludedSourcePos, 5: level Computes level propagated from neighbors of specified position with given existing level, excluding the given source position.
method: getLevelFromSource method: isSource method: update (JIZ)V params: 1: pos, 3: level, 4: isDecreasing class: DemoMode path: net/minecraft/server/level/DemoMode method: outputDemoReminder ()V Sends a message to the player reminding them that this is the demo version
method: useItem (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: level, 3: stack, 4: hand class: DistanceManager path: net/minecraft/server/level/DistanceManager method: addPlayer (Lnet/minecraft/core/SectionPos;Lnet/minecraft/server/level/ServerPlayer;)V params: 1: sectionPos, 2: player method: addRegionTicket (Lnet/minecraft/server/level/TicketType;Lnet/minecraft/world/level/ChunkPos;ILjava/lang/Object;)V params: 1: type, 2: pos, 3: distance, 4: value method: addTicket (JLnet/minecraft/server/level/Ticket;)V params: 1: chunkPos, 3: ticket method: addTicket (Lnet/minecraft/server/level/TicketType;Lnet/minecraft/world/level/ChunkPos;ILjava/lang/Object;)V params: 1: type, 2: pos, 3: level, 4: value method: getChunk (J)Lnet/minecraft/server/level/ChunkHolder; params: 1: chunkPos method: getNaturalSpawnChunkCount ()I Returns the number of chunks taken into account when calculating the mob cap
method: hasPlayersNearby method: removePlayer (Lnet/minecraft/core/SectionPos;Lnet/minecraft/server/level/ServerPlayer;)V params: 1: sectionPos, 2: player method: removeRegionTicket (Lnet/minecraft/server/level/TicketType;Lnet/minecraft/world/level/ChunkPos;ILjava/lang/Object;)V params: 1: type, 2: pos, 3: distance, 4: value method: removeTicket (JLnet/minecraft/server/level/Ticket;)V params: 1: chunkPos, 3: ticket method: removeTicket (Lnet/minecraft/server/level/TicketType;Lnet/minecraft/world/level/ChunkPos;ILjava/lang/Object;)V params: 1: type, 2: pos, 3: level, 4: value method: runAllUpdates (Lnet/minecraft/server/level/ChunkMap;)Z params: 1: chunkManager method: updateChunkForced (Lnet/minecraft/world/level/ChunkPos;Z)V params: 1: pos, 2: add method: updateChunkScheduling (JILnet/minecraft/server/level/ChunkHolder;I)Lnet/minecraft/server/level/ChunkHolder; params: 1: chunkPos, 3: newLevel, 4: holder, 5: oldLevel method: updatePlayerTickets (I)V params: 1: viewDistance class: DistanceManager$ChunkTicketTracker path: net/minecraft/server/level/DistanceManager$ChunkTicketTracker method: getLevel (J)I params: 1: sectionPos method: getLevelFromSource method: setLevel (JI)V params: 1: sectionPos, 3: level class: DistanceManager$FixedPlayerDistanceChunkTracker path: net/minecraft/server/level/DistanceManager$FixedPlayerDistanceChunkTracker field: chunks Lit/unimi/dsi/fastutil/longs/Long2ByteMap; Chunks that are at most {@link #range} chunks away from the closest player.
method: getLevel (J)I params: 1: sectionPos method: getLevelFromSource method: havePlayer method: onLevelChange (JII)V params: 1: chunkPos, 3: oldLevel, 4: newLevel Called after {@link PlayerChunkTracker#setLevel(long, int)} puts/removes chunk into/from {@link #chunksInRange}.
method: setLevel (JI)V params: 1: sectionPos, 3: level class: DistanceManager$PlayerTicketTracker path: net/minecraft/server/level/DistanceManager$PlayerTicketTracker method: onLevelChange (JII)V params: 1: chunkPos, 3: oldLevel, 4: newLevel Called after {@link PlayerChunkTracker#setLevel(long, int)} puts/removes chunk into/from {@link #chunksInRange}.
method: updateViewDistance (I)V params: 1: viewDistance class: PlayerMap path: net/minecraft/server/level/PlayerMap method: addPlayer (JLnet/minecraft/server/level/ServerPlayer;Z)V params: 1: chunkPos, 3: player, 4: canGenerateChunks method: getPlayers (J)Ljava/util/stream/Stream; params: 1: chunkPos method: ignorePlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: ignored (Lnet/minecraft/server/level/ServerPlayer;)Z params: 1: player method: ignoredOrUnknown (Lnet/minecraft/server/level/ServerPlayer;)Z params: 1: player method: removePlayer (JLnet/minecraft/server/level/ServerPlayer;)V params: 1: chunkPos, 3: player method: unIgnorePlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: updatePlayer (JJLnet/minecraft/server/level/ServerPlayer;)V params: 1: oldChunkPos, 3: newChunkPos, 5: player class: SectionTracker path: net/minecraft/server/level/SectionTracker method: checkNeighborsAfterUpdate (JIZ)V params: 1: pos, 3: level, 4: isDecreasing method: computeLevelFromNeighbor (JJI)I params: 1: startPos, 3: endPos, 5: startLevel Returns level propagated from start position with specified level to the neighboring end position.
method: getComputedLevel (JJI)I params: 1: pos, 3: excludedSourcePos, 5: level Computes level propagated from neighbors of specified position with given existing level, excluding the given source position.
method: getLevelFromSource method: isSource method: update (JIZ)V params: 1: pos, 3: level, 4: isDecreasing class: ServerBossEvent path: net/minecraft/server/level/ServerBossEvent method: addPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Makes the boss visible to the given player.
method: getPlayers ()Ljava/util/Collection; The returned collection is unmodifiable
method: removePlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Makes the boss non-visible to the given player.
method: setColor (Lnet/minecraft/world/BossEvent$BossBarColor;)V params: 1: color method: setCreateWorldFog (Z)Lnet/minecraft/world/BossEvent; params: 1: createFog method: setDarkenScreen (Z)Lnet/minecraft/world/BossEvent; params: 1: darkenSky method: setName (Lnet/minecraft/network/chat/Component;)V params: 1: name method: setOverlay (Lnet/minecraft/world/BossEvent$BossBarOverlay;)V params: 1: overlay method: setPlayBossMusic (Z)Lnet/minecraft/world/BossEvent; params: 1: playEndBossMusic method: setVisible class: ServerChunkCache path: net/minecraft/server/level/ServerChunkCache method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: addRegionTicket (Lnet/minecraft/server/level/TicketType;Lnet/minecraft/world/level/ChunkPos;ILjava/lang/Object;)V params: 1: type, 2: pos, 3: distance, 4: value method: blockChanged (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: broadcast (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/protocol/Packet;)V params: 1: entity, 2: packet method: broadcastAndSend (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/network/protocol/Packet;)V params: 1: entity, 2: packet method: checkChunkFuture (JLjava/util/function/Function;)Z params: 1: pos method: gatherStats ()Ljava/lang/String; Converts the instance data to a readable string.
method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;Z)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: chunkX, 2: chunkZ, 3: requiredStatus, 4: load method: getChunkDebugData (Lnet/minecraft/world/level/ChunkPos;)Ljava/lang/String; params: 1: chunkPos method: getChunkForLighting (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getChunkNow (II)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkX, 2: chunkZ method: hasChunk (II)Z params: 1: x, 2: z Checks to see if a chunk exists at x, z
method: move (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: onLightUpdate (Lnet/minecraft/world/level/LightLayer;Lnet/minecraft/core/SectionPos;)V params: 1: type, 2: pos method: removeEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: removeRegionTicket (Lnet/minecraft/server/level/TicketType;Lnet/minecraft/world/level/ChunkPos;ILjava/lang/Object;)V params: 1: type, 2: pos, 3: distance, 4: value method: save method: setSpawnSettings (ZZ)V params: 1: hostile, 2: peaceful method: setViewDistance (I)V params: 1: viewDistance method: updateChunkForced (Lnet/minecraft/world/level/ChunkPos;Z)V params: 1: pos, 2: add class: ServerChunkCache$MainThreadExecutor path: net/minecraft/server/level/ServerChunkCache$MainThreadExecutor method: doRunTask (Ljava/lang/Runnable;)V params: 1: task method: shouldRun (Ljava/lang/Runnable;)Z params: 1: runnable method: wrapRunnable (Ljava/lang/Runnable;)Ljava/lang/Runnable; params: 1: runnable class: ServerEntity path: net/minecraft/server/level/ServerEntity method: addPairing (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: broadcastAndSend (Lnet/minecraft/network/protocol/Packet;)V params: 1: packet method: removePairing (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: sendPairingData (Ljava/util/function/Consumer;)V params: 1: packetConsumer class: ServerLevel path: net/minecraft/server/level/ServerLevel method: addDuringCommandTeleport (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: addDuringPortalTeleport (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: addEntity (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Called when an entity is spawned in the world. This includes players.
method: addFreshEntity (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: addNewPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: addPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: addRespawnedPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: addWithUUID (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Used for "unnatural" ways of entities appearing in the world, e.g. summon command, interdimensional teleports
method: blockEvent (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;II)V params: 1: pos, 2: block, 3: eventID, 4: eventParam method: blockUpdated (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: pos, 2: block method: broadcastEntityEvent (Lnet/minecraft/world/entity/Entity;B)V params: 1: entity, 2: state sends a Packet 38 (Entity Status) to all tracked players of that entity
method: clearBlockEvents (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: boundingBox method: destroyBlockProgress (ILnet/minecraft/core/BlockPos;I)V params: 1: breakerId, 2: pos, 3: progress method: doBlockEvent (Lnet/minecraft/world/level/BlockEventData;)Z params: 1: event method: dumpEntities (Ljava/io/Writer;Ljava/lang/Iterable;)V params: 0: writer, 1: entities method: explode (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/level/ExplosionDamageCalculator;DDDFZLnet/minecraft/world/level/Explosion$BlockInteraction;)Lnet/minecraft/world/level/Explosion; params: 1: exploder, 2: damageSource, 3: context, 4: x, 6: y, 8: z, 10: size, 11: causesFire, 12: mode method: findNearestBiome (Lnet/minecraft/world/level/biome/Biome;Lnet/minecraft/core/BlockPos;II)Lnet/minecraft/core/BlockPos; params: 1: biome, 2: pos, 3: radius, 4: increment method: findNearestMapFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/core/BlockPos;IZ)Lnet/minecraft/core/BlockPos; params: 1: structure, 2: pos, 3: radius, 4: skipExistingChunks method: getAllEntities ()Ljava/lang/Iterable; Gets an unmodifiable iterator of all loaded entities in the world.
method: getChunkSource ()Lnet/minecraft/server/level/ServerChunkCache; Gets the world's chunk provider
method: getEntity (I)Lnet/minecraft/world/entity/Entity; params: 1: id Returns the Entity with the given ID, or null if it doesn't exist in this World.
method: getEntity (Ljava/util/UUID;)Lnet/minecraft/world/entity/Entity; params: 1: uniqueId method: getMapData (Ljava/lang/String;)Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData; params: 1: mapName method: getPlayers (Ljava/util/function/Predicate;)Ljava/util/List; params: 1: predicate method: getRaidAt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/entity/raid/Raid; params: 1: pos method: getSeed ()J gets the random world seed
method: getShade (Lnet/minecraft/core/Direction;Z)F params: 1: direction, 2: isShade method: getUncachedNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: globalLevelEvent (ILnet/minecraft/core/BlockPos;I)V params: 1: id, 2: pos, 3: data method: isCloseToVillage (Lnet/minecraft/core/BlockPos;I)Z params: 1: pos, 2: sections method: isRaided (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isVillage (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isVillage (Lnet/minecraft/core/SectionPos;)Z params: 1: pos method: levelEvent (Lnet/minecraft/world/entity/player/Player;ILnet/minecraft/core/BlockPos;I)V params: 1: player, 2: type, 3: pos, 4: data method: makeObsidianPlatform (Lnet/minecraft/server/level/ServerLevel;)V params: 0: serverLevel method: mayInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;)Z params: 1: player, 2: pos method: onBlockStateChange (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: blockState, 3: newState method: onReputationEvent (Lnet/minecraft/world/entity/ai/village/ReputationEventType;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/ReputationEventHandler;)V params: 1: type, 2: target, 3: host method: playSound (Lnet/minecraft/world/entity/player/Player;DDDLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: x, 4: y, 6: z, 8: sound, 9: category, 10: volume, 11: pitch method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: entity, 3: event, 4: category, 5: volume, 6: pitch method: resetEmptyTime ()V Resets the updateEntityTick field to 0
method: save (Lnet/minecraft/util/ProgressListener;ZZ)V params: 1: progress, 2: flush, 3: skipSave method: saveDebugReport (Ljava/nio/file/Path;)V params: 1: path method: saveLevelData ()V Saves the chunks to disk.
method: sectionsToVillage (Lnet/minecraft/core/SectionPos;)I params: 1: pos method: sendBlockUpdated (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;I)V params: 1: pos, 2: oldState, 3: newState, 4: flags Flags are as in setBlockState
method: sendParticles (Lnet/minecraft/core/particles/ParticleOptions;DDDIDDDD)I params: 1: type, 2: posX, 4: posY, 6: posZ, 8: particleCount, 9: xOffset, 11: yOffset, 13: zOffset, 15: speed method: sendParticles (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/particles/ParticleOptions;ZDDDIDDDD)Z params: 1: player, 2: type, 3: longDistance, 4: posX, 6: posY, 8: posZ, 10: particleCount, 11: xOffset, 13: yOffset, 15: zOffset, 17: speed method: sendParticles (Lnet/minecraft/server/level/ServerPlayer;ZDDDLnet/minecraft/network/protocol/Packet;)Z params: 1: player, 2: longDistance, 3: posX, 5: posY, 7: posZ, 9: packet method: setChunkForced (IIZ)Z params: 1: chunkX, 2: chunkZ, 3: add method: setDayTime method: setDefaultSpawnPos (Lnet/minecraft/core/BlockPos;F)V params: 1: pos, 2: angle method: setWeatherParameters (IIZZ)V params: 1: clearTime, 2: weatherTime, 3: isRaining, 4: isThundering method: startsForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Ljava/util/stream/Stream; params: 1: pos, 2: structure method: stopWeather ()V Clears the current rain and thunder weather states.
method: tick (Ljava/util/function/BooleanSupplier;)V params: 1: hasTimeLeft Runs a single tick for the world
method: tickBlock (Lnet/minecraft/world/level/TickNextTickData;)V params: 1: blockTickEntry method: tickChunk (Lnet/minecraft/world/level/chunk/LevelChunk;I)V params: 1: chunk, 2: randomTickSpeed method: tickCustomSpawners (ZZ)V params: 1: spawnHostiles, 2: spawnPassives method: tickLiquid (Lnet/minecraft/world/level/TickNextTickData;)V params: 1: fluidTickEntry method: tickNonPassenger (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: tickPassenger (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V params: 1: ridingEntity, 2: passengerEntity method: tryAddFreshEntityWithPassengers (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Attempts to summon an entity and it's passangers. They will only be summoned if all entities are unique and not already in queue to be summoned.
method: unload (Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: chunk method: updateSleepingPlayerList ()V Updates the flag that indicates whether or not all players in the world are sleeping.
class: ServerPlayer path: net/minecraft/server/level/ServerPlayer field: camera Lnet/minecraft/world/entity/Entity; The entity the player is currently spectating through.
field: lastRecordedHealthAndAbsorption F the total health of the player, includes actual health and absorption health. Updated every tick.
field: lastSectionPos Lnet/minecraft/core/SectionPos; Player section position as last updated by TicketManager, used by ChunkManager
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: attack (Lnet/minecraft/world/entity/Entity;)V params: 1: targetEntity Attacks for the player the targeted entity with the currently equipped item. The equipped item has hitEntity called on it. Args: targetEntity
method: awardKillScore (Lnet/minecraft/world/entity/Entity;ILnet/minecraft/world/damagesource/DamageSource;)V params: 1: killed, 2: scoreValue, 3: damageSource method: awardStat (Lnet/minecraft/stats/Stat;I)V params: 1: stat, 2: amount Adds a value to a statistic field.
method: broadcastToPlayer (Lnet/minecraft/server/level/ServerPlayer;)Z params: 1: player method: canHarmPlayer (Lnet/minecraft/world/entity/player/Player;)Z params: 1: other method: changeDimension (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: server method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: closeContainer ()V set current crafting inventory back to the 2x2 square
method: completeUsingItem ()V Used for when item use count runs out, ie: eating completed
method: crit (Lnet/minecraft/world/entity/Entity;)V params: 1: entityHit Called when the entity is dealt a critical hit.
method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: displayClientMessage (Lnet/minecraft/network/chat/Component;Z)V params: 1: chatComponent, 2: actionBar method: doCheckFallDamage (DZ)V params: 1: y, 3: onGround process player falling based on movement packet
method: doCloseContainer ()V Closes the container the player currently has open.
method: drop (Lnet/minecraft/world/item/ItemStack;ZZ)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: droppedItem, 2: dropAround, 3: traceItem Creates and drops the provided item. Depending on the dropAround, it will drop teh item around the player, instead of dropping the item from where the player is pointing at. Likewise, if traceItem is true, the dropped item entity will have the thrower set as the player.
method: findDimensionEntryPoint (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/level/portal/PortalInfo; params: 1: destination method: getExitPortal (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Z)Ljava/util/Optional; params: 1: destination, 2: findFrom, 3: isToNether method: getIpAddress ()Ljava/lang/String; Gets the player's IP address. Used in /banip.
method: getTabListDisplayName ()Lnet/minecraft/network/chat/Component; Returns null which indicates the tab list should just display the player's name, return a different value to display the specified text instead of the player's name
method: giveExperienceLevels (I)V params: 1: levels Add experience levels to this player.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isInvulnerableTo (Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: source Returns whether this Entity is invulnerable to the given DamageSource.
method: isPvpAllowed ()Z Returns if other players can attack this player
method: isSpectator ()Z Returns true if the player is in spectator mode.
method: lookAt (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;Lnet/minecraft/world/phys/Vec3;)V params: 1: anchor, 2: target method: magicCrit (Lnet/minecraft/world/entity/Entity;)V params: 1: entityHit method: moveTo (DDD)V params: 1: x, 3: y, 5: z method: nextContainerCounter ()V get the next window id to use
method: onChangedBlock (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: onEffectRemoved (Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effect method: onEnchantmentPerformed (Lnet/minecraft/world/item/ItemStack;I)V params: 1: enchantedItem, 2: cost method: onEnterCombat ()V Sends an ENTER_COMBAT packet to the client
method: onInsideBlock (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: state method: onLeaveCombat ()V Sends an END_COMBAT packet to the client
method: onUpdateAbilities ()V Sends the player's abilities to the server (if there is one).
method: openCommandBlock (Lnet/minecraft/world/level/block/entity/CommandBlockEntity;)V params: 1: commandBlock method: openHorseInventory (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;Lnet/minecraft/world/Container;)V params: 1: horse, 2: inventory method: openItemGui (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)V params: 1: stack, 2: hand method: openTextEdit (Lnet/minecraft/world/level/block/entity/SignBlockEntity;)V params: 1: signTile method: processPortalCooldown ()V Decrements the counter for the remaining time until the entity may use a portal again.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: refreshContainer (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/core/NonNullList;)V params: 1: containerToSend, 2: itemsList method: resetSentInfo ()V this function is called when a players inventory is sent to him, lastHealth is updated on any dimension transitions, then reset.
method: resetStat (Lnet/minecraft/stats/Stat;)V params: 1: stat method: restoreFrom (Lnet/minecraft/server/level/ServerPlayer;Z)V params: 1: that, 2: keepEverything method: sendMerchantOffers (ILnet/minecraft/world/item/trading/MerchantOffers;IIZZ)V params: 1: containerId, 2: offers, 3: level, 4: xp method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
method: setCamera (Lnet/minecraft/world/entity/Entity;)V params: 1: entityToSpectate method: setContainerData (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: container, 2: varToUpdate, 3: newValue method: setExperienceLevels method: setLastSectionPos (Lnet/minecraft/core/SectionPos;)V params: 1: sectionPos method: setPlayerInput (FFZZ)V params: 1: strafe, 2: forward, 3: jumping, 4: sneaking method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
method: startRiding (Lnet/minecraft/world/entity/Entity;Z)Z params: 1: entity, 2: force method: startSleepInBed (Lnet/minecraft/core/BlockPos;)Lcom/mojang/datafixers/util/Either; params: 1: at method: startSleeping (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: stopRiding ()V Dismounts this entity from the entity it is riding.
method: swing (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: take (Lnet/minecraft/world/entity/Entity;I)V params: 1: entity, 2: quantity Called when the entity picks up an item.
method: teleportTo (DDD)V params: 1: x, 3: y, 5: z Sets the position of the entity and updates the 'last' variables
method: teleportTo (Lnet/minecraft/server/level/ServerLevel;DDDFF)V params: 1: newLevel, 2: x, 4: y, 6: z, 8: yaw, 9: pitch method: tick ()V Called to update the entity's position/logic.
method: updateInvisibilityStatus ()V Clears potion metadata values if the entity has no potion effects. Otherwise, updates potion effect color, ambience, and invisibility metadata values
method: updateOptions (Lnet/minecraft/network/protocol/game/ServerboundClientInformationPacket;)V params: 1: packet method: updateScoreForCriteria (Lnet/minecraft/world/scores/criteria/ObjectiveCriteria;I)V params: 1: criteria, 2: points class: ServerPlayerGameMode path: net/minecraft/server/level/ServerPlayerGameMode method: destroyBlock (Lnet/minecraft/core/BlockPos;)Z params: 1: pos Attempts to harvest a block
method: isCreative ()Z Get if we are in creative game mode.
method: setLevel (Lnet/minecraft/server/level/ServerLevel;)V params: 1: serverLevel Sets the world instance.
method: useItem (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: level, 3: stack, 4: hand class: ThreadedLevelLightEngine path: net/minecraft/server/level/ThreadedLevelLightEngine method: queueSectionData (Lnet/minecraft/world/level/LightLayer;Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/chunk/DataLayer;Z)V params: 1: type, 2: pos, 3: array method: retainData (Lnet/minecraft/world/level/ChunkPos;Z)V params: 1: pos, 2: retain method: updateSectionStatus (Lnet/minecraft/core/SectionPos;Z)V params: 1: pos, 2: isEmpty class: Ticket path: net/minecraft/server/level/Ticket method: setCreatedTick method: timedOut (J)Z params: 1: currentTime class: TicketType path: net/minecraft/server/level/TicketType method: create (Ljava/lang/String;Ljava/util/Comparator;)Lnet/minecraft/server/level/TicketType; params: 0: name, 1: comparator method: create (Ljava/lang/String;Ljava/util/Comparator;I)Lnet/minecraft/server/level/TicketType; params: 0: name, 1: comparator, 2: lifespan class: WorldGenRegion path: net/minecraft/server/level/WorldGenRegion method: addFreshEntity (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: destroyBlock (Lnet/minecraft/core/BlockPos;ZLnet/minecraft/world/entity/Entity;I)Z params: 1: pos, 2: dropBlock, 3: entity, 4: recursionLeft method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getChunk (II)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: chunkX, 2: chunkZ method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;Z)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: x, 2: z, 3: requiredStatus, 4: nonnull method: getChunkSource ()Lnet/minecraft/world/level/chunk/ChunkSource; Gets the world's chunk provider
method: getCurrentDifficultyAt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/DifficultyInstance; params: 1: pos method: getEntities (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: entity, 2: boundingBox, 3: predicate Gets all entities within the specified AABB excluding the one passed into it.
method: getEntitiesOfClass (Ljava/lang/Class;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: clazz, 2: area, 3: filter method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getLevelData ()Lnet/minecraft/world/level/storage/LevelData; Returns the world's WorldInfo object
method: getNearestPlayer (DDDDLjava/util/function/Predicate;)Lnet/minecraft/world/entity/player/Player; params: 1: x, 3: y, 5: z, 7: distance, 9: predicate method: getSeed ()J gets the random world seed
method: getShade (Lnet/minecraft/core/Direction;Z)F params: 1: direction, 2: isShade method: getUncachedNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: hasChunk (II)Z params: 1: chunkX, 2: chunkZ method: isStateAtPosition (Lnet/minecraft/core/BlockPos;Ljava/util/function/Predicate;)Z params: 1: pos, 2: state method: levelEvent (Lnet/minecraft/world/entity/player/Player;ILnet/minecraft/core/BlockPos;I)V params: 1: player, 2: type, 3: pos, 4: data method: markPosForPostprocessing (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: pos, 3: sound, 4: category, 5: volume, 6: pitch Plays a sound. On the server, the sound is broadcast to all nearby <em>except</em> the given player. On the client, the sound only plays if the given player is the client player. Thus, this method is intended to be called from code running on both sides. The client plays it locally and the server plays it for everyone else.
method: removeBlock (Lnet/minecraft/core/BlockPos;Z)Z params: 1: pos, 2: isMoving method: setBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;II)Z params: 1: pos, 2: state, 3: flags, 4: recursionLeft method: startsForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Ljava/util/stream/Stream; params: 1: pos, 2: structure class: WorldGenTickList path: net/minecraft/server/level/WorldGenTickList method: hasScheduledTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: item method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: item, 3: scheduledTime, 4: priority method: willTickThisTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: obj Checks if this position/item is scheduled to be updated this tick
network class: LegacyQueryHandler path: net/minecraft/server/network/LegacyQueryHandler method: createReply (Ljava/lang/String;)Lio/netty/buffer/ByteBuf; params: 1: string method: sendFlushAndClose (Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V params: 1: ctx, 2: data class: MemoryServerHandshakePacketListenerImpl path: net/minecraft/server/network/MemoryServerHandshakePacketListenerImpl method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handleIntention (Lnet/minecraft/network/protocol/handshake/ClientIntentionPacket;)V params: 1: packet There are two recognized intentions for initiating a handshake: logging in and acquiring server status. The NetworkManager's protocol will be reconfigured according to the specified intention, although a login-intention must pass a versioncheck or receive a disconnect otherwise
method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
class: ServerConnectionListener path: net/minecraft/server/network/ServerConnectionListener field: channels Ljava/util/List; Contains all endpoints added to this NetworkSystem
field: connections Ljava/util/List; A list containing all NetworkManager instances of all endpoints
field: running Z True if this NetworkSystem has never had his endpoints terminated
field: server Lnet/minecraft/server/MinecraftServer; Reference to the MinecraftServer object.
method: startMemoryChannel ()Ljava/net/SocketAddress; Adds a channel that listens locally
method: startTcpServerListener (Ljava/net/InetAddress;I)V params: 1: address, 2: port Adds a channel that listens on publicly accessible network ports
method: stop ()V Shuts down all open endpoints (with immediate effect?)
method: tick ()V Will try to process the packets received by each NetworkManager, gracefully manage processing failures and cleans up dead connections
class: ServerGamePacketListenerImpl path: net/minecraft/server/network/ServerGamePacketListenerImpl field: aboveGroundTickCount I Used to keep track of how the player is floating while gamerules should prevent that. Surpassing 80 ticks means kick
field: chatSpamTickCount I Incremented by 20 each time a user sends a chat message, decreased by one every tick. Non-ops kicked when over 200
method: disconnect (Lnet/minecraft/network/chat/Component;)V params: 1: textComponent Disconnect the player with a specified reason
method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handleAcceptTeleportPacket (Lnet/minecraft/network/protocol/game/ServerboundAcceptTeleportationPacket;)V params: 1: packet method: handleAnimate (Lnet/minecraft/network/protocol/game/ServerboundSwingPacket;)V params: 1: packet method: handleBlockEntityTagQuery (Lnet/minecraft/network/protocol/game/ServerboundBlockEntityTagQuery;)V params: 1: packet method: handleChangeDifficulty (Lnet/minecraft/network/protocol/game/ServerboundChangeDifficultyPacket;)V params: 1: packet method: handleChat (Lnet/minecraft/network/protocol/game/ServerboundChatPacket;)V params: 1: packet Process chat messages (broadcast back to clients) and commands (executes)
method: handleClientCommand (Lnet/minecraft/network/protocol/game/ServerboundClientCommandPacket;)V params: 1: packet Processes the client status updates: respawn attempt from player, opening statistics or achievements, or acquiring 'open inventory' achievement
method: handleClientInformation (Lnet/minecraft/network/protocol/game/ServerboundClientInformationPacket;)V params: 1: packet Updates serverside copy of client settings: language, render distance, chat visibility, chat colours, difficulty, and whether to show the cape
method: handleCommand (Ljava/lang/String;)V params: 1: command Handle commands that start with a /
method: handleContainerButtonClick (Lnet/minecraft/network/protocol/game/ServerboundContainerButtonClickPacket;)V params: 1: packet Enchants the item identified by the packet given some convoluted conditions (matching window, which should/shouldn't be in use?)
method: handleContainerClick (Lnet/minecraft/network/protocol/game/ServerboundContainerClickPacket;)V params: 1: packet Executes a container/inventory slot manipulation as indicated by the packet. Sends the serverside result if they didn't match the indicated result and prevents further manipulation by the player until he confirms that it has the same open container/inventory
method: handleContainerClose (Lnet/minecraft/network/protocol/game/ServerboundContainerClosePacket;)V params: 1: packet Processes the client closing windows (container)
method: handleCustomCommandSuggestions (Lnet/minecraft/network/protocol/game/ServerboundCommandSuggestionPacket;)V params: 1: packet This method is only called for manual tab-completion (the {@link net.minecraft.command.arguments.SuggestionProviders#ASK_SERVER minecraft:ask_server} suggestion provider).
method: handleCustomPayload (Lnet/minecraft/network/protocol/game/ServerboundCustomPayloadPacket;)V params: 1: packet Synchronizes serverside and clientside book contents and signing
method: handleEditBook (Lnet/minecraft/network/protocol/game/ServerboundEditBookPacket;)V params: 1: packet method: handleEntityTagQuery (Lnet/minecraft/network/protocol/game/ServerboundEntityTagQuery;)V params: 1: packet method: handleInteract (Lnet/minecraft/network/protocol/game/ServerboundInteractPacket;)V params: 1: packet Processes left and right clicks on entities
method: handleJigsawGenerate (Lnet/minecraft/network/protocol/game/ServerboundJigsawGeneratePacket;)V params: 1: packet method: handleKeepAlive (Lnet/minecraft/network/protocol/game/ServerboundKeepAlivePacket;)V params: 1: packet Updates a players' ping statistics
method: handleLockDifficulty (Lnet/minecraft/network/protocol/game/ServerboundLockDifficultyPacket;)V params: 1: packet method: handleMovePlayer (Lnet/minecraft/network/protocol/game/ServerboundMovePlayerPacket;)V params: 1: packet Processes clients perspective on player positioning and/or orientation
method: handleMoveVehicle (Lnet/minecraft/network/protocol/game/ServerboundMoveVehiclePacket;)V params: 1: packet method: handlePaddleBoat (Lnet/minecraft/network/protocol/game/ServerboundPaddleBoatPacket;)V params: 1: packet method: handlePickItem (Lnet/minecraft/network/protocol/game/ServerboundPickItemPacket;)V params: 1: packet method: handlePlaceRecipe (Lnet/minecraft/network/protocol/game/ServerboundPlaceRecipePacket;)V params: 1: packet method: handlePlayerAbilities (Lnet/minecraft/network/protocol/game/ServerboundPlayerAbilitiesPacket;)V params: 1: packet Processes a player starting/stopping flying
method: handlePlayerAction (Lnet/minecraft/network/protocol/game/ServerboundPlayerActionPacket;)V params: 1: packet Processes the player initiating/stopping digging on a particular spot, as well as a player dropping items
method: handlePlayerCommand (Lnet/minecraft/network/protocol/game/ServerboundPlayerCommandPacket;)V params: 1: packet Processes a range of action-types: sneaking, sprinting, waking from sleep, opening the inventory or setting jump height of the horse the player is riding
method: handlePlayerInput (Lnet/minecraft/network/protocol/game/ServerboundPlayerInputPacket;)V params: 1: packet Processes player movement input. Includes walking, strafing, jumping, sneaking" excludes riding and toggling flying/sprinting
method: handleRecipeBookChangeSettingsPacket (Lnet/minecraft/network/protocol/game/ServerboundRecipeBookChangeSettingsPacket;)V params: 1: packet method: handleRecipeBookSeenRecipePacket (Lnet/minecraft/network/protocol/game/ServerboundRecipeBookSeenRecipePacket;)V params: 1: packet method: handleRenameItem (Lnet/minecraft/network/protocol/game/ServerboundRenameItemPacket;)V params: 1: packet method: handleResourcePackResponse (Lnet/minecraft/network/protocol/game/ServerboundResourcePackPacket;)V params: 1: packet method: handleSeenAdvancements (Lnet/minecraft/network/protocol/game/ServerboundSeenAdvancementsPacket;)V params: 1: packet method: handleSelectTrade (Lnet/minecraft/network/protocol/game/ServerboundSelectTradePacket;)V params: 1: packet method: handleSetBeaconPacket (Lnet/minecraft/network/protocol/game/ServerboundSetBeaconPacket;)V params: 1: packet method: handleSetCarriedItem (Lnet/minecraft/network/protocol/game/ServerboundSetCarriedItemPacket;)V params: 1: packet Updates which quickbar slot is selected
method: handleSetCommandBlock (Lnet/minecraft/network/protocol/game/ServerboundSetCommandBlockPacket;)V params: 1: packet method: handleSetCommandMinecart (Lnet/minecraft/network/protocol/game/ServerboundSetCommandMinecartPacket;)V params: 1: packet method: handleSetCreativeModeSlot (Lnet/minecraft/network/protocol/game/ServerboundSetCreativeModeSlotPacket;)V params: 1: packet Update the server with an ItemStack in a slot.
method: handleSetJigsawBlock (Lnet/minecraft/network/protocol/game/ServerboundSetJigsawBlockPacket;)V params: 1: packet method: handleSetStructureBlock (Lnet/minecraft/network/protocol/game/ServerboundSetStructureBlockPacket;)V params: 1: packet method: handleSignUpdate (Lnet/minecraft/network/protocol/game/ServerboundSignUpdatePacket;)V params: 1: packet method: handleTeleportToEntityPacket (Lnet/minecraft/network/protocol/game/ServerboundTeleportToEntityPacket;)V params: 1: packet method: handleUseItem (Lnet/minecraft/network/protocol/game/ServerboundUseItemPacket;)V params: 1: packet Called when a client is using an item while not pointing at a block, but simply using an item
method: handleUseItemOn (Lnet/minecraft/network/protocol/game/ServerboundUseItemOnPacket;)V params: 1: packet method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
method: send (Lnet/minecraft/network/protocol/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V params: 1: packet, 2: futureListeners method: teleport (DDDFF)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch method: teleport (DDDFFLjava/util/Set;)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: relativeSet Teleports the player position to the (relative) values specified, and syncs to the client
class: ServerHandshakePacketListenerImpl path: net/minecraft/server/network/ServerHandshakePacketListenerImpl method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handleIntention (Lnet/minecraft/network/protocol/handshake/ClientIntentionPacket;)V params: 1: packet There are two recognized intentions for initiating a handshake: logging in and acquiring server status. The NetworkManager's protocol will be reconfigured according to the specified intention, although a login-intention must pass a versioncheck or receive a disconnect otherwise
method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
class: ServerLoginPacketListenerImpl path: net/minecraft/server/network/ServerLoginPacketListenerImpl field: tick I How long has player been trying to login into the server.
method: createFakeProfile (Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile; params: 1: original method: disconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handleCustomQueryPacket (Lnet/minecraft/network/protocol/login/ServerboundCustomQueryPacket;)V params: 1: packet method: handleHello (Lnet/minecraft/network/protocol/login/ServerboundHelloPacket;)V params: 1: packet method: handleKey (Lnet/minecraft/network/protocol/login/ServerboundKeyPacket;)V params: 1: packet method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
class: ServerStatusPacketListenerImpl path: net/minecraft/server/network/ServerStatusPacketListenerImpl method: getConnection ()Lnet/minecraft/network/Connection; Returns this the NetworkManager instance registered with this NetworkHandlerPlayClient
method: handlePingRequest (Lnet/minecraft/network/protocol/status/ServerboundPingRequestPacket;)V params: 1: packet method: handleStatusRequest (Lnet/minecraft/network/protocol/status/ServerboundStatusRequestPacket;)V params: 1: packet method: onDisconnect (Lnet/minecraft/network/chat/Component;)V params: 1: reason Invoked when disconnecting, the parameter is a ChatComponent describing the reason for termination
packs metadata pack class: PackMetadataSection path: net/minecraft/server/packs/metadata/pack/PackMetadataSection method: <init> (Lnet/minecraft/network/chat/Component;I)V params: 1: description, 2: packFormat class: PackMetadataSectionSerializer path: net/minecraft/server/packs/metadata/pack/PackMetadataSectionSerializer method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/server/packs/metadata/pack/PackMetadataSection; params: 1: json method: getMetadataSectionName ()Ljava/lang/String; The name of this section type as it appears in JSON.
class: MetadataSectionSerializer path: net/minecraft/server/packs/metadata/MetadataSectionSerializer method: fromJson (Lcom/google/gson/JsonObject;)Ljava/lang/Object; params: 1: json method: getMetadataSectionName ()Ljava/lang/String; The name of this section type as it appears in JSON.
repository class: FolderRepositorySource path: net/minecraft/server/packs/repository/FolderRepositorySource method: createSupplier (Ljava/io/File;)Ljava/util/function/Supplier; params: 1: file method: loadPacks (Ljava/util/function/Consumer;Lnet/minecraft/server/packs/repository/Pack$PackConstructor;)V params: 1: infoConsumer, 2: infoFactory class: Pack path: net/minecraft/server/packs/repository/Pack method: create (Ljava/lang/String;ZLjava/util/function/Supplier;Lnet/minecraft/server/packs/repository/Pack$PackConstructor;Lnet/minecraft/server/packs/repository/Pack$Position;Lnet/minecraft/server/packs/repository/PackSource;)Lnet/minecraft/server/packs/repository/Pack; params: 0: name, 3: factory class: PackCompatibility path: net/minecraft/server/packs/repository/PackCompatibility method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: type class: PackRepository path: net/minecraft/server/packs/repository/PackRepository method: getAvailablePacks ()Ljava/util/Collection; Gets all known packs, including those that are not enabled.
method: getPack (Ljava/lang/String;)Lnet/minecraft/server/packs/repository/Pack; params: 1: name method: getSelectedPacks ()Ljava/util/Collection; Gets all packs that have been enabled.
class: PackSource path: net/minecraft/server/packs/repository/PackSource method: decorating (Ljava/lang/String;)Lnet/minecraft/server/packs/repository/PackSource; params: 0: source class: RepositorySource path: net/minecraft/server/packs/repository/RepositorySource method: loadPacks (Ljava/util/function/Consumer;Lnet/minecraft/server/packs/repository/Pack$PackConstructor;)V params: 1: infoConsumer, 2: infoFactory class: ServerPacksSource path: net/minecraft/server/packs/repository/ServerPacksSource method: loadPacks (Ljava/util/function/Consumer;Lnet/minecraft/server/packs/repository/Pack$PackConstructor;)V params: 1: infoConsumer, 2: infoFactory resources class: FallbackResourceManager path: net/minecraft/server/packs/resources/FallbackResourceManager method: add (Lnet/minecraft/server/packs/PackResources;)V params: 1: resourcePack method: getMetadataLocation (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 0: location method: getResources (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/List; params: 1: resourceLocation method: getWrappedResource (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/server/packs/PackResources;)Ljava/io/InputStream; params: 1: location, 2: resourcePack method: hasResource (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: path method: listResources (Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection; params: 1: path, 2: filter method: validateLocation (Lnet/minecraft/resources/ResourceLocation;)V params: 1: location class: PreparableReloadListener path: net/minecraft/server/packs/resources/PreparableReloadListener method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor class: PreparableReloadListener$PreparationBarrier path: net/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier method: wait (Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture; params: 1: backgroundResult class: ProfiledReloadInstance path: net/minecraft/server/packs/resources/ProfiledReloadInstance method: finish (Ljava/util/List;)V params: 1: datapoints class: ReloadableResourceManager path: net/minecraft/server/packs/resources/ReloadableResourceManager method: registerReloadListener (Lnet/minecraft/server/packs/resources/PreparableReloadListener;)V params: 1: listener method: reload (Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)Ljava/util/concurrent/CompletableFuture; params: 1: backgroundExecutor, 2: gameExecutor, 3: resourcePacks, 4: waitingFor class: Resource path: net/minecraft/server/packs/resources/Resource method: getMetadata (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: serializer class: ResourceManager path: net/minecraft/server/packs/resources/ResourceManager method: getResources (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/List; params: 1: resourceLocation method: hasResource (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: path method: listResources (Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection; params: 1: path, 2: filter class: ResourceManager$Empty path: net/minecraft/server/packs/resources/ResourceManager$Empty method: getResources (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/List; params: 1: resourceLocation method: hasResource (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: path method: listResources (Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection; params: 1: path, 2: filter class: ResourceManagerReloadListener path: net/minecraft/server/packs/resources/ResourceManagerReloadListener method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor class: SimpleJsonResourceReloadListener path: net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Ljava/util/Map; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
class: SimplePreparableReloadListener path: net/minecraft/server/packs/resources/SimplePreparableReloadListener method: apply (Ljava/lang/Object;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Ljava/lang/Object; params: 1: resourceManager, 2: profiler Performs any reloading that can be done off-thread, such as file IO
method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor class: SimpleReloadInstance path: net/minecraft/server/packs/resources/SimpleReloadInstance method: of (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/List;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;Ljava/util/concurrent/CompletableFuture;)Lnet/minecraft/server/packs/resources/SimpleReloadInstance; params: 0: resourceManager, 1: listeners, 2: backgroundExecutor, 3: gameExecutor, 4: alsoWaitedFor class: SimpleReloadInstance$1 path: net/minecraft/server/packs/resources/SimpleReloadInstance$1 method: wait (Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture; params: 1: backgroundResult class: SimpleReloadableResourceManager path: net/minecraft/server/packs/resources/SimpleReloadableResourceManager method: add (Lnet/minecraft/server/packs/PackResources;)V params: 1: resourcePack method: getResources (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/List; params: 1: resourceLocation method: hasResource (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: path method: listResources (Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Collection; params: 1: path, 2: filter method: registerReloadListener (Lnet/minecraft/server/packs/resources/PreparableReloadListener;)V params: 1: listener class: SimpleResource path: net/minecraft/server/packs/resources/SimpleResource method: getMetadata (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: serializer class: AbstractPackResources path: net/minecraft/server/packs/AbstractPackResources method: getMetadataFromStream (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;Ljava/io/InputStream;)Ljava/lang/Object; params: 0: deserializer, 1: inputStream method: getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: deserializer method: getPathFromLocation (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/String; params: 0: type, 1: location method: getRelativePath (Ljava/io/File;Ljava/io/File;)Ljava/lang/String; params: 0: file1, 1: file2 method: getResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: resourcePath method: getResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getRootResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: fileName method: hasResource (Ljava/lang/String;)Z params: 1: resourcePath method: hasResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: type, 2: location method: logWarning (Ljava/lang/String;)V params: 1: namespace class: FilePackResources path: net/minecraft/server/packs/FilePackResources method: getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; params: 1: type method: getResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: resourcePath method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: hasResource (Ljava/lang/String;)Z params: 1: resourcePath class: FolderPackResources path: net/minecraft/server/packs/FolderPackResources method: getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; params: 1: type method: getResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: resourcePath method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: hasResource (Ljava/lang/String;)Z params: 1: resourcePath method: validatePath (Ljava/io/File;Ljava/lang/String;)Z params: 0: file, 1: path class: PackResources path: net/minecraft/server/packs/PackResources method: getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: deserializer method: getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; params: 1: type method: getResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: getRootResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: fileName method: hasResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: type, 2: location class: VanillaPackResources path: net/minecraft/server/packs/VanillaPackResources method: createPath (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/String; params: 0: packType, 1: location method: getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; params: 1: deserializer method: getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; params: 1: type method: getResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getResourceAsStream (Ljava/lang/String;)Ljava/io/InputStream; params: 1: path method: getResourceAsStream (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Ljava/io/InputStream; params: 1: type, 2: location method: getResources (Ljava/util/Collection;ILjava/lang/String;Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/function/Predicate;)V params: 0: resourceLocations, 1: maxDepth, 2: namespace, 3: path, 4: pathName, 5: filter method: getResources (Lnet/minecraft/server/packs/PackType;Ljava/lang/String;Ljava/lang/String;ILjava/util/function/Predicate;)Ljava/util/Collection; params: 1: type, 2: namespace, 3: path, 4: maxDepth, 5: filter method: getRootResource (Ljava/lang/String;)Ljava/io/InputStream; params: 1: fileName method: hasResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: type, 2: location method: isResourceUrlValid (Ljava/lang/String;Ljava/net/URL;)Z params: 0: path, 1: url players class: BanListEntry path: net/minecraft/server/players/BanListEntry method: serialize (Lcom/google/gson/JsonObject;)V params: 1: data class: GameProfileCache path: net/minecraft/server/players/GameProfileCache field: profilesByName Ljava/util/Map; A map between player usernames and
field: profilesByUUID Ljava/util/Map; A map between and
method: add (Lcom/mojang/authlib/GameProfile;)V params: 1: gameProfile Add an entry to this cache
method: get (Ljava/lang/String;)Lcom/mojang/authlib/GameProfile; params: 1: username Get a player's GameProfile given their username. Mojang's server's will be contacted if the entry is not cached locally.
method: get (Ljava/util/UUID;)Lcom/mojang/authlib/GameProfile; params: 1: uuid Get a player's {@link GameProfile} given their UUID
method: lookupGameProfile (Lcom/mojang/authlib/GameProfileRepository;Ljava/lang/String;)Lcom/mojang/authlib/GameProfile; params: 0: profileRepo, 1: name method: save ()V Save the cached profiles to disk
method: setUsesAuthentication (Z)V params: 0: onlineMode class: GameProfileCache$GameProfileInfo path: net/minecraft/server/players/GameProfileCache$GameProfileInfo field: expirationDate Ljava/util/Date; The date that this entry will expire
field: profile Lcom/mojang/authlib/GameProfile; The player's GameProfile
method: getExpirationDate ()Ljava/util/Date; Get the date that this entry will expire
method: getProfile ()Lcom/mojang/authlib/GameProfile; Get the player's GameProfile
class: IpBanList path: net/minecraft/server/players/IpBanList method: createEntry (Lcom/google/gson/JsonObject;)Lnet/minecraft/server/players/StoredUserEntry; params: 1: entryData method: get (Ljava/net/SocketAddress;)Lnet/minecraft/server/players/IpBanListEntry; params: 1: address method: getIpFromAddress (Ljava/net/SocketAddress;)Ljava/lang/String; params: 1: address method: isBanned (Ljava/net/SocketAddress;)Z params: 1: address class: IpBanListEntry path: net/minecraft/server/players/IpBanListEntry method: createIpInfo (Lcom/google/gson/JsonObject;)Ljava/lang/String; params: 0: json method: serialize (Lcom/google/gson/JsonObject;)V params: 1: data class: OldUsersConverter path: net/minecraft/server/players/OldUsersConverter method: convertIpBanlist (Lnet/minecraft/server/MinecraftServer;)Z params: 0: server method: convertMobOwnerIfNecessary (Lnet/minecraft/server/MinecraftServer;Ljava/lang/String;)Ljava/util/UUID; params: 0: server, 1: username method: convertOpsList (Lnet/minecraft/server/MinecraftServer;)Z params: 0: server method: convertPlayers (Lnet/minecraft/server/dedicated/DedicatedServer;)Z params: 0: server method: convertUserBanlist (Lnet/minecraft/server/MinecraftServer;)Z params: 0: server method: convertWhiteList (Lnet/minecraft/server/MinecraftServer;)Z params: 0: server method: ensureDirectoryExists (Ljava/io/File;)V params: 0: dir method: lookupPlayers (Lnet/minecraft/server/MinecraftServer;Ljava/util/Collection;Lcom/mojang/authlib/ProfileLookupCallback;)V params: 0: server, 1: names, 2: callback method: parseDate (Ljava/lang/String;Ljava/util/Date;)Ljava/util/Date; params: 0: input, 1: defaultValue method: readOldListFormat (Ljava/io/File;Ljava/util/Map;)Ljava/util/List; params: 0: inFile, 1: read method: renameOldFile (Ljava/io/File;)V params: 0: convertedFile class: PlayerList path: net/minecraft/server/players/PlayerList field: playersByUUID Ljava/util/Map; A map containing the key-value pairs for UUIDs and their EntityPlayerMP objects.
method: broadcast (Lnet/minecraft/world/entity/player/Player;DDDDLnet/minecraft/resources/ResourceKey;Lnet/minecraft/network/protocol/Packet;)V params: 1: except, 2: x, 4: y, 6: z, 8: radius, 10: dimension, 11: packet params: srcPlayer,x,y,z,r,dimension. The packet is not sent to the srcPlayer, but all other players within the search radius
method: broadcastAll (Lnet/minecraft/network/protocol/Packet;)V params: 1: packet method: broadcastToAllExceptTeam (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V params: 1: player, 2: message method: broadcastToTeam (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V params: 1: player, 2: message method: canBypassPlayerLimit (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: deop (Lcom/mojang/authlib/GameProfile;)V params: 1: profile method: getMaxPlayers ()I Returns the maximum number of players allowed on the server.
method: getPlayer (Ljava/util/UUID;)Lnet/minecraft/server/level/ServerPlayer; params: 1: playerUUID Get's the EntityPlayerMP object representing the player with the UUID.
method: getPlayerByName (Ljava/lang/String;)Lnet/minecraft/server/level/ServerPlayer; params: 1: username method: getPlayerCount ()I Returns the number of players currently on the server.
method: getPlayerForLogin (Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/server/level/ServerPlayer; params: 1: profile also checks for multiple logins across servers
method: getPlayerNamesArray ()[Ljava/lang/String; Returns an array of the usernames of all the connected players.
method: getPlayerStats (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/stats/ServerStatsCounter; params: 1: player method: getPlayersWithAddress (Ljava/lang/String;)Ljava/util/List; params: 1: address method: getSingleplayerData ()Lnet/minecraft/nbt/CompoundTag; On integrated servers, returns the host's player data to be written to level.dat.
method: getViewDistance ()I Gets the view distance, in chunks.
method: isOp (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: isWhiteListed (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: load (Lnet/minecraft/server/level/ServerPlayer;)Lnet/minecraft/nbt/CompoundTag; params: 1: player called during player login. reads the player information from disk.
method: op (Lcom/mojang/authlib/GameProfile;)V params: 1: profile method: placeNewPlayer (Lnet/minecraft/network/Connection;Lnet/minecraft/server/level/ServerPlayer;)V params: 1: netManager, 2: player method: remove (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Called when a player disconnects from the game. Writes player data to disk and removes them from the world.
method: removeAll ()V Kicks everyone with "Server closed" as reason.
method: save (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player also stores the NBTTags if this is an intergratedPlayerList
method: saveAll ()V Saves all of the players' current states.
method: sendAllPlayerInfo (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player sends the players inventory to himself
method: sendLevelInfo (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/server/level/ServerLevel;)V params: 1: player, 2: level Updates the time and weather for the given player to those of the given world
method: sendPlayerPermissionLevel (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: sendPlayerPermissionLevel (Lnet/minecraft/server/level/ServerPlayer;I)V params: 1: player, 2: permLevel method: setAllowCheatsForAllPlayers (Z)V Sets whether all players are allowed to use commands (cheats) on the server.
method: setUsingWhiteList (Z)V params: 1: whitelistEnabled method: setViewDistance (I)V params: 1: viewDistance method: tick method: updateEntireScoreboard (Lnet/minecraft/server/ServerScoreboard;Lnet/minecraft/server/level/ServerPlayer;)V params: 1: scoreboard, 2: player class: PlayerList$1 path: net/minecraft/server/players/PlayerList$1 method: onBorderCenterSet (Lnet/minecraft/world/level/border/WorldBorder;DD)V params: 1: border, 2: x, 4: z method: onBorderSetDamagePerBlock (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newAmount method: onBorderSetDamageSafeZOne (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newSize method: onBorderSetWarningBlocks (Lnet/minecraft/world/level/border/WorldBorder;I)V params: 1: border, 2: newDistance method: onBorderSetWarningTime (Lnet/minecraft/world/level/border/WorldBorder;I)V params: 1: border, 2: newTime method: onBorderSizeLerping (Lnet/minecraft/world/level/border/WorldBorder;DDJ)V params: 1: border, 2: oldSize, 4: newSize, 6: time method: onBorderSizeSet (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newSize class: ServerOpList path: net/minecraft/server/players/ServerOpList method: canBypassPlayerLimit (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: createEntry (Lcom/google/gson/JsonObject;)Lnet/minecraft/server/players/StoredUserEntry; params: 1: entryData method: getKeyForUser (Lcom/mojang/authlib/GameProfile;)Ljava/lang/String; params: 1: obj Gets the key value for the given object
class: ServerOpListEntry path: net/minecraft/server/players/ServerOpListEntry method: getLevel ()I Gets the permission level of the user, as defined in the "level" attribute of the ops.json file
method: serialize (Lcom/google/gson/JsonObject;)V params: 1: data class: StoredUserEntry path: net/minecraft/server/players/StoredUserEntry method: serialize (Lcom/google/gson/JsonObject;)V params: 1: data class: StoredUserList path: net/minecraft/server/players/StoredUserList method: add (Lnet/minecraft/server/players/StoredUserEntry;)V params: 1: entry Adds an entry to the list
method: contains (Ljava/lang/Object;)Z params: 1: entry method: createEntry (Lcom/google/gson/JsonObject;)Lnet/minecraft/server/players/StoredUserEntry; params: 1: entryData method: get (Ljava/lang/Object;)Lnet/minecraft/server/players/StoredUserEntry; params: 1: obj method: getKeyForUser (Ljava/lang/Object;)Ljava/lang/String; params: 1: obj Gets the key value for the given object
method: remove (Ljava/lang/Object;)V params: 1: entry method: removeExpired ()V Removes expired bans from the list. See {@link BanEntry#hasBanExpired}
class: UserBanList path: net/minecraft/server/players/UserBanList method: createEntry (Lcom/google/gson/JsonObject;)Lnet/minecraft/server/players/StoredUserEntry; params: 1: entryData method: getKeyForUser (Lcom/mojang/authlib/GameProfile;)Ljava/lang/String; params: 1: obj Gets the key value for the given object
method: isBanned (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile class: UserBanListEntry path: net/minecraft/server/players/UserBanListEntry method: createGameProfile (Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile; params: 0: json Convert a {@linkplain com.google.gson.JsonObject JsonObject} into a {@linkplain com.mojang.authlib.GameProfile}. The json object must have {@code uuid} and {@code name} attributes or {@code null} will be returned.
method: serialize (Lcom/google/gson/JsonObject;)V params: 1: data class: UserWhiteList path: net/minecraft/server/players/UserWhiteList method: createEntry (Lcom/google/gson/JsonObject;)Lnet/minecraft/server/players/StoredUserEntry; params: 1: entryData method: getKeyForUser (Lcom/mojang/authlib/GameProfile;)Ljava/lang/String; params: 1: obj Gets the key value for the given object
method: isWhiteListed (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile Returns true if the profile is in the whitelist.
class: UserWhiteListEntry path: net/minecraft/server/players/UserWhiteListEntry method: createGameProfile (Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile; params: 0: json method: serialize (Lcom/google/gson/JsonObject;)V params: 1: data rcon thread class: GenericThread path: net/minecraft/server/rcon/thread/GenericThread method: isRunning ()Z Returns true if the Thread is running, false otherwise
class: QueryThreadGs4 path: net/minecraft/server/rcon/thread/QueryThreadGs4 method: buildRuleResponse (Ljava/net/DatagramPacket;)[B params: 1: requestPacket Creates a query response as a byte array for the specified query DatagramPacket
method: getIdentBytes (Ljava/net/SocketAddress;)[B params: 1: address Returns the request ID provided by the authorized client
method: initSocket ()Z Initializes the query system by binding it to a port
method: processPacket (Ljava/net/DatagramPacket;)Z params: 1: requestPacket Parses an incoming DatagramPacket, returning true if the packet was valid
method: pruneChallenges ()V Removes all clients whose auth is no longer valid
method: recoverSocketError (Ljava/lang/Exception;)V params: 1: exception Stops the query server and reports the given Exception
method: sendChallenge (Ljava/net/DatagramPacket;)V params: 1: requestPacket Sends an auth challenge DatagramPacket to the client and adds the client to the queryClients map
method: sendTo ([BLjava/net/DatagramPacket;)V params: 1: data, 2: requestPacket Sends a byte array as a DatagramPacket response to the client who sent the given DatagramPacket
method: validChallenge (Ljava/net/DatagramPacket;)Ljava/lang/Boolean; params: 1: requestPacket Returns true if the client has a valid auth, otherwise false
class: QueryThreadGs4$RequestChallenge path: net/minecraft/server/rcon/thread/QueryThreadGs4$RequestChallenge method: before (J)Ljava/lang/Boolean; params: 1: currentTime Returns true if the auth's creation timestamp is less than the given time, otherwise false
method: getChallenge ()I Returns the random challenge number assigned to this auth
method: getChallengeBytes ()[B Returns the auth challenge value
method: getIdentBytes ()[B Returns the request ID provided by the client.
class: RconClient path: net/minecraft/server/rcon/thread/RconClient method: closeSocket ()V Closes the client socket
method: send (IILjava/lang/String;)V params: 3: message Sends the given response message to the client
method: sendAuthFailure ()V Sends the standard RCon 'authorization failed' response packet
method: sendCmdResponse (ILjava/lang/String;)V Splits the response message into individual packets and sends each one
class: RconThread path: net/minecraft/server/rcon/thread/RconThread method: clearClients ()V Cleans up the clientThreads map by removing client Threads that are not running
class: NetworkDataOutputStream path: net/minecraft/server/rcon/NetworkDataOutputStream method: reset ()V Resets the byte array output.
method: toByteArray ()[B Returns the contents of the output stream as a byte array
method: write (I)V params: 1: data Writes the given int to the output stream
method: writeBytes ([B)V params: 1: data Writes the given byte array to the output stream
method: writeShort (S)V params: 1: data Writes the given short to the output stream
method: writeString (Ljava/lang/String;)V params: 1: data Writes the given String to the output stream
class: PktUtils path: net/minecraft/server/rcon/PktUtils method: intFromByteArray ([BI)I Read 4 bytes from the
method: intFromByteArray ([BII)I Read 4 bytes from the given array in little-endian format and return them as an int
method: intFromNetworkByteArray ([BII)I Read 4 bytes from the given array in big-endian format and return them as an int
method: stringFromByteArray ([BII)Ljava/lang/String; Read a null-terminated string from the given byte array
method: toHexString (B)Ljava/lang/String; params: 0: input Returns a String representation of the byte in hexadecimal format
class: RconConsoleSource path: net/minecraft/server/rcon/RconConsoleSource method: getCommandResponse ()Ljava/lang/String; Gets the contents of the RCon log
method: prepareForCommand method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
class: Bootstrap path: net/minecraft/server/Bootstrap field: isBootstrapped Z Whether the blocks, items, etc have already been registered
method: bootStrap ()V Registers blocks, items, stats, etc.
method: checkGameruleTranslations (Ljava/util/Set;)V params: 0: translations method: checkTranslations (Ljava/lang/Iterable;Ljava/util/function/Function;Ljava/util/Set;)V params: 0: objects, 1: objectToKeyFunction, 2: translationSet method: realStdoutPrintln (Ljava/lang/String;)V params: 0: message method: wrapStreams ()V redirect standard streams to logger
class: Bootstrap$1 path: net/minecraft/server/Bootstrap$1 method: visit (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: key, 2: type class: ChainedJsonException path: net/minecraft/server/ChainedJsonException method: forException (Ljava/lang/Exception;)Lnet/minecraft/server/ChainedJsonException; params: 0: exception method: prependJsonKey (Ljava/lang/String;)V params: 1: key method: setFilenameAndFlush (Ljava/lang/String;)V params: 1: filename class: ChainedJsonException$Entry path: net/minecraft/server/ChainedJsonException$Entry method: addJsonKey (Ljava/lang/String;)V params: 1: key class: DebugLoggedPrintStream path: net/minecraft/server/DebugLoggedPrintStream method: logLine (Ljava/lang/String;)V params: 1: string class: Eula path: net/minecraft/server/Eula method: <init> (Ljava/nio/file/Path;)V params: 1: file class: LoggedPrintStream path: net/minecraft/server/LoggedPrintStream method: logLine (Ljava/lang/String;)V params: 1: string class: Main path: net/minecraft/server/Main method: forceUpgrade (Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;Lcom/mojang/datafixers/DataFixer;ZLjava/util/function/BooleanSupplier;Lcom/google/common/collect/ImmutableSet;)V params: 0: levelStorage, 1: fixer, 2: clearHeightAndLightMaps method: main ([Ljava/lang/String;)V params: 0: args class: MinecraftServer path: net/minecraft/server/MinecraftServer field: resourcePack Ljava/lang/String; The texture pack for the server
method: addTickable (Ljava/lang/Runnable;)V params: 1: tickable method: doRunTask (Lnet/minecraft/server/TickTask;)V params: 1: task method: getCompressionThreshold ()I The compression treshold. If the packet is larger than the specified amount of bytes, it will be compressed
method: getFile (Ljava/lang/String;)Ljava/io/File; params: 1: fileName Returns a File object from the specified string.
method: getKeyPair ()Ljava/security/KeyPair; Gets KeyPair instanced in MinecraftServer.
method: getLevel (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/server/level/ServerLevel; params: 1: dimension Gets the worldServer by the given dimension.
method: getLocalIp ()Ljava/lang/String; "getHostname" is already taken, but both return the hostname.
method: getMaxPlayers ()I Returns the maximum number of players allowed on the server.
method: getPlayerCount ()I Returns the number of players currently on the server.
method: getPlayerNames ()[Ljava/lang/String; Returns an array of the usernames of all the connected players.
method: getPort method: getProfilePermissions (Lcom/mojang/authlib/GameProfile;)I params: 1: profile method: getServerVersion ()Ljava/lang/String; Returns the server's Minecraft version as string.
method: getSingleplayerName ()Ljava/lang/String; Returns the username of the server owner (for integrated servers)
method: getSpawnProtectionRadius ()I Return the spawn protection area's size.
method: getSpawnRadius (Lnet/minecraft/server/level/ServerLevel;)I params: 1: level method: halt (Z)V params: 1: waitForServer Sets the serverRunning variable to false, in order to get the server to shut down.
method: initServer ()Z Initialises the server and starts it.
method: isCommandBlockEnabled ()Z Return whether command blocks are enabled.
method: isDemo ()Z Gets whether this is a demo or not.
method: isEpollEnabled ()Z Get if native transport should be used. Native transport means linux server performance improvements and optimized packet sending/receiving on linux
method: isHardcore method: isPublished ()Z Returns true if this integrated server is open to LAN
method: isSingleplayerOwner (Lcom/mojang/authlib/GameProfile;)Z params: 1: profile method: isUnderSpawnProtection (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)Z params: 1: level, 2: pos, 3: player method: kickUnlistedPlayers (Lnet/minecraft/commands/CommandSourceStack;)V params: 1: commandSource method: onServerCrash (Lnet/minecraft/CrashReport;)V params: 1: report Called on exit from the main run() loop.
method: onServerExit ()V Directly calls System.exit(0), instantly killing the program.
method: populateSnooper (Lnet/minecraft/world/Snooper;)V params: 1: snooper method: prepareLevels (Lnet/minecraft/server/level/progress/ChunkProgressListener;)V Loads the spawn chunks and any forced chunks
method: publishServer (Lnet/minecraft/world/level/GameType;ZI)Z params: 1: gameMode, 2: cheats, 3: port method: saveAllChunks (ZZZ)Z params: 1: suppressLog, 2: flush, 3: forced method: sendDifficultyUpdate (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
method: setDefaultGameType (Lnet/minecraft/world/level/GameType;)V params: 1: gameMode Sets the game type for all worlds.
method: setDemo (Z)V params: 1: demo Sets whether this is a demo or not.
method: setDifficulty (Lnet/minecraft/world/Difficulty;Z)V params: 1: difficulty method: setDifficultyLocked method: setEnforceWhitelist (Z)V params: 1: whitelistEnabled method: setFlightAllowed method: setId (Ljava/lang/String;)V params: 1: serverId method: setLocalIp (Ljava/lang/String;)V params: 1: host method: setMotd (Ljava/lang/String;)V params: 1: motd method: setPlayerIdleTimeout (I)V params: 1: idleTimeout method: setPlayerList (Lnet/minecraft/server/players/PlayerList;)V params: 1: list method: setPort method: setPvpAllowed method: setResourcePack (Ljava/lang/String;Ljava/lang/String;)V params: 1: url, 2: hash method: setSingleplayerName (Ljava/lang/String;)V params: 1: owner Sets the username of the owner of this server (in the case of an integrated server)
method: setUsesAuthentication method: shouldRun (Lnet/minecraft/server/TickTask;)Z params: 1: runnable method: spin (Ljava/util/function/Function;)Lnet/minecraft/server/MinecraftServer; params: 0: threadFunction method: stopServer ()V Saves all necessary data as preparation for stopping the server.
method: tickChildren (Ljava/util/function/BooleanSupplier;)V params: 1: hasTimeLeft method: tickServer (Ljava/util/function/BooleanSupplier;)V params: 1: hasTimeLeft Main function called by run() every loop.
method: updateStatusIcon (Lnet/minecraft/network/protocol/status/ServerStatus;)V params: 1: response method: waitUntilNextTick ()V Runs all pending tasks and waits for more tasks until serverTime is reached.
method: wrapRunnable (Ljava/lang/Runnable;)Lnet/minecraft/server/TickTask; params: 1: runnable class: MinecraftServer$1 path: net/minecraft/server/MinecraftServer$1 method: progressStage (Lnet/minecraft/network/chat/Component;)V params: 1: component method: progressStagePercentage (I)V params: 1: progress Updates the progress bar on the loading screen to the specified amount.
method: progressStart (Lnet/minecraft/network/chat/Component;)V params: 1: component method: progressStartNoAbort (Lnet/minecraft/network/chat/Component;)V params: 1: component class: MinecraftServer$2 path: net/minecraft/server/MinecraftServer$2 method: visit (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: key, 2: type class: PlayerAdvancements path: net/minecraft/server/PlayerAdvancements method: award (Lnet/minecraft/advancements/Advancement;Ljava/lang/String;)Z params: 1: advancement, 2: criterionKey method: checkForAutomaticTriggers (Lnet/minecraft/server/ServerAdvancementManager;)V params: 1: manager method: ensureVisibility (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: flushDirty (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: serverPlayer method: getOrStartProgress (Lnet/minecraft/advancements/Advancement;)Lnet/minecraft/advancements/AdvancementProgress; params: 1: advancement method: hasCompletedChildrenOrSelf (Lnet/minecraft/advancements/Advancement;)Z params: 1: advancement method: load (Lnet/minecraft/server/ServerAdvancementManager;)V params: 1: manager method: registerListeners (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: registerListeners (Lnet/minecraft/server/ServerAdvancementManager;)V params: 1: manager method: reload (Lnet/minecraft/server/ServerAdvancementManager;)V params: 1: manager method: revoke (Lnet/minecraft/advancements/Advancement;Ljava/lang/String;)Z params: 1: advancement, 2: criterionKey method: setPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: setSelectedTab (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement method: shouldBeVisible (Lnet/minecraft/advancements/Advancement;)Z params: 1: advancement method: startProgress (Lnet/minecraft/advancements/Advancement;Lnet/minecraft/advancements/AdvancementProgress;)V params: 1: advancement, 2: progress method: unregisterListeners (Lnet/minecraft/advancements/Advancement;)V params: 1: advancement class: ServerAdvancementManager path: net/minecraft/server/ServerAdvancementManager method: apply (Ljava/util/Map;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: getAdvancement (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/advancements/Advancement; params: 1: id class: ServerFunctionLibrary path: net/minecraft/server/ServerFunctionLibrary method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor class: ServerFunctionManager path: net/minecraft/server/ServerFunctionManager method: execute (Lnet/minecraft/commands/CommandFunction;Lnet/minecraft/commands/CommandSourceStack;)I params: 1: functionObject, 2: source method: executeTagFunctions (Ljava/util/Collection;Lnet/minecraft/resources/ResourceLocation;)V params: 1: functionObjects, 2: identifier method: get (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/Optional; params: 1: functionIdentifier method: getTag (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/tags/Tag; params: 1: functionTagIdentifier method: postReload (Lnet/minecraft/server/ServerFunctionLibrary;)V params: 1: reloader method: replaceLibrary (Lnet/minecraft/server/ServerFunctionLibrary;)V params: 1: reloader class: ServerInterface path: net/minecraft/server/ServerInterface method: getMaxPlayers ()I Returns the maximum number of players allowed on the server.
method: getPlayerCount ()I Returns the number of players currently on the server.
method: getPlayerNames ()[Ljava/lang/String; Returns an array of the usernames of all the connected players.
method: getPluginNames ()Ljava/lang/String; Used by RCon's Query in the form of "MajorServerMod 1.2.3: MyPlugin 1.3" AnotherPlugin 2.1" AndSoForth 1.0".
method: getServerIp ()Ljava/lang/String; Returns the server's hostname.
method: getServerName ()Ljava/lang/String; Returns the server message of the day
method: getServerPort ()I Never used, but "getServerPort" is already taken.
method: getServerVersion ()Ljava/lang/String; Returns the server's Minecraft version as string.
method: runCommand (Ljava/lang/String;)Ljava/lang/String; params: 1: command Handle a command received by an RCon instance
class: ServerScoreboard path: net/minecraft/server/ServerScoreboard method: addDirtyListener (Ljava/lang/Runnable;)V params: 1: runnable method: addPlayerToTeam (Ljava/lang/String;Lnet/minecraft/world/scores/PlayerTeam;)Z params: 1: playerName, 2: team method: getStartTrackingPackets (Lnet/minecraft/world/scores/Objective;)Ljava/util/List; params: 1: objective method: onObjectiveAdded (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: onObjectiveChanged (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: onObjectiveRemoved (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: onPlayerRemoved (Ljava/lang/String;)V params: 1: scoreName method: onPlayerScoreRemoved (Ljava/lang/String;Lnet/minecraft/world/scores/Objective;)V params: 1: scoreName, 2: objective method: onScoreChanged (Lnet/minecraft/world/scores/Score;)V params: 1: score method: onTeamAdded (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam method: onTeamChanged (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam method: onTeamRemoved (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam method: removePlayerFromTeam (Ljava/lang/String;Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: username, 2: playerTeam Removes the given username from the given ScorePlayerTeam. If the player is not on the team then an IllegalStateException is thrown.
method: setDisplayObjective (ILnet/minecraft/world/scores/Objective;)V params: 1: objectiveSlot, 2: objective 0 is tab menu, 1 is sidebar, 2 is below name
method: startTrackingObjective (Lnet/minecraft/world/scores/Objective;)V params: 1: objective class: TickTask path: net/minecraft/server/TickTask method: getTick ()I Get the server time when this task was scheduled
sounds class: Music path: net/minecraft/sounds/Music method: <init> (Lnet/minecraft/sounds/SoundEvent;IIZ)V params: 1: event, 2: minDelay, 3: maxDelay, 4: replaceCurrentMusic class: Musics path: net/minecraft/sounds/Musics method: createGameMusic (Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/sounds/Music; params: 0: soundEvent class: SoundEvent path: net/minecraft/sounds/SoundEvent method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: location class: SoundEvents path: net/minecraft/sounds/SoundEvents method: register (Ljava/lang/String;)Lnet/minecraft/sounds/SoundEvent; params: 0: key class: SoundSource path: net/minecraft/sounds/SoundSource method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name stats class: RecipeBook path: net/minecraft/stats/RecipeBook method: add (Lnet/minecraft/resources/ResourceLocation;)V params: 1: resourceLocation method: add (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: addHighlight (Lnet/minecraft/resources/ResourceLocation;)V params: 1: resourceLocation method: addHighlight (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: contains (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: id method: contains (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe method: copyOverData (Lnet/minecraft/stats/RecipeBook;)V params: 1: that method: isFiltering (Lnet/minecraft/world/inventory/RecipeBookMenu;)Z params: 1: menu method: isFiltering (Lnet/minecraft/world/inventory/RecipeBookType;)Z params: 1: type method: isOpen (Lnet/minecraft/world/inventory/RecipeBookType;)Z params: 1: type method: remove (Lnet/minecraft/resources/ResourceLocation;)V params: 1: resourceLocation method: remove (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: removeHighlight (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: setBookSetting (Lnet/minecraft/world/inventory/RecipeBookType;ZZ)V params: 1: type, 2: isVisible, 3: shouldFilterCraftable method: setBookSettings (Lnet/minecraft/stats/RecipeBookSettings;)V params: 1: bookSettings method: setFiltering (Lnet/minecraft/world/inventory/RecipeBookType;Z)V params: 1: type, 2: shouldFilterCraftable method: setOpen (Lnet/minecraft/world/inventory/RecipeBookType;Z)V params: 1: type, 2: isVisible method: willHighlight (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe class: RecipeBookSettings path: net/minecraft/stats/RecipeBookSettings method: <init> (Ljava/util/Map;)V params: 1: states method: isFiltering (Lnet/minecraft/world/inventory/RecipeBookType;)Z params: 1: type method: isOpen (Lnet/minecraft/world/inventory/RecipeBookType;)Z params: 1: type method: lambda$new$0 (Ljava/util/EnumMap;)V params: 0: type method: read (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/stats/RecipeBookSettings; params: 0: tag method: read (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/stats/RecipeBookSettings; params: 0: buffer method: setFiltering (Lnet/minecraft/world/inventory/RecipeBookType;Z)V params: 1: type, 2: shouldFilterCraftable method: setOpen (Lnet/minecraft/world/inventory/RecipeBookType;Z)V params: 1: type, 2: isVisible method: write (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: ServerRecipeBook path: net/minecraft/stats/ServerRecipeBook method: addRecipes (Ljava/util/Collection;Lnet/minecraft/server/level/ServerPlayer;)I params: 1: recipes, 2: player method: fromNbt (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/item/crafting/RecipeManager;)V params: 1: tag, 2: recipeManager method: loadRecipes (Lnet/minecraft/nbt/ListTag;Ljava/util/function/Consumer;Lnet/minecraft/world/item/crafting/RecipeManager;)V params: 1: nbtList, 2: recipeConsumer, 3: recipeManager method: removeRecipes (Ljava/util/Collection;Lnet/minecraft/server/level/ServerPlayer;)I params: 1: recipes, 2: player method: sendInitialRecipeBook (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: sendRecipes (Lnet/minecraft/network/protocol/game/ClientboundRecipePacket$State;Lnet/minecraft/server/level/ServerPlayer;Ljava/util/List;)V params: 1: state, 2: player, 3: recipes class: ServerStatsCounter path: net/minecraft/stats/ServerStatsCounter method: <init> (Lnet/minecraft/server/MinecraftServer;Ljava/io/File;)V params: 1: server, 2: file method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/nbt/CompoundTag; params: 0: tagObject method: getKey (Lnet/minecraft/stats/Stat;)Lnet/minecraft/resources/ResourceLocation; params: 0: stat method: getStat (Lnet/minecraft/stats/StatType;Ljava/lang/String;)Ljava/util/Optional; params: 1: type, 2: id method: lambda$toJson$4 (Lnet/minecraft/stats/StatType;)Lcom/google/gson/JsonObject; params: 0: type method: parseLocal (Lcom/mojang/datafixers/DataFixer;Ljava/lang/String;)V params: 1: dataFixer, 2: fileData method: sendStats (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: setValue (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/stats/Stat;I)V params: 1: player, 2: stat, 3: value Triggers the logging of an achievement and attempts to announce to server
class: Stat path: net/minecraft/stats/Stat method: <init> (Lnet/minecraft/stats/StatType;Ljava/lang/Object;Lnet/minecraft/stats/StatFormatter;)V params: 1: type, 2: value, 3: formatter method: buildName (Lnet/minecraft/stats/StatType;Ljava/lang/Object;)Ljava/lang/String; params: 0: type, 1: value method: equals (Ljava/lang/Object;)Z params: 1: other method: format (I)Ljava/lang/String; params: 1: number method: locationToKey (Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/String; params: 0: id class: StatFormatter path: net/minecraft/stats/StatFormatter method: format (I)Ljava/lang/String; params: 1: number method: lambda$static$0 (Ljava/text/DecimalFormat;)V params: 0: format method: lambda$static$1 (I)Ljava/lang/String; params: 0: decimal method: lambda$static$2 (I)Ljava/lang/String; params: 0: distance method: lambda$static$3 (I)Ljava/lang/String; params: 0: time class: StatType path: net/minecraft/stats/StatType method: <init> (Lnet/minecraft/core/Registry;)V params: 1: registry method: contains (Ljava/lang/Object;)Z params: 1: stat method: get (Ljava/lang/Object;)Lnet/minecraft/stats/Stat; params: 1: stat method: get (Ljava/lang/Object;Lnet/minecraft/stats/StatFormatter;)Lnet/minecraft/stats/Stat; params: 1: stat, 2: formatter method: lambda$get$0 (Lnet/minecraft/stats/StatFormatter;Ljava/lang/Object;)Lnet/minecraft/stats/Stat; params: 2: stat class: Stats path: net/minecraft/stats/Stats method: makeCustomStat (Ljava/lang/String;Lnet/minecraft/stats/StatFormatter;)Lnet/minecraft/resources/ResourceLocation; params: 0: key, 1: formatter method: makeRegistryStatType (Ljava/lang/String;Lnet/minecraft/core/Registry;)Lnet/minecraft/stats/StatType; params: 0: key, 1: registry class: StatsCounter path: net/minecraft/stats/StatsCounter method: getValue (Lnet/minecraft/stats/Stat;)I params: 1: stat Reads the given stat and returns its value as an int.
method: getValue (Lnet/minecraft/stats/StatType;Ljava/lang/Object;)I params: 1: type method: increment (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/stats/Stat;I)V params: 1: player, 2: stat, 3: amount method: setValue (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/stats/Stat;I)V params: 1: player, 2: stat, 3: value Triggers the logging of an achievement and attempts to announce to server
tags class: BlockTags path: net/minecraft/tags/BlockTags method: bind (Ljava/lang/String;)Lnet/minecraft/tags/Tag$Named; params: 0: id class: EntityTypeTags path: net/minecraft/tags/EntityTypeTags method: bind (Ljava/lang/String;)Lnet/minecraft/tags/Tag$Named; params: 0: id class: FluidTags path: net/minecraft/tags/FluidTags method: bind (Ljava/lang/String;)Lnet/minecraft/tags/Tag$Named; params: 0: id class: ItemTags path: net/minecraft/tags/ItemTags method: bind (Ljava/lang/String;)Lnet/minecraft/tags/Tag$Named; params: 0: id class: SerializationTags path: net/minecraft/tags/SerializationTags method: bind (Lnet/minecraft/tags/TagContainer;)V params: 0: manager class: SetTag path: net/minecraft/tags/SetTag method: contains (Ljava/lang/Object;)Z params: 1: element method: create (Ljava/util/Set;)Lnet/minecraft/tags/SetTag; params: 0: contents method: findClosestAncestor (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Class; params: 0: input, 1: comparison method: findCommonSuperClass (Ljava/util/Set;)Ljava/lang/Class; params: 0: contents class: StaticTagHelper path: net/minecraft/tags/StaticTagHelper method: bind (Ljava/lang/String;)Lnet/minecraft/tags/Tag$Named; params: 1: id method: getMissingTags (Lnet/minecraft/tags/TagContainer;)Ljava/util/Set; params: 1: supplier method: reset (Lnet/minecraft/tags/TagContainer;)V params: 1: supplier class: StaticTagHelper$Wrapper path: net/minecraft/tags/StaticTagHelper$Wrapper method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: name method: contains (Ljava/lang/Object;)Z params: 1: element method: rebind (Ljava/util/function/Function;)V params: 1: idToTagFunction class: StaticTags path: net/minecraft/tags/StaticTags method: getAllMissingTags (Lnet/minecraft/tags/TagContainer;)Lcom/google/common/collect/Multimap; params: 0: supplier method: resetAll (Lnet/minecraft/tags/TagContainer;)V params: 0: supplier class: Tag path: net/minecraft/tags/Tag method: codec (Ljava/util/function/Supplier;)Lcom/mojang/serialization/Codec; params: 0: collectionSupplier method: contains (Ljava/lang/Object;)Z params: 1: element method: fromSet (Ljava/util/Set;)Lnet/minecraft/tags/Tag; params: 0: elements method: getRandomElement (Ljava/util/Random;)Ljava/lang/Object; params: 1: random class: Tag$Builder path: net/minecraft/tags/Tag$Builder method: add (Lnet/minecraft/tags/Tag$BuilderEntry;)Lnet/minecraft/tags/Tag$Builder; params: 1: proxyTag method: add (Lnet/minecraft/tags/Tag$Entry;Ljava/lang/String;)Lnet/minecraft/tags/Tag$Builder; params: 1: tagEntry, 2: identifier method: addElement (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Lnet/minecraft/tags/Tag$Builder; params: 1: registryName, 2: identifier method: addFromJson (Lcom/google/gson/JsonObject;Ljava/lang/String;)Lnet/minecraft/tags/Tag$Builder; params: 1: json, 2: identifier method: addTag (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Lnet/minecraft/tags/Tag$Builder; params: 1: tag, 2: identifier method: parseEntry (Lcom/google/gson/JsonElement;)Lnet/minecraft/tags/Tag$Entry; params: 0: json class: Tag$ElementEntry path: net/minecraft/tags/Tag$ElementEntry method: build (Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z params: 1: resourceTagFunction, 2: resourceElementFunction, 3: elementConsumer method: serializeTo (Lcom/google/gson/JsonArray;)V params: 1: jsonArray class: Tag$Entry path: net/minecraft/tags/Tag$Entry method: build (Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z params: 1: resourceTagFunction, 2: resourceElementFunction, 3: elementConsumer method: serializeTo (Lcom/google/gson/JsonArray;)V params: 1: jsonArray class: Tag$OptionalElementEntry path: net/minecraft/tags/Tag$OptionalElementEntry method: build (Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z params: 1: resourceTagFunction, 2: resourceElementFunction, 3: elementConsumer method: serializeTo (Lcom/google/gson/JsonArray;)V params: 1: jsonArray class: Tag$OptionalTagEntry path: net/minecraft/tags/Tag$OptionalTagEntry method: build (Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z params: 1: resourceTagFunction, 2: resourceElementFunction, 3: elementConsumer method: serializeTo (Lcom/google/gson/JsonArray;)V params: 1: jsonArray class: Tag$TagEntry path: net/minecraft/tags/Tag$TagEntry method: build (Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/function/Consumer;)Z params: 1: resourceTagFunction, 2: resourceElementFunction, 3: elementConsumer method: serializeTo (Lcom/google/gson/JsonArray;)V params: 1: jsonArray class: TagCollection path: net/minecraft/tags/TagCollection method: getId (Lnet/minecraft/tags/Tag;)Lnet/minecraft/resources/ResourceLocation; params: 1: tag method: getMatchingTags (Ljava/lang/Object;)Ljava/util/Collection; params: 1: item method: getTag (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/tags/Tag; params: 1: id method: getTagOrEmpty (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/tags/Tag; params: 1: id method: of (Ljava/util/Map;)Lnet/minecraft/tags/TagCollection; params: 0: idTagMap class: TagCollection$1 path: net/minecraft/tags/TagCollection$1 method: getId (Lnet/minecraft/tags/Tag;)Lnet/minecraft/resources/ResourceLocation; params: 1: tag method: getTagOrEmpty (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/tags/Tag; params: 1: id class: TagContainer path: net/minecraft/tags/TagContainer field: EMPTY Lnet/minecraft/tags/TagContainer; field_243552_au
class: TagManager path: net/minecraft/tags/TagManager method: reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; params: 1: stage, 2: resourceManager, 3: preparationsProfiler, 4: reloadProfiler, 5: backgroundExecutor, 6: gameExecutor util datafix fixes class: AddNewChoices path: net/minecraft/util/datafix/fixes/AddNewChoices method: cap (Ljava/lang/String;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule; params: 1: name class: BedBlockEntityInjecter path: net/minecraft/util/datafix/fixes/BedBlockEntityInjecter method: cap (Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/templates/List$ListType;)Lcom/mojang/datafixers/TypeRewriteRule; params: 1: levelType, 2: tileType class: BlockStateData path: net/minecraft/util/datafix/fixes/BlockStateData method: getTag (I)Lcom/mojang/serialization/Dynamic; params: 0: id method: parse (Ljava/lang/String;)Lcom/mojang/serialization/Dynamic; params: 0: nbt method: register (ILjava/lang/String;[Ljava/lang/String;)V params: 0: id, 1: fixedNBT, 2: sourceNBTs method: upgradeBlock (I)Ljava/lang/String; params: 0: id method: upgradeBlock (Ljava/lang/String;)Ljava/lang/String; params: 0: name method: upgradeBlockStateTag (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; params: 0: nbt class: EntityCatSplitFix path: net/minecraft/util/datafix/fixes/EntityCatSplitFix method: getNewNameAndTag (Ljava/lang/String;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/datafixers/util/Pair; params: 1: name, 2: tag class: EntityCodSalmonFix path: net/minecraft/util/datafix/fixes/EntityCodSalmonFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name class: EntityElderGuardianSplitFix path: net/minecraft/util/datafix/fixes/EntityElderGuardianSplitFix method: getNewNameAndTag (Ljava/lang/String;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/datafixers/util/Pair; params: 1: name, 2: tag class: EntityPufferfishRenameFix path: net/minecraft/util/datafix/fixes/EntityPufferfishRenameFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name class: EntityRavagerRenameFix path: net/minecraft/util/datafix/fixes/EntityRavagerRenameFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name class: EntitySkeletonSplitFix path: net/minecraft/util/datafix/fixes/EntitySkeletonSplitFix method: getNewNameAndTag (Ljava/lang/String;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/datafixers/util/Pair; params: 1: name, 2: tag class: EntityTheRenameningFix path: net/minecraft/util/datafix/fixes/EntityTheRenameningFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name class: EntityTippedArrowFix path: net/minecraft/util/datafix/fixes/EntityTippedArrowFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name class: EntityZombieSplitFix path: net/minecraft/util/datafix/fixes/EntityZombieSplitFix method: getNewNameAndTag (Ljava/lang/String;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/datafixers/util/Pair; params: 1: name, 2: tag class: EntityZombifiedPiglinRenameFix path: net/minecraft/util/datafix/fixes/EntityZombifiedPiglinRenameFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name class: SimpleEntityRenameFix path: net/minecraft/util/datafix/fixes/SimpleEntityRenameFix method: getNewNameAndTag (Ljava/lang/String;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/datafixers/util/Pair; params: 1: name, 2: tag class: SimplestEntityRenameFix path: net/minecraft/util/datafix/fixes/SimplestEntityRenameFix method: rename (Ljava/lang/String;)Ljava/lang/String; params: 1: name schemas class: NamespacedSchema path: net/minecraft/util/datafix/schemas/NamespacedSchema method: ensureNamespaced (Ljava/lang/String;)Ljava/lang/String; params: 0: string class: V100 path: net/minecraft/util/datafix/schemas/V100 method: equipment (Lcom/mojang/datafixers/schemas/Schema;)Lcom/mojang/datafixers/types/templates/TypeTemplate; params: 0: schema method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V1460 path: net/minecraft/util/datafix/schemas/V1460 method: registerInventory (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V1470 path: net/minecraft/util/datafix/schemas/V1470 method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V501 path: net/minecraft/util/datafix/schemas/V501 method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V700 path: net/minecraft/util/datafix/schemas/V700 method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V701 path: net/minecraft/util/datafix/schemas/V701 method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V702 path: net/minecraft/util/datafix/schemas/V702 method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V704 path: net/minecraft/util/datafix/schemas/V704 method: registerInventory (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V705 path: net/minecraft/util/datafix/schemas/V705 method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name method: registerThrowableProjectile (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V808 path: net/minecraft/util/datafix/schemas/V808 method: registerInventory (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: V99 path: net/minecraft/util/datafix/schemas/V99 method: equipment (Lcom/mojang/datafixers/schemas/Schema;)Lcom/mojang/datafixers/types/templates/TypeTemplate; params: 0: schema method: registerInventory (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name method: registerMinecart (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name method: registerMob (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name method: registerThrowableProjectile (Lcom/mojang/datafixers/schemas/Schema;Ljava/util/Map;Ljava/lang/String;)V params: 0: schema, 1: map, 2: name class: DataFixers path: net/minecraft/util/datafix/DataFixers method: addFixers (Lcom/mojang/datafixers/DataFixerBuilder;)V params: 0: builder method: createRenamer (Ljava/lang/String;Ljava/lang/String;)Ljava/util/function/UnaryOperator; params: 0: oldName, 1: newName method: createRenamer (Ljava/util/Map;)Ljava/util/function/UnaryOperator; params: 0: renameMap profiling class: ActiveProfiler path: net/minecraft/util/profiling/ActiveProfiler method: <init> (Ljava/util/function/LongSupplier;Ljava/util/function/IntSupplier;Z)V params: 1: startTimeNano, 2: startTimeTicks, 3: warn method: incrementCounter (Ljava/lang/String;)V params: 1: entryId method: incrementCounter (Ljava/util/function/Supplier;)V params: 1: entryIdSupplier method: pop method: popPush (Ljava/lang/String;)V params: 1: name method: popPush (Ljava/util/function/Supplier;)V params: 1: nameSupplier method: push (Ljava/lang/String;)V params: 1: name Start section
method: push (Ljava/util/function/Supplier;)V params: 1: nameSupplier class: EmptyProfileResults path: net/minecraft/util/profiling/EmptyProfileResults method: getTimes (Ljava/lang/String;)Ljava/util/List; params: 1: sectionPath class: FilledProfileResults path: net/minecraft/util/profiling/FilledProfileResults method: getTimes (Ljava/lang/String;)Ljava/util/List; params: 1: sectionPath class: InactiveProfiler path: net/minecraft/util/profiling/InactiveProfiler method: incrementCounter (Ljava/lang/String;)V params: 1: entryId method: incrementCounter (Ljava/util/function/Supplier;)V params: 1: entryIdSupplier method: pop method: popPush (Ljava/lang/String;)V params: 1: name method: popPush (Ljava/util/function/Supplier;)V params: 1: nameSupplier method: push (Ljava/lang/String;)V params: 1: name Start section
method: push (Ljava/util/function/Supplier;)V params: 1: nameSupplier class: ProfileResults path: net/minecraft/util/profiling/ProfileResults method: getTimes (Ljava/lang/String;)Ljava/util/List; params: 1: sectionPath class: ProfilerFiller path: net/minecraft/util/profiling/ProfilerFiller method: incrementCounter (Ljava/lang/String;)V params: 1: entryId method: incrementCounter (Ljava/util/function/Supplier;)V params: 1: entryIdSupplier method: pop method: popPush (Ljava/lang/String;)V params: 1: name method: popPush (Ljava/util/function/Supplier;)V params: 1: nameSupplier method: push (Ljava/lang/String;)V params: 1: name Start section
method: push (Ljava/util/function/Supplier;)V params: 1: nameSupplier class: ProfilerFiller$1 path: net/minecraft/util/profiling/ProfilerFiller$1 method: incrementCounter (Ljava/lang/String;)V params: 1: entryId method: incrementCounter (Ljava/util/function/Supplier;)V params: 1: entryIdSupplier method: pop method: popPush (Ljava/lang/String;)V params: 1: name method: popPush (Ljava/util/function/Supplier;)V params: 1: nameSupplier method: push (Ljava/lang/String;)V params: 1: name Start section
method: push (Ljava/util/function/Supplier;)V params: 1: nameSupplier class: ResultField path: net/minecraft/util/profiling/ResultField method: <init> (Ljava/lang/String;DDJ)V params: 1: name, 2: percentage, 4: globalPercentage, 6: count thread class: BlockableEventLoop path: net/minecraft/util/thread/BlockableEventLoop method: doRunTask (Ljava/lang/Runnable;)V params: 1: task method: executeBlocking (Ljava/lang/Runnable;)V params: 1: task method: managedBlock (Ljava/util/function/BooleanSupplier;)V params: 1: isDone Drive the executor until the given BooleanSupplier returns true
method: shouldRun (Ljava/lang/Runnable;)Z params: 1: runnable method: submit (Ljava/lang/Runnable;)Ljava/util/concurrent/CompletableFuture; params: 1: task method: submit (Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture; params: 1: supplier method: submitAsync (Ljava/lang/Runnable;)Ljava/util/concurrent/CompletableFuture; params: 1: task method: tell (Ljava/lang/Runnable;)V params: 1: task method: wrapRunnable (Ljava/lang/Runnable;)Ljava/lang/Runnable; params: 1: runnable class: ProcessorHandle path: net/minecraft/util/thread/ProcessorHandle method: of (Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/util/thread/ProcessorHandle; params: 0: name method: tell (Ljava/lang/Object;)V params: 1: task class: ProcessorHandle$1 path: net/minecraft/util/thread/ProcessorHandle$1 method: tell (Ljava/lang/Object;)V params: 1: task class: ProcessorMailbox path: net/minecraft/util/thread/ProcessorMailbox method: tell (Ljava/lang/Object;)V params: 1: task class: ReentrantBlockableEventLoop path: net/minecraft/util/thread/ReentrantBlockableEventLoop method: doRunTask (Ljava/lang/Runnable;)V params: 1: task class: StrictQueue path: net/minecraft/util/thread/StrictQueue method: push (Ljava/lang/Object;)Z params: 1: value class: StrictQueue$FixedPriorityQueue path: net/minecraft/util/thread/StrictQueue$FixedPriorityQueue method: push (Lnet/minecraft/util/thread/StrictQueue$IntRunnable;)Z params: 1: value class: StrictQueue$QueueStrictQueue path: net/minecraft/util/thread/StrictQueue$QueueStrictQueue method: push (Ljava/lang/Object;)Z params: 1: value class: BitStorage path: net/minecraft/util/BitStorage method: get (I)I params: 1: index Gets the entry at the given index
method: getAll (Ljava/util/function/IntConsumer;)V params: 1: consumer method: getAndSet (II)I params: 1: index, 2: value method: getRaw ()[J Gets the long array that is used to store the data in this BitArray. This is useful for sending packet data.
method: set (II)V params: 1: index, 2: value Sets the entry at the given location to the given value
class: CrudeIncrementalIntIdentityHashBiMap path: net/minecraft/util/CrudeIncrementalIntIdentityHashBiMap method: add (Ljava/lang/Object;)I params: 1: object Adds the given object while expanding this map
method: addMapping (Ljava/lang/Object;I)V params: 1: object, 2: intKey Puts the provided object value with the integer key.
method: byId (I)Ljava/lang/Object; params: 1: value method: findEmpty (I)I params: 1: startIndex method: getId (Ljava/lang/Object;)I params: 1: value Gets the integer ID we use to identify the given object.
method: getValue method: grow (I)V params: 1: capacity Rehashes the map to the new capacity
method: hash (Ljava/lang/Object;)I params: 1: obect method: indexOf (Ljava/lang/Object;I)I params: 1: object, 2: startIndex class: Crypt path: net/minecraft/util/Crypt method: byteToPublicKey ([B)Ljava/security/PublicKey; params: 0: encodedKey Create a new PublicKey from encoded X.509 data
method: cipherData (ILjava/security/Key;[B)[B params: 0: opMode, 1: key, 2: data Encrypt or decrypt byte[] data using the specified key
method: decryptByteToSecretKey (Ljava/security/PrivateKey;[B)Ljavax/crypto/SecretKey; params: 0: key, 1: secretKeyEncrypted Decrypt shared secret AES key using RSA private key
method: decryptUsingKey (Ljava/security/Key;[B)[B params: 0: key, 1: data Decrypt byte[] data with RSA private key
method: digestData (Ljava/lang/String;Ljava/security/PublicKey;Ljavax/crypto/SecretKey;)[B params: 0: serverId, 1: publicKey, 2: secretKey Compute a serverId hash for use by sendSessionRequest()
method: encryptUsingKey (Ljava/security/Key;[B)[B params: 0: key, 1: data Encrypt byte[] data with RSA public key
method: generateKeyPair ()Ljava/security/KeyPair; Generates RSA KeyPair
method: generateSecretKey ()Ljavax/crypto/SecretKey; Generate a new shared secret AES key from a secure random source
method: getCipher (ILjava/security/Key;)Ljavax/crypto/Cipher; params: 0: opMode, 1: key Creates an Cipher instance using the AES/CFB8/NoPadding algorithm. Used for protocol encryption.
method: setupCipher (ILjava/lang/String;Ljava/security/Key;)Ljavax/crypto/Cipher; params: 0: opMode, 1: transformation, 2: key Creates the Cipher Instance.
class: ExceptionCollector path: net/minecraft/util/ExceptionCollector method: add (Ljava/lang/Throwable;)V params: 1: exception class: FastColor$ARGB32 path: net/minecraft/util/FastColor$ARGB32 method: alpha (I)I params: 0: packedColor method: blue (I)I params: 0: packedColor method: color (IIII)I params: 0: alpha, 1: red, 2: green, 3: blue method: green (I)I params: 0: packedColor method: multiply (II)I params: 0: packedColourOne, 1: packedColorTwo method: red (I)I params: 0: packedColor class: FormattedCharSequence path: net/minecraft/util/FormattedCharSequence method: codepoint (ILnet/minecraft/network/chat/Style;)Lnet/minecraft/util/FormattedCharSequence; params: 0: codePoint, 1: style method: forward (Ljava/lang/String;Lnet/minecraft/network/chat/Style;)Lnet/minecraft/util/FormattedCharSequence; params: 0: string, 1: style class: FrameTimer path: net/minecraft/util/FrameTimer field: logEnd I The next index to use in the array
field: logLength field: logStart I The last index used when 240 frames have been set
field: loggedTimes [J An array with the last 240 frames
method: getLog ()[J Return the array of frames
method: getLogEnd ()I Return the index of the next frame in the array
method: getLogStart ()I Return the last index used when 240 frames have been set
method: logFrameDuration (J)V params: 1: runningTime Add a frame at the next index in the array frames
method: scaleSampleTo (JII)I params: 1: value, 3: scale, 4: divisor method: wrapIndex (I)I params: 1: rawIndex Change 240 to 0
class: GsonHelper path: net/minecraft/util/GsonHelper method: convertToBoolean (Lcom/google/gson/JsonElement;Ljava/lang/String;)Z params: 0: json, 1: memberName Gets the boolean value of the given JsonElement. Expects the second parameter to be the name of the element's field if an error message needs to be thrown.
method: convertToByte (Lcom/google/gson/JsonElement;Ljava/lang/String;)B params: 0: json, 1: memberName method: convertToFloat (Lcom/google/gson/JsonElement;Ljava/lang/String;)F params: 0: json, 1: memberName Gets the float value of the given JsonElement. Expects the second parameter to be the name of the element's field if an error message needs to be thrown.
method: convertToInt (Lcom/google/gson/JsonElement;Ljava/lang/String;)I params: 0: json, 1: memberName Gets the integer value of the given JsonElement. Expects the second parameter to be the name of the element's field if an error message needs to be thrown.
method: convertToItem (Lcom/google/gson/JsonElement;Ljava/lang/String;)Lnet/minecraft/world/item/Item; params: 0: json, 1: memberName method: convertToJsonArray (Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonArray; params: 0: json, 1: memberName Gets the given JsonElement as a JsonArray. Expects the second parameter to be the name of the element's field if an error message needs to be thrown.
method: convertToJsonObject (Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject; params: 0: json, 1: memberName Gets the given JsonElement as a JsonObject. Expects the second parameter to be the name of the element's field if an error message needs to be thrown.
method: convertToLong (Lcom/google/gson/JsonElement;Ljava/lang/String;)J params: 0: json, 1: memberName Gets a long from a JSON element and validates that the value is actually a number.
method: convertToObject (Lcom/google/gson/JsonElement;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object; params: 0: json, 1: memberName, 2: context, 3: adapter method: convertToString (Lcom/google/gson/JsonElement;Ljava/lang/String;)Ljava/lang/String; params: 0: json, 1: memberName Gets the string value of the given JsonElement. Expects the second parameter to be the name of the element's field if an error message needs to be thrown.
method: fromJson (Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object; params: 0: gson, 1: reader, 2: type method: fromJson (Lcom/google/gson/Gson;Ljava/io/Reader;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object; params: 0: gson, 1: reader, 2: type, 3: lenient method: fromJson (Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;)Ljava/lang/Object; params: 0: gson, 1: reader, 2: jsonClass method: fromJson (Lcom/google/gson/Gson;Ljava/io/Reader;Ljava/lang/Class;Z)Ljava/lang/Object; params: 0: gson, 1: reader, 2: adapter, 3: lenient method: fromJson (Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;)Ljava/lang/Object; params: 0: gson, 1: string, 2: type method: fromJson (Lcom/google/gson/Gson;Ljava/lang/String;Lcom/google/gson/reflect/TypeToken;Z)Ljava/lang/Object; params: 0: gson, 1: string, 2: type, 3: lenient method: fromJson (Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; params: 0: gson, 1: json, 2: adapter method: fromJson (Lcom/google/gson/Gson;Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object; params: 0: gson, 1: json, 2: adapter, 3: lenient method: getAsBoolean (Lcom/google/gson/JsonObject;Ljava/lang/String;)Z params: 0: json, 1: memberName Gets the boolean value of the field on the JsonObject with the given name.
method: getAsBoolean (Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Z params: 0: json, 1: memberName, 2: fallback Gets the boolean value of the field on the JsonObject with the given name, or the given default value if the field is missing.
method: getAsByte (Lcom/google/gson/JsonObject;Ljava/lang/String;B)B params: 0: json, 1: memberName, 2: fallback method: getAsFloat (Lcom/google/gson/JsonObject;Ljava/lang/String;)F params: 0: json, 1: memberName Gets the float value of the field on the JsonObject with the given name.
method: getAsFloat (Lcom/google/gson/JsonObject;Ljava/lang/String;F)F params: 0: json, 1: memberName, 2: fallback Gets the float value of the field on the JsonObject with the given name, or the given default value if the field is missing.
method: getAsInt (Lcom/google/gson/JsonObject;Ljava/lang/String;)I params: 0: json, 1: memberName Gets the integer value of the field on the JsonObject with the given name.
method: getAsInt (Lcom/google/gson/JsonObject;Ljava/lang/String;I)I params: 0: json, 1: memberName, 2: fallback Gets the integer value of the field on the JsonObject with the given name, or the given default value if the field is missing.
method: getAsItem (Lcom/google/gson/JsonObject;Ljava/lang/String;)Lnet/minecraft/world/item/Item; params: 0: json, 1: memberName method: getAsJsonArray (Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonArray; params: 0: json, 1: memberName Gets the JsonArray field on the JsonObject with the given name.
method: getAsJsonArray (Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonArray;)Lcom/google/gson/JsonArray; params: 0: json, 1: memberName, 2: fallback Gets the JsonArray field on the JsonObject with the given name, or the given default value if the field is missing.
method: getAsJsonObject (Lcom/google/gson/JsonObject;Ljava/lang/String;)Lcom/google/gson/JsonObject; params: 0: json, 1: memberName method: getAsJsonObject (Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonObject;)Lcom/google/gson/JsonObject; params: 0: json, 1: memberName, 2: fallback Gets the JsonObject field on the JsonObject with the given name, or the given default value if the field is missing.
method: getAsLong (Lcom/google/gson/JsonObject;Ljava/lang/String;)J params: 0: json, 1: memberName Gets a long from a JSON element, throws an error if the member does not exist.
method: getAsLong (Lcom/google/gson/JsonObject;Ljava/lang/String;J)J params: 0: json, 1: memberName, 2: fallback method: getAsObject (Lcom/google/gson/JsonObject;Ljava/lang/String;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object; params: 0: json, 1: memberName, 2: context, 3: adapter method: getAsObject (Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Object;Lcom/google/gson/JsonDeserializationContext;Ljava/lang/Class;)Ljava/lang/Object; params: 0: json, 1: memberName, 2: fallback, 3: context, 4: adapter method: getAsString (Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/String; params: 0: json, 1: memberName Gets the string value of the field on the JsonObject with the given name.
method: getAsString (Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; params: 0: json, 1: memberName, 2: fallback Gets the string value of the field on the JsonObject with the given name, or the given default value if the field is missing.
method: getType (Lcom/google/gson/JsonElement;)Ljava/lang/String; params: 0: json Gets a human-readable description of the given JsonElement's type. For example: "a number (4)"
method: isArrayNode (Lcom/google/gson/JsonObject;Ljava/lang/String;)Z params: 0: json, 1: memberName Does the given JsonObject contain an array field with the given name?
method: isBooleanValue (Lcom/google/gson/JsonObject;Ljava/lang/String;)Z params: 0: json, 1: memberName method: isNumberValue (Lcom/google/gson/JsonElement;)Z params: 0: json method: isStringValue (Lcom/google/gson/JsonElement;)Z params: 0: json Is the given JsonElement a string?
method: isStringValue (Lcom/google/gson/JsonObject;Ljava/lang/String;)Z params: 0: json, 1: memberName Does the given JsonObject contain a string field with the given name?
method: isValidNode (Lcom/google/gson/JsonObject;Ljava/lang/String;)Z params: 0: json, 1: memberName Does the given JsonObject contain a field with the given name?
method: isValidPrimitive (Lcom/google/gson/JsonObject;Ljava/lang/String;)Z params: 0: json, 1: memberName Does the given JsonObject contain a field with the given name whose type is primitive (String, Java primitive, or Java primitive wrapper)?
method: parse (Ljava/io/Reader;)Lcom/google/gson/JsonObject; params: 0: reader method: parse (Ljava/io/Reader;Z)Lcom/google/gson/JsonObject; params: 0: reader, 1: lenient method: parse (Ljava/lang/String;)Lcom/google/gson/JsonObject; params: 0: json method: parse (Ljava/lang/String;Z)Lcom/google/gson/JsonObject; params: 0: json, 1: lenient class: HttpUtil path: net/minecraft/util/HttpUtil method: downloadTo (Ljava/io/File;Ljava/lang/String;Ljava/util/Map;ILnet/minecraft/util/ProgressListener;Ljava/net/Proxy;)Ljava/util/concurrent/CompletableFuture; params: 0: saveFile, 1: packUrl, 2: requestProperties, 3: maxSize, 4: progressCallback, 5: proxy class: LinearCongruentialGenerator path: net/minecraft/util/LinearCongruentialGenerator method: next (JJ)J params: 0: left, 2: right class: LowerCaseEnumTypeAdapterFactory path: net/minecraft/util/LowerCaseEnumTypeAdapterFactory method: toLowercase (Ljava/lang/Object;)Ljava/lang/String; params: 1: object class: Mth path: net/minecraft/util/Mth field: MULTIPLY_DE_BRUIJN_BIT_POSITION [I Though it looks like an array, this is really more like a mapping. Key (index of this array) is the upper 5 bits of the result of multiplying a 32-bit unsigned integer by the B(2, 5) De Bruijn sequence 0x077CB531. Value (value stored in the array) is the unique index (from the right) of the leftmo
method: abs method: abs (I)I params: 0: value Returns the unsigned value of an int.
method: absMax (DD)D params: 0: x, 2: y Maximum of the absolute value of two numbers.
method: average method: binarySearch (IILjava/util/function/IntPredicate;)I params: 0: min, 1: max, 2: isTargetBeforeOrAt method: ceil method: ceil method: ceillog2 (I)I params: 0: value Uses a B(2, 5) De Bruijn sequence and a lookup table to efficiently calculate the log-base-two of the given value. Optimized for cases where the input value is a power-of-two. If the input value is not a power-of-two, then subtract 1 from the return value.
method: clamp (DDD)D params: 0: value, 2: min, 4: max Returns the given value if between the lower and the upper bound. If the value is less than the lower bound, returns the lower bound. If the value is greater than the upper bound, returns the upper bound.
method: clamp (FFF)F params: 0: value, 1: min, 2: max Returns the given value if between the lower and the upper bound. If the value is less than the lower bound, returns the lower bound. If the value is greater than the upper bound, returns the upper bound.
method: clamp (III)I params: 0: value, 1: min, 2: max Returns the given value if between the lower and the upper bound. If the value is less than the lower bound, returns the lower bound. If the value is greater than the upper bound, returns the upper bound.
method: clamp (JJJ)J params: 0: value, 2: min, 4: max Returns the given value if between the lower and the upper bound. If the value is less than the lower bound, returns the lower bound. If the value is greater than the upper bound, returns the upper bound.
method: clampedLerp (DDD)D params: 0: start, 2: end, 4: delta Method for linear interpolation of doubles.
method: color (FFF)I params: 0: r, 1: g, 2: b Makes an integer color from the given red, green, and blue float values
method: color (III)I params: 0: r, 1: g, 2: b Makes a single int color with the given red, green, and blue values.
method: cos (F)F params: 0: value cos looked up in the sin table with the appropriate offset
method: createInsecureUUID ()Ljava/util/UUID; Generates a random UUID using the shared random
method: createInsecureUUID (Ljava/util/Random;)Ljava/util/UUID; params: 0: rand method: equal method: equal method: fastFloor (D)I params: 0: value returns par0 cast as an int, and no greater than Integer.MAX_VALUE-1024
method: fastInvCubeRoot method: fastInvSqrt (D)D params: 0: number Computes 1/sqrt(n) using <a href="https://en.wikipedia.org/wiki/Fast_inverse_square_root">the fast inverse square root</a> with a constant of 0x5FE6EB50C7B537AA.
method: fastInvSqrt method: floor (D)I params: 0: value Returns the greatest integer less than or equal to the double argument
method: floor (F)I params: 0: value Returns the greatest integer less than or equal to the float argument
method: frac (D)D params: 0: number Gets the decimal portion of the given double. For instance, {@code frac(5.5)} returns {@code .5}.
method: frac method: getInt (Ljava/lang/String;I)I params: 0: value, 1: defaultValue parses the string as integer or returns the second parameter if it fails
method: getSeed (III)J params: 0: x, 1: y, 2: z method: getSeed (Lnet/minecraft/core/Vec3i;)J params: 0: pos method: hsvToRgb (FFF)I params: 0: hue, 1: saturation, 2: value method: intFloorDiv (II)I params: 0: x, 1: y Buckets an integer with specifed bucket sizes.
method: isPowerOfTwo (I)Z params: 0: value Is the given value a power of two? (1, 2, 4, 8, 16, ...)
method: lerp (DDD)D params: 0: delta, 2: start, 4: end Method for linear interpolation of doubles
method: lerp (FFF)F params: 0: delta, 1: start, 2: end Method for linear interpolation of floats
method: lfloor (D)J params: 0: value Long version of floor()
method: log2 (I)I params: 0: value Efficiently calculates the floor of the base-2 log of an integer value. This is effectively the index of the highest bit that is set. For example, if the number in binary is 0...100101, this will return 5.
method: nextDouble (Ljava/util/Random;DD)D params: 0: random, 1: minimum, 3: maximum method: nextFloat (Ljava/util/Random;FF)F params: 0: random, 1: minimum, 2: maximum method: nextInt (Ljava/util/Random;II)I params: 0: random, 1: minimum, 2: maximum method: positiveModulo (DD)D params: 0: numerator, 2: denominator method: positiveModulo (FF)F params: 0: numerator, 1: denominator method: positiveModulo method: sign method: sin (F)F params: 0: value sin looked up in a table
method: smallestEncompassingPowerOfTwo (I)I params: 0: value Returns the input value rounded up to the next highest power of two.
method: sqrt method: square method: wrapDegrees (D)D params: 0: value the angle is reduced to an angle between -180 and +180 by mod, and a 360 check
method: wrapDegrees (F)F params: 0: value the angle is reduced to an angle between -180 and +180 by mod, and a 360 check
method: wrapDegrees (I)I params: 0: angle Adjust the angle so that his value is in range [-180180[
class: ProgressListener path: net/minecraft/util/ProgressListener method: progressStage (Lnet/minecraft/network/chat/Component;)V params: 1: component method: progressStagePercentage (I)V params: 1: progress Updates the progress bar on the loading screen to the specified amount.
method: progressStart (Lnet/minecraft/network/chat/Component;)V params: 1: component method: progressStartNoAbort (Lnet/minecraft/network/chat/Component;)V params: 1: component class: SortedArraySet path: net/minecraft/util/SortedArraySet method: castRawArray ([Ljava/lang/Object;)[Ljava/lang/Object; params: 0: array method: create (I)Lnet/minecraft/util/SortedArraySet; params: 0: initialCapacity method: findIndex (Ljava/lang/Object;)I params: 1: object method: first ()Ljava/lang/Object; Gets the smallest element in the set
class: StringRepresentable path: net/minecraft/util/StringRepresentable method: fromEnum (Ljava/util/function/Supplier;Ljava/util/function/Function;)Lcom/mojang/serialization/Codec; params: 0: elementSupplier, 1: namingFunction method: fromStringResolver (Ljava/util/function/ToIntFunction;Ljava/util/function/IntFunction;Ljava/util/function/Function;)Lcom/mojang/serialization/Codec; params: 0: elementSupplier, 1: selectorFunction, 2: namingFunction method: keys ([Lnet/minecraft/util/StringRepresentable;)Lcom/mojang/serialization/Keyable; params: 0: serializables class: StringUtil path: net/minecraft/util/StringUtil method: formatTickDuration (I)Ljava/lang/String; params: 0: ticks Returns the time elapsed for the given number of ticks, in "mm:ss" format.
method: isNullOrEmpty (Ljava/lang/String;)Z params: 0: string Returns a value indicating whether the given string is null or empty.
method: stripColor (Ljava/lang/String;)Ljava/lang/String; params: 0: text class: WeighedRandom path: net/minecraft/util/WeighedRandom method: getTotalWeight (Ljava/util/List;)I params: 0: collection Returns the total weight of all items in a collection.
world damagesource class: BadRespawnPointDamage path: net/minecraft/world/damagesource/BadRespawnPointDamage method: getLocalizedDeathMessage (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/network/chat/Component; params: 1: livingEntity Gets the death message that is displayed when the player dies
method: lambda$getLocalizedDeathMessage$0 (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 0: componentStyle class: CombatEntry path: net/minecraft/world/damagesource/CombatEntry method: <init> (Lnet/minecraft/world/damagesource/DamageSource;IFFLjava/lang/String;F)V params: 1: source, 2: time, 3: health, 4: damage, 5: location, 6: fallDistance method: getSource ()Lnet/minecraft/world/damagesource/DamageSource; Get the DamageSource of the CombatEntry instance.
method: isCombatRelated ()Z Returns true if {@link net.minecraft.util.DamageSource#getEntity() damage source} is a living entity
class: CombatRules path: net/minecraft/world/damagesource/CombatRules method: getDamageAfterAbsorb (FFF)F params: 0: damage, 1: totalArmor, 2: toughnessAttribute method: getDamageAfterMagicAbsorb (FF)F params: 0: damage, 1: enchantModifiers class: CombatTracker path: net/minecraft/world/damagesource/CombatTracker method: <init> (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: mob method: getFallLocation (Lnet/minecraft/world/damagesource/CombatEntry;)Ljava/lang/String; params: 1: entry method: getMob ()Lnet/minecraft/world/entity/LivingEntity; Returns EntityLivingBase assigned for this CombatTracker
method: recheckStatus ()V Resets this trackers list of combat entries
method: recordDamage (Lnet/minecraft/world/damagesource/DamageSource;FF)V params: 1: damageSrc, 2: health, 3: damageAmount Adds an entry for the combat tracker
class: DamageSource path: net/minecraft/world/damagesource/DamageSource field: bypassMagic Z Whether or not the damage ignores modification by potion effects or enchantments.
method: <init> (Ljava/lang/String;)V params: 1: messageId method: arrow (Lnet/minecraft/world/entity/projectile/AbstractArrow;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: arrow, 1: indirectEntity returns EntityDamageSourceIndirect of an arrow
method: bypassMagic ()Lnet/minecraft/world/damagesource/DamageSource; Sets a value indicating whether the damage is absolute (ignores modification by potion effects or enchantments), and also clears out hunger damage.
method: explosion (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: livingEntity method: explosion (Lnet/minecraft/world/level/Explosion;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: explosion method: fireball (Lnet/minecraft/world/entity/projectile/Fireball;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: fireball, 1: indirectEntity method: fireworks (Lnet/minecraft/world/entity/projectile/FireworkRocketEntity;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: firework, 1: indirectEntity method: getDirectEntity ()Lnet/minecraft/world/entity/Entity; Retrieves the immediate causer of the damage, e.g. the arrow entity, not its shooter
method: getEntity ()Lnet/minecraft/world/entity/Entity; Retrieves the true causer of the damage, e.g. the player who fired an arrow, the shulker who fired the bullet, etc.
method: getFoodExhaustion ()F How much satiate(food) is consumed by this DamageSource
method: getLocalizedDeathMessage (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/network/chat/Component; params: 1: livingEntity Gets the death message that is displayed when the player dies
method: getMsgId ()Ljava/lang/String; Return the name of damage type.
method: getSourcePosition ()Lnet/minecraft/world/phys/Vec3; Gets the location from which the damage originates.
method: indirectMagic (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: source, 1: indirectEntity method: indirectMobAttack (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: source, 1: indirectEntity method: isBypassMagic ()Z Whether or not the damage ignores modification by potion effects or enchantments.
method: isFire ()Z Returns true if the damage is fire based.
method: isMagic ()Z Returns true if the damage is magic based.
method: isProjectile ()Z Returns true if the damage is projectile based.
method: mobAttack (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: mob method: playerAttack (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: player returns an EntityDamageSource of type player
method: scalesWithDifficulty ()Z Return whether this damage source will have its damage amount scaled based on the current difficulty.
method: setIsFire ()Lnet/minecraft/world/damagesource/DamageSource; Define the damage type as fire based.
method: setMagic ()Lnet/minecraft/world/damagesource/DamageSource; Define the damage type as magic based.
method: setProjectile ()Lnet/minecraft/world/damagesource/DamageSource; Define the damage type as projectile based.
method: setScalesWithDifficulty ()Lnet/minecraft/world/damagesource/DamageSource; Set whether this damage source will have its damage amount scaled based on the current difficulty.
method: sting (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: bee method: thorns (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: source Returns the EntityDamageSource of the Thorns enchantment
method: thrown (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: source, 1: indirectEntity method: trident (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: source, 1: indirectEntity method: witherSkull (Lnet/minecraft/world/entity/projectile/WitherSkull;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/damagesource/DamageSource; params: 0: witherSkull, 1: indirectEntity class: EntityDamageSource path: net/minecraft/world/damagesource/EntityDamageSource field: isThorns Z Whether this EntityDamageSource is from an entity wearing Thorns-enchanted armor.
method: <init> (Ljava/lang/String;Lnet/minecraft/world/entity/Entity;)V params: 1: damageTypeId, 2: entity method: getEntity ()Lnet/minecraft/world/entity/Entity; Retrieves the true causer of the damage, e.g. the player who fired an arrow, the shulker who fired the bullet, etc.
method: getLocalizedDeathMessage (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/network/chat/Component; params: 1: livingEntity Gets the death message that is displayed when the player dies
method: getSourcePosition ()Lnet/minecraft/world/phys/Vec3; Gets the location from which the damage originates.
method: scalesWithDifficulty ()Z Return whether this damage source will have its damage amount scaled based on the current difficulty.
method: setThorns ()Lnet/minecraft/world/damagesource/EntityDamageSource; Sets this EntityDamageSource as originating from Thorns armor
class: IndirectEntityDamageSource path: net/minecraft/world/damagesource/IndirectEntityDamageSource method: <init> (Ljava/lang/String;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V params: 1: damageTypeId, 2: source, 3: indirectEntity method: getDirectEntity ()Lnet/minecraft/world/entity/Entity; Retrieves the immediate causer of the damage, e.g. the arrow entity, not its shooter
method: getEntity ()Lnet/minecraft/world/entity/Entity; Retrieves the true causer of the damage, e.g. the player who fired an arrow, the shulker who fired the bullet, etc.
method: getLocalizedDeathMessage (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/network/chat/Component; params: 1: livingEntity Gets the death message that is displayed when the player dies
effect class: AbsoptionMobEffect path: net/minecraft/world/effect/AbsoptionMobEffect method: addAttributeModifiers (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/attributes/AttributeMap;I)V params: 1: livingEntity, 2: attributeMap, 3: amplifier method: removeAttributeModifiers (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/attributes/AttributeMap;I)V params: 1: livingEntity, 2: attributeMap, 3: amplifier class: AttackDamageMobEffect path: net/minecraft/world/effect/AttackDamageMobEffect method: <init> (Lnet/minecraft/world/effect/MobEffectCategory;ID)V params: 1: category, 2: color, 3: multiplier method: getAttributeModifierValue (ILnet/minecraft/world/entity/ai/attributes/AttributeModifier;)D params: 1: amplifier, 2: modifier class: HealthBoostMobEffect path: net/minecraft/world/effect/HealthBoostMobEffect method: removeAttributeModifiers (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/attributes/AttributeMap;I)V params: 1: livingEntity, 2: attributeMap, 3: amplifier class: InstantenousMobEffect path: net/minecraft/world/effect/InstantenousMobEffect method: isDurationEffectTick (II)Z params: 1: duration, 2: amplifier checks if Potion effect is ready to be applied this tick.
method: isInstantenous ()Z Returns true if the potion has an instant effect instead of a continuous one (eg Harming)
class: MobEffect path: net/minecraft/world/effect/MobEffect field: attributeModifiers Ljava/util/Map; Contains a Map of the AttributeModifiers registered by potions
method: <init> (Lnet/minecraft/world/effect/MobEffectCategory;I)V params: 1: category, 2: color method: addAttributeModifier (Lnet/minecraft/world/entity/ai/attributes/Attribute;Ljava/lang/String;DLnet/minecraft/world/entity/ai/attributes/AttributeModifier$Operation;)Lnet/minecraft/world/effect/MobEffect; params: 1: attribute, 2: uuid, 3: amount, 5: operation Adds an attribute modifier to this effect. This method can be called for more than one attribute. The attributes are applied to an entity when the potion effect is active and removed when it stops.
method: addAttributeModifiers (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/attributes/AttributeMap;I)V params: 1: livingEntity, 2: attributeMap, 3: amplifier method: applyEffectTick (Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: livingEntity, 2: amplifier method: applyInstantenousEffect (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/LivingEntity;ID)V params: 1: source, 2: indirectSource, 3: livingEntity, 4: amplifier, 5: health method: byId (I)Lnet/minecraft/world/effect/MobEffect; params: 0: potionID Gets a Potion from the potion registry using a numeric Id.
method: getAttributeModifierValue (ILnet/minecraft/world/entity/ai/attributes/AttributeModifier;)D params: 1: amplifier, 2: modifier method: getColor ()I Returns the color of the potion liquid.
method: getDescriptionId ()Ljava/lang/String; returns the name of the potion
method: getId (Lnet/minecraft/world/effect/MobEffect;)I params: 0: potion Gets the numeric Id associated with a potion.
method: isBeneficial ()Z Get if the potion is beneficial to the player. Beneficial potions are shown on the first row of the HUD
method: isDurationEffectTick (II)Z params: 1: duration, 2: amplifier checks if Potion effect is ready to be applied this tick.
method: isInstantenous ()Z Returns true if the potion has an instant effect instead of a continuous one (eg Harming)
method: removeAttributeModifiers (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/attributes/AttributeMap;I)V params: 1: livingEntity, 2: attributeMap, 3: amplifier class: MobEffectCategory path: net/minecraft/world/effect/MobEffectCategory method: <init> (Ljava/lang/String;ILnet/minecraft/ChatFormatting;)V params: 3: tooltipFormatting class: MobEffectInstance path: net/minecraft/world/effect/MobEffectInstance field: hiddenEffect Lnet/minecraft/world/effect/MobEffectInstance; A hidden effect which is not shown to the player.
field: noCounter Z True if potion effect duration is at maximum, false otherwise.
method: <init> (Lnet/minecraft/world/effect/MobEffect;)V params: 1: effect method: <init> (Lnet/minecraft/world/effect/MobEffect;I)V params: 1: effect, 2: duration method: <init> (Lnet/minecraft/world/effect/MobEffect;II)V params: 1: effect, 2: duration, 3: amplifier method: <init> (Lnet/minecraft/world/effect/MobEffect;IIZZ)V params: 1: effect, 2: duration, 3: amplifier, 4: ambient, 5: visible method: <init> (Lnet/minecraft/world/effect/MobEffect;IIZZZ)V params: 1: effect, 2: duration, 3: amplifier, 4: ambient, 5: visible, 6: showIcon method: <init> (Lnet/minecraft/world/effect/MobEffect;IIZZZLnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effect, 2: duration, 3: amplifier, 4: ambient, 5: visible, 6: showIcon, 7: hiddenEffect method: <init> (Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effectInstance method: applyEffect (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: equals (Ljava/lang/Object;)Z params: 1: other method: isAmbient ()Z Gets whether this potion effect originated from a beacon
method: isNoCounter ()Z Get the value of the isPotionDurationMax field.
method: isVisible ()Z Gets whether this potion effect will show ambient particles or not.
method: load (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/effect/MobEffectInstance; params: 0: nbt Read a custom potion effect from a potion item's NBT data.
method: loadSpecifiedEffect (Lnet/minecraft/world/effect/MobEffect;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/effect/MobEffectInstance; params: 0: effect, 1: nbt method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: nbt Write a custom potion effect to a potion item's NBT data.
method: setDetailsFrom (Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effectInstance method: setNoCounter (Z)V params: 1: maxDuration Toggle the isPotionDurationMax field.
method: tick (Lnet/minecraft/world/entity/LivingEntity;Ljava/lang/Runnable;)Z params: 1: entity, 2: onExpirationRunnable method: update (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: other method: writeDetailsTo (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt class: MobEffectUtil path: net/minecraft/world/effect/MobEffectUtil method: formatDuration (Lnet/minecraft/world/effect/MobEffectInstance;F)Ljava/lang/String; params: 0: effect, 1: durationFactor method: getDigSpeedAmplification (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: entity method: hasDigSpeed (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: entity method: hasWaterBreathing (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: entity class: MobEffects path: net/minecraft/world/effect/MobEffects method: register (ILjava/lang/String;Lnet/minecraft/world/effect/MobEffect;)Lnet/minecraft/world/effect/MobEffect; params: 0: id, 1: key, 2: effect class: MobEffects$1 path: net/minecraft/world/effect/MobEffects$1 method: applyEffectTick (Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: livingEntity, 2: amplifier method: isDurationEffectTick (II)Z params: 1: duration, 2: amplifier checks if Potion effect is ready to be applied this tick.
entity ai attributes class: Attribute path: net/minecraft/world/entity/ai/attributes/Attribute Defines an entity attribute. These are properties of entities that can be dynamically modified. @see net.minecraft.core.Registry#ATTRIBUTE
field: defaultValue D The default value of the attribute.
field: descriptionId Ljava/lang/String; A description Id for the attribute. This is most commonly used as the localization key.
field: syncable Z Whether or not the value of this attribute should be kept in sync on the client.
method: <init> (Ljava/lang/String;D)V params: 1: descriptionId, 2: defaultValue method: getDefaultValue ()D Gets the default value for the attribute.
@return The default value for the attribute.
method: getDescriptionId ()Ljava/lang/String; Gets the description Id of the attribute. This is most commonly used as a localization key.
@return The description Id of the attribute.
method: isClientSyncable ()Z Checks if the attribute value should be kept in sync on the client.
@return Whether or not the attribute value should be kept in sync on the client.
method: sanitizeValue (D)D params: 1: value Sanitizes the value of the attribute to fit within the expected parameter range of the attribute.
@return The sanitized attribute value.
method: setSyncable (Z)Lnet/minecraft/world/entity/ai/attributes/Attribute; params: 1: watch Sets whether or not the attribute value should be synced to the client.
@return The same attribute instance being modified.
class: AttributeInstance path: net/minecraft/world/entity/ai/attributes/AttributeInstance field: attribute Lnet/minecraft/world/entity/ai/attributes/Attribute; The Attribute this is an instance of
method: addModifier (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V params: 1: modifier method: addPermanentModifier (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V params: 1: modifier method: addTransientModifier (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V params: 1: modifier method: getAttribute ()Lnet/minecraft/world/entity/ai/attributes/Attribute; Get the Attribute this is an instance of
method: getModifier (Ljava/util/UUID;)Lnet/minecraft/world/entity/ai/attributes/AttributeModifier; params: 1: uuid Returns attribute modifier, if any, by the given UUID
method: getModifiers (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier$Operation;)Ljava/util/Set; params: 1: operation method: getModifiersOrEmpty (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier$Operation;)Ljava/util/Collection; params: 1: operation method: hasModifier (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)Z params: 1: modifier method: load (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: removeModifier (Ljava/util/UUID;)V params: 1: identifier method: removeModifier (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V params: 1: modifier method: removePermanentModifier (Ljava/util/UUID;)Z params: 1: identifier method: replaceFrom (Lnet/minecraft/world/entity/ai/attributes/AttributeInstance;)V params: 1: instance method: setBaseValue class: AttributeMap path: net/minecraft/world/entity/ai/attributes/AttributeMap method: addTransientAttributeModifiers (Lcom/google/common/collect/Multimap;)V params: 1: map method: assignValues (Lnet/minecraft/world/entity/ai/attributes/AttributeMap;)V params: 1: manager method: getBaseValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;)D params: 1: attribute method: getInstance (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/AttributeInstance; params: 1: attribute method: getModifierValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;Ljava/util/UUID;)D params: 1: attribute, 2: uuid method: getValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;)D params: 1: attribute method: hasAttribute (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Z params: 1: attribute method: hasModifier (Lnet/minecraft/world/entity/ai/attributes/Attribute;Ljava/util/UUID;)Z params: 1: attribute, 2: uuid method: load (Lnet/minecraft/nbt/ListTag;)V params: 1: nbt method: onAttributeModified (Lnet/minecraft/world/entity/ai/attributes/AttributeInstance;)V params: 1: instance method: removeAttributeModifiers (Lcom/google/common/collect/Multimap;)V params: 1: map class: AttributeModifier path: net/minecraft/world/entity/ai/attributes/AttributeModifier method: load (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/ai/attributes/AttributeModifier; params: 0: nbt class: AttributeModifier$Operation path: net/minecraft/world/entity/ai/attributes/AttributeModifier$Operation method: fromValue (I)Lnet/minecraft/world/entity/ai/attributes/AttributeModifier$Operation; params: 0: id class: AttributeSupplier path: net/minecraft/world/entity/ai/attributes/AttributeSupplier method: createInstance (Ljava/util/function/Consumer;Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/AttributeInstance; params: 1: onChangedCallback, 2: attribute method: getAttributeInstance (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/AttributeInstance; params: 1: attribute method: getBaseValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;)D params: 1: attribute method: getModifierValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;Ljava/util/UUID;)D params: 1: attribute, 2: id method: getValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;)D params: 1: attribute method: hasAttribute (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Z params: 1: attribute method: hasModifier (Lnet/minecraft/world/entity/ai/attributes/Attribute;Ljava/util/UUID;)Z params: 1: attribute, 2: id class: AttributeSupplier$Builder path: net/minecraft/world/entity/ai/attributes/AttributeSupplier$Builder method: add (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/AttributeSupplier$Builder; params: 1: attribute method: add (Lnet/minecraft/world/entity/ai/attributes/Attribute;D)Lnet/minecraft/world/entity/ai/attributes/AttributeSupplier$Builder; params: 1: attribute, 2: value method: create (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/AttributeInstance; params: 1: attribute class: Attributes path: net/minecraft/world/entity/ai/attributes/Attributes Contains all entity attributes defined and registered by the vanilla game.
field: ARMOR Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the armor points for an entity. Each point represents half a chestplate of armor on the armor bar.
field: ARMOR_TOUGHNESS Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the amount of damage mitigated by wearing armor.
field: ATTACK_DAMAGE Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the attack damage inflicted by entities. The value of this attribute represents half hearts.
field: ATTACK_KNOCKBACK Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles additional horizontal knockback when damaging another entity.
field: ATTACK_SPEED Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the cooldown rate when attacking with an item. The value represents the number of full strength attacks that can be performed per second.
field: FLYING_SPEED Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the movement speed of flying entities such as parrots and bees.
field: FOLLOW_RANGE Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the range in blocks that a mob will notice and track players and other potential targets.
field: JUMP_STRENGTH Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the jump strength for horses.
field: KNOCKBACK_RESISTANCE Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the reduction of horizontal knockback when damaged by attacks or projectiles.
field: LUCK Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles luck when a player generates loot from a loot table. This can impact the quality of loot and influence bonus rolls.
field: MAX_HEALTH Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the maximum health of an entity.
field: MOVEMENT_SPEED Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the movement speed of entities.
field: SPAWN_REINFORCEMENTS_CHANCE Lnet/minecraft/world/entity/ai/attributes/Attribute; Handles the chance for a zombie to summon reinforcements when attacked.
method: register (Ljava/lang/String;Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/Attribute; params: 0: id, 1: attribute Registers a new attribute with the attribute registry.
@return The attribute that was registered.
class: DefaultAttributes path: net/minecraft/world/entity/ai/attributes/DefaultAttributes method: getSupplier (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/entity/ai/attributes/AttributeSupplier; params: 0: livingEntity method: hasSupplier (Lnet/minecraft/world/entity/EntityType;)Z params: 0: entityType class: RangedAttribute path: net/minecraft/world/entity/ai/attributes/RangedAttribute Defines an entity @see net.minecraft.world.entity.ai.attributes.Attribute attribute that is limited to a range of values.
field: maxValue D The highest possible value for the attribute.
field: minValue D The lowest possible value for the attribute.
method: <init> (Ljava/lang/String;DDD)V params: 1: descriptionId, 2: defaultValue, 4: min, 6: max method: sanitizeValue (D)D params: 1: value Sanitizes the value of the attribute to fit within the expected parameter range of the attribute. In this case it will clamp the value between {@link minValue} and {@link maxValue}.
@return The clamped attribute value.
behavior class: AcquirePoi path: net/minecraft/world/entity/ai/behavior/AcquirePoi method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: AnimalMakeLove path: net/minecraft/world/entity/ai/behavior/AnimalMakeLove method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/animal/Animal;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: level, 2: owner method: findValidBreedPartner (Lnet/minecraft/world/entity/animal/Animal;)Ljava/util/Optional; params: 1: animal method: getBreedTarget (Lnet/minecraft/world/entity/animal/Animal;)Lnet/minecraft/world/entity/animal/Animal; params: 1: animal method: hasBreedTargetOfRightType (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: animal method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/animal/Animal;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/animal/Animal;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/animal/Animal;J)V params: 1: level, 2: owner, 3: gameTime class: AssignProfessionFromJobSite path: net/minecraft/world/entity/ai/behavior/AssignProfessionFromJobSite method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: BackUpIfTooClose path: net/minecraft/world/entity/ai/behavior/BackUpIfTooClose method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: getTarget (Lnet/minecraft/world/entity/Mob;)Lnet/minecraft/world/entity/LivingEntity; params: 1: mob method: isTargetTooClose (Lnet/minecraft/world/entity/Mob;)Z params: 1: mob method: isTargetVisible (Lnet/minecraft/world/entity/Mob;)Z params: 1: mob method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: BecomePassiveIfMemoryPresent path: net/minecraft/world/entity/ai/behavior/BecomePassiveIfMemoryPresent method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: Behavior path: net/minecraft/world/entity/ai/behavior/Behavior method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: doStop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: hasRequiredMemories (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: owner, 3: gameTime method: tickOrStop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: timedOut method: tryStart (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: owner, 3: gameTime class: BehaviorUtils path: net/minecraft/world/entity/ai/behavior/BehaviorUtils method: canSee (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: livingEntity, 1: target method: entityIsVisible (Lnet/minecraft/world/entity/ai/Brain;Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: brain, 1: target method: findSectionClosestToVillage (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/SectionPos;I)Lnet/minecraft/core/SectionPos; params: 0: serverLevel, 1: sectionPos, 2: radius method: getLivingEntityFromUUIDMemory (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)Ljava/util/Optional; params: 0: livingEntity, 1: targetMemory method: getNearbyVillagersWithCondition (Lnet/minecraft/world/entity/npc/Villager;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 0: villager, 1: villagerPredicate method: getNearestTarget (Lnet/minecraft/world/entity/LivingEntity;Ljava/util/Optional;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/LivingEntity; params: 0: centerEntity, 1: optionalEntity, 2: livingEntity method: getTargetNearestMe (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/LivingEntity; params: 0: centerEntity, 1: livingEntity1, 2: livingEntity2 method: isOtherTargetMuchFurtherAwayThanCurrentAttackTarget (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;D)Z params: 0: livingEntity, 1: target, 2: distance method: isWithinAttackRange (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/LivingEntity;I)Z params: 0: mob, 1: target, 2: cooldown method: lockGazeAndWalkToEachOther (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;F)V params: 0: firstEntity, 1: secondEntity, 2: speed method: lookAtEachOther (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)V params: 0: firstEntity, 1: secondEntity method: lookAtEntity (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)V params: 0: entity, 1: target method: setWalkAndLookTargetMemories (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/core/BlockPos;FI)V params: 0: livingEntity, 1: pos, 2: speed, 3: distance method: setWalkAndLookTargetMemories (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;FI)V params: 0: livingEntity, 1: target, 2: speed, 3: distance method: setWalkAndLookTargetMemoriesToEachOther (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;F)V params: 0: firstEntity, 1: secondEntity, 2: speed method: targetIsValid (Lnet/minecraft/world/entity/ai/Brain;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/util/function/Predicate;)Z params: 0: brain, 1: memoryType, 2: livingPredicate method: targetIsValid (Lnet/minecraft/world/entity/ai/Brain;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Lnet/minecraft/world/entity/EntityType;)Z params: 0: brains, 1: memorymodule, 2: entityType method: throwItem (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/phys/Vec3;)V params: 0: livingEntity, 1: stack, 2: offset class: BlockPosTracker path: net/minecraft/world/entity/ai/behavior/BlockPosTracker method: isVisibleBy (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: entity class: CelebrateVillagersSurvivedRaid path: net/minecraft/world/entity/ai/behavior/CelebrateVillagersSurvivedRaid method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: getFirework (Lnet/minecraft/world/item/DyeColor;I)Lnet/minecraft/world/item/ItemStack; params: 1: color, 2: flightTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime class: CopyMemoryWithExpiry path: net/minecraft/world/entity/ai/behavior/CopyMemoryWithExpiry method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: CrossbowAttack path: net/minecraft/world/entity/ai/behavior/CrossbowAttack method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: owner, 3: gameTime class: DismountOrSkipMounting path: net/minecraft/world/entity/ai/behavior/DismountOrSkipMounting method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: DoNothing path: net/minecraft/world/entity/ai/behavior/DoNothing method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: entity, 3: gameTime class: EntityTracker path: net/minecraft/world/entity/ai/behavior/EntityTracker method: isVisibleBy (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: entity class: EraseMemoryIf path: net/minecraft/world/entity/ai/behavior/EraseMemoryIf method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: GateBehavior path: net/minecraft/world/entity/ai/behavior/GateBehavior method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: entity, 3: gameTime method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: owner, 3: gameTime method: timedOut class: GiveGiftToHero path: net/minecraft/world/entity/ai/behavior/GiveGiftToHero method: calculateTimeUntilNextGift (Lnet/minecraft/server/level/ServerLevel;)I params: 0: level method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: getItemToThrow (Lnet/minecraft/world/entity/npc/Villager;)Ljava/util/List; params: 1: villager method: getNearestTargetableHero (Lnet/minecraft/world/entity/npc/Villager;)Ljava/util/Optional; params: 1: villager method: isHero (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: isHeroVisible (Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: villager method: isWithinThrowingDistance (Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/world/entity/player/Player;)Z params: 1: villager, 2: hero method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: throwGift (Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: villager, 2: hero method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime class: GoOutsideToCelebrate path: net/minecraft/world/entity/ai/behavior/GoOutsideToCelebrate method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner class: GoToCelebrateLocation path: net/minecraft/world/entity/ai/behavior/GoToCelebrateLocation method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: GoToClosestVillage path: net/minecraft/world/entity/ai/behavior/GoToClosestVillage method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: GoToPotentialJobSite path: net/minecraft/world/entity/ai/behavior/GoToPotentialJobSite method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime class: GoToWantedItem path: net/minecraft/world/entity/ai/behavior/GoToWantedItem method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: HarvestFarmland path: net/minecraft/world/entity/ai/behavior/HarvestFarmland method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: getValidFarmland (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/core/BlockPos; params: 1: serverLevel method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime method: validPos (Lnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;)Z params: 1: pos, 2: serverLevel class: InsideBrownianWalk path: net/minecraft/world/entity/ai/behavior/InsideBrownianWalk method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: InteractWith path: net/minecraft/world/entity/ai/behavior/InteractWith method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: InteractWithDoor path: net/minecraft/world/entity/ai/behavior/InteractWithDoor method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: JumpOnBed path: net/minecraft/world/entity/ai/behavior/JumpOnBed method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: isBed (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime method: startWalkingTowardsBed (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/core/BlockPos;)V params: 1: mob, 2: pos method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: owner, 3: gameTime method: timedOut class: LocateHidingPlace path: net/minecraft/world/entity/ai/behavior/LocateHidingPlace method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: LocateHidingPlaceDuringRaid path: net/minecraft/world/entity/ai/behavior/LocateHidingPlaceDuringRaid method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner class: LookAndFollowTradingPlayerSink path: net/minecraft/world/entity/ai/behavior/LookAndFollowTradingPlayerSink method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: followPlayer (Lnet/minecraft/world/entity/npc/Villager;)V params: 1: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime method: timedOut class: LookAtTargetSink path: net/minecraft/world/entity/ai/behavior/LookAtTargetSink method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)Z params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: owner, 3: gameTime class: MeleeAttack path: net/minecraft/world/entity/ai/behavior/MeleeAttack method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: getAttackTarget (Lnet/minecraft/world/entity/Mob;)Lnet/minecraft/world/entity/LivingEntity; params: 1: mob method: isHoldingUsableProjectileWeapon (Lnet/minecraft/world/entity/Mob;)Z params: 1: mob method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: Mount path: net/minecraft/world/entity/ai/behavior/Mount method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: MoveToSkySeeingSpot path: net/minecraft/world/entity/ai/behavior/MoveToSkySeeingSpot method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: getOutdoorPosition (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: level, 2: walker method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: MoveToTargetSink path: net/minecraft/world/entity/ai/behavior/MoveToTargetSink method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: owner, 3: gameTime class: PlayTagWithOtherKids path: net/minecraft/world/entity/ai/behavior/PlayTagWithOtherKids method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: PoiCompetitorScan path: net/minecraft/world/entity/ai/behavior/PoiCompetitorScan method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: PositionTracker path: net/minecraft/world/entity/ai/behavior/PositionTracker method: isVisibleBy (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: entity class: RandomStroll path: net/minecraft/world/entity/ai/behavior/RandomStroll method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: ReactToBell path: net/minecraft/world/entity/ai/behavior/ReactToBell method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: ResetProfession path: net/minecraft/world/entity/ai/behavior/ResetProfession method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: ResetRaidStatus path: net/minecraft/world/entity/ai/behavior/ResetRaidStatus method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: RingBell path: net/minecraft/world/entity/ai/behavior/RingBell method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: RunIf path: net/minecraft/world/entity/ai/behavior/RunIf method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: owner, 3: gameTime method: timedOut class: RunSometimes path: net/minecraft/world/entity/ai/behavior/RunSometimes method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: owner, 3: gameTime method: timedOut class: SetClosestHomeAsWalkTarget path: net/minecraft/world/entity/ai/behavior/SetClosestHomeAsWalkTarget method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: SetEntityLookTarget path: net/minecraft/world/entity/ai/behavior/SetEntityLookTarget method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: SetHiddenState path: net/minecraft/world/entity/ai/behavior/SetHiddenState method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: SetLookAndInteract path: net/minecraft/world/entity/ai/behavior/SetLookAndInteract method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: getVisibleEntities (Lnet/minecraft/world/entity/LivingEntity;)Ljava/util/List; params: 1: livingEntity method: isMatchingTarget (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: livingEntity method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: SetRaidStatus path: net/minecraft/world/entity/ai/behavior/SetRaidStatus method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: SetWalkTargetAwayFrom path: net/minecraft/world/entity/ai/behavior/SetWalkTargetAwayFrom method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: SetWalkTargetFromAttackTargetIfTargetOutOfReach path: net/minecraft/world/entity/ai/behavior/SetWalkTargetFromAttackTargetIfTargetOutOfReach method: setWalkAndLookTarget (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)V params: 2: target method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: SetWalkTargetFromBlockMemory path: net/minecraft/world/entity/ai/behavior/SetWalkTargetFromBlockMemory method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: SetWalkTargetFromLookTarget path: net/minecraft/world/entity/ai/behavior/SetWalkTargetFromLookTarget method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: ShowTradesToPlayer path: net/minecraft/world/entity/ai/behavior/ShowTradesToPlayer method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime class: SleepInBed path: net/minecraft/world/entity/ai/behavior/SleepInBed method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime method: timedOut class: SocializeAtBell path: net/minecraft/world/entity/ai/behavior/SocializeAtBell method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: StartAttacking path: net/minecraft/world/entity/ai/behavior/StartAttacking method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: StartCelebratingIfTargetDead path: net/minecraft/world/entity/ai/behavior/StartCelebratingIfTargetDead method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: getAttackTarget (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/LivingEntity; params: 1: livingEntity method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: StopAttackingIfTargetInvalid path: net/minecraft/world/entity/ai/behavior/StopAttackingIfTargetInvalid method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: StopBeingAngryIfTargetDead path: net/minecraft/world/entity/ai/behavior/StopBeingAngryIfTargetDead method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: entity, 3: gameTime class: StrollAroundPoi path: net/minecraft/world/entity/ai/behavior/StrollAroundPoi method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: StrollToPoi path: net/minecraft/world/entity/ai/behavior/StrollToPoi method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: StrollToPoiList path: net/minecraft/world/entity/ai/behavior/StrollToPoiList method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: Swim path: net/minecraft/world/entity/ai/behavior/Swim method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)Z params: 1: level, 2: owner method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;J)V params: 1: level, 2: owner, 3: gameTime class: TradeWithVillager path: net/minecraft/world/entity/ai/behavior/TradeWithVillager method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime class: UpdateActivityFromSchedule path: net/minecraft/world/entity/ai/behavior/UpdateActivityFromSchedule method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: UseBonemeal path: net/minecraft/world/entity/ai/behavior/UseBonemeal method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: pickNextTarget (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Ljava/util/Optional; params: 1: level, 2: villager method: setCurrentCropAsTarget (Lnet/minecraft/world/entity/npc/Villager;)V params: 1: villager method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime method: validPos (Lnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;)Z params: 1: pos, 2: level class: ValidateNearbyPoi path: net/minecraft/world/entity/ai/behavior/ValidateNearbyPoi method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: VictoryStroll path: net/minecraft/world/entity/ai/behavior/VictoryStroll method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;)Z params: 1: level, 2: owner class: VillageBoundRandomStroll path: net/minecraft/world/entity/ai/behavior/VillageBoundRandomStroll method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)V params: 1: level, 2: entity, 3: gameTime class: VillagerCalmDown path: net/minecraft/world/entity/ai/behavior/VillagerCalmDown method: isCloseToEntityThatHurtMe (Lnet/minecraft/world/entity/npc/Villager;)Z params: 0: villager method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime class: VillagerGoalPackages path: net/minecraft/world/entity/ai/behavior/VillagerGoalPackages method: getCorePackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getHidePackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getIdlePackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getMeetPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getPanicPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getPlayPackage (F)Lcom/google/common/collect/ImmutableList; params: 0: walkingSpeed method: getPreRaidPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getRaidPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession method: getRestPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession, 1: walkingSpeed method: getWorkPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; params: 0: profession class: VillagerMakeLove path: net/minecraft/world/entity/ai/behavior/VillagerMakeLove method: breed (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/world/entity/npc/Villager;)Ljava/util/Optional; params: 1: level, 2: parent, 3: partner method: canReach (Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/core/BlockPos;)Z params: 1: villager, 2: pos method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: giveBedToChild (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: villager, 3: pos method: isBreedingPossible (Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: villager method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: stop (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: takeVacantBed (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Ljava/util/Optional; params: 1: level, 2: villager method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime method: tryToGiveBirth (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/world/entity/npc/Villager;)V params: 1: level, 2: parent, 3: partner class: VillagerPanicTrigger path: net/minecraft/world/entity/ai/behavior/VillagerPanicTrigger method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: hasHostile (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: entity method: isHurt (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: entity method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: owner, 3: gameTime class: WakeUp path: net/minecraft/world/entity/ai/behavior/WakeUp method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;J)V params: 1: level, 2: entity, 3: gameTime class: WorkAtComposter path: net/minecraft/world/entity/ai/behavior/WorkAtComposter method: compostItems (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;Lnet/minecraft/core/GlobalPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: villager, 4: state method: makeBread (Lnet/minecraft/world/entity/npc/Villager;)V params: 1: villager method: useWorkstation (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)V params: 1: level, 2: villager class: WorkAtPoi path: net/minecraft/world/entity/ai/behavior/WorkAtPoi method: canStillUse (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)Z params: 1: level, 2: entity, 3: gameTime method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime method: useWorkstation (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)V params: 1: level, 2: villager class: YieldJobSite path: net/minecraft/world/entity/ai/behavior/YieldJobSite method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;J)V params: 1: level, 2: entity, 3: gameTime control class: BodyRotationControl path: net/minecraft/world/entity/ai/control/BodyRotationControl method: clientTick ()V Update the Head and Body rendenring angles
class: JumpControl path: net/minecraft/world/entity/ai/control/JumpControl method: tick ()V Called to actually make the entity jump if isJumping is true.
class: LookControl path: net/minecraft/world/entity/ai/control/LookControl method: getWantedY (Lnet/minecraft/world/entity/Entity;)D params: 0: entity method: rotateTowards (FFF)F params: 1: from, 2: to, 3: maxDelta Rotate as much as possible from {@code from} to {@code to} within the bounds of {@code maxDelta}
method: setLookAt (DDD)V params: 1: x, 3: y, 5: z method: setLookAt (DDDFF)V params: 1: x, 3: y, 5: z, 7: deltaYaw, 8: deltaPitch Sets position to look at
method: setLookAt (Lnet/minecraft/world/entity/Entity;FF)V params: 1: entity, 2: deltaYaw, 3: deltaPitch Sets position to look at using entity
method: setLookAt (Lnet/minecraft/world/phys/Vec3;)V params: 1: lookVector method: tick class: MoveControl path: net/minecraft/world/entity/ai/control/MoveControl method: rotlerp (FFF)F params: 1: sourceAngle, 2: targetAngle, 3: maximumChange Attempt to rotate the first angle to become the second angle, but only allow overall direction change to at max be third parameter
method: setWantedPosition (DDDD)V params: 1: x, 3: y, 5: z, 7: speed Sets the speed and location to move to
method: strafe (FF)V params: 1: forward, 2: strafe goal target class: DefendVillageTargetGoal path: net/minecraft/world/entity/ai/goal/target/DefendVillageTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: HurtByTargetGoal path: net/minecraft/world/entity/ai/goal/target/HurtByTargetGoal field: timestamp I Store the previous revengeTimer value
method: alertOther (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: mob, 2: target method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: setAlertOthers ([Ljava/lang/Class;)Lnet/minecraft/world/entity/ai/goal/target/HurtByTargetGoal; params: 1: reinforcementTypes method: start ()V Execute a one shot task or start executing a continuous task
class: NearestAttackableTargetGoal path: net/minecraft/world/entity/ai/goal/target/NearestAttackableTargetGoal field: targetConditions Lnet/minecraft/world/entity/ai/targeting/TargetingConditions; This filter is applied to the Entity search. Only matching entities will be targeted.
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getTargetSearchArea (D)Lnet/minecraft/world/phys/AABB; params: 1: targetDistance method: setTarget (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: target method: start ()V Execute a one shot task or start executing a continuous task
class: NearestAttackableWitchTargetGoal path: net/minecraft/world/entity/ai/goal/target/NearestAttackableWitchTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: setCanAttack class: NearestHealableRaiderTargetGoal path: net/minecraft/world/entity/ai/goal/target/NearestHealableRaiderTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: NonTameRandomTargetGoal path: net/minecraft/world/entity/ai/goal/target/NonTameRandomTargetGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: OwnerHurtByTargetGoal path: net/minecraft/world/entity/ai/goal/target/OwnerHurtByTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: OwnerHurtTargetGoal path: net/minecraft/world/entity/ai/goal/target/OwnerHurtTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: ResetUniversalAngerTargetGoal path: net/minecraft/world/entity/ai/goal/target/ResetUniversalAngerTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: TargetGoal path: net/minecraft/world/entity/ai/goal/target/TargetGoal field: mob Lnet/minecraft/world/entity/Mob; The entity that this goal belongs to
method: canAttack (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;)Z params: 1: potentialTarget, 2: targetPredicate checks if is is a suitable target
method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canReach (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: target Checks to see if this entity can find a short path to the given target.
method: setUnseenMemoryTicks (I)Lnet/minecraft/world/entity/ai/goal/target/TargetGoal; params: 1: unseenMemoryTicks method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: AvoidEntityGoal path: net/minecraft/world/entity/ai/goal/AvoidEntityGoal field: avoidClass Ljava/lang/Class; Class of entity this behavior seeks to avoid
method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: BegGoal path: net/minecraft/world/entity/ai/goal/BegGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: playerHoldingInteresting (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Gets if the Player has the Bone in the hand.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: BreakDoorGoal path: net/minecraft/world/entity/ai/goal/BreakDoorGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidDifficulty (Lnet/minecraft/world/Difficulty;)Z params: 1: difficulty method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: BreathAirGoal path: net/minecraft/world/entity/ai/goal/BreathAirGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: givesAir (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: BreedGoal path: net/minecraft/world/entity/ai/goal/BreedGoal method: breed ()V Spawns a baby animal of the same type.
method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getFreePartner ()Lnet/minecraft/world/entity/animal/Animal; Loops through nearby animals and finds another animal of the same type that can be mated with. Returns the first valid mate found.
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: CatLieOnBedGoal path: net/minecraft/world/entity/ai/goal/CatLieOnBedGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: nextStartTick (Lnet/minecraft/world/entity/PathfinderMob;)I params: 1: creature method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: CatSitOnBlockGoal path: net/minecraft/world/entity/ai/goal/CatSitOnBlockGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: DolphinJumpGoal path: net/minecraft/world/entity/ai/goal/DolphinJumpGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: surfaceIsClear (Lnet/minecraft/core/BlockPos;III)Z params: 1: pos, 2: dx, 3: dz, 4: scale method: tick ()V Keep ticking a continuous task that has already been started
method: waterIsClear (Lnet/minecraft/core/BlockPos;III)Z params: 1: pos, 2: dx, 3: dz, 4: scale class: DoorInteractGoal path: net/minecraft/world/entity/ai/goal/DoorInteractGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: setOpen method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: EatBlockGoal path: net/minecraft/world/entity/ai/goal/EatBlockGoal field: eatAnimationTick I Number of ticks since the entity started to eat grass
field: level Lnet/minecraft/world/level/Level; The world the grass eater entity is eating from
field: mob Lnet/minecraft/world/entity/Mob; The entity owner of this AITask
method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getEatAnimationTick ()I Number of ticks since the entity started to eat grass
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: FleeSunGoal path: net/minecraft/world/entity/ai/goal/FleeSunGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: FloatGoal path: net/minecraft/world/entity/ai/goal/FloatGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: FollowBoatGoal path: net/minecraft/world/entity/ai/goal/FollowBoatGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: FollowFlockLeaderGoal path: net/minecraft/world/entity/ai/goal/FollowFlockLeaderGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: nextStartTick (Lnet/minecraft/world/entity/animal/AbstractSchoolingFish;)I params: 1: taskOwner method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: FollowMobGoal path: net/minecraft/world/entity/ai/goal/FollowMobGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: FollowOwnerGoal path: net/minecraft/world/entity/ai/goal/FollowOwnerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canTeleportTo (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: maybeTeleportTo (III)Z params: 1: x, 2: y, 3: z method: randomIntInclusive (II)I params: 1: min, 2: max method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: FollowParentGoal path: net/minecraft/world/entity/ai/goal/FollowParentGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Goal path: net/minecraft/world/entity/ai/goal/Goal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: setFlags (Ljava/util/EnumSet;)V params: 1: flagSet method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: GoalSelector path: net/minecraft/world/entity/ai/goal/GoalSelector field: lockedFlags Ljava/util/Map; Goals currently using a particular flag
method: addGoal (ILnet/minecraft/world/entity/ai/goal/Goal;)V params: 1: priority, 2: task Add a now AITask. Args : priority, task
method: disableControlFlag (Lnet/minecraft/world/entity/ai/goal/Goal$Flag;)V params: 1: flag method: enableControlFlag (Lnet/minecraft/world/entity/ai/goal/Goal$Flag;)V params: 1: flag method: removeGoal (Lnet/minecraft/world/entity/ai/goal/Goal;)V params: 1: task removes the indicated task from the entity's AI tasks.
method: setControlFlag (Lnet/minecraft/world/entity/ai/goal/Goal$Flag;Z)V params: 1: flag, 2: enabled class: GoalSelector$1 path: net/minecraft/world/entity/ai/goal/GoalSelector$1 method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: GolemRandomStrollInVillageGoal path: net/minecraft/world/entity/ai/goal/GolemRandomStrollInVillageGoal method: doesVillagerWantGolem (Lnet/minecraft/world/entity/npc/Villager;)Z params: 1: villager method: getRandomPoiWithinSection (Lnet/minecraft/core/SectionPos;)Lnet/minecraft/core/BlockPos; params: 1: sectionPos class: LandOnOwnersShoulderGoal path: net/minecraft/world/entity/ai/goal/LandOnOwnersShoulderGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: LeapAtTargetGoal path: net/minecraft/world/entity/ai/goal/LeapAtTargetGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: LlamaFollowCaravanGoal path: net/minecraft/world/entity/ai/goal/LlamaFollowCaravanGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: firstIsLeashed (Lnet/minecraft/world/entity/animal/horse/Llama;I)Z params: 1: llama, 2: leashedQueuePosition method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: LookAtPlayerGoal path: net/minecraft/world/entity/ai/goal/LookAtPlayerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: LookAtTradingPlayerGoal path: net/minecraft/world/entity/ai/goal/LookAtTradingPlayerGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: MeleeAttackGoal path: net/minecraft/world/entity/ai/goal/MeleeAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: checkAndPerformAttack (Lnet/minecraft/world/entity/LivingEntity;D)V params: 1: enemy, 2: distToEnemySqr method: getAttackReachSqr (Lnet/minecraft/world/entity/LivingEntity;)D params: 1: attackTarget method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: MoveBackToVillageGoal path: net/minecraft/world/entity/ai/goal/MoveBackToVillageGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: MoveThroughVillageGoal path: net/minecraft/world/entity/ai/goal/MoveThroughVillageGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: hasNotVisited (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: MoveToBlockGoal path: net/minecraft/world/entity/ai/goal/MoveToBlockGoal field: blockPos Lnet/minecraft/core/BlockPos; Block to move to
field: nextStartTick I Controls task execution delay
method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: findNearestBlock ()Z Searches and sets new destination block and returns true if a suitable block (specified in {@link net.minecraft.entity.ai.EntityAIMoveToBlock#shouldMoveTo(World, BlockPos) EntityAIMoveToBlock#shouldMoveTo(World, BlockPos)}) can be found.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: nextStartTick (Lnet/minecraft/world/entity/PathfinderMob;)I params: 1: creature method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: MoveTowardsRestrictionGoal path: net/minecraft/world/entity/ai/goal/MoveTowardsRestrictionGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: MoveTowardsTargetGoal path: net/minecraft/world/entity/ai/goal/MoveTowardsTargetGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: OcelotAttackGoal path: net/minecraft/world/entity/ai/goal/OcelotAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: OfferFlowerGoal path: net/minecraft/world/entity/ai/goal/OfferFlowerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: OpenDoorGoal path: net/minecraft/world/entity/ai/goal/OpenDoorGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: PanicGoal path: net/minecraft/world/entity/ai/goal/PanicGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: lookForWater (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/entity/Entity;II)Lnet/minecraft/core/BlockPos; params: 1: level, 2: entity, 3: horizontalRange, 4: verticalRange method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: PathfindToRaidGoal path: net/minecraft/world/entity/ai/goal/PathfindToRaidGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: recruitNearby (Lnet/minecraft/world/entity/raid/Raid;)V params: 1: raid method: tick ()V Keep ticking a continuous task that has already been started
class: RandomLookAroundGoal path: net/minecraft/world/entity/ai/goal/RandomLookAroundGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: RandomStrollGoal path: net/minecraft/world/entity/ai/goal/RandomStrollGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: setInterval (I)V params: 1: newchance Changes task random possibility for execution
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: trigger ()V Makes task to bypass chance
class: RangedAttackGoal path: net/minecraft/world/entity/ai/goal/RangedAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: RangedBowAttackGoal path: net/minecraft/world/entity/ai/goal/RangedBowAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: setMinAttackInterval (I)V params: 1: attackCooldown method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: RangedCrossbowAttackGoal path: net/minecraft/world/entity/ai/goal/RangedCrossbowAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: RemoveBlockGoal path: net/minecraft/world/entity/ai/goal/RemoveBlockGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getPosWithBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/BlockGetter;)Lnet/minecraft/core/BlockPos; params: 1: pos, 2: level method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: playBreakSound (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: playDestroyProgressSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: RestrictSunGoal path: net/minecraft/world/entity/ai/goal/RestrictSunGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: RunAroundLikeCrazyGoal path: net/minecraft/world/entity/ai/goal/RunAroundLikeCrazyGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: SitWhenOrderedToGoal path: net/minecraft/world/entity/ai/goal/SitWhenOrderedToGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: StrollThroughVillageGoal path: net/minecraft/world/entity/ai/goal/StrollThroughVillageGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: SwellGoal path: net/minecraft/world/entity/ai/goal/SwellGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: TemptGoal path: net/minecraft/world/entity/ai/goal/TemptGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isRunning method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: TradeWithPlayerGoal path: net/minecraft/world/entity/ai/goal/TradeWithPlayerGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: TryFindWaterGoal path: net/minecraft/world/entity/ai/goal/TryFindWaterGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: UseItemGoal path: net/minecraft/world/entity/ai/goal/UseItemGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: WrappedGoal path: net/minecraft/world/entity/ai/goal/WrappedGoal method: canBeReplacedBy (Lnet/minecraft/world/entity/ai/goal/WrappedGoal;)Z params: 1: other method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getGoal ()Lnet/minecraft/world/entity/ai/goal/Goal; Gets the private goal enclosed by this PrioritizedGoal. Call this rather than use an access transformer"
method: setFlags (Ljava/util/EnumSet;)V params: 1: flagSet method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: ZombieAttackGoal path: net/minecraft/world/entity/ai/goal/ZombieAttackGoal method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
gossip class: GossipContainer path: net/minecraft/world/entity/ai/gossip/GossipContainer method: add (Ljava/util/UUID;Lnet/minecraft/world/entity/ai/gossip/GossipType;I)V params: 1: identifier, 2: gossipType, 3: gossipValue method: getOrCreate (Ljava/util/UUID;)Lnet/minecraft/world/entity/ai/gossip/GossipContainer$EntityGossips; params: 1: identifier method: getReputation (Ljava/util/UUID;Ljava/util/function/Predicate;)I params: 1: identifier, 2: gossip method: mergeValuesForAddition (Lnet/minecraft/world/entity/ai/gossip/GossipType;II)I params: 1: gossipType, 2: existing, 3: additive method: mergeValuesForTransfer (II)I params: 0: value1, 1: value2 Returns the greater of two int values
method: selectGossipsForTransfer (Ljava/util/Random;I)Ljava/util/Collection; params: 1: rand, 2: gossipAmount method: store (Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic; params: 1: dynamic method: transferFrom (Lnet/minecraft/world/entity/ai/gossip/GossipContainer;Ljava/util/Random;I)V params: 1: gossip, 2: rand, 3: gossipAmount method: update (Lcom/mojang/serialization/Dynamic;)V params: 1: dynamic class: GossipContainer$EntityGossips path: net/minecraft/world/entity/ai/gossip/GossipContainer$EntityGossips method: makeSureValueIsntTooLowOrTooHigh (Lnet/minecraft/world/entity/ai/gossip/GossipType;)V params: 1: gossipType method: remove (Lnet/minecraft/world/entity/ai/gossip/GossipType;)V params: 1: gossipType method: unpack (Ljava/util/UUID;)Ljava/util/stream/Stream; params: 1: identifier method: weightedValue (Ljava/util/function/Predicate;)I params: 1: gossipType class: GossipContainer$GossipEntry path: net/minecraft/world/entity/ai/gossip/GossipContainer$GossipEntry method: load (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/DataResult; params: 0: dynamic method: store (Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Dynamic; params: 1: dynamic class: GossipType path: net/minecraft/world/entity/ai/gossip/GossipType method: byId (Ljava/lang/String;)Lnet/minecraft/world/entity/ai/gossip/GossipType; params: 0: id memory class: ExpirableValue path: net/minecraft/world/entity/ai/memory/ExpirableValue method: codec (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; params: 0: valueCodec method: of (Ljava/lang/Object;)Lnet/minecraft/world/entity/ai/memory/ExpirableValue; params: 0: value method: of (Ljava/lang/Object;J)Lnet/minecraft/world/entity/ai/memory/ExpirableValue; params: 0: value, 1: timeToLive class: MemoryModuleType path: net/minecraft/world/entity/ai/memory/MemoryModuleType method: register (Ljava/lang/String;)Lnet/minecraft/world/entity/ai/memory/MemoryModuleType; params: 0: identifier method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/entity/ai/memory/MemoryModuleType; params: 0: identifier, 1: codec navigation class: FlyingPathNavigation path: net/minecraft/world/entity/ai/navigation/FlyingPathNavigation method: canMoveDirectly (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;III)Z params: 1: posVec31, 2: posVec32, 3: sizeX, 4: sizeY, 5: sizeZ Checks if the specified entity can safely walk to the specified location.
method: canUpdatePath ()Z If on ground or swimming and can swim
method: createPath (Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: entity Returns a path to the given entity or null
method: isStableDestination (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: setCanOpenDoors (Z)V params: 1: canOpenDoors method: setCanPassDoors (Z)V params: 1: canEnterDoors class: GroundPathNavigation path: net/minecraft/world/entity/ai/navigation/GroundPathNavigation method: canMoveDirectly (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;III)Z params: 1: posVec31, 2: posVec32, 3: sizeX, 4: sizeY, 5: sizeZ Checks if the specified entity can safely walk to the specified location.
method: canUpdatePath ()Z If on ground or swimming and can swim
method: canWalkAbove (IIIIIILnet/minecraft/world/phys/Vec3;DD)Z params: 1: x, 2: y, 3: z, 4: sizeX, 5: sizeY, 6: sizeZ Returns true if an entity does not collide with any solid blocks at the position.
method: canWalkOn (IIIIIILnet/minecraft/world/phys/Vec3;DD)Z params: 1: x, 2: y, 3: z, 4: sizeX, 5: sizeY, 6: sizeZ, 7: vec31 Returns true when an entity could stand at a position, including solid blocks under the entire entity.
method: createPath (Lnet/minecraft/core/BlockPos;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: pos, 2: accuracy Returns path to given BlockPos
method: createPath (Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: entity Returns a path to the given entity or null
method: getSurfaceY ()I Gets the safe pathing Y position for the entity depending on if it can path swim or not
method: setAvoidSun method: setCanOpenDoors (Z)V params: 1: canBreakDoors method: trimPath ()V Trims path data from the end to the first sun covered block
class: PathNavigation path: net/minecraft/world/entity/ai/navigation/PathNavigation field: reachRange I Distance in which a path point counts as target-reaching
method: canMoveDirectly (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;III)Z params: 1: posVec31, 2: posVec32, 3: sizeX, 4: sizeY, 5: sizeZ Checks if the specified entity can safely walk to the specified location.
method: canUpdatePath ()Z If on ground or swimming and can swim
method: createPath (DDDI)Lnet/minecraft/world/level/pathfinder/Path; params: 1: x, 3: y, 5: z, 7: accuracy Returns path to given BlockPos
method: createPath (Ljava/util/Set;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: positions, 2: distance method: createPath (Ljava/util/Set;IZI)Lnet/minecraft/world/level/pathfinder/Path; params: 1: targets, 2: regionOffset, 3: offsetUpward, 4: accuracy Returns a path to one of the given targets or null
method: createPath (Ljava/util/stream/Stream;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: targets, 2: accuracy Returns a path to one of the elements of the stream or null
method: createPath (Lnet/minecraft/core/BlockPos;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: pos, 2: accuracy Returns path to given BlockPos
method: createPath (Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: entity Returns a path to the given entity or null
method: doStuckDetection (Lnet/minecraft/world/phys/Vec3;)V params: 1: positionVec3 Checks if entity haven't been moved when last checked and if so, clears current {@link net.minecraft.pathfinding.PathEntity}
method: getPath ()Lnet/minecraft/world/level/pathfinder/Path; gets the actively used PathEntity
method: hasDelayedRecomputation ()Z Returns true if path can be changed by {@link net.minecraft.pathfinding.PathNavigate#onUpdateNavigation() onUpdateNavigation()}
method: isDone ()Z If null path or reached the end
method: isInLiquid ()Z Returns true if the entity is in water or lava, false otherwise
method: isStableDestination (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: moveTo (DDDD)Z params: 1: x, 3: y, 5: z, 7: speed Try to find and set a path to XYZ. Returns true if successful. Args : x, y, z, speed
method: moveTo (Lnet/minecraft/world/entity/Entity;D)Z params: 1: entity, 2: speed Try to find and set a path to EntityLiving. Returns true if successful. Args : entity, speed
method: moveTo (Lnet/minecraft/world/level/pathfinder/Path;D)Z params: 1: pathentity, 2: speed Sets a new path. If it's diferent from the old path. Checks to adjust path for sun avoiding, and stores start coords. Args : path, speed
method: recomputePath (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: setCanFloat method: setMaxVisitedNodesMultiplier (F)V params: 1: multiplier method: setSpeedModifier (D)V params: 1: speed Sets the speed
method: stop ()V sets active PathEntity to null
method: trimPath ()V Trims path data from the end to the first sun covered block
class: WallClimberNavigation path: net/minecraft/world/entity/ai/navigation/WallClimberNavigation field: pathToPosition Lnet/minecraft/core/BlockPos; Current path navigation target
method: createPath (Lnet/minecraft/core/BlockPos;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: pos, 2: accuracy Returns path to given BlockPos
method: createPath (Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/world/level/pathfinder/Path; params: 1: entity Returns a path to the given entity or null
method: moveTo (Lnet/minecraft/world/entity/Entity;D)Z params: 1: entity, 2: speed Try to find and set a path to EntityLiving. Returns true if successful. Args : entity, speed
class: WaterBoundPathNavigation path: net/minecraft/world/entity/ai/navigation/WaterBoundPathNavigation method: canMoveDirectly (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;III)Z params: 1: posVec31, 2: posVec32, 3: sizeX, 4: sizeY, 5: sizeZ Checks if the specified entity can safely walk to the specified location.
method: canUpdatePath ()Z If on ground or swimming and can swim
method: doStuckDetection (Lnet/minecraft/world/phys/Vec3;)V params: 1: positionVec3 Checks if entity haven't been moved when last checked and if so, clears current {@link net.minecraft.pathfinding.PathEntity}
method: isStableDestination (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: setCanFloat sensing class: DummySensor path: net/minecraft/world/entity/ai/sensing/DummySensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity class: GolemSensor path: net/minecraft/world/entity/ai/sensing/GolemSensor method: checkForNearbyGolem (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: livingEntity method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: golemDetected (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: livingEntity class: HoglinSpecificSensor path: net/minecraft/world/entity/ai/sensing/HoglinSpecificSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/hoglin/Hoglin;)V params: 1: level, 2: entity method: findNearestRepellent (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/hoglin/Hoglin;)Ljava/util/Optional; params: 1: level, 2: hoglin class: HurtBySensor path: net/minecraft/world/entity/ai/sensing/HurtBySensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity class: NearestBedSensor path: net/minecraft/world/entity/ai/sensing/NearestBedSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)V params: 1: level, 2: entity class: NearestItemSensor path: net/minecraft/world/entity/ai/sensing/NearestItemSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;)V params: 1: level, 2: entity class: NearestLivingEntitySensor path: net/minecraft/world/entity/ai/sensing/NearestLivingEntitySensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity class: PiglinBruteSpecificSensor path: net/minecraft/world/entity/ai/sensing/PiglinBruteSpecificSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity class: PiglinSpecificSensor path: net/minecraft/world/entity/ai/sensing/PiglinSpecificSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: findNearestRepellent (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Ljava/util/Optional; params: 0: level, 1: livingEntity method: isValidRepellent (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos class: PlayerSensor path: net/minecraft/world/entity/ai/sensing/PlayerSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity class: SecondaryPoiSensor path: net/minecraft/world/entity/ai/sensing/SecondaryPoiSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/npc/Villager;)V params: 1: level, 2: entity class: Sensing path: net/minecraft/world/entity/ai/sensing/Sensing method: tick ()V Clears canSeeCachePositive and canSeeCacheNegative.
class: Sensor path: net/minecraft/world/entity/ai/sensing/Sensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: isEntityTargetable (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: livingEntity, 1: target method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity class: SensorType path: net/minecraft/world/entity/ai/sensing/SensorType method: register (Ljava/lang/String;Ljava/util/function/Supplier;)Lnet/minecraft/world/entity/ai/sensing/SensorType; params: 0: key, 1: sensorSupplier class: VillagerBabiesSensor path: net/minecraft/world/entity/ai/sensing/VillagerBabiesSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: getNearestVillagerBabies (Lnet/minecraft/world/entity/LivingEntity;)Ljava/util/List; params: 1: livingEntity method: getVisibleEntities (Lnet/minecraft/world/entity/LivingEntity;)Ljava/util/List; params: 1: livingEntity method: isVillagerBaby (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: livingEntity class: VillagerHostilesSensor path: net/minecraft/world/entity/ai/sensing/VillagerHostilesSensor method: doTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: isClose (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: livingEntity, 2: target method: isHostile (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: livingEntity targeting class: TargetingConditions path: net/minecraft/world/entity/ai/targeting/TargetingConditions method: range (D)Lnet/minecraft/world/entity/ai/targeting/TargetingConditions; params: 1: distance method: selector (Ljava/util/function/Predicate;)Lnet/minecraft/world/entity/ai/targeting/TargetingConditions; params: 1: customPredicate method: test (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: attacker, 2: target util class: GoalUtils path: net/minecraft/world/entity/ai/util/GoalUtils method: hasGroundPathNavigation (Lnet/minecraft/world/entity/Mob;)Z params: 0: mob village poi class: PoiManager path: net/minecraft/world/entity/ai/village/poi/PoiManager method: add (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/ai/village/poi/PoiType;)V params: 1: pos, 2: poiType method: checkConsistencyWithBlocks (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/LevelChunkSection;)V params: 1: pos, 2: section method: ensureLoadedAndValid (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;I)V params: 1: levelReader, 2: pos, 3: coordinateOffset method: exists (Lnet/minecraft/core/BlockPos;Ljava/util/function/Predicate;)Z params: 1: pos method: existsAtPosition (Lnet/minecraft/world/entity/ai/village/poi/PoiType;Lnet/minecraft/core/BlockPos;)Z params: 1: type, 2: pos method: find (Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)Ljava/util/Optional; params: 1: typePredicate, 2: posPredicate, 3: pos, 4: distance, 5: status method: findAll (Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)Ljava/util/stream/Stream; params: 1: typePredicate, 2: posPredicate, 3: pos, 4: distance, 5: status method: getCountInRange (Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)J params: 2: pos, 3: distance, 4: status method: getInChunk (Ljava/util/function/Predicate;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)Ljava/util/stream/Stream; params: 2: posChunk, 3: status method: getInSquare (Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)Ljava/util/stream/Stream; params: 1: typePredicate, 2: pos, 3: distance, 4: status method: getRandom (Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;Lnet/minecraft/core/BlockPos;ILjava/util/Random;)Ljava/util/Optional; params: 1: typePredicate, 2: posPredicate, 3: status, 4: pos, 5: distance, 6: rand method: getType (Lnet/minecraft/core/BlockPos;)Ljava/util/Optional; params: 1: pos method: mayHavePoi (Lnet/minecraft/world/level/chunk/LevelChunkSection;)Z params: 0: section method: release (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: remove (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: sectionsToVillage (Lnet/minecraft/core/SectionPos;)I params: 1: sectionPos method: setDirty (J)V params: 1: sectionPos method: take (Ljava/util/function/Predicate;Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos;I)Ljava/util/Optional; params: 1: typePredicate, 2: posPredicate, 3: pos, 4: distance method: updateFromSection (Lnet/minecraft/world/level/chunk/LevelChunkSection;Lnet/minecraft/core/SectionPos;Ljava/util/function/BiConsumer;)V params: 1: section, 2: sectionPos, 3: posToTypeConsumer class: PoiManager$DistanceTracker path: net/minecraft/world/entity/ai/village/poi/PoiManager$DistanceTracker method: getLevel (J)I params: 1: sectionPos method: getLevelFromSource method: setLevel (JI)V params: 1: sectionPos, 3: level class: PoiSection path: net/minecraft/world/entity/ai/village/poi/PoiSection method: add (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/ai/village/poi/PoiType;)V params: 1: pos, 2: type method: exists (Lnet/minecraft/core/BlockPos;Ljava/util/function/Predicate;)Z params: 1: pos, 2: typePredicate method: getRecords (Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/village/poi/PoiManager$Occupancy;)Ljava/util/stream/Stream; params: 1: typePredicate, 2: status method: getType (Lnet/minecraft/core/BlockPos;)Ljava/util/Optional; params: 1: pos method: refresh (Ljava/util/function/Consumer;)V params: 1: posToTypeConsumer method: release (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: remove (Lnet/minecraft/core/BlockPos;)V params: 1: pos class: PoiType path: net/minecraft/world/entity/ai/village/poi/PoiType method: forState (Lnet/minecraft/world/level/block/state/BlockState;)Ljava/util/Optional; params: 0: state method: getBlockStates (Lnet/minecraft/world/level/block/Block;)Ljava/util/Set; params: 0: block method: register (Ljava/lang/String;Ljava/util/Set;II)Lnet/minecraft/world/entity/ai/village/poi/PoiType; params: 0: key, 1: blockStates, 2: maxFreeTickets, 3: validRange method: register (Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lnet/minecraft/world/entity/ai/village/poi/PoiType; params: 0: key, 1: blockStates, 2: maxFreeTickets, 3: predicate, 4: validRange method: registerBlockStates (Lnet/minecraft/world/entity/ai/village/poi/PoiType;)Lnet/minecraft/world/entity/ai/village/poi/PoiType; params: 0: poit class: ReputationEventType path: net/minecraft/world/entity/ai/village/ReputationEventType method: register (Ljava/lang/String;)Lnet/minecraft/world/entity/ai/village/ReputationEventType; params: 0: key class: VillageSiege path: net/minecraft/world/entity/ai/village/VillageSiege method: findRandomSpawnPos (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/Vec3; params: 1: level, 2: pos method: tick (Lnet/minecraft/server/level/ServerLevel;ZZ)I params: 1: level, 2: spawnHostiles, 3: spawnPassives method: trySpawn (Lnet/minecraft/server/level/ServerLevel;)V params: 1: level method: tryToSetupSiege (Lnet/minecraft/server/level/ServerLevel;)Z params: 1: level class: Brain path: net/minecraft/world/entity/ai/Brain method: activityRequirementsAreMet (Lnet/minecraft/world/entity/schedule/Activity;)Z params: 1: activity method: addActivity (Lnet/minecraft/world/entity/schedule/Activity;ILcom/google/common/collect/ImmutableList;)V params: 1: activity, 2: priorityStart, 3: tasks method: addActivity (Lnet/minecraft/world/entity/schedule/Activity;Lcom/google/common/collect/ImmutableList;)V params: 1: activity, 2: tasks method: addActivityAndRemoveMemoriesWhenStopped (Lnet/minecraft/world/entity/schedule/Activity;Lcom/google/common/collect/ImmutableList;Ljava/util/Set;Ljava/util/Set;)V params: 1: activity, 2: tasks, 3: memorieStatuses, 4: memoryTypes method: addActivityAndRemoveMemoryWhenStopped (Lnet/minecraft/world/entity/schedule/Activity;ILcom/google/common/collect/ImmutableList;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)V params: 1: activity, 2: priorityStart, 3: tasks, 4: memoryType method: addActivityWithConditions (Lnet/minecraft/world/entity/schedule/Activity;Lcom/google/common/collect/ImmutableList;Ljava/util/Set;)V params: 1: activity, 2: tasks, 3: memoryStatuses method: checkMemory (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Lnet/minecraft/world/entity/ai/memory/MemoryStatus;)Z params: 1: memoryType, 2: memoryStatus method: codec (Ljava/util/Collection;Ljava/util/Collection;)Lcom/mojang/serialization/Codec; params: 0: memoryTypes, 1: sensorTypes method: createPriorityPairs (ILcom/google/common/collect/ImmutableList;)Lcom/google/common/collect/ImmutableList; params: 1: priorityStart, 2: tasks method: eraseMemoriesForOtherActivitesThan (Lnet/minecraft/world/entity/schedule/Activity;)V params: 1: activity method: eraseMemory (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)V params: 1: type method: getMemory (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)Ljava/util/Optional; params: 1: type method: hasMemoryValue (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)Z params: 1: type method: isActive (Lnet/minecraft/world/entity/schedule/Activity;)Z params: 1: activity method: isEmptyCollection (Ljava/lang/Object;)Z params: 1: collection method: isMemoryValue (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/lang/Object;)Z params: 1: memoryType, 2: memory method: provider (Ljava/util/Collection;Ljava/util/Collection;)Lnet/minecraft/world/entity/ai/Brain$Provider; params: 0: memoryTypes, 1: sensorTypes method: serializeStart (Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/DataResult; params: 1: ops method: setActiveActivity (Lnet/minecraft/world/entity/schedule/Activity;)V params: 1: activity method: setActiveActivityIfPossible (Lnet/minecraft/world/entity/schedule/Activity;)V params: 1: activity method: setActiveActivityToFirstValid (Ljava/util/List;)V params: 1: activities method: setCoreActivities (Ljava/util/Set;)V params: 1: newActivities method: setDefaultActivity (Lnet/minecraft/world/entity/schedule/Activity;)V params: 1: newFallbackActivity method: setMemory (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/lang/Object;)V params: 1: memoryType, 2: memory method: setMemory (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/util/Optional;)V params: 1: memoryType, 2: memory method: setMemoryInternal (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/util/Optional;)V params: 1: memoryType, 2: memory method: setMemoryWithExpiry (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/lang/Object;J)V params: 1: memoryType, 2: memory, 3: timesToLive method: setSchedule (Lnet/minecraft/world/entity/schedule/Schedule;)V params: 1: newSchedule method: startEachNonRunningBehavior (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: stopAll (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: owner method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: tickEachRunningBehavior (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: entity method: tickSensors (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: brainHolder method: updateActivityFromSchedule (JJ)V params: 1: dayTime, 3: gameTime class: Brain$1 path: net/minecraft/world/entity/ai/Brain$1 method: captureRead (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult; params: 1: memoryType, 2: ops, 3: input class: Brain$MemoryValue path: net/minecraft/world/entity/ai/Brain$MemoryValue method: createUnchecked (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Ljava/util/Optional;)Lnet/minecraft/world/entity/ai/Brain$MemoryValue; params: 0: memoryType, 1: memory method: serialize (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)V params: 1: ops, 2: builder method: setMemoryInternal (Lnet/minecraft/world/entity/ai/Brain;)V params: 1: brain class: Brain$Provider path: net/minecraft/world/entity/ai/Brain$Provider method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: ops ambient class: AmbientCreature path: net/minecraft/world/entity/ambient/AmbientCreature method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player class: Bat path: net/minecraft/world/entity/ambient/Bat method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: checkBatSpawnRules (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: bat, 1: level, 2: reason, 3: pos, 4: random method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: doPush (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getVoicePitch ()F Gets the pitch of living sounds in living entities.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isIgnoringBlockTriggers ()Z Return whether this entity should NOT trigger a pressure plate or a tripwire.
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setResting method: tick ()V Called to update the entity's position/logic.
animal horse class: AbstractChestedHorse path: net/minecraft/world/entity/animal/horse/AbstractChestedHorse method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setChest method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack class: AbstractHorse path: net/minecraft/world/entity/animal/horse/AbstractHorse field: gallopSoundCounter I Used to determine the sound that the horse should make when it steps
field: temper I The higher this value, the more likely the horse is to be tamed next time a player rides it.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: calculateFallDamage (FF)I params: 1: distance, 2: damageMultiplier method: canBeControlledByRider ()Z returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden by a player and the player is holding a carrot-on-a-stick
method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: canParent ()Z Return true if the horse entity ready to mate. (no rider, not riding, tame, adult, not steril...)
method: containerChanged (Lnet/minecraft/world/Container;)V params: 1: invBasic Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
method: doPlayerRide (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: generateRandomJumpStrength ()D Returns randomized jump strength
method: generateRandomMaxHealth ()F Returns randomized max health
method: generateRandomSpeed ()D Returns randomized movement speed
method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getControllingPassenger ()Lnet/minecraft/world/entity/Entity; For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example, Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
method: getDismountLocationForPassenger (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEating (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Z params: 1: player, 2: stack method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: handleStartJump method: isArmor (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isImmobile ()Z Dead and sleeping entities cannot move
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: onClimbable ()Z Returns true if this entity should move as if it were on a ladder (either because it's actually on a ladder, or for AI reasons)
method: onLeashDistance method: onPlayerJump method: openInventory (Lnet/minecraft/world/entity/player/Player;)V params: 1: playerEntity method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: positionRider (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBred method: setIsJumping method: setOwnerUUID (Ljava/util/UUID;)V params: 1: uniqueId method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: setStanding method: setTamed method: setTemper method: spawnTamingParticles (Z)V Spawns particles for the horse entity. par1 tells whether to spawn hearts. If it is false, it spawns smoke."
method: tameWithName (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: tick ()V Called to update the entity's position/logic.
method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: Donkey path: net/minecraft/world/entity/animal/horse/Donkey method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: Horse path: net/minecraft/world/entity/animal/horse/Horse method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: containerChanged (Lnet/minecraft/world/Container;)V params: 1: invBasic Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isArmor (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: Llama path: net/minecraft/world/entity/animal/horse/Llama method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canBeControlledByRider ()Z returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden by a player and the player is holding a carrot-on-a-stick
method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: containerChanged (Lnet/minecraft/world/Container;)V params: 1: invBasic Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: handleEating (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Z params: 1: player, 2: stack method: isArmor (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isImmobile ()Z Dead and sleeping entities cannot move
method: joinCaravan (Lnet/minecraft/world/entity/animal/horse/Llama;)V params: 1: caravanHead method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: positionRider (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setDidSpit method: setStrength method: setSwag (Lnet/minecraft/world/item/DyeColor;)V params: 1: color method: setVariant method: spit (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: target class: Llama$LlamaHurtByTargetGoal path: net/minecraft/world/entity/animal/horse/Llama$LlamaHurtByTargetGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
class: Mule path: net/minecraft/world/entity/animal/horse/Mule method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: SkeletonHorse path: net/minecraft/world/entity/animal/horse/SkeletonHorse method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playSwimSound method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setTrap class: SkeletonTrapGoal path: net/minecraft/world/entity/animal/horse/SkeletonTrapGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: createHorse (Lnet/minecraft/world/DifficultyInstance;)Lnet/minecraft/world/entity/animal/horse/AbstractHorse; params: 1: difficulty method: createSkeleton (Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/animal/horse/AbstractHorse;)Lnet/minecraft/world/entity/monster/Skeleton; params: 1: difficulty, 2: horse method: tick ()V Keep ticking a continuous task that has already been started
class: TraderLlama path: net/minecraft/world/entity/animal/horse/TraderLlama method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: doPlayerRide (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: TraderLlama$TraderLlamaDefendWanderingTraderGoal path: net/minecraft/world/entity/animal/horse/TraderLlama$TraderLlamaDefendWanderingTraderGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: ZombieHorse path: net/minecraft/world/entity/animal/horse/ZombieHorse method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand class: AbstractFish path: net/minecraft/world/entity/animal/AbstractFish method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: AbstractFish$FishSwimGoal path: net/minecraft/world/entity/animal/AbstractFish$FishSwimGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: AbstractGolem path: net/minecraft/world/entity/animal/AbstractGolem method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer class: AbstractSchoolingFish path: net/minecraft/world/entity/animal/AbstractSchoolingFish method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: tick ()V Called to update the entity's position/logic.
class: Animal path: net/minecraft/world/entity/animal/Animal method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: checkAnimalSpawnRules (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: animal, 1: level, 2: reason, 3: pos, 4: random Static predicate for determining whether or not an animal can spawn at the provided location.
method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isInLove ()Z Returns if the entity is currently in 'love mode'.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setInLove (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: setInLoveTime method: spawnChildFromBreeding (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/animal/Animal;)V params: 1: level class: Bee path: net/minecraft/world/entity/animal/Bee method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: closerThan (Lnet/minecraft/core/BlockPos;I)Z params: 1: pos, 2: distance method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: doesHiveHaveSpace (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: getFlag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFlowerValid (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isTooFarAway (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: jumpInLiquid (Lnet/minecraft/tags/Tag;)V params: 1: fluidTag method: pathfindRandomlyTowards (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setFlag method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setRemainingPersistentAngerTime method: setSavedFlowerPos (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: spawnFluidParticle (Lnet/minecraft/world/level/Level;DDDDDLnet/minecraft/core/particles/ParticleOptions;)V params: 1: level, 10: posY, 12: particleData method: tick ()V Called to update the entity's position/logic.
class: Bee$1 path: net/minecraft/world/entity/animal/Bee$1 method: isStableDestination (Lnet/minecraft/core/BlockPos;)Z params: 1: pos class: Bee$BaseBeeGoal path: net/minecraft/world/entity/animal/Bee$BaseBeeGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Bee$BeeAttackGoal path: net/minecraft/world/entity/animal/Bee$BeeAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Bee$BeeBecomeAngryTargetGoal path: net/minecraft/world/entity/animal/Bee$BeeBecomeAngryTargetGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Bee$BeeEnterHiveGoal path: net/minecraft/world/entity/animal/Bee$BeeEnterHiveGoal method: start ()V Execute a one shot task or start executing a continuous task
class: Bee$BeeGoToHiveGoal path: net/minecraft/world/entity/animal/Bee$BeeGoToHiveGoal method: blacklistTarget (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: hasReachedTarget (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isTargetBlacklisted (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: pathfindDirectlyTowards (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Bee$BeeGoToKnownFlowerGoal path: net/minecraft/world/entity/animal/Bee$BeeGoToKnownFlowerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Bee$BeeGrowCropGoal path: net/minecraft/world/entity/animal/Bee$BeeGrowCropGoal method: tick ()V Keep ticking a continuous task that has already been started
class: Bee$BeeHurtByOtherGoal path: net/minecraft/world/entity/animal/Bee$BeeHurtByOtherGoal method: alertOther (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: mob, 2: target method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
class: Bee$BeeLocateHiveGoal path: net/minecraft/world/entity/animal/Bee$BeeLocateHiveGoal method: start ()V Execute a one shot task or start executing a continuous task
class: Bee$BeeLookControl path: net/minecraft/world/entity/animal/Bee$BeeLookControl method: tick class: Bee$BeePollinateGoal path: net/minecraft/world/entity/animal/Bee$BeePollinateGoal method: findNearestBlock (Ljava/util/function/Predicate;D)Ljava/util/Optional; params: 2: distance method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Bee$BeeWanderGoal path: net/minecraft/world/entity/animal/Bee$BeeWanderGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Cat path: net/minecraft/world/entity/animal/Cat method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setCatType method: setCollarColor (Lnet/minecraft/world/item/DyeColor;)V params: 1: color method: tick ()V Called to update the entity's position/logic.
class: Cat$CatAvoidEntityGoal path: net/minecraft/world/entity/animal/Cat$CatAvoidEntityGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Cat$CatRelaxOnOwnerGoal path: net/minecraft/world/entity/animal/Cat$CatRelaxOnOwnerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Cat$CatTemptGoal path: net/minecraft/world/entity/animal/Cat$CatTemptGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Chicken path: net/minecraft/world/entity/animal/Chicken method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: isChickenJockey ()Z Determines if this chicken is a jokey with a zombie riding it.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: positionRider (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setChickenJockey (Z)V params: 1: jockey Sets whether this chicken is a jockey or not.
class: Cod path: net/minecraft/world/entity/animal/Cod method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: Cow path: net/minecraft/world/entity/animal/Cow method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block class: Dolphin path: net/minecraft/world/entity/animal/Dolphin method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: canRide (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxHeadXRot ()I The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: increaseAirSupply (I)I params: 1: currentAir method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setTreasurePos (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: tick ()V Called to update the entity's position/logic.
method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: Dolphin$DolphinSwimToTreasureGoal path: net/minecraft/world/entity/animal/Dolphin$DolphinSwimToTreasureGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Dolphin$DolphinSwimWithPlayerGoal path: net/minecraft/world/entity/animal/Dolphin$DolphinSwimWithPlayerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Dolphin$PlayWithItemsGoal path: net/minecraft/world/entity/animal/Dolphin$PlayWithItemsGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox path: net/minecraft/world/entity/animal/Fox method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addTrustedUUID (Ljava/util/UUID;)V params: 1: uuid method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: calculateFallDamage (FF)I params: 1: distance, 2: damageMultiplier method: canEat (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemStack method: canHoldItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: dropAllDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: damageSource method: dropItemStack (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getEatingSound (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/sounds/SoundEvent; params: 1: itemStack method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isImmobile ()Z Dead and sleeping entities cannot move
method: isSleeping ()Z Returns whether player is sleeping or not
method: onOffspringSpawnedFromEgg (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Mob;)V params: 1: player, 2: child method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: playAmbientSound ()V Plays living's sound at its position
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setFoxType (Lnet/minecraft/world/entity/animal/Fox$Type;)V params: 1: type method: setTarget (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingEntity Sets the active target the Task system uses for tracking
method: spitOutItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: tick ()V Called to update the entity's position/logic.
class: Fox$DefendTrustedTargetGoal path: net/minecraft/world/entity/animal/Fox$DefendTrustedTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$FaceplantGoal path: net/minecraft/world/entity/animal/Fox$FaceplantGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox$FoxBreedGoal path: net/minecraft/world/entity/animal/Fox$FoxBreedGoal method: breed ()V Spawns a baby animal of the same type.
method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$FoxEatBerriesGoal path: net/minecraft/world/entity/animal/Fox$FoxEatBerriesGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox$FoxFloatGoal path: net/minecraft/world/entity/animal/Fox$FoxFloatGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$FoxFollowParentGoal path: net/minecraft/world/entity/animal/Fox$FoxFollowParentGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$FoxLookAtPlayerGoal path: net/minecraft/world/entity/animal/Fox$FoxLookAtPlayerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Fox$FoxLookControl path: net/minecraft/world/entity/animal/Fox$FoxLookControl method: tick class: Fox$FoxMeleeAttackGoal path: net/minecraft/world/entity/animal/Fox$FoxMeleeAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: checkAndPerformAttack (Lnet/minecraft/world/entity/LivingEntity;D)V params: 1: enemy, 2: distToEnemySqr method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$FoxPanicGoal path: net/minecraft/world/entity/animal/Fox$FoxPanicGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Fox$FoxPounceGoal path: net/minecraft/world/entity/animal/Fox$FoxPounceGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox$FoxSearchForItemsGoal path: net/minecraft/world/entity/animal/Fox$FoxSearchForItemsGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox$FoxStrollThroughVillageGoal path: net/minecraft/world/entity/animal/Fox$FoxStrollThroughVillageGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$PerchAndSearchGoal path: net/minecraft/world/entity/animal/Fox$PerchAndSearchGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox$SeekShelterGoal path: net/minecraft/world/entity/animal/Fox$SeekShelterGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Fox$SleepGoal path: net/minecraft/world/entity/animal/Fox$SleepGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: Fox$StalkPreyGoal path: net/minecraft/world/entity/animal/Fox$StalkPreyGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Fox$Type path: net/minecraft/world/entity/animal/Fox$Type method: byId (I)Lnet/minecraft/world/entity/animal/Fox$Type; params: 0: index method: byName (Ljava/lang/String;)Lnet/minecraft/world/entity/animal/Fox$Type; params: 0: name class: IronGolem path: net/minecraft/world/entity/animal/IronGolem method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canAttackType (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: decreaseAirSupply (I)I params: 1: air Decrements the entity's air supply when underwater
method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: doPush (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: offerFlower (Z)V params: 1: holdingRose method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setPlayerCreated (Z)V params: 1: playerCreated method: setRemainingPersistentAngerTime class: MushroomCow path: net/minecraft/world/entity/animal/MushroomCow field: lastLightningBoltUUID Ljava/util/UUID; Stores the UUID of the most recent lightning bolt to strike
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setMushroomType (Lnet/minecraft/world/entity/animal/MushroomCow$MushroomType;)V params: 1: type method: shear (Lnet/minecraft/sounds/SoundSource;)V params: 1: category method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning class: MushroomCow$MushroomType path: net/minecraft/world/entity/animal/MushroomCow$MushroomType method: byType (Ljava/lang/String;)Lnet/minecraft/world/entity/animal/MushroomCow$MushroomType; params: 0: name method: getBlockState ()Lnet/minecraft/world/level/block/state/BlockState; A block state that is rendered on the back of the mooshroom.
class: Ocelot path: net/minecraft/world/entity/animal/Ocelot method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setTrusting class: Ocelot$OcelotAvoidEntityGoal path: net/minecraft/world/entity/animal/Ocelot$OcelotAvoidEntityGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Panda path: net/minecraft/world/entity/animal/Panda method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getFlag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isFoodOrCake (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setFlag method: setGeneFromParents (Lnet/minecraft/world/entity/animal/Panda;Lnet/minecraft/world/entity/animal/Panda;)V params: 1: father, 2: mother method: setHiddenGene (Lnet/minecraft/world/entity/animal/Panda$Gene;)V params: 1: pandaType method: setMainGene (Lnet/minecraft/world/entity/animal/Panda$Gene;)V params: 1: pandaType method: tick ()V Called to update the entity's position/logic.
class: Panda$Gene path: net/minecraft/world/entity/animal/Panda$Gene method: byId (I)Lnet/minecraft/world/entity/animal/Panda$Gene; params: 0: index method: getRandom (Ljava/util/Random;)Lnet/minecraft/world/entity/animal/Panda$Gene; params: 0: rand class: Panda$PandaAttackGoal path: net/minecraft/world/entity/animal/Panda$PandaAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Panda$PandaAvoidGoal path: net/minecraft/world/entity/animal/Panda$PandaAvoidGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Panda$PandaBreedGoal path: net/minecraft/world/entity/animal/Panda$PandaBreedGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Panda$PandaHurtByTargetGoal path: net/minecraft/world/entity/animal/Panda$PandaHurtByTargetGoal method: alertOther (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: mob, 2: target method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
class: Panda$PandaLieOnBackGoal path: net/minecraft/world/entity/animal/Panda$PandaLieOnBackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: Panda$PandaLookAtPlayerGoal path: net/minecraft/world/entity/animal/Panda$PandaLookAtPlayerGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Panda$PandaPanicGoal path: net/minecraft/world/entity/animal/Panda$PandaPanicGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Panda$PandaRollGoal path: net/minecraft/world/entity/animal/Panda$PandaRollGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Panda$PandaSitGoal path: net/minecraft/world/entity/animal/Panda$PandaSitGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Panda$PandaSneezeGoal path: net/minecraft/world/entity/animal/Panda$PandaSneezeGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Parrot path: net/minecraft/world/entity/animal/Parrot method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: doPush (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getImitatedSound (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/sounds/SoundEvent; params: 0: type method: getPitch (Ljava/util/Random;)F params: 0: random method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getVoicePitch ()F Gets the pitch of living sounds in living entities.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: imitateNearbyMobs (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;)Z params: 0: level, 1: parrot method: isBaby ()Z If Animal, checks if the age timer is negative
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setRecordPlayingNearby (Lnet/minecraft/core/BlockPos;Z)V params: 1: pos, 2: isPartying Called when a record starts or stops playing. Used to make parrots start or stop partying.
method: setVariant class: Pig path: net/minecraft/world/entity/animal/Pig method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canBeControlledByRider ()Z returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden by a player and the player is holding a carrot-on-a-stick
method: getControllingPassenger ()Lnet/minecraft/world/entity/Entity; For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example, Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
method: getDismountLocationForPassenger (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector method: travelWithInput (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVec class: PolarBear path: net/minecraft/world/entity/animal/PolarBear method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setRemainingPersistentAngerTime method: setStanding method: tick ()V Called to update the entity's position/logic.
class: PolarBear$PolarBearAttackPlayersGoal path: net/minecraft/world/entity/animal/PolarBear$PolarBearAttackPlayersGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: PolarBear$PolarBearHurtByTargetGoal path: net/minecraft/world/entity/animal/PolarBear$PolarBearHurtByTargetGoal method: alertOther (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: mob, 2: target method: start ()V Execute a one shot task or start executing a continuous task
class: PolarBear$PolarBearMeleeAttackGoal path: net/minecraft/world/entity/animal/PolarBear$PolarBearMeleeAttackGoal method: checkAndPerformAttack (Lnet/minecraft/world/entity/LivingEntity;D)V params: 1: enemy, 2: distToEnemySqr method: getAttackReachSqr (Lnet/minecraft/world/entity/LivingEntity;)D params: 1: attackTarget method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: PolarBear$PolarBearPanicGoal path: net/minecraft/world/entity/animal/PolarBear$PolarBearPanicGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Pufferfish path: net/minecraft/world/entity/animal/Pufferfish method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: tick ()V Called to update the entity's position/logic.
class: Pufferfish$PufferfishPuffGoal path: net/minecraft/world/entity/animal/Pufferfish$PufferfishPuffGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: Rabbit path: net/minecraft/world/entity/animal/Rabbit method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: facePoint method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: jumpFromGround ()V Causes this entity to do an upwards motion (jumping).
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setJumping method: setRabbitType (I)V params: 1: rabbitTypeId method: setSpeedModifier method: wantsMoreFood ()Z Returns true if {@link net.minecraft.entity.passive.EntityRabbit#carrotTicks carrotTicks} has reached zero
class: Rabbit$EvilRabbitAttackGoal path: net/minecraft/world/entity/animal/Rabbit$EvilRabbitAttackGoal method: getAttackReachSqr (Lnet/minecraft/world/entity/LivingEntity;)D params: 1: attackTarget class: Rabbit$RabbitAvoidEntityGoal path: net/minecraft/world/entity/animal/Rabbit$RabbitAvoidEntityGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Rabbit$RabbitJumpControl path: net/minecraft/world/entity/animal/Rabbit$RabbitJumpControl method: setCanJump method: tick ()V Called to actually make the entity jump if isJumping is true.
class: Rabbit$RabbitMoveControl path: net/minecraft/world/entity/animal/Rabbit$RabbitMoveControl method: setWantedPosition (DDDD)V params: 1: x, 3: y, 5: z, 7: speed Sets the speed and location to move to
class: Rabbit$RabbitPanicGoal path: net/minecraft/world/entity/animal/Rabbit$RabbitPanicGoal method: tick ()V Keep ticking a continuous task that has already been started
class: Rabbit$RaidGardenGoal path: net/minecraft/world/entity/animal/Rabbit$RaidGardenGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: tick ()V Keep ticking a continuous task that has already been started
class: Salmon path: net/minecraft/world/entity/animal/Salmon method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: Sheep path: net/minecraft/world/entity/animal/Sheep field: COLORARRAY_BY_COLOR Ljava/util/Map; Map from EnumDyeColor to RGB values for passage to GlStateManager.color()
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: ate ()V This function applies the benefits of growing back wool and faster growing up to the acting entity. (This function is used in the AIEatGrass)
method: createSheepColor (Lnet/minecraft/world/item/DyeColor;)[F params: 0: dyeColor method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getColor ()Lnet/minecraft/world/item/DyeColor; Gets the wool color of this sheep.
method: getColorArray (Lnet/minecraft/world/item/DyeColor;)[F params: 0: dyeColor method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getOffspringColor (Lnet/minecraft/world/entity/animal/Animal;Lnet/minecraft/world/entity/animal/Animal;)Lnet/minecraft/world/item/DyeColor; params: 1: father, 2: mother Attempts to mix both parent sheep to come up with a mixed dye color.
method: getRandomSheepColor (Ljava/util/Random;)Lnet/minecraft/world/item/DyeColor; params: 0: random Chooses a "vanilla" sheep color based on the provided random.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: isSheared ()Z returns true if a sheeps wool has been sheared
method: makeContainer (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/inventory/CraftingContainer; params: 0: color, 1: color1 method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setColor (Lnet/minecraft/world/item/DyeColor;)V params: 1: color Sets the wool color of this sheep
method: setSheared (Z)V params: 1: sheared make a sheep sheared if set to true
method: shear (Lnet/minecraft/sounds/SoundSource;)V params: 1: category class: Sheep$1 path: net/minecraft/world/entity/animal/Sheep$1 method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: ShoulderRidingEntity path: net/minecraft/world/entity/animal/ShoulderRidingEntity method: tick ()V Called to update the entity's position/logic.
class: SnowGolem path: net/minecraft/world/entity/animal/SnowGolem method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setPumpkin (Z)V params: 1: pumpkinEquipped method: shear (Lnet/minecraft/sounds/SoundSource;)V params: 1: category class: Squid path: net/minecraft/world/entity/animal/Squid method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: setMovementVector (FFF)V params: 1: randomMotionVecX, 2: randomMotionVecY, 3: randomMotionVecZ method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: Squid$SquidFleeGoal path: net/minecraft/world/entity/animal/Squid$SquidFleeGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: Squid$SquidRandomMovementGoal path: net/minecraft/world/entity/animal/Squid$SquidRandomMovementGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: TropicalFish path: net/minecraft/world/entity/animal/TropicalFish method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: calculateVariant (Lnet/minecraft/world/entity/animal/TropicalFish$Pattern;Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/item/DyeColor;)I params: 0: type, 1: pattern, 2: bodyColor method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isMaxGroupSizeReached method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: Turtle path: net/minecraft/world/entity/animal/Turtle method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: playSwimSound method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setGoingHome (Z)V params: 1: isGoingHome method: setHasEgg method: setHomePos (Lnet/minecraft/core/BlockPos;)V params: 1: position method: setLayingEgg method: setTravelPos (Lnet/minecraft/core/BlockPos;)V params: 1: position method: setTravelling (Z)V params: 1: isTravelling method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: Turtle$TurtleBreedGoal path: net/minecraft/world/entity/animal/Turtle$TurtleBreedGoal method: breed ()V Spawns a baby animal of the same type.
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Turtle$TurtleGoHomeGoal path: net/minecraft/world/entity/animal/Turtle$TurtleGoHomeGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Turtle$TurtleGoToWaterGoal path: net/minecraft/world/entity/animal/Turtle$TurtleGoToWaterGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
class: Turtle$TurtleLayEggGoal path: net/minecraft/world/entity/animal/Turtle$TurtleLayEggGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: tick ()V Keep ticking a continuous task that has already been started
class: Turtle$TurtlePanicGoal path: net/minecraft/world/entity/animal/Turtle$TurtlePanicGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Turtle$TurtlePathNavigation path: net/minecraft/world/entity/animal/Turtle$TurtlePathNavigation method: canUpdatePath ()Z If on ground or swimming and can swim
method: isStableDestination (Lnet/minecraft/core/BlockPos;)Z params: 1: pos class: Turtle$TurtleRandomStrollGoal path: net/minecraft/world/entity/animal/Turtle$TurtleRandomStrollGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Turtle$TurtleTravelGoal path: net/minecraft/world/entity/animal/Turtle$TurtleTravelGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: WaterAnimal path: net/minecraft/world/entity/animal/WaterAnimal method: baseTick ()V Gets called every tick from main Entity class
method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
class: Wolf path: net/minecraft/world/entity/animal/Wolf method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: canMate (Lnet/minecraft/world/entity/animal/Animal;)Z params: 1: otherAnimal Returns true if the mob is currently able to mate with the specified mob.
method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: getBodyRollAngle (FF)F params: 1: partialTicks, 2: offset method: getHeadRollAngle (F)F params: 1: partialTicks method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxHeadXRot ()I The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves.
method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getWetShade (F)F params: 1: partialTicks Used when calculating the amount of shading to apply while the wolf is wet.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isWet ()Z True if the wolf is wet
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCollarColor (Lnet/minecraft/world/item/DyeColor;)V params: 1: collarcolor method: setIsInterested method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setRemainingPersistentAngerTime method: setTame method: tick ()V Called to update the entity's position/logic.
method: wantsToAttack (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: target, 2: owner class: Wolf$WolfAvoidEntityGoal path: net/minecraft/world/entity/animal/Wolf$WolfAvoidEntityGoal method: avoidLlama (Lnet/minecraft/world/entity/animal/horse/Llama;)Z params: 1: llama method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
boss enderdragon phases class: AbstractDragonPhaseInstance path: net/minecraft/world/entity/boss/enderdragon/phases/AbstractDragonPhaseInstance method: begin ()V Called when this phase is set to active
method: doClientTick ()V Generates particle effects appropriate to the phase (or sometimes sounds).
Called by dragon's onLivingUpdate. Only used when worldObj.isRemote.
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlySpeed ()F Returns the maximum amount dragon may rise or fall during this phase
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
method: onCrystalDestroyed (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/entity/player/Player;)V params: 1: crystal, 2: pos, 3: dmgSrc, 4: plyr class: DragonChargePlayerPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonChargePlayerPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlySpeed ()F Returns the maximum amount dragon may rise or fall during this phase
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: DragonDeathPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonDeathPhase method: begin ()V Called when this phase is set to active
method: doClientTick ()V Generates particle effects appropriate to the phase (or sometimes sounds).
Called by dragon's onLivingUpdate. Only used when worldObj.isRemote.
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlySpeed ()F Returns the maximum amount dragon may rise or fall during this phase
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: DragonHoldingPatternPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonHoldingPatternPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
method: onCrystalDestroyed (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/entity/player/Player;)V params: 1: crystal, 2: pos, 3: dmgSrc, 4: plyr method: strafePlayer (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: DragonHoverPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonHoverPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlySpeed ()F Returns the maximum amount dragon may rise or fall during this phase
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: DragonLandingApproachPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonLandingApproachPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: DragonLandingPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonLandingPhase method: begin ()V Called when this phase is set to active
method: doClientTick ()V Generates particle effects appropriate to the phase (or sometimes sounds).
Called by dragon's onLivingUpdate. Only used when worldObj.isRemote.
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlySpeed ()F Returns the maximum amount dragon may rise or fall during this phase
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: DragonPhaseInstance path: net/minecraft/world/entity/boss/enderdragon/phases/DragonPhaseInstance method: begin ()V Called when this phase is set to active
method: doClientTick ()V Generates particle effects appropriate to the phase (or sometimes sounds).
Called by dragon's onLivingUpdate. Only used when worldObj.isRemote.
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlySpeed ()F Returns the maximum amount dragon may rise or fall during this phase
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
method: onCrystalDestroyed (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/entity/player/Player;)V params: 1: crystal, 2: pos, 3: dmgSrc, 4: plyr class: DragonSittingAttackingPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonSittingAttackingPhase method: begin ()V Called when this phase is set to active
method: doClientTick ()V Generates particle effects appropriate to the phase (or sometimes sounds).
Called by dragon's onLivingUpdate. Only used when worldObj.isRemote.
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
class: DragonSittingFlamingPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonSittingFlamingPhase method: begin ()V Called when this phase is set to active
method: doClientTick ()V Generates particle effects appropriate to the phase (or sometimes sounds).
Called by dragon's onLivingUpdate. Only used when worldObj.isRemote.
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
class: DragonSittingScanningPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonSittingScanningPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
class: DragonStrafePlayerPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonStrafePlayerPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: DragonTakeoffPhase path: net/minecraft/world/entity/boss/enderdragon/phases/DragonTakeoffPhase method: begin ()V Called when this phase is set to active
method: doServerTick ()V Gives the phase a chance to update its status.
Called by dragon's onLivingUpdate. Only used when !worldObj.isRemote.
method: getFlyTargetLocation ()Lnet/minecraft/world/phys/Vec3; Returns the location the dragon is flying toward
class: EnderDragonPhase path: net/minecraft/world/entity/boss/enderdragon/phases/EnderDragonPhase method: create (Ljava/lang/Class;Ljava/lang/String;)Lnet/minecraft/world/entity/boss/enderdragon/phases/EnderDragonPhase; params: 0: phase, 1: name method: createInstance (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;)Lnet/minecraft/world/entity/boss/enderdragon/phases/DragonPhaseInstance; params: 1: dragon method: getById (I)Lnet/minecraft/world/entity/boss/enderdragon/phases/EnderDragonPhase; params: 0: id Gets a phase by its ID. If the phase is out of bounds (negative or beyond the end of the phase array), returns {@link #HOLDING_PATTERN}.
class: EnderDragonPhaseManager path: net/minecraft/world/entity/boss/enderdragon/phases/EnderDragonPhaseManager method: getPhase (Lnet/minecraft/world/entity/boss/enderdragon/phases/EnderDragonPhase;)Lnet/minecraft/world/entity/boss/enderdragon/phases/DragonPhaseInstance; params: 1: phase method: setPhase (Lnet/minecraft/world/entity/boss/enderdragon/phases/EnderDragonPhase;)V params: 1: phase class: EndCrystal path: net/minecraft/world/entity/boss/enderdragon/EndCrystal method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: kill ()V Called by the /kill command.
method: onDestroyedBy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBeamTarget (Lnet/minecraft/core/BlockPos;)V params: 1: beamTarget method: setShowBottom (Z)V params: 1: showBottom method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: EnderDragon path: net/minecraft/world/entity/boss/enderdragon/EnderDragon method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addEffect (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: effectInstance method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canChangeDimensions ()Z Returns false if this Entity can't move between dimensions. True if it can.
method: canRide (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: checkCrystals ()V Updates the state of the enderdragon's current endercrystal.
method: checkDespawn ()V Makes the entity despawn if requirements are reached
method: checkWalls (Lnet/minecraft/world/phys/AABB;)Z params: 1: area Destroys all blocks that aren't associated with 'The End' inside the given bounding box.
method: findClosestNode ()I Generates values for the fields pathPoints, and neighbors, and then returns the nearest pathPoint to the specified position.
method: findClosestNode (DDD)I params: 1: x, 3: y, 5: z Returns the index into pathPoints of the nearest PathPoint.
method: findPath (IILnet/minecraft/world/level/pathfinder/Node;)Lnet/minecraft/world/level/pathfinder/Path; params: 1: startIdx, 2: finishIdx, 3: andThen Find and return a path among the circles described by pathPoints, or null if the shortest path would just be directly between the start and finish with no intermediate points.
Starting with pathPoint[startIdx], it searches the neighboring points (and their neighboring points, and so on) until it reaches pathPoint[finishIdx], at which point it calls makePath to seal the deal.
method: getHeadLookVector (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getHeadPartYOffset (I[D[D)F params: 2: spineEndOffsets, 3: headPartOffsets method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getLatencyPos (IF)[D params: 2: partialTicks Returns a double[3] array with movement offsets, used to calculate trailing tail/neck positions. [0] = yaw offset, [1] = y offset, [2] = unused, always 0. Parameters: buffer index offset, partial ticks.
method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: hurt (Ljava/util/List;)V params: 1: entities Attacks all entities inside this list, dealing 5 hearts of damage.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: hurt (Lnet/minecraft/world/entity/boss/EnderDragonPart;Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: part, 2: source, 3: damage method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: kill ()V Called by the /kill command.
method: knockBack (Ljava/util/List;)V params: 1: entities Pushes all entities inside the list away from the enderdragon.
method: onCrystalDestroyed (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: crystal, 2: pos, 3: dmgSrc method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: reallyHurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Provides a way to cause damage to an ender dragon.
method: reconstructPath (Lnet/minecraft/world/level/pathfinder/Node;Lnet/minecraft/world/level/pathfinder/Node;)Lnet/minecraft/world/level/pathfinder/Path; params: 1: start, 2: finish Create and return a new PathEntity defining a path from the start to the finish, using the connections already made by the caller, findPath.
method: rotWrap (D)F params: 1: angle Simplifies the value of a number by adding/subtracting 180 to the point that the number is between -180 and 180.
method: tickDeath ()V handles entity death timer, experience orb and particle creation
method: tickPart (Lnet/minecraft/world/entity/boss/EnderDragonPart;DDD)V params: 1: part, 2: offsetX, 4: offsetY, 6: offsetZ wither class: WitherBoss path: net/minecraft/world/entity/boss/wither/WitherBoss method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addEffect (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: effectInstance method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canBeAffected (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: potioneffect method: canChangeDimensions ()Z Returns false if this Entity can't move between dimensions. True if it can.
method: canDestroy (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: block method: canRide (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: checkDespawn ()V Makes the entity despawn if requirements are reached
method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: getAlternativeTarget (I)I params: 1: head Returns the target entity ID if present, or -1 if not
method: getHeadX method: getHeadXRot method: getHeadY method: getHeadYRot method: getHeadZ method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: makeInvulnerable ()V Initializes this Wither's explosion sequence and makes it invulnerable. Called immediately after spawning.
method: makeStuckInBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/Vec3;)V params: 1: state, 2: motionMultiplier method: performRangedAttack (IDDDZ)V params: 1: head, 2: x, 4: y, 6: z, 8: invulnerable Launches a Wither skull toward (par2, par4, par6)
method: performRangedAttack (ILnet/minecraft/world/entity/LivingEntity;)V params: 1: head, 2: target method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setAlternativeTarget (II)V params: 1: targetOffset, 2: newId Updates the target entity ID
method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name method: setInvulnerableTicks method: startSeenByPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Add the given player to the list of players tracking this entity. For instance, a player may track a boss in order to view its associated boss bar.
method: stopSeenByPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Removes the given player from the list of players tracking this entity. See {@link Entity#addTrackingPlayer} for more information on tracking.
class: WitherBoss$WitherDoNothingGoal path: net/minecraft/world/entity/boss/wither/WitherBoss$WitherDoNothingGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: EnderDragonPart path: net/minecraft/world/entity/boss/EnderDragonPart method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: is (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns true if Entity argument is equal to this Entity
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
decoration class: ArmorStand path: net/minecraft/world/entity/decoration/ArmorStand field: lastHit J After punching the stand, the cooldown before you can punch it again without breaking it.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: brokenByPlayer (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: causeDamage (Lnet/minecraft/world/damagesource/DamageSource;F)V params: 1: source method: doPush (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getFallDamageSound (I)Lnet/minecraft/sounds/SoundEvent; params: 1: height method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getItemBySlot (Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; params: 1: slot method: getLightProbePosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: interactAt (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: vec, 3: hand Applies the given player interaction to this Entity.
method: isAffectedByPotions ()Z Returns false if the entity is an armor stand. Returns true for all other entity living bases.
method: isBaby ()Z If Animal, checks if the age timer is negative
method: isDisabled (Lnet/minecraft/world/entity/EquipmentSlot;)Z params: 1: slot method: isEffectiveAi ()Z Returns whether the entity is in a server world
method: isMarker ()Z Gets whether the armor stand has marker enabled. If true, the armor stand's bounding box is set to zero and cannot be interacted with.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: kill ()V Called by the /kill command.
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: readPose (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tagCompound method: setBodyPose (Lnet/minecraft/core/Rotations;)V params: 1: vec method: setHeadPose (Lnet/minecraft/core/Rotations;)V params: 1: vec method: setInvisible method: setItemSlot (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setLeftArmPose (Lnet/minecraft/core/Rotations;)V params: 1: vec method: setLeftLegPose (Lnet/minecraft/core/Rotations;)V params: 1: vec method: setMarker (Z)V params: 1: marker Marker defines where if true, the size is 0 and will not be rendered or intractable.
method: setNoBasePlate (Z)V params: 1: noBasePlate method: setRightArmPose (Lnet/minecraft/core/Rotations;)V params: 1: vec method: setRightLegPose (Lnet/minecraft/core/Rotations;)V params: 1: vec method: setShowArms method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: setSmall method: setYBodyRot (F)V params: 1: offset Set the render yaw offset
method: setYHeadRot (F)V params: 1: rotation Sets the head's yaw rotation of the entity.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: skipAttackInteraction (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Called when a player attacks an entity. If this returns true the attack will not happen.
method: swapItem (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)Z params: 1: player, 2: slot, 3: stack, 4: hand method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: tick ()V Called to update the entity's position/logic.
method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector method: updateInvisibilityStatus ()V Clears potion metadata values if the entity has no potion effects. Otherwise, updates potion effect color, ambience, and invisibility metadata values
class: HangingEntity path: net/minecraft/world/entity/decoration/HangingEntity field: direction Lnet/minecraft/core/Direction; The direction the entity is facing
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: dropItem (Lnet/minecraft/world/entity/Entity;)V params: 1: brokenEntity Called when this entity is broken. Entity parameter may be null.
method: getDirection ()Lnet/minecraft/core/Direction; Gets the horizontal facing direction of this Entity.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: mirror (Lnet/minecraft/world/level/block/Mirror;)F params: 1: transformMirror Transforms the entity's current yaw with the given Mirror and returns it. This does not have a side-effect.
method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: push (DDD)V params: 1: x, 3: y, 5: z Adds to the current velocity of the entity, and sets {@link #isAirBorne} to true.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: recalculateBoundingBox ()V Updates the entity bounding box based on current facing
method: rotate (Lnet/minecraft/world/level/block/Rotation;)F params: 1: transformRotation Transforms the entity's current yaw with the given Rotation and returns it. This does not have a side-effect.
method: setDirection (Lnet/minecraft/core/Direction;)V params: 1: facingDirection Updates facing and bounding box based on it
method: setPos (DDD)V params: 1: x, 3: y, 5: z Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box.
method: skipAttackInteraction (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Called when a player attacks an entity. If this returns true the attack will not happen.
method: spawnAtLocation (Lnet/minecraft/world/item/ItemStack;F)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: stack, 2: offsetY Drops an item at the position of the entity.
method: survives ()Z checks to make sure painting can be placed there
method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: tick ()V Called to update the entity's position/logic.
class: ItemFrame path: net/minecraft/world/entity/decoration/ItemFrame method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: dropItem (Lnet/minecraft/world/entity/Entity;)V params: 1: brokenEntity Called when this entity is broken. Entity parameter may be null.
method: dropItem (Lnet/minecraft/world/entity/Entity;Z)V params: 1: entity method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getRotation ()I Return the rotation of the item currently on this frame.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: kill ()V Called by the /kill command.
method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: push (DDD)V params: 1: x, 3: y, 5: z Adds to the current velocity of the entity, and sets {@link #isAirBorne} to true.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: recalculateBoundingBox ()V Updates the entity bounding box based on current facing
method: removeFramedMap (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Removes the dot representing this frame's position from the map when the item frame is broken.
method: setDirection (Lnet/minecraft/core/Direction;)V params: 1: facingDirection Updates facing and bounding box based on it
method: setItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: setItem (Lnet/minecraft/world/item/ItemStack;Z)V params: 1: stack method: setRotation method: setRotation method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: survives ()Z checks to make sure painting can be placed there
class: LeashFenceKnotEntity path: net/minecraft/world/entity/decoration/LeashFenceKnotEntity method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: dropItem (Lnet/minecraft/world/entity/Entity;)V params: 1: brokenEntity Called when this entity is broken. Entity parameter may be null.
method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getOrCreateKnot (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/entity/decoration/LeashFenceKnotEntity; params: 0: level, 1: pos method: getRopeHoldPosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: recalculateBoundingBox ()V Updates the entity bounding box based on current facing
method: setDirection (Lnet/minecraft/core/Direction;)V params: 1: facingDirection Updates facing and bounding box based on it
method: setPos (DDD)V params: 1: x, 3: y, 5: z Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: survives ()Z checks to make sure painting can be placed there
class: Motive path: net/minecraft/world/entity/decoration/Motive method: register (Ljava/lang/String;II)Lnet/minecraft/world/entity/decoration/Motive; params: 0: key, 1: width, 2: height class: Painting path: net/minecraft/world/entity/decoration/Painting method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: dropItem (Lnet/minecraft/world/entity/Entity;)V params: 1: brokenEntity Called when this entity is broken. Entity parameter may be null.
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: moveTo (DDDFF)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch Sets the location and Yaw/Pitch of an entity in the world
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
item class: FallingBlockEntity path: net/minecraft/world/entity/item/FallingBlockEntity method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: displayFireAnimation ()Z Return whether this entity should be rendered as on fire.
method: fillCrashReportCategory (Lnet/minecraft/CrashReportCategory;)V params: 1: category method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: onlyOpCanSetNbt ()Z Checks if players can use this entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.tileentity.TileEntity#onlyOpsCanSetNbt()}.<p>For example, {@link net.minecraft.entity.item.EntityMinecartCommandBlock#ignoreItemEntityData() command block minecarts} and {@link net.minecraft.entity.item.EntityMinecartMobSpawner#ignoreItemEntityData() mob spawner minecarts} (spawning command block minecarts or drops) are considered accessible.</p>@return true if this entity offers ways for unauthorized players to use restricted commands
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setStartPos (Lnet/minecraft/core/BlockPos;)V params: 1: origin method: tick ()V Called to update the entity's position/logic.
class: ItemEntity path: net/minecraft/world/entity/item/ItemEntity method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: areMergable (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack1, 1: stack2 method: changeDimension (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: server method: getItem ()Lnet/minecraft/world/item/ItemStack; Gets the item that this entity represents.
method: getSpin (F)F params: 1: partialTicks method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: merge (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;I)Lnet/minecraft/world/item/ItemStack; params: 0: stack1, 1: stack2 method: mergeWithNeighbours ()V Looks for other itemstacks nearby and tries to stack them together
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Sets the item that this entity represents.
method: setOwner (Ljava/util/UUID;)V params: 1: ownerId method: setPickUpDelay method: setThrower (Ljava/util/UUID;)V params: 1: throwerId method: tick ()V Called to update the entity's position/logic.
class: PrimedTnt path: net/minecraft/world/entity/item/PrimedTnt method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getFuse ()I Gets the fuse from the data manager
method: getOwner ()Lnet/minecraft/world/entity/LivingEntity; Returns null or the entityliving it was ignited by
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setFuse method: tick ()V Called to update the entity's position/logic.
monster hoglin class: Hoglin path: net/minecraft/world/entity/monster/hoglin/Hoglin method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: blockedByShield (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: dynamic method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: shouldDropExperience ()Z Entity won't drop items or experience points if this returns false
piglin class: AbstractPiglin path: net/minecraft/world/entity/monster/piglin/AbstractPiglin method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getTarget ()Lnet/minecraft/world/entity/LivingEntity; Gets the active target the Task system uses for tracking
method: playAmbientSound ()V Plays living's sound at its position
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: Piglin path: net/minecraft/world/entity/monster/piglin/Piglin method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canReplaceCurrentItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: candidate, 2: existing method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isBaby ()Z If Animal, checks if the age timer is negative
method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: dynamic method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setBaby (Z)V params: 1: childZombie Set whether this zombie is a child.
method: setChargingCrossbow (Z)V params: 1: isCharging method: startRiding (Lnet/minecraft/world/entity/Entity;Z)Z params: 1: entity, 2: force class: PiglinBrute path: net/minecraft/world/entity/monster/piglin/PiglinBrute method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: dynamic method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
class: RememberIfHoglinWasKilled path: net/minecraft/world/entity/monster/piglin/RememberIfHoglinWasKilled method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;J)V params: 1: level, 2: entity, 3: gameTime class: StartAdmiringItemIfSeen path: net/minecraft/world/entity/monster/piglin/StartAdmiringItemIfSeen method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;J)V params: 1: level, 2: entity, 3: gameTime class: StartHuntingHoglin path: net/minecraft/world/entity/monster/piglin/StartHuntingHoglin method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;J)V params: 1: level, 2: entity, 3: gameTime class: StopAdmiringIfItemTooFarAway path: net/minecraft/world/entity/monster/piglin/StopAdmiringIfItemTooFarAway method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;J)V params: 1: level, 2: entity, 3: gameTime class: StopAdmiringIfTiredOfTryingToReachItem path: net/minecraft/world/entity/monster/piglin/StopAdmiringIfTiredOfTryingToReachItem method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;J)V params: 1: level, 2: entity, 3: gameTime class: StopHoldingItemIfNoLongerAdmiring path: net/minecraft/world/entity/monster/piglin/StopHoldingItemIfNoLongerAdmiring method: checkExtraStartConditions (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;)Z params: 1: level, 2: owner method: start (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/monster/piglin/Piglin;J)V params: 1: level, 2: entity, 3: gameTime class: AbstractIllager$RaiderOpenDoorGoal path: net/minecraft/world/entity/monster/AbstractIllager$RaiderOpenDoorGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: AbstractSkeleton path: net/minecraft/world/entity/monster/AbstractSkeleton method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getArrow (Lnet/minecraft/world/item/ItemStack;F)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 1: arrowStack, 2: distanceFactor Fires an arrow
method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: reassessWeaponGoal ()V sets this entity's combat AI.
method: rideTick ()V Handles updating while riding another entity
method: setItemSlot (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack class: AbstractSkeleton$1 path: net/minecraft/world/entity/monster/AbstractSkeleton$1 method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: Blaze path: net/minecraft/world/entity/monster/Blaze method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getBrightness ()F Gets how bright this entity is.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isOnFire ()Z Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
method: setCharged class: Blaze$BlazeAttackGoal path: net/minecraft/world/entity/monster/Blaze$BlazeAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: CaveSpider path: net/minecraft/world/entity/monster/CaveSpider method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size class: Creeper path: net/minecraft/world/entity/monster/Creeper method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canDropMobsSkull ()Z Returns true if an entity is able to drop its skull due to being blown up by this creeper.
Does not test if this creeper is charged" the caller must do that. However, does test the doMobLoot gamerule.
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: explodeCreeper ()V Creates an explosion as determined by this creeper's power and explosion radius.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxFallDistance ()I The maximum height from where the entity is alowed to jump (used in pathfinder)
method: getSwellDir ()I Returns the current state of creeper, -1 is idle, 1 is 'in fuse'
method: getSwelling (F)F params: 1: partialTicks Params: (Float)Render tick. Returns the intensity of the creeper's flash when it is ignited.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setSwellDir (I)V params: 1: state Sets the state of creeper, -1 to idle and 1 to be 'in fuse'
method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: tick ()V Called to update the entity's position/logic.
class: CrossbowAttackMob path: net/minecraft/world/entity/monster/CrossbowAttackMob method: getTarget ()Lnet/minecraft/world/entity/LivingEntity; Gets the active target the Task system uses for tracking
method: setChargingCrossbow (Z)V params: 1: isCharging class: Drowned path: net/minecraft/world/entity/monster/Drowned method: canReplaceCurrentItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: candidate, 2: existing method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: Drowned$DrownedAttackGoal path: net/minecraft/world/entity/monster/Drowned$DrownedAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Drowned$DrownedGoToBeachGoal path: net/minecraft/world/entity/monster/Drowned$DrownedGoToBeachGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: Drowned$DrownedGoToWaterGoal path: net/minecraft/world/entity/monster/Drowned$DrownedGoToWaterGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Drowned$DrownedSwimUpGoal path: net/minecraft/world/entity/monster/Drowned$DrownedSwimUpGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Drowned$DrownedTridentAttackGoal path: net/minecraft/world/entity/monster/Drowned$DrownedTridentAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
class: ElderGuardian path: net/minecraft/world/entity/monster/ElderGuardian method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: EnderMan path: net/minecraft/world/entity/monster/EnderMan method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isLookingAtMe (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Checks to see if this enderman should be attacking this player
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCarriedBlock (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: state method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setRemainingPersistentAngerTime method: setTarget (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingEntity Sets the active target the Task system uses for tracking
method: teleport ()Z Teleport the enderman to a random nearby position
method: teleport (DDD)Z params: 1: x, 3: y, 5: z Teleport the enderman
method: teleportTowards (Lnet/minecraft/world/entity/Entity;)Z Teleport the enderman to another entity
class: EnderMan$EndermanFreezeWhenLookedAt path: net/minecraft/world/entity/monster/EnderMan$EndermanFreezeWhenLookedAt method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: EnderMan$EndermanLeaveBlockGoal path: net/minecraft/world/entity/monster/EnderMan$EndermanLeaveBlockGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: EnderMan$EndermanLookForPlayerGoal path: net/minecraft/world/entity/monster/EnderMan$EndermanLookForPlayerGoal field: pendingTarget Lnet/minecraft/world/entity/player/Player; The player
method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: EnderMan$EndermanTakeBlockGoal path: net/minecraft/world/entity/monster/EnderMan$EndermanTakeBlockGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Endermite path: net/minecraft/world/entity/monster/Endermite method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setYBodyRot (F)V params: 1: offset Set the render yaw offset
method: tick ()V Called to update the entity's position/logic.
class: Evoker path: net/minecraft/world/entity/monster/Evoker method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: applyRaidBuffs method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isAlliedTo (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns whether this Entity is on the same team as the given Entity.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setWololoTarget (Lnet/minecraft/world/entity/animal/Sheep;)V params: 1: wololoTarget class: Evoker$EvokerCastingSpellGoal path: net/minecraft/world/entity/monster/Evoker$EvokerCastingSpellGoal method: tick ()V Keep ticking a continuous task that has already been started
class: Evoker$EvokerSummonSpellGoal path: net/minecraft/world/entity/monster/Evoker$EvokerSummonSpellGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Evoker$EvokerWololoSpellGoal path: net/minecraft/world/entity/monster/Evoker$EvokerWololoSpellGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Ghast path: net/minecraft/world/entity/monster/Ghast method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCharging class: Ghast$GhastLookGoal path: net/minecraft/world/entity/monster/Ghast$GhastLookGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Ghast$GhastShootFireballGoal path: net/minecraft/world/entity/monster/Ghast$GhastShootFireballGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Ghast$RandomFloatAroundGoal path: net/minecraft/world/entity/monster/Ghast$RandomFloatAroundGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Giant path: net/minecraft/world/entity/monster/Giant method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level class: Guardian path: net/minecraft/world/entity/monster/Guardian method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxHeadXRot ()I The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: setActiveAttackTarget method: setMoving method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: Guardian$GuardianAttackGoal path: net/minecraft/world/entity/monster/Guardian$GuardianAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Husk path: net/minecraft/world/entity/monster/Husk method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: Illusioner path: net/minecraft/world/entity/monster/Illusioner method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: applyRaidBuffs method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getBoundingBoxForCulling ()Lnet/minecraft/world/phys/AABB; Gets the bounding box of this Entity, adjusted to take auxiliary entities into account (e.g. the tile contained by a minecart, such as a command block).
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isAlliedTo (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns whether this Entity is on the same team as the given Entity.
method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
class: Illusioner$IllusionerBlindnessSpellGoal path: net/minecraft/world/entity/monster/Illusioner$IllusionerBlindnessSpellGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Illusioner$IllusionerMirrorSpellGoal path: net/minecraft/world/entity/monster/Illusioner$IllusionerMirrorSpellGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: MagmaCube path: net/minecraft/world/entity/monster/MagmaCube method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: getBrightness ()F Gets how bright this entity is.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getJumpDelay ()I Gets the amount of time the slime needs to wait between jumps.
method: isDealsDamage ()Z Indicates weather the slime is able to damage the player (based upon the slime's size)
method: isOnFire ()Z Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
method: jumpFromGround ()V Causes this entity to do an upwards motion (jumping).
method: jumpInLiquid (Lnet/minecraft/tags/Tag;)V params: 1: fluidTag method: setSize (IZ)V params: 1: size, 2: resetHealth class: Monster path: net/minecraft/world/entity/monster/Monster method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: checkAnyLightMonsterSpawnRules (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: type, 1: level, 2: reason, 3: pos, 4: random Static predicate for determining whether or not a monster can spawn at the provided location.
method: checkMonsterSpawnRules (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: type, 1: level, 2: reason, 3: pos, 4: random Static predicate for determining whether or not a monster can spawn at the provided location, incorporating a check of the current light level at the location.
method: getFallDamageSound (I)Lnet/minecraft/sounds/SoundEvent; params: 1: height method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getProjectile (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: shootable method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isDarkEnoughToSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: level, 1: pos, 2: random Static predicate for determining if the current light level and environmental conditions allow for a monster to spawn.
method: shouldDropExperience ()Z Entity won't drop items or experience points if this returns false
class: PatrollingMonster path: net/minecraft/world/entity/monster/PatrollingMonster method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setPatrolLeader class: PatrollingMonster$LongDistancePatrolGoal path: net/minecraft/world/entity/monster/PatrollingMonster$LongDistancePatrolGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Phantom path: net/minecraft/world/entity/monster/Phantom method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canAttackType (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setPhantomSize method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: Phantom$PhantomAttackPlayerTargetGoal path: net/minecraft/world/entity/monster/Phantom$PhantomAttackPlayerTargetGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Phantom$PhantomAttackStrategyGoal path: net/minecraft/world/entity/monster/Phantom$PhantomAttackStrategyGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Phantom$PhantomBodyRotationControl path: net/minecraft/world/entity/monster/Phantom$PhantomBodyRotationControl method: clientTick ()V Update the Head and Body rendenring angles
class: Phantom$PhantomCircleAroundAnchorGoal path: net/minecraft/world/entity/monster/Phantom$PhantomCircleAroundAnchorGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: Phantom$PhantomLookControl path: net/minecraft/world/entity/monster/Phantom$PhantomLookControl method: tick class: Phantom$PhantomSweepAttackGoal path: net/minecraft/world/entity/monster/Phantom$PhantomSweepAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Pillager path: net/minecraft/world/entity/monster/Pillager method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: applyRaidBuffs method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: isAlliedTo (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns whether this Entity is on the same team as the given Entity.
method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setChargingCrossbow (Z)V params: 1: isCharging method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack class: RangedAttackMob path: net/minecraft/world/entity/monster/RangedAttackMob method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
class: Ravager path: net/minecraft/world/entity/monster/Ravager method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: applyRaidBuffs method: blockedByShield (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: canBeControlledByRider ()Z returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden by a player and the player is holding a carrot-on-a-stick
method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: getControllingPassenger ()Lnet/minecraft/world/entity/Entity; For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example, Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: isImmobile ()Z Dead and sleeping entities cannot move
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: updateControlFlags ()V Sets MOVE, JUMP, LOOK Goal.Flags depending if entity is riding or been controlled
class: Ravager$RavagerMeleeAttackGoal path: net/minecraft/world/entity/monster/Ravager$RavagerMeleeAttackGoal method: getAttackReachSqr (Lnet/minecraft/world/entity/LivingEntity;)D params: 1: attackTarget class: Ravager$RavagerNodeEvaluator path: net/minecraft/world/entity/monster/Ravager$RavagerNodeEvaluator method: evaluateBlockPathType (Lnet/minecraft/world/level/BlockGetter;ZZLnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/BlockPathTypes;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: canOpenDoors, 3: canEnterDoors, 4: pos, 5: nodeType Returns the exact path node type according to abilities and settings of the entity
class: Shulker path: net/minecraft/world/entity/monster/Shulker method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMaxHeadXRot ()I The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playAmbientSound ()V Plays living's sound at its position
method: push (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Applies a velocity to the entities, to push them away from eachother.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setPos (DDD)V params: 1: x, 3: y, 5: z Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box.
method: setRawPeekAmount (I)V Applies or removes armor modifier
method: tick ()V Called to update the entity's position/logic.
class: Shulker$ShulkerAttackGoal path: net/minecraft/world/entity/monster/Shulker$ShulkerAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Shulker$ShulkerBodyRotationControl path: net/minecraft/world/entity/monster/Shulker$ShulkerBodyRotationControl method: clientTick ()V Update the Head and Body rendenring angles
class: Shulker$ShulkerDefenseAttackGoal path: net/minecraft/world/entity/monster/Shulker$ShulkerDefenseAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getTargetSearchArea (D)Lnet/minecraft/world/phys/AABB; params: 1: targetDistance class: Shulker$ShulkerNearestAttackGoal path: net/minecraft/world/entity/monster/Shulker$ShulkerNearestAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getTargetSearchArea (D)Lnet/minecraft/world/phys/AABB; params: 1: targetDistance class: Shulker$ShulkerPeekGoal path: net/minecraft/world/entity/monster/Shulker$ShulkerPeekGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Silverfish path: net/minecraft/world/entity/monster/Silverfish method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: setYBodyRot (F)V params: 1: offset Set the render yaw offset
method: tick ()V Called to update the entity's position/logic.
class: Silverfish$SilverfishMergeWithStoneGoal path: net/minecraft/world/entity/monster/Silverfish$SilverfishMergeWithStoneGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Silverfish$SilverfishWakeUpFriendsGoal path: net/minecraft/world/entity/monster/Silverfish$SilverfishWakeUpFriendsGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Skeleton path: net/minecraft/world/entity/monster/Skeleton method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: Slime path: net/minecraft/world/entity/monster/Slime method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: dealDamage (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: doPlayJumpSound ()Z Returns true if the slime makes a sound when it jumps (based upon the slime's size)
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getJumpDelay ()I Gets the amount of time the slime needs to wait between jumps.
method: getMaxHeadXRot ()I The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves.
method: getSize ()I Returns the size of the slime.
method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: isDealsDamage ()Z Indicates weather the slime is able to damage the player (based upon the slime's size)
method: jumpFromGround ()V Causes this entity to do an upwards motion (jumping).
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: push (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Applies a velocity to the entities, to push them away from eachother.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setSize (IZ)V params: 1: size, 2: resetHealth method: tick ()V Called to update the entity's position/logic.
class: Slime$SlimeAttackGoal path: net/minecraft/world/entity/monster/Slime$SlimeAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: Slime$SlimeFloatGoal path: net/minecraft/world/entity/monster/Slime$SlimeFloatGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Slime$SlimeKeepOnJumpingGoal path: net/minecraft/world/entity/monster/Slime$SlimeKeepOnJumpingGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Slime$SlimeMoveControl path: net/minecraft/world/entity/monster/Slime$SlimeMoveControl method: setDirection (FZ)V params: 1: yRot, 2: aggressive method: setWantedMovement class: Slime$SlimeRandomDirectionGoal path: net/minecraft/world/entity/monster/Slime$SlimeRandomDirectionGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: SpellcasterIllager path: net/minecraft/world/entity/monster/SpellcasterIllager method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setIsCastingSpell (Lnet/minecraft/world/entity/monster/SpellcasterIllager$IllagerSpell;)V params: 1: spellType method: tick ()V Called to update the entity's position/logic.
class: SpellcasterIllager$IllagerSpell path: net/minecraft/world/entity/monster/SpellcasterIllager$IllagerSpell method: byId (I)Lnet/minecraft/world/entity/monster/SpellcasterIllager$IllagerSpell; params: 0: id class: SpellcasterIllager$SpellcasterCastingSpellGoal path: net/minecraft/world/entity/monster/SpellcasterIllager$SpellcasterCastingSpellGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: SpellcasterIllager$SpellcasterUseSpellGoal path: net/minecraft/world/entity/monster/SpellcasterIllager$SpellcasterUseSpellGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: tick ()V Keep ticking a continuous task that has already been started
class: Spider path: net/minecraft/world/entity/monster/Spider method: canBeAffected (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: potioneffect method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: isClimbing ()Z Returns true if the WatchableObject (Byte) is 0x01 otherwise returns false. The WatchableObject is updated using setBesideClimableBlock.
method: makeStuckInBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/Vec3;)V params: 1: state, 2: motionMultiplier method: onClimbable ()Z Returns true if this entity should move as if it were on a ladder (either because it's actually on a ladder, or for AI reasons)
method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: setClimbing (Z)V params: 1: climbing Updates the WatchableObject (Byte) created in entityInit(), setting it to 0x01 if par1 is true or 0x00 if it is false.
method: tick ()V Called to update the entity's position/logic.
class: Spider$SpiderAttackGoal path: net/minecraft/world/entity/monster/Spider$SpiderAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: getAttackReachSqr (Lnet/minecraft/world/entity/LivingEntity;)D params: 1: attackTarget class: Spider$SpiderEffectsGroupData path: net/minecraft/world/entity/monster/Spider$SpiderEffectsGroupData method: setRandomEffect (Ljava/util/Random;)V params: 1: rand class: Spider$SpiderTargetGoal path: net/minecraft/world/entity/monster/Spider$SpiderTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
class: Stray path: net/minecraft/world/entity/monster/Stray method: getArrow (Lnet/minecraft/world/item/ItemStack;F)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 1: arrowStack, 2: distanceFactor Fires an arrow
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource class: Strider path: net/minecraft/world/entity/monster/Strider method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canAddPassenger (Lnet/minecraft/world/entity/Entity;)Z params: 1: passenger method: canBeControlledByRider ()Z returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden by a player and the player is holding a carrot-on-a-stick
method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getControllingPassenger ()Lnet/minecraft/world/entity/Entity; For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example, Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
method: getDismountLocationForPassenger (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: isFood (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on the animal type)
method: isOnFire ()Z Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: tick ()V Called to update the entity's position/logic.
method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector method: travelWithInput (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVec class: Strider$StriderGoToLavaGoal path: net/minecraft/world/entity/monster/Strider$StriderGoToLavaGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isValidTarget (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos Return true to set given position as destination
class: Strider$StriderPathNavigation path: net/minecraft/world/entity/monster/Strider$StriderPathNavigation method: isStableDestination (Lnet/minecraft/core/BlockPos;)Z params: 1: pos class: Vex path: net/minecraft/world/entity/monster/Vex method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getBrightness ()F Gets how bright this entity is.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getVexFlag method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBoundOrigin (Lnet/minecraft/core/BlockPos;)V params: 1: boundOrigin method: setIsCharging method: setLimitedLife (I)V params: 1: limitedLifeTicks method: setOwner (Lnet/minecraft/world/entity/Mob;)V params: 1: owner method: setVexFlag (IZ)V params: 1: mask, 2: value method: tick ()V Called to update the entity's position/logic.
class: Vex$VexChargeAttackGoal path: net/minecraft/world/entity/monster/Vex$VexChargeAttackGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Vex$VexCopyOwnerTargetGoal path: net/minecraft/world/entity/monster/Vex$VexCopyOwnerTargetGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Vex$VexRandomMoveGoal path: net/minecraft/world/entity/monster/Vex$VexRandomMoveGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Vindicator path: net/minecraft/world/entity/monster/Vindicator method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: applyRaidBuffs method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: isAlliedTo (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns whether this Entity is on the same team as the given Entity.
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name class: Vindicator$VindicatorBreakDoorGoal path: net/minecraft/world/entity/monster/Vindicator$VindicatorBreakDoorGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Vindicator$VindicatorJohnnyAttackGoal path: net/minecraft/world/entity/monster/Vindicator$VindicatorJohnnyAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
class: Vindicator$VindicatorMeleeAttackGoal path: net/minecraft/world/entity/monster/Vindicator$VindicatorMeleeAttackGoal method: getAttackReachSqr (Lnet/minecraft/world/entity/LivingEntity;)D params: 1: attackTarget class: Witch path: net/minecraft/world/entity/monster/Witch method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: applyRaidBuffs method: getDamageAfterMagicAbsorb (Lnet/minecraft/world/damagesource/DamageSource;F)F params: 1: source, 2: damage Reduces damage, depending on potions
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: performRangedAttack (Lnet/minecraft/world/entity/LivingEntity;F)V params: 1: target, 2: distanceFactor Attack the specified entity using a ranged attack.
method: setUsingItem (Z)V params: 1: drinkingPotion Set whether this witch is aggressive at an entity.
class: WitherSkeleton path: net/minecraft/world/entity/monster/WitherSkeleton method: canBeAffected (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: potioneffect method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getArrow (Lnet/minecraft/world/item/ItemStack;F)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 1: arrowStack, 2: distanceFactor Fires an arrow
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: populateDefaultEquipmentEnchantments (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Enchants Entity's current equipments based on given DifficultyInstance
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
class: Zoglin path: net/minecraft/world/entity/monster/Zoglin method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: blockedByShield (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isBaby ()Z If Animal, checks if the age timer is negative
method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: dynamic method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBaby (Z)V params: 1: childZombie Set whether this zombie is a child.
class: Zombie path: net/minecraft/world/entity/monster/Zombie method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: canHoldItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: handleAttributes (F)V params: 1: difficulty method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isBaby ()Z If Animal, checks if the age timer is negative
method: killed (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: killedEntity method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBaby (Z)V params: 1: childZombie Set whether this zombie is a child.
method: setCanBreakDoors (Z)V params: 1: enabled Sets or removes EntityAIBreakDoor task
method: tick ()V Called to update the entity's position/logic.
class: Zombie$ZombieAttackTurtleEggGoal path: net/minecraft/world/entity/monster/Zombie$ZombieAttackTurtleEggGoal method: playBreakSound (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: playDestroyProgressSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos class: ZombieVillager path: net/minecraft/world/entity/monster/ZombieVillager method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getVoicePitch ()F Gets the pitch of living sounds in living entities.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: isConverting ()Z Returns whether this zombie is in the process of converting to a villager
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: startConverting (Ljava/util/UUID;I)V params: 1: conversionStarter, 2: conversionTime Starts conversion of this zombie villager to a villager
method: tick ()V Called to update the entity's position/logic.
class: ZombifiedPiglin path: net/minecraft/world/entity/monster/ZombifiedPiglin method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setRemainingPersistentAngerTime method: setTarget (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingEntity Sets the active target the Task system uses for tracking
npc class: AbstractVillager path: net/minecraft/world/entity/npc/AbstractVillager method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addOffersFromItemListings (Lnet/minecraft/world/item/trading/MerchantOffers;[Lnet/minecraft/world/entity/npc/VillagerTrades$ItemListing;I)V params: 1: givenMerchantOffers, 2: newTrades, 3: maxNumbers add limites numbers of trades to the given MerchantOffers
method: addParticlesAroundSelf (Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: particleData method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: changeDimension (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: server method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getRopeHoldPosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getTradeUpdatedSound (Z)Lnet/minecraft/sounds/SoundEvent; params: 1: getYesSound method: notifyTrade (Lnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: offer method: notifyTradeUpdated (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Notifies the merchant of a possible merchantrecipe being fulfilled or not. Usually, this is just a sound byte being played depending if the suggested itemstack is not null.
method: overrideOffers (Lnet/minecraft/world/item/trading/MerchantOffers;)V params: 1: offers method: overrideXp method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: rewardTradeXp (Lnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: offer method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: setTradingPlayer (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: setUnhappyCounter class: CatSpawner path: net/minecraft/world/entity/npc/CatSpawner method: spawnCat (Lnet/minecraft/core/BlockPos;Lnet/minecraft/server/level/ServerLevel;)I params: 1: pos, 2: level method: tick (Lnet/minecraft/server/level/ServerLevel;ZZ)I params: 1: level, 2: spawnHostiles, 3: spawnPassives class: ClientSideMerchant path: net/minecraft/world/entity/npc/ClientSideMerchant method: notifyTrade (Lnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: offer method: notifyTradeUpdated (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Notifies the merchant of a possible merchantrecipe being fulfilled or not. Usually, this is just a sound byte being played depending if the suggested itemstack is not null.
method: overrideOffers (Lnet/minecraft/world/item/trading/MerchantOffers;)V params: 1: offers method: overrideXp method: setTradingPlayer (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: Villager path: net/minecraft/world/entity/npc/Villager field: FOOD_POINTS Ljava/util/Map; Mapping between valid food items and their respective efficiency values.
field: WANTED_ITEMS Ljava/util/Set; Defaults items a villager regardless of its profession can pick up.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: countFoodPointsInInventory ()I @return calculated food value from item stacks in this villager's inventory
method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: digestFood method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: findSpawnPositionForGolemInColumn (Lnet/minecraft/core/BlockPos;DD)Lnet/minecraft/core/BlockPos; params: 1: pos, 2: x, 4: z method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getPlayerReputation (Lnet/minecraft/world/entity/player/Player;)I params: 1: player method: golemSpawnConditionsMet method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hasExcessFood ()Z Used by {@link net.minecraft.entity.ai.EntityAIVillagerInteract EntityAIVillagerInteract} to check if the villager can give some items from an inventory to another villager.
method: hasFarmSeeds ()Z Returns true if villager has seeds, potatoes or carrots in inventory
method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: dynamic method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: onReputationEventFrom (Lnet/minecraft/world/entity/ai/village/ReputationEventType;Lnet/minecraft/world/entity/Entity;)V params: 1: type, 2: target method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: refreshBrain (Lnet/minecraft/server/level/ServerLevel;)V params: 1: serverLevel method: registerBrainGoals (Lnet/minecraft/world/entity/ai/Brain;)V params: 1: villagerBrain method: releasePoi (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)V params: 1: moduleType method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: rewardTradeXp (Lnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: offer method: setGossips (Lnet/minecraft/nbt/Tag;)V params: 1: gossip method: setLastHurtByMob (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingBase Hint to AI tasks that we were attacked by the passed EntityLivingBase and should retaliate. Is not guaranteed to change our actual active target (for example if we are currently busy attacking someone else)
method: setOffers (Lnet/minecraft/world/item/trading/MerchantOffers;)V params: 1: offers method: setTradingPlayer (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: setVillagerXp method: startSleeping (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: startTrading (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: tellWitnessesThatIWasMurdered (Lnet/minecraft/world/entity/Entity;)V params: 1: murderer method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: tick ()V Called to update the entity's position/logic.
method: updateSpecialPrices (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: wantsToSpawnGolem class: VillagerData path: net/minecraft/world/entity/npc/VillagerData method: canLevelUp method: getMaxXpPerLevel method: getMinXpPerLevel method: setLevel (I)Lnet/minecraft/world/entity/npc/VillagerData; params: 1: level method: setProfession (Lnet/minecraft/world/entity/npc/VillagerProfession;)Lnet/minecraft/world/entity/npc/VillagerData; params: 1: profession method: setType (Lnet/minecraft/world/entity/npc/VillagerType;)Lnet/minecraft/world/entity/npc/VillagerData; params: 1: type class: VillagerProfession path: net/minecraft/world/entity/npc/VillagerProfession field: requestedItems Lcom/google/common/collect/ImmutableSet; Defines items villagers of this profession can pick up and use.
field: secondaryPoi Lcom/google/common/collect/ImmutableSet; World blocks this profession interracts with.
method: getRequestedItems ()Lcom/google/common/collect/ImmutableSet; @return A shared static immutable set of the specific items this profession can handle.
method: getSecondaryPoi ()Lcom/google/common/collect/ImmutableSet; @return A shared static immutable set of the world blocks this profession interracts with beside job site block.
method: register (Ljava/lang/String;Lnet/minecraft/world/entity/ai/village/poi/PoiType;Lcom/google/common/collect/ImmutableSet;Lcom/google/common/collect/ImmutableSet;Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/world/entity/npc/VillagerProfession; params: 0: name, 1: pointOfInterest, 2: specificItems, 3: relatedLevelBlocks, 4: sound method: register (Ljava/lang/String;Lnet/minecraft/world/entity/ai/village/poi/PoiType;Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/world/entity/npc/VillagerProfession; params: 0: name, 1: pointOfInterest, 2: sound class: VillagerTrades path: net/minecraft/world/entity/npc/VillagerTrades method: toIntMap (Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap; params: 0: map class: VillagerTrades$DyedArmorForEmeralds path: net/minecraft/world/entity/npc/VillagerTrades$DyedArmorForEmeralds method: <init> (Lnet/minecraft/world/item/Item;I)V params: 1: item, 2: value method: <init> (Lnet/minecraft/world/item/Item;III)V params: 1: item, 2: value, 3: maxUses, 4: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand method: getRandomDye (Ljava/util/Random;)Lnet/minecraft/world/item/DyeItem; params: 0: random class: VillagerTrades$EmeraldForItems path: net/minecraft/world/entity/npc/VillagerTrades$EmeraldForItems method: <init> (Lnet/minecraft/world/level/ItemLike;III)V params: 1: item, 2: cost, 3: maxUses, 4: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$EmeraldsForVillagerTypeItem path: net/minecraft/world/entity/npc/VillagerTrades$EmeraldsForVillagerTypeItem method: <init> (IIILjava/util/Map;)V params: 1: cost, 2: maxUses, 3: villagerXp, 4: trades method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$EnchantBookForEmeralds path: net/minecraft/world/entity/npc/VillagerTrades$EnchantBookForEmeralds method: <init> (I)V params: 1: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$EnchantedItemForEmeralds path: net/minecraft/world/entity/npc/VillagerTrades$EnchantedItemForEmeralds method: <init> (Lnet/minecraft/world/item/Item;III)V params: 1: item, 2: baseEmeraldCost, 3: maxUses, 4: villagerXp method: <init> (Lnet/minecraft/world/item/Item;IIIF)V params: 1: item, 2: baseEmeraldCost, 3: maxUses, 4: villagerXp, 5: priceMultiplier method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$ItemListing path: net/minecraft/world/entity/npc/VillagerTrades$ItemListing method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$ItemsAndEmeraldsToItems path: net/minecraft/world/entity/npc/VillagerTrades$ItemsAndEmeraldsToItems method: <init> (Lnet/minecraft/world/level/ItemLike;IILnet/minecraft/world/item/Item;III)V params: 1: forItem, 2: fromCount, 3: emeraldCost, 4: toItem, 5: toCount, 6: maxUses, 7: villagerXp method: <init> (Lnet/minecraft/world/level/ItemLike;ILnet/minecraft/world/item/Item;III)V params: 1: forItem, 2: fromCount, 3: toItem, 4: toCount, 5: maxUses, 6: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$ItemsForEmeralds path: net/minecraft/world/entity/npc/VillagerTrades$ItemsForEmeralds method: <init> (Lnet/minecraft/world/item/Item;III)V params: 1: item, 2: emeraldCost, 3: numberOfItems, 4: villagerXp method: <init> (Lnet/minecraft/world/item/Item;IIII)V params: 1: item, 2: emeraldCost, 3: numberOfItems, 4: maxUses, 5: villagerXp method: <init> (Lnet/minecraft/world/item/ItemStack;IIII)V params: 1: itemStack, 2: emeraldCost, 3: numberOfItems, 4: maxUses, 5: villagerXp method: <init> (Lnet/minecraft/world/item/ItemStack;IIIIF)V params: 1: itemStack, 2: emeralCost, 3: numberOfItems, 4: maxUses, 5: villagerXp, 6: priceMultiplier method: <init> (Lnet/minecraft/world/level/block/Block;IIII)V params: 1: block, 2: emeraldCost, 3: numberOfItems, 4: maxUses, 5: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$SuspisciousStewForEmerald path: net/minecraft/world/entity/npc/VillagerTrades$SuspisciousStewForEmerald method: <init> (Lnet/minecraft/world/effect/MobEffect;II)V params: 1: effect, 2: duration, 3: xp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$TippedArrowForItemsAndEmeralds path: net/minecraft/world/entity/npc/VillagerTrades$TippedArrowForItemsAndEmeralds field: toItem Lnet/minecraft/world/item/ItemStack; An ItemStack that can have potion effects written to it.
method: <init> (Lnet/minecraft/world/item/Item;ILnet/minecraft/world/item/Item;IIII)V params: 1: fromItem, 2: fromCount, 3: toItem, 4: toCount, 5: emeraldCost, 6: maxUses, 7: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerTrades$TreasureMapForEmeralds path: net/minecraft/world/entity/npc/VillagerTrades$TreasureMapForEmeralds method: <init> (ILnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/saveddata/maps/MapDecoration$Type;II)V params: 1: emeraldCost, 2: destination, 3: destinationType, 4: maxUses, 5: villagerXp method: getOffer (Lnet/minecraft/world/entity/Entity;Ljava/util/Random;)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: trader, 2: rand class: VillagerType path: net/minecraft/world/entity/npc/VillagerType method: <init> (Ljava/lang/String;)V params: 1: name method: register (Ljava/lang/String;)Lnet/minecraft/world/entity/npc/VillagerType; params: 0: key class: WanderingTrader path: net/minecraft/world/entity/npc/WanderingTrader method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: getDrinkingSound (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/sounds/SoundEvent; params: 1: stack method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getTradeUpdatedSound (Z)Lnet/minecraft/sounds/SoundEvent; params: 1: getYesSound method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: rewardTradeXp (Lnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: offer method: setDespawnDelay method: setWanderTarget (Lnet/minecraft/core/BlockPos;)V params: 1: pos class: WanderingTrader$WanderToPositionGoal path: net/minecraft/world/entity/npc/WanderingTrader$WanderToPositionGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: isTooFarAway (Lnet/minecraft/core/BlockPos;D)Z params: 1: pos, 2: distance method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: WanderingTraderSpawner path: net/minecraft/world/entity/npc/WanderingTraderSpawner method: tick (Lnet/minecraft/server/level/ServerLevel;ZZ)I params: 1: level, 2: spawnHostiles, 3: spawnPassives player class: Abilities path: net/minecraft/world/entity/player/Abilities method: addSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tagCompound method: loadSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tagCompound method: setFlyingSpeed method: setWalkingSpeed class: Inventory path: net/minecraft/world/entity/player/Inventory method: add (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slot, 2: stack Adds the stack to the specified slot in the player's inventory. Returns {@code false} if it's not possible to place the entire stack in the inventory.
method: add (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemStack Adds the stack to the first empty slot in the player's inventory. Returns {@code false} if it's not possible to place the entire stack in the inventory.
method: addResource (Lnet/minecraft/world/item/ItemStack;)I params: 1: itemStack This function stores as many items of an ItemStack as possible in a matching slot and returns the quantity of left over items.
method: contains (Lnet/minecraft/tags/Tag;)Z params: 1: itemTag method: contains (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemStack Returns true if the specified ItemStack exists in the inventory.
method: dropAll ()V Drop all armor and main inventory items.
method: findSlotMatchingItem (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack Finds the stack or an equivalent one in the main inventory
method: getArmor (I)Lnet/minecraft/world/item/ItemStack; params: 1: slot returns a player armor item (as itemstack) contained in specified armor slot.
method: getContainerSize ()I Returns the number of slots in the inventory.
method: getDestroySpeed (Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: state method: getFreeSlot ()I Returns the first item stack that is empty.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: getSelected ()Lnet/minecraft/world/item/ItemStack; Returns the item stack currently held by the player.
method: getSelectionSize ()I Get the size of the player hotbar inventory
method: getSlotWithRemainingSpace (Lnet/minecraft/world/item/ItemStack;)I params: 1: itemStack Stores a stack in the player's inventory. It first tries to place it in the selected slot in the player's hotbar, then the offhand slot, then any available/empty slot in the player's inventory.
method: hasRemainingSpaceForItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack1, 2: stack2 method: isHotbarSlot method: load (Lnet/minecraft/nbt/ListTag;)V params: 1: nbtTagList Reads from the given tag list and fills the slots in the inventory with the correct items.
method: pickSlot method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: replaceWith (Lnet/minecraft/world/entity/player/Inventory;)V params: 1: playerInventory Copy the ItemStack contents from another InventoryPlayer instance
method: save (Lnet/minecraft/nbt/ListTag;)Lnet/minecraft/nbt/ListTag; params: 1: nbtTagList Writes the inventory out as a list of compound tags. This is where the slot indices are used (+100 for armor, +80 for crafting).
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setPickedItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
method: swapPaint method: tick ()V Decrement the number of animations remaining. Only called on client side. This is used to handle the animation of receiving a block.
class: Player path: net/minecraft/world/entity/player/Player field: gameProfile Lcom/mojang/authlib/GameProfile; The player's unique game profile
method: actuallyHurt (Lnet/minecraft/world/damagesource/DamageSource;F)V params: 1: damageSrc, 2: damageAmount Deals damage to the entity. This will take the armor of the entity into consideration before damaging the health bar.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: attack (Lnet/minecraft/world/entity/Entity;)V params: 1: targetEntity Attacks for the player the targeted entity with the currently equipped item. The equipped item has hitEntity called on it. Args: targetEntity
method: awardStat (Lnet/minecraft/resources/ResourceLocation;)V params: 1: stat method: awardStat (Lnet/minecraft/stats/Stat;)V params: 1: stat Add a stat once
method: awardStat (Lnet/minecraft/stats/Stat;I)V params: 1: stat, 2: amount Adds a value to a statistic field.
method: blockActionRestricted (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/GameType;)Z params: 1: level, 2: pos, 3: gameMode method: blockUsingShield (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: canEat (Z)Z params: 1: ignoreHunger method: canHarmPlayer (Lnet/minecraft/world/entity/player/Player;)Z params: 1: other method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: causeFoodExhaustion (F)V params: 1: exhaustion increases exhaustion level by supplied amount
method: checkMovementStatistics (DDD)V Adds a value to a movement statistic field - like run, walk, swin or climb.
method: checkRidingStatistics (DDD)V Adds a value to a mounted movement statistic field - by minecart, boat, or pig.
method: closeContainer ()V set current crafting inventory back to the 2x2 square
method: createPlayerUUID (Lcom/mojang/authlib/GameProfile;)Ljava/util/UUID; params: 0: profile Gets a players UUID given their GameProfie
method: createPlayerUUID (Ljava/lang/String;)Ljava/util/UUID; params: 0: username method: crit (Lnet/minecraft/world/entity/Entity;)V params: 1: entityHit Called when the entity is dealt a critical hit.
method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: displayClientMessage (Lnet/minecraft/network/chat/Component;Z)V params: 1: chatComponent, 2: actionBar method: doWaterSplashEffect ()V Plays the {@link #getSplashSound() splash sound}, and the {@link ParticleType#WATER_BUBBLE} and {@link ParticleType#WATER_SPLASH} particles.
method: drop (Lnet/minecraft/world/item/ItemStack;Z)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: itemStack, 2: unused Drops an item into the world.
method: drop (Lnet/minecraft/world/item/ItemStack;ZZ)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: droppedItem, 2: dropAround, 3: traceItem Creates and drops the provided item. Depending on the dropAround, it will drop teh item around the player, instead of dropping the item from where the player is pointing at. Likewise, if traceItem is true, the dropped item entity will have the thrower set as the player.
method: freeAt (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: getAbsorptionAmount ()F Returns the amount of health added by the Absorption effect.
method: getAttackStrengthScale (F)F params: 1: adjustTicks Returns the percentage of attack power available based on the cooldown (zero to one).
method: getDestroySpeed (Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: state method: getDimensionChangingDelay ()I Return the amount of cooldown before this entity can use a portal again.
method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getEnderChestInventory ()Lnet/minecraft/world/inventory/PlayerEnderChestContainer; Returns the InventoryEnderChest of this player.
method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getFallDamageSound (I)Lnet/minecraft/sounds/SoundEvent; params: 1: height method: getFoodData ()Lnet/minecraft/world/food/FoodData; Returns the player's FoodStats object.
method: getGameProfile ()Lcom/mojang/authlib/GameProfile; Returns the GameProfile for this player
method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getItemBySlot (Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; params: 1: slot method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getPortalWaitTime ()I Return the amount of time this entity should stay in a portal before being transported.
method: getProjectile (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: shootable method: getRopeHoldPosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getScoreboardName ()Ljava/lang/String; Returns a String to use as this entity's name in the scoreboard/entity selector systems
method: getSpeed ()F the movespeed used for the new AI system
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getXpNeededForNextLevel ()I This method returns the cap amount of experience that the experience bar can hold. With each level, the experience cap on the player's experience bar is raised by 10.
method: giveExperienceLevels (I)V params: 1: levels Add experience levels to this player.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: hurtArmor (Lnet/minecraft/world/damagesource/DamageSource;F)V params: 1: damageSource, 2: damage method: hurtCurrentlyUsedShield method: increaseScore (I)V params: 1: score Add to player's score
method: interactOn (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: entityToInteractOn, 2: hand method: isAlwaysExperienceDropper ()Z Only use is to identify if class is an instance of player for experience dropping
method: isHurt ()Z Checks if the player's health is not full and not zero.
method: isImmobile ()Z Dead and sleeping entities cannot move
method: isInvulnerableTo (Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: source Returns whether this Entity is invulnerable to the given DamageSource.
method: isLocalPlayer ()Z returns true if this is an EntityPlayerSP, or the logged in player.
method: isModelPartShown (Lnet/minecraft/world/entity/player/PlayerModelPart;)Z params: 1: part method: isReducedDebugInfo ()Z Whether the "reducedDebugInfo" option is active for this player.
method: isSleepingLongEnough ()Z Returns whether or not the player is asleep and the screen has fully faded.
method: isSpectator ()Z Returns true if the player is in spectator mode.
method: jumpFromGround ()V Causes this entity to do an upwards motion (jumping).
method: killed (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: killedEntity method: magicCrit (Lnet/minecraft/world/entity/Entity;)V params: 1: entityHit method: makeStuckInBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/Vec3;)V params: 1: state, 2: motionMultiplier method: mayUseItemAt (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/world/item/ItemStack;)Z params: 1: pos, 2: facing, 3: stack Returns whether this player can modify the block at a certain location with the given stack.
<p>
The position being queried is {@code pos.offset(facing.getOpposite()))}.
@return Whether this player may modify the queried location in the current world
@see ItemStack#canPlaceOn(Block)
@see ItemStack#canEditBlocks()
@see PlayerCapabilities#allowEdit
method: maybeBackOffFromEdge (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/MoverType;)Lnet/minecraft/world/phys/Vec3; params: 1: vec, 2: mover method: onEnchantmentPerformed (Lnet/minecraft/world/item/ItemStack;I)V params: 1: enchantedItem, 2: cost method: onUpdateAbilities ()V Sends the player's abilities to the server (if there is one).
method: openCommandBlock (Lnet/minecraft/world/level/block/entity/CommandBlockEntity;)V params: 1: commandBlock method: openHorseInventory (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;Lnet/minecraft/world/Container;)V params: 1: horse, 2: inventory method: openItemGui (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)V params: 1: stack, 2: hand method: openJigsawBlock (Lnet/minecraft/world/level/block/entity/JigsawBlockEntity;)V params: 1: jigsawEntity method: openMinecartCommandBlock (Lnet/minecraft/world/level/BaseCommandBlock;)V params: 1: commandEntity method: openStructureBlock (Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)V params: 1: structureEntity method: openTextEdit (Lnet/minecraft/world/level/block/entity/SignBlockEntity;)V params: 1: signEntity method: playSound (Lnet/minecraft/sounds/SoundEvent;FF)V params: 1: sound, 2: volume, 3: pitch method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: resetStat (Lnet/minecraft/stats/Stat;)V params: 1: stat method: rideTick ()V Handles updating while riding another entity
method: sendMerchantOffers (ILnet/minecraft/world/item/trading/MerchantOffers;IIZZ)V params: 1: containerId, 2: offers, 3: level, 4: xp method: setAbsorptionAmount method: setItemSlot (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setMainArm (Lnet/minecraft/world/entity/HumanoidArm;)V params: 1: hand method: setReducedDebugInfo (Z)V params: 1: reducedDebug method: setRemainingFireTicks method: setScore (I)V params: 1: score Set player's score
method: setShoulderEntityLeft (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag method: setShoulderEntityRight (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: startSleepInBed (Lnet/minecraft/core/BlockPos;)Lcom/mojang/datafixers/util/Either; params: 1: at method: tick ()V Called to update the entity's position/logic.
method: touch (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: StackedContents path: net/minecraft/world/entity/player/StackedContents method: accountSimpleStack (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: accountStack (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: canCraft (Lnet/minecraft/world/item/crafting/Recipe;Lit/unimi/dsi/fastutil/ints/IntList;)Z params: 1: recipe, 2: packedItemList method: canCraft (Lnet/minecraft/world/item/crafting/Recipe;Lit/unimi/dsi/fastutil/ints/IntList;I)Z params: 1: recipe, 2: packedItemList, 3: maxAmount method: fromStackingIndex (I)Lnet/minecraft/world/item/ItemStack; params: 0: packedItem method: getBiggestCraftableStack (Lnet/minecraft/world/item/crafting/Recipe;ILit/unimi/dsi/fastutil/ints/IntList;)I params: 1: recipe, 2: maxAmount, 3: packedItemList method: getBiggestCraftableStack (Lnet/minecraft/world/item/crafting/Recipe;Lit/unimi/dsi/fastutil/ints/IntList;)I params: 1: recipe, 2: packedItemList method: getStackingIndex (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack method: has (I)Z params: 1: packedItem method: put (II)V params: 1: packedItem, 2: amount method: take (II)I params: 1: packedItem, 2: maximum class: StackedContents$RecipePicker path: net/minecraft/world/entity/player/StackedContents$RecipePicker method: dfs method: tryPick (ILit/unimi/dsi/fastutil/ints/IntList;)Z params: 1: maxAmount, 2: list method: tryPickAll (ILit/unimi/dsi/fastutil/ints/IntList;)I params: 2: list projectile class: AbstractArrow path: net/minecraft/world/entity/projectile/AbstractArrow method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: doPostHurtEffects (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: living method: findHitEntity (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/EntityHitResult; params: 1: startVec, 2: endVec Gets the EntityRayTraceResult representing the entity hit
method: getDefaultHitGroundSoundEvent ()Lnet/minecraft/sounds/SoundEvent; The sound made when an entity is hit by this projectile
method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: isCritArrow ()Z Whether the arrow has a stream of critical hit particles flying behind it.
method: isNoPhysics ()Z Whether the arrow can noClip
method: lerpMotion (DDD)V params: 1: x, 3: y, 5: z Updates the entity motion clientside, called by packets from the server
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBaseDamage method: setCritArrow (Z)V params: 1: critical Whether the arrow has a stream of critical hit particles flying behind it.
method: setKnockback (I)V params: 1: knockbackStrength Sets the amount of knockback the arrow applies when it hits a mob.
method: setNoPhysics (Z)V params: 1: noClip Sets if this arrow can noClip
method: setOwner (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: setPierceLevel method: setShotFromCrossbow (Z)V params: 1: fromCrossbow Sets data about if this arrow entity was shot from a crossbow
method: setSoundEvent (Lnet/minecraft/sounds/SoundEvent;)V params: 1: sound method: shoot (DDDFF)V params: 1: x, 3: y, 5: z, 7: velocity, 8: inaccuracy Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction.
method: shotFromCrossbow ()Z Whether the arrow was shot from a crossbow.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: AbstractArrow$Pickup path: net/minecraft/world/entity/projectile/AbstractArrow$Pickup method: byOrdinal (I)Lnet/minecraft/world/entity/projectile/AbstractArrow$Pickup; params: 0: ordinal class: AbstractHurtingProjectile path: net/minecraft/world/entity/projectile/AbstractHurtingProjectile method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getBrightness ()F Gets how bright this entity is.
method: getInertia ()F Return the motion factor for this projectile. The factor is multiplied by the original motion.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: Arrow path: net/minecraft/world/entity/projectile/Arrow method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addEffect (Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effect method: doPostHurtEffects (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: living method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: makeParticle (I)V params: 1: particleCount method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setEffectsFromItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: tick ()V Called to update the entity's position/logic.
class: DragonFireball path: net/minecraft/world/entity/projectile/DragonFireball method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
class: EvokerFangs path: net/minecraft/world/entity/projectile/EvokerFangs method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getAnimationProgress (F)F params: 1: partialTicks method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: tick ()V Called to update the entity's position/logic.
class: EyeOfEnder path: net/minecraft/world/entity/projectile/EyeOfEnder method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: getBrightness ()F Gets how bright this entity is.
method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: lerpMotion (DDD)V params: 1: x, 3: y, 5: z Updates the entity motion clientside, called by packets from the server
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: signalTo (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: tick ()V Called to update the entity's position/logic.
class: Fireball path: net/minecraft/world/entity/projectile/Fireball method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: FireworkRocketEntity path: net/minecraft/world/entity/projectile/FireworkRocketEntity method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: shouldRender (DDD)Z params: 1: x, 3: y, 5: z method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: FishingHook path: net/minecraft/world/entity/projectile/FishingHook method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canChangeDimensions ()Z Returns false if this Entity can't move between dimensions. True if it can.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: LargeFireball path: net/minecraft/world/entity/projectile/LargeFireball method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: LlamaSpit path: net/minecraft/world/entity/projectile/LlamaSpit method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: tick ()V Called to update the entity's position/logic.
class: Projectile path: net/minecraft/world/entity/projectile/Projectile method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: lerpMotion (DDD)V params: 1: x, 3: y, 5: z Updates the entity motion clientside, called by packets from the server
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setOwner (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: shoot (DDDFF)V params: 1: x, 3: y, 5: z, 7: velocity, 8: inaccuracy Similar to setArrowHeading, it's point the throwable entity to a x, y, z direction.
method: shootFromRotation (Lnet/minecraft/world/entity/Entity;FFFFF)V params: 1: projectile, 2: x, 3: y, 4: z, 5: velocity, 6: inaccuracy method: tick ()V Called to update the entity's position/logic.
class: ProjectileUtil path: net/minecraft/world/entity/projectile/ProjectileUtil method: getEntityHitResult (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;D)Lnet/minecraft/world/phys/EntityHitResult; params: 0: shooter, 1: startVec, 2: endVec, 3: boundingBox, 4: filter, 5: distance Gets the EntityRayTraceResult representing the entity hit
method: getEntityHitResult (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;F)Lnet/minecraft/world/phys/EntityHitResult; params: 0: level, 1: projectile, 2: startVec, 3: endVec, 4: boundingBox, 5: filter, 6: distance Gets the EntityRayTraceResult representing the entity hit
method: getMobArrow (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;F)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 0: shooter, 1: arrowStack, 2: distanceFactor method: getWeaponHoldingHand (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/InteractionHand; params: 0: living, 1: item method: rotateTowardsMovement (Lnet/minecraft/world/entity/Entity;F)V params: 0: projectile, 1: rotationSpeed class: ShulkerBullet path: net/minecraft/world/entity/projectile/ShulkerBullet method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: checkDespawn ()V Makes the entity despawn if requirements are reached
method: getBrightness ()F Gets how bright this entity is.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isOnFire ()Z Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setMoveDirection (Lnet/minecraft/core/Direction;)V params: 1: direction method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: SmallFireball path: net/minecraft/world/entity/projectile/SmallFireball method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
class: Snowball path: net/minecraft/world/entity/projectile/Snowball method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
class: SpectralArrow path: net/minecraft/world/entity/projectile/SpectralArrow method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: doPostHurtEffects (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: living method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: tick ()V Called to update the entity's position/logic.
class: ThrowableItemProjectile path: net/minecraft/world/entity/projectile/ThrowableItemProjectile method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack class: ThrowableProjectile path: net/minecraft/world/entity/projectile/ThrowableProjectile method: getGravity ()F Gets the amount of gravity to apply to the thrown entity with each tick.
method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: tick ()V Called to update the entity's position/logic.
class: ThrownEgg path: net/minecraft/world/entity/projectile/ThrownEgg method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
class: ThrownEnderpearl path: net/minecraft/world/entity/projectile/ThrownEnderpearl method: changeDimension (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: server method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: tick ()V Called to update the entity's position/logic.
class: ThrownExperienceBottle path: net/minecraft/world/entity/projectile/ThrownExperienceBottle method: getGravity ()F Gets the amount of gravity to apply to the thrown entity with each tick.
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
class: ThrownPotion path: net/minecraft/world/entity/projectile/ThrownPotion method: getGravity ()F Gets the amount of gravity to apply to the thrown entity with each tick.
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
class: ThrownTrident path: net/minecraft/world/entity/projectile/ThrownTrident method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: findHitEntity (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/EntityHitResult; params: 1: startVec, 2: endVec Gets the EntityRayTraceResult representing the entity hit
method: getDefaultHitGroundSoundEvent ()Lnet/minecraft/sounds/SoundEvent; The sound made when an entity is hit by this projectile
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: shouldRender (DDD)Z params: 1: x, 3: y, 5: z method: tick ()V Called to update the entity's position/logic.
class: WitherSkull path: net/minecraft/world/entity/projectile/WitherSkull method: getBlockExplosionResistance (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;F)F params: 1: explosion, 2: level, 3: pos, 4: blockState, 5: fluidState, 6: explosionPower Explosion resistance of a block relative to this entity
method: getInertia ()F Return the motion factor for this projectile. The factor is multiplied by the original motion.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isDangerous ()Z Return whether this skull comes from an invulnerable (aura) wither boss.
method: isOnFire ()Z Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: onHit (Lnet/minecraft/world/phys/HitResult;)V params: 1: result Called when this EntityFireball hits a block or entity.
method: onHitEntity (Lnet/minecraft/world/phys/EntityHitResult;)V params: 1: result Called when the arrow hits an entity
method: setDangerous (Z)V params: 1: invulnerable Set whether this skull comes from an invulnerable (aura) wither boss.
raid class: Raid path: net/minecraft/world/entity/raid/Raid method: absorbBadOmen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: getNumGroups (Lnet/minecraft/world/Difficulty;)I params: 1: difficulty method: getPotentialBonusSpawns (Lnet/minecraft/world/entity/raid/Raid$RaiderType;Ljava/util/Random;ILnet/minecraft/world/DifficultyInstance;Z)I params: 3: wave method: joinRaid (ILnet/minecraft/world/entity/raid/Raider;Lnet/minecraft/core/BlockPos;Z)V params: 1: wave method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: nbt method: setLeader (ILnet/minecraft/world/entity/raid/Raider;)V params: 1: raidId class: Raid$RaidStatus path: net/minecraft/world/entity/raid/Raid$RaidStatus method: getByName (Ljava/lang/String;)Lnet/minecraft/world/entity/raid/Raid$RaidStatus; params: 0: name class: Raider path: net/minecraft/world/entity/raid/Raider method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: applyRaidBuffs method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: setCanJoinRaid method: setCelebrating method: setCurrentRaid (Lnet/minecraft/world/entity/raid/Raid;)V params: 1: raid method: setTicksOutsideRaid method: setWave class: Raider$HoldGroundAttackGoal path: net/minecraft/world/entity/raid/Raider$HoldGroundAttackGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Raider$ObtainRaidLeaderBannerGoal path: net/minecraft/world/entity/raid/Raider$ObtainRaidLeaderBannerGoal method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: tick ()V Keep ticking a continuous task that has already been started
class: Raider$RaiderCelebration path: net/minecraft/world/entity/raid/Raider$RaiderCelebration method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Raider$RaiderMoveThroughVillageGoal path: net/minecraft/world/entity/raid/Raider$RaiderMoveThroughVillageGoal method: canContinueToUse ()Z Returns whether an in-progress EntityAIBase should continue executing
method: canUse ()Z Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well.
method: hasNotVisited (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: start ()V Execute a one shot task or start executing a continuous task
method: stop ()V Reset the task's internal state. Called when this task is interrupted by another one
method: tick ()V Keep ticking a continuous task that has already been started
class: Raids path: net/minecraft/world/entity/raid/Raids method: canJoinRaid (Lnet/minecraft/world/entity/raid/Raider;Lnet/minecraft/world/entity/raid/Raid;)Z params: 0: raider, 1: raid method: createOrExtendRaid (Lnet/minecraft/server/level/ServerPlayer;)Lnet/minecraft/world/entity/raid/Raid; params: 1: player method: get (I)Lnet/minecraft/world/entity/raid/Raid; params: 1: id method: getNearbyRaid (Lnet/minecraft/core/BlockPos;I)Lnet/minecraft/world/entity/raid/Raid; params: 1: pos, 2: distance method: getOrCreateRaid (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/entity/raid/Raid; params: 1: level, 2: pos method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
schedule class: Activity path: net/minecraft/world/entity/schedule/Activity method: register (Ljava/lang/String;)Lnet/minecraft/world/entity/schedule/Activity; params: 0: key class: Schedule path: net/minecraft/world/entity/schedule/Schedule method: ensureTimelineExistsFor (Lnet/minecraft/world/entity/schedule/Activity;)V params: 1: activity method: getActivityAt (I)Lnet/minecraft/world/entity/schedule/Activity; params: 1: dayTime method: getAllTimelinesExceptFor (Lnet/minecraft/world/entity/schedule/Activity;)Ljava/util/List; params: 1: activity method: getTimelineFor (Lnet/minecraft/world/entity/schedule/Activity;)Lnet/minecraft/world/entity/schedule/Timeline; params: 1: activity method: register (Ljava/lang/String;)Lnet/minecraft/world/entity/schedule/ScheduleBuilder; params: 0: key class: ScheduleBuilder path: net/minecraft/world/entity/schedule/ScheduleBuilder method: changeActivityAt (ILnet/minecraft/world/entity/schedule/Activity;)Lnet/minecraft/world/entity/schedule/ScheduleBuilder; params: 1: duration, 2: activity class: Timeline path: net/minecraft/world/entity/schedule/Timeline method: addKeyframe (IF)Lnet/minecraft/world/entity/schedule/Timeline; params: 1: duration, 2: active method: getValueAt vehicle class: AbstractMinecart path: net/minecraft/world/entity/vehicle/AbstractMinecart method: activateMinecart (IIIZ)V params: 1: x, 2: y, 3: z, 4: receivingPower Called every tick the minecart is on an activator rail.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: animateHurt ()V Setups the entity to do the hurt animation. Only used by packets in multiplayer.
method: canCollideWith (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: comeOffTrack ()V Moves a minecart that is not attached to a rail
method: createMinecart (Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/entity/vehicle/AbstractMinecart$Type;)Lnet/minecraft/world/entity/vehicle/AbstractMinecart; params: 0: level, 1: x, 3: y, 5: z, 7: type method: destroy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: exits (Lnet/minecraft/world/level/block/state/properties/RailShape;)Lcom/mojang/datafixers/util/Pair; params: 0: shape method: getBoundingBoxForCulling ()Lnet/minecraft/world/phys/AABB; Gets the bounding box of this Entity, adjusted to take auxiliary entities into account (e.g. the tile contained by a minecart, such as a command block).
method: getDamage ()F Gets the current amount of damage the minecart has taken. Decreases over time. The cart breaks when this is over 40.
method: getDismountLocationForPassenger (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getHurtDir ()I Gets the rolling direction the cart rolls while being attacked. Can be 1 or -1.
method: getHurtTime ()I Gets the rolling amplitude the cart rolls while being attacked.
method: getMaxSpeed ()D Get's the maximum speed for a minecart
method: getMotionDirection ()Lnet/minecraft/core/Direction; Gets the horizontal facing direction of this Entity, adjusted to take specially-treated entity types into account.
method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getPos (DDD)Lnet/minecraft/world/phys/Vec3; params: 1: x, 3: y, 5: z method: getPosOffs (DDDD)Lnet/minecraft/world/phys/Vec3; params: 1: x, 3: y, 5: z, 7: offset method: getRelativePortalPosition (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/BlockUtil$FoundRectangle;)Lnet/minecraft/world/phys/Vec3; params: 1: axis, 2: portal method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: isRedstoneConductor (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: lerpMotion (DDD)V params: 1: x, 3: y, 5: z Updates the entity motion clientside, called by packets from the server
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: moveAlongTrack (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: state method: push (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Applies a velocity to the entities, to push them away from eachother.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCustomDisplay method: setDamage (F)V params: 1: damage Sets the current amount of damage the minecart has taken. Decreases over time. The cart breaks when this is over 40.
method: setDisplayBlockState (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: displayTile method: setDisplayOffset (I)V params: 1: displayTileOffset method: setHurtDir (I)V params: 1: rollingDirection Sets the rolling direction the cart rolls while being attacked. Can be 1 or -1.
method: setHurtTime (I)V params: 1: rollingAmplitude Sets the rolling amplitude the cart rolls while being attacked.
method: tick ()V Called to update the entity's position/logic.
class: AbstractMinecartContainer path: net/minecraft/world/entity/vehicle/AbstractMinecartContainer method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: changeDimension (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: server method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: playerInventory method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player method: destroy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setLootTable (Lnet/minecraft/resources/ResourceLocation;J)V params: 1: lootTable, 2: lootTableSeed method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
method: unpackLootTable (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Adds loot to the minecart's contents.
class: Boat path: net/minecraft/world/entity/vehicle/Boat method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: animateHurt ()V Setups the entity to do the hurt animation. Only used by packets in multiplayer.
method: canAddPassenger (Lnet/minecraft/world/entity/Entity;)Z params: 1: passenger method: canCollideWith (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: clampRotation (Lnet/minecraft/world/entity/Entity;)V params: 1: entityToUpdate Applies this boat's yaw to the given entity. Used to update the orientation of its passenger.
method: floatBoat ()V Update the boat's speed, based on momentum.
method: getBubbleAngle (F)F params: 1: partialTicks method: getControllingPassenger ()Lnet/minecraft/world/entity/Entity; For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example, Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
method: getDamage ()F Gets the damage taken from the last hit.
method: getDismountLocationForPassenger (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getGroundFriction ()F Decides how much the boat should be gliding on the land (based on any slippery blocks)
method: getHurtDir ()I Gets the forward direction of the entity.
method: getHurtTime ()I Gets the time since the last hit.
method: getMotionDirection ()Lnet/minecraft/core/Direction; Gets the horizontal facing direction of this Entity, adjusted to take specially-treated entity types into account.
method: getPaddleState method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getRelativePortalPosition (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/BlockUtil$FoundRectangle;)Lnet/minecraft/world/phys/Vec3; params: 1: axis, 2: portal method: getRowingTime (IF)F params: 1: side, 2: limbSwing method: getStatus ()Lnet/minecraft/world/entity/vehicle/Boat$Status; Determines whether the boat is in water, gliding on land, or in air
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: isUnderwater ()Lnet/minecraft/world/entity/vehicle/Boat$Status; Decides whether the boat is currently underwater.
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: onAboveBubbleCol method: onPassengerTurned (Lnet/minecraft/world/entity/Entity;)V params: 1: entityToUpdate Applies this entity's orientation (pitch/yaw) to another entity. Used to update passenger orientation.
method: positionRider (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: push (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Applies a velocity to the entities, to push them away from eachother.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setBubbleTime method: setDamage (F)V params: 1: damageTaken Sets the damage taken from the last hit.
method: setHurtDir (I)V params: 1: forwardDirection Sets the forward direction of the entity.
method: setHurtTime (I)V params: 1: timeSinceHit Sets the time to count down from since the last time entity was hit.
method: setInput (ZZZZ)V params: 1: leftInputDown, 2: rightInputDown, 3: forwardInputDown, 4: backInputDown method: setPaddleState (ZZ)V params: 1: left, 2: right method: setType (Lnet/minecraft/world/entity/vehicle/Boat$Type;)V params: 1: boatType method: tick ()V Called to update the entity's position/logic.
class: Boat$Type path: net/minecraft/world/entity/vehicle/Boat$Type method: byId (I)Lnet/minecraft/world/entity/vehicle/Boat$Type; params: 0: id Get a boat type by it's enum ordinal
method: byName (Ljava/lang/String;)Lnet/minecraft/world/entity/vehicle/Boat$Type; params: 0: name class: Minecart path: net/minecraft/world/entity/vehicle/Minecart method: activateMinecart (IIIZ)V params: 1: x, 2: y, 3: z, 4: receivingPower Called every tick the minecart is on an activator rail.
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand class: MinecartChest path: net/minecraft/world/entity/vehicle/MinecartChest method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: playerInventory method: destroy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: getContainerSize ()I Returns the number of slots in the inventory.
class: MinecartCommandBlock path: net/minecraft/world/entity/vehicle/MinecartCommandBlock field: lastActivated I Cooldown before command block logic runs again in ticks
method: activateMinecart (IIIZ)V params: 1: x, 2: y, 3: z, 4: receivingPower Called every tick the minecart is on an activator rail.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: onlyOpCanSetNbt ()Z Checks if players can use this entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.tileentity.TileEntity#onlyOpsCanSetNbt()}.<p>For example, {@link net.minecraft.entity.item.EntityMinecartCommandBlock#ignoreItemEntityData() command block minecarts} and {@link net.minecraft.entity.item.EntityMinecartMobSpawner#ignoreItemEntityData() mob spawner minecarts} (spawning command block minecarts or drops) are considered accessible.</p>@return true if this entity offers ways for unauthorized players to use restricted commands
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
class: MinecartFurnace path: net/minecraft/world/entity/vehicle/MinecartFurnace field: INGREDIENT Lnet/minecraft/world/item/crafting/Ingredient; The fuel item used to make the minecart move.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: destroy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: getMaxSpeed ()D Get's the maximum speed for a minecart
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: moveAlongTrack (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: state method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setHasFuel method: tick ()V Called to update the entity's position/logic.
class: MinecartHopper path: net/minecraft/world/entity/vehicle/MinecartHopper method: activateMinecart (IIIZ)V params: 1: x, 2: y, 3: z, 4: receivingPower Called every tick the minecart is on an activator rail.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: playerInventory method: destroy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: getContainerSize ()I Returns the number of slots in the inventory.
method: getLevelX ()D Gets the world X position for this hopper entity.
method: getLevelY ()D Gets the world Y position for this hopper entity.
method: getLevelZ ()D Gets the world Z position for this hopper entity.
method: isEnabled ()Z Get whether this hopper minecart is being blocked by an activator rail.
method: isOnCooldown ()Z Returns whether the hopper cart can currently transfer an item.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCooldown (I)V params: 1: transferTicker Sets the transfer ticker, used to determine the delay between transfers.
method: setEnabled (Z)V params: 1: blocked Set whether this hopper minecart is being blocked by an activator rail.
method: tick ()V Called to update the entity's position/logic.
class: MinecartSpawner path: net/minecraft/world/entity/vehicle/MinecartSpawner method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: onlyOpCanSetNbt ()Z Checks if players can use this entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.tileentity.TileEntity#onlyOpsCanSetNbt()}.<p>For example, {@link net.minecraft.entity.item.EntityMinecartCommandBlock#ignoreItemEntityData() command block minecarts} and {@link net.minecraft.entity.item.EntityMinecartMobSpawner#ignoreItemEntityData() mob spawner minecarts} (spawning command block minecarts or drops) are considered accessible.</p>@return true if this entity offers ways for unauthorized players to use restricted commands
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: tick ()V Called to update the entity's position/logic.
class: MinecartTNT path: net/minecraft/world/entity/vehicle/MinecartTNT method: activateMinecart (IIIZ)V params: 1: x, 2: y, 3: z, 4: receivingPower Called every tick the minecart is on an activator rail.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: destroy (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: explode (D)V params: 1: radiusModifier Makes the minecart explode.
method: getBlockExplosionResistance (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;F)F params: 1: explosion, 2: level, 3: pos, 4: blockState, 5: fluidState, 6: explosionPower Explosion resistance of a block relative to this entity
method: getFuse ()I Gets the remaining fuse time in ticks.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isPrimed ()Z Returns true if the TNT minecart is ignited.
method: primeFuse ()V Ignites this TNT cart.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: shouldBlockExplode (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)Z params: 1: explosion, 2: level, 3: pos, 4: blockState, 5: explosionPower method: tick ()V Called to update the entity's position/logic.
class: AreaEffectCloud path: net/minecraft/world/entity/AreaEffectCloud method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addEffect (Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effect method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: isWaiting ()Z Returns true if the radius should be ignored, and the effect should be shown in a single point instead of an area
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setDuration method: setFixedColor method: setOwner (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: owner method: setParticle (Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: particleData method: setPotion (Lnet/minecraft/world/item/alchemy/Potion;)V params: 1: potion method: setRadius method: setRadiusOnUse (F)V params: 1: radiusOnUse method: setRadiusPerTick (F)V params: 1: radiusPerTick method: setWaitTime method: setWaiting (Z)V params: 1: ignoreRadius Sets if the radius should be ignored, and the effect should be shown in a single point instead of an area
method: tick ()V Called to update the entity's position/logic.
class: Entity path: net/minecraft/world/entity/Entity method: <init> (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/Level;)V params: 1: type, 2: level method: absMoveTo (DDD)V params: 1: x, 3: y, 5: z method: absMoveTo (DDDFF)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch Sets position and rotation, clamping and wrapping params to valid values. Used by network code.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addPassenger (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: addTag (Ljava/lang/String;)Z params: 1: tag method: animateHurt ()V Setups the entity to do the hurt animation. Only used by packets in multiplayer.
method: applyPistonMovementRestriction (Lnet/minecraft/core/Direction$Axis;D)D params: 1: axis, 2: distance method: awardKillScore (Lnet/minecraft/world/entity/Entity;ILnet/minecraft/world/damagesource/DamageSource;)V params: 1: killed, 2: scoreValue, 3: damageSource method: baseTick ()V Gets called every tick from main Entity class
method: broadcastToPlayer (Lnet/minecraft/server/level/ServerPlayer;)Z params: 1: player method: calculateUpVector (FF)Lnet/minecraft/world/phys/Vec3; params: 1: pitch, 2: yaw method: calculateViewVector (FF)Lnet/minecraft/world/phys/Vec3; params: 1: pitch, 2: yaw Creates a Vec3 using the pitch and yaw of the entities rotation.
method: canAddPassenger (Lnet/minecraft/world/entity/Entity;)Z params: 1: passenger method: canChangeDimensions ()Z Returns false if this Entity can't move between dimensions. True if it can.
method: canCollideWith (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: canEnterPose (Lnet/minecraft/world/entity/Pose;)Z params: 1: pose method: canRide (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: changeDimension (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity; params: 1: server method: checkDespawn ()V Makes the entity despawn if requirements are reached
method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: clearFire ()V Removes fire from entity.
method: closerThan (Lnet/minecraft/world/entity/Entity;D)Z params: 1: entity, 2: distance method: collide (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vec Given a motion vector, return an updated vector that takes into account restrictions such as collisions (from all directions) and step-up from stepHeight
method: collideBoundingBox (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/world/phys/shapes/CollisionContext;Lnet/minecraft/util/RewindableStream;)Lnet/minecraft/world/phys/Vec3; params: 0: vec, 1: collisionBox, 2: level, 3: selectionContext, 4: potentialHits method: collideBoundingBoxHeuristically (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/phys/shapes/CollisionContext;Lnet/minecraft/util/RewindableStream;)Lnet/minecraft/world/phys/Vec3; params: 0: entity, 1: vec, 2: collisionBox, 3: level, 4: context, 5: potentialHits method: collideBoundingBoxLegacy (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/AABB;Lnet/minecraft/util/RewindableStream;)Lnet/minecraft/world/phys/Vec3; params: 0: vec, 1: collisionBox, 2: potentialHits method: copyPosition (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Sets this entity's location and angles to the location and angles of the passed in entity.
method: displayFireAnimation ()Z Return whether this entity should be rendered as on fire.
method: distanceTo (Lnet/minecraft/world/entity/Entity;)F params: 1: entity Returns the distance to the entity.
method: distanceToSqr (DDD)D params: 1: x, 3: y, 5: z Gets the squared distance to the position.
method: distanceToSqr (Lnet/minecraft/world/entity/Entity;)D params: 1: entity Returns the squared distance to the entity.
method: distanceToSqr (Lnet/minecraft/world/phys/Vec3;)D params: 1: vec method: doEnchantDamageEffects (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;)V params: 1: livingEntity, 2: entity method: doWaterSplashEffect ()V Plays the {@link #getSplashSound() splash sound}, and the {@link ParticleType#WATER_BUBBLE} and {@link ParticleType#WATER_SPLASH} particles.
method: ejectPassengers ()V Dismounts all entities riding this entity from this entity.
method: equals (Ljava/lang/Object;)Z params: 1: other method: fillCrashReportCategory (Lnet/minecraft/CrashReportCategory;)V params: 1: category method: fillIndirectPassengers (ZLjava/util/Set;)V params: 1: onlyPlayers, 2: fillTo method: findDimensionEntryPoint (Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/level/portal/PortalInfo; params: 1: destination method: getBlockExplosionResistance (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;F)F params: 1: explosion, 2: level, 3: pos, 4: blockState, 5: fluidState, 6: explosionPower Explosion resistance of a block relative to this entity
method: getBoundingBoxForCulling ()Lnet/minecraft/world/phys/AABB; Gets the bounding box of this Entity, adjusted to take auxiliary entities into account (e.g. the tile contained by a minecart, such as a command block).
method: getBoundingBoxForPose (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/phys/AABB; params: 1: pose method: getBrightness ()F Gets how bright this entity is.
method: getCollisionHorizontalEscapeVector (DDF)Lnet/minecraft/world/phys/Vec3; params: 0: mountWidth, 2: riderWidth, 4: yaw method: getCommandSenderWorld ()Lnet/minecraft/world/level/Level; Get the world, if available. <b>{@code null} is not allowed!</b> If you are not an entity in the world, return the overworld
method: getControllingPassenger ()Lnet/minecraft/world/entity/Entity; For vehicles, the first passenger is generally considered the controller and "drives" the vehicle. For example, Pigs, Horses, and Boats are generally "steered" by the controlling passenger.
method: getDimensionChangingDelay ()I Return the amount of cooldown before this entity can use a portal again.
method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getDirection ()Lnet/minecraft/core/Direction; Gets the horizontal facing direction of this Entity.
method: getDismountLocationForPassenger (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/phys/Vec3; params: 1: livingEntity method: getEncodeId ()Ljava/lang/String; Returns the string that identifies this Entity's class
method: getExitPortal (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Z)Ljava/util/Optional; params: 1: destination, 2: findFrom, 3: isToNether method: getEyeHeight (Lnet/minecraft/world/entity/Pose;)F params: 1: pose method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getEyePosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getFluidHeight (Lnet/minecraft/tags/Tag;)D params: 1: fluidTag method: getHorizontalDistanceSqr (Lnet/minecraft/world/phys/Vec3;)D params: 0: vector method: getInputVector (Lnet/minecraft/world/phys/Vec3;FF)Lnet/minecraft/world/phys/Vec3; params: 0: relative, 1: motionScaler, 2: facing method: getLightProbePosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getLookAngle ()Lnet/minecraft/world/phys/Vec3; returns a (normalized) vector of where this entity is looking
method: getMaxFallDistance ()I The maximum height from where the entity is alowed to jump (used in pathfinder)
method: getMotionDirection ()Lnet/minecraft/core/Direction; Gets the horizontal facing direction of this Entity, adjusted to take specially-treated entity types into account.
method: getMyRidingOffset ()D Returns the Y Offset of this entity.
method: getPassengersRidingOffset ()D Returns the Y offset from the entity's position for any entity riding this one.
method: getPortalWaitTime ()I Return the amount of time this entity should stay in a portal before being transported.
method: getPosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getRandomX method: getRandomZ method: getRelativePortalPosition (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/BlockUtil$FoundRectangle;)Lnet/minecraft/world/phys/Vec3; params: 1: axis, 2: portal method: getRopeHoldPosition (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getRotationVector ()Lnet/minecraft/world/phys/Vec2; returns the Entity's pitch and yaw as a Vec2f
method: getScoreboardName ()Ljava/lang/String; Returns a String to use as this entity's name in the scoreboard/entity selector systems
method: getServer ()Lnet/minecraft/server/MinecraftServer; Get the Minecraft server instance
method: getSharedFlag (I)Z params: 1: flag Returns true if the flag is active for the entity. Known flags: 0: burning 1: sneaking 2: unused 3: sprinting 4: swimming 5: invisible 6: glowing 7: elytra flying
method: getUpVector (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks method: getVehicle ()Lnet/minecraft/world/entity/Entity; Get entity this is riding
method: getViewVector (F)Lnet/minecraft/world/phys/Vec3; params: 1: partialTicks interpolated look vector
method: getViewXRot (F)F params: 1: partialTicks Gets the current pitch of the entity.
method: getViewYRot (F)F params: 1: partialTicks Gets the current yaw of the entity
method: getX method: getY method: getZ method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: handleInsidePortal (Lnet/minecraft/core/BlockPos;)V params: 1: pos Marks the entity as being inside a portal, activating teleportation logic in onEntityUpdate() in the following tick(s).
method: hasIndirectPassenger (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: hasPassenger (Ljava/lang/Class;)Z params: 1: passengerClass method: hasPassenger (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: hasPermissions method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: interactAt (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: vec, 3: hand Applies the given player interaction to this Entity.
method: is (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns true if Entity argument is equal to this Entity
method: isAlive ()Z Returns true if the entity has not been {@link #removed}.
method: isAlliedTo (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns whether this Entity is on the same team as the given Entity.
method: isAlliedTo (Lnet/minecraft/world/scores/Team;)Z params: 1: team Returns whether this Entity is on the given scoreboard team.
method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: isColliding (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: pos, 2: state method: isEyeInFluid (Lnet/minecraft/tags/Tag;)Z params: 1: tag method: isFree (DDD)Z params: 1: x, 3: y, 5: z Checks if the offset position from the entity's current position is inside of a liquid.
method: isFree (Lnet/minecraft/world/phys/AABB;)Z params: 1: bb Determines if a liquid is present within the specified AxisAlignedBB.
method: isIgnoringBlockTriggers ()Z Return whether this entity should NOT trigger a pressure plate or a tripwire.
method: isInWall ()Z Checks if this entity is inside of an opaque block
method: isInWater ()Z Checks if this entity is inside water (if inWater field is true as a result of handleWaterMovement() returning true)
method: isInWaterOrRain ()Z Checks if this entity is either in water or on an open air block in rain (used in wolves).
method: isInvisibleTo (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Only used by renderer in EntityLivingBase subclasses.
Determines if an entity is visible or not to a specific player, if the entity is normally invisible.
For EntityLivingBase subclasses, returning false when invisible will render the entity semi-transparent.
method: isInvulnerableTo (Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: source Returns whether this Entity is invulnerable to the given DamageSource.
method: isOnFire ()Z Returns true if the entity is on fire. Used by render to add the fire effect on rendering.
method: isPassengerOfSameVehicle (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: isSilent ()Z @return True if this entity will not play sounds
method: isSpectator ()Z Returns true if the player is in spectator mode.
method: isSprinting ()Z Get if the Entity is sprinting.
method: isVehicle ()Z If at least 1 entity is riding this one
method: kill ()V Called by the /kill command.
method: killed (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: level, 2: killedEntity method: lambda$collide$1 (Lnet/minecraft/world/entity/Entity;)Z params: 0: entity method: lambda$findDimensionEntryPoint$4 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/BlockUtil$FoundRectangle;)Lnet/minecraft/world/level/portal/PortalInfo; params: 2: exitPortal method: lambda$getDisplayName$9 (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 1: currentStyle method: lambda$isInWall$2 (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: pos method: lambda$move$0 (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: loadedState method: lambda$null$3 (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Z params: 2: pos method: lambda$teleportTo$10 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Entity;)V params: 1: currentEntity method: lavaHurt ()V Called whenever the entity is walking inside of lava.
method: lerpHeadTo (FI)V params: 1: yaw, 2: pitch method: lerpMotion (DDD)V params: 1: x, 3: y, 5: z Updates the entity motion clientside, called by packets from the server
method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: limitPistonMovement (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: pos method: load (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound Reads the entity from NBT (calls an abstract helper method to read specialized data)
method: lookAt (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;Lnet/minecraft/world/phys/Vec3;)V params: 1: anchor, 2: target method: makeStuckInBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/Vec3;)V params: 1: state, 2: motionMultiplier method: markHurt ()V Marks this entity's velocity as changed, so that it can be re-synced with the client later
method: maybeBackOffFromEdge (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/MoverType;)Lnet/minecraft/world/phys/Vec3; params: 1: vec, 2: mover method: mirror (Lnet/minecraft/world/level/block/Mirror;)F params: 1: transformMirror Transforms the entity's current yaw with the given Mirror and returns it. This does not have a side-effect.
method: move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V params: 1: type, 2: pos method: moveRelative (FLnet/minecraft/world/phys/Vec3;)V params: 1: amount, 2: relative method: moveTo (DDD)V params: 1: x, 3: y, 5: z method: moveTo (DDDFF)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch Sets the location and Yaw/Pitch of an entity in the world
method: moveTo (Lnet/minecraft/core/BlockPos;FF)V params: 1: pos, 2: rotationYaw, 3: rotationPitch method: moveTo (Lnet/minecraft/world/phys/Vec3;)V params: 1: vec method: moveTowardsClosestSpace (DDD)V params: 1: x, 3: y, 5: z method: newDoubleList ([D)Lnet/minecraft/nbt/ListTag; params: 1: numbers creates a NBT list from the array of doubles passed to this function
method: newFloatList ([F)Lnet/minecraft/nbt/ListTag; params: 1: numbers Returns a new NBTTagList filled with the specified floats
method: onAboveBubbleCol method: onInsideBlock (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: state method: onInsideBubbleColumn method: onPassengerTurned (Lnet/minecraft/world/entity/Entity;)V params: 1: entityToUpdate Applies this entity's orientation (pitch/yaw) to another entity. Used to update passenger orientation.
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: onlyOpCanSetNbt ()Z Checks if players can use this entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.tileentity.TileEntity#onlyOpsCanSetNbt()}.<p>For example, {@link net.minecraft.entity.item.EntityMinecartCommandBlock#ignoreItemEntityData() command block minecarts} and {@link net.minecraft.entity.item.EntityMinecartMobSpawner#ignoreItemEntityData() mob spawner minecarts} (spawning command block minecarts or drops) are considered accessible.</p>@return true if this entity offers ways for unauthorized players to use restricted commands
method: outOfWorld ()V sets the dead flag. Used when you fall off the bottom of the world.
method: pick (DFZ)Lnet/minecraft/world/phys/HitResult; params: 1: rayTraceDistance, 3: partialTicks, 4: rayTraceFluids method: playSound (Lnet/minecraft/sounds/SoundEvent;FF)V params: 1: sound, 2: volume, 3: pitch method: playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: block method: playSwimSound method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: positionRider (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: positionRider (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity$MoveFunction;)V params: 1: entity, 2: callback method: processPortalCooldown ()V Decrements the counter for the remaining time until the entity may use a portal again.
method: push (DDD)V params: 1: x, 3: y, 5: z Adds to the current velocity of the entity, and sets {@link #isAirBorne} to true.
method: push (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Applies a velocity to the entities, to push them away from eachother.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: reapplyPosition ()V Recomputes this entity's bounding box so that it is positioned at this entity's X/Y/Z.
method: removeAction (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/Component; params: 0: name method: removePassenger (Lnet/minecraft/world/entity/Entity;)V params: 1: passenger method: removeTag (Ljava/lang/String;)Z params: 1: tag method: restoreFrom (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Prepares this entity in new dimension by copying NBT data from entity in old dimension
method: rideTick ()V Handles updating while riding another entity
method: rotate (Lnet/minecraft/world/level/block/Rotation;)F params: 1: transformRotation Transforms the entity's current yaw with the given Rotation and returns it. This does not have a side-effect.
method: save (Lnet/minecraft/nbt/CompoundTag;)Z params: 1: compound Writes this entity to NBT, unless it has been removed or it is a passenger. Also writes this entity's passengers, and the entity type ID (so the produced NBT is sufficient to recreate the entity).
To always write the entity, use {@link #writeWithoutTypeId}.
@return True if the entity was written (and the passed compound should be saved)" false if the entity was not written.
method: saveAsPassenger (Lnet/minecraft/nbt/CompoundTag;)Z params: 1: compound Writes this entity to NBT, unless it has been removed. Also writes this entity's passengers, and the entity type ID (so the produced NBT is sufficient to recreate the entity).
Generally, {@link #writeUnlessPassenger} or {@link #writeWithoutTypeId} should be used instead of this method.
@return True if the entity was written (and the passed compound should be saved)" false if the entity was not written.
method: saveWithoutId (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Writes this entity, including passengers, to NBT, regardless as to whether or not it is removed or a passenger. Does <b>not</b> include the entity's type ID, so the NBT is insufficient to recreate the entity using {@link AnvilChunkLoader#readWorldEntity}. Use {@link #writeUnlessPassenger} for that purpose.
method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
method: setAirSupply method: setBoundingBox (Lnet/minecraft/world/phys/AABB;)V params: 1: bb method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name method: setCustomNameVisible (Z)V params: 1: alwaysRenderNameTag method: setDeltaMovement (DDD)V params: 1: x, 3: y, 5: z method: setDeltaMovement (Lnet/minecraft/world/phys/Vec3;)V params: 1: motion method: setGlowing method: setId method: setInvisible method: setInvulnerable (Z)V params: 1: isInvulnerable Sets whether this Entity is invulnerable.
method: setItemSlot (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setLevel (Lnet/minecraft/world/level/Level;)V params: 1: level method: setNoGravity method: setOnGround method: setPacketCoordinates (DDD)V params: 1: x, 3: y, 5: z method: setPacketCoordinates (Lnet/minecraft/world/phys/Vec3;)V params: 1: packetCoordinates method: setPos (DDD)V params: 1: x, 3: y, 5: z Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box.
method: setPosAndOldPos (DDD)V params: 1: x, 3: y, 5: z method: setPosRaw (DDD)V params: 1: x, 3: y, 5: z Directly updates the {@link #posX}, {@link posY}, and {@link posZ} fields, without performing any collision checks, updating the bounding box position, or sending any packets. In general, this is not what you want and {@link #setPosition} is better, as that handles the bounding box.
method: setPose (Lnet/minecraft/world/entity/Pose;)V params: 1: pose method: setRemainingFireTicks method: setRot (FF)V params: 1: yaw, 2: pitch Sets the rotation of the entity.
method: setSecondsOnFire (I)V params: 1: seconds Sets entity to burn for x amount of seconds, cannot lower amount of existing fire.
method: setSharedFlag (IZ)V params: 1: flag, 2: set Enable or disable a entity flag, see getEntityFlag to read the know flags.
method: setShiftKeyDown method: setSilent (Z)V params: 1: isSilent When set to true the entity will not play sounds.
method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: setSprinting (Z)V params: 1: sprinting Set sprinting switch for Entity.
method: setSwimming method: setUUID (Ljava/util/UUID;)V params: 1: uniqueId method: setViewScale (D)V params: 0: renderDistWeight method: setYBodyRot (F)V params: 1: offset Set the render yaw offset
method: setYHeadRot (F)V params: 1: rotation Sets the head's yaw rotation of the entity.
method: shouldBlockExplode (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)Z params: 1: explosion, 2: level, 3: pos, 4: blockState, 5: explosionPower method: shouldRender (DDD)Z params: 1: x, 3: y, 5: z method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: skipAttackInteraction (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Called when a player attacks an entity. If this returns true the attack will not happen.
method: spawnAtLocation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: stack method: spawnAtLocation (Lnet/minecraft/world/item/ItemStack;F)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: stack, 2: offsetY Drops an item at the position of the entity.
method: spawnAtLocation (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: item method: spawnAtLocation (Lnet/minecraft/world/level/ItemLike;I)Lnet/minecraft/world/entity/item/ItemEntity; params: 1: item, 2: offset method: startRiding (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: startRiding (Lnet/minecraft/world/entity/Entity;Z)Z params: 1: entity, 2: force method: startSeenByPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Add the given player to the list of players tracking this entity. For instance, a player may track a boss in order to view its associated boss bar.
method: stopRiding ()V Dismounts this entity from the entity it is riding.
method: stopSeenByPlayer (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player Removes the given player from the list of players tracking this entity. See {@link Entity#addTrackingPlayer} for more information on tracking.
method: teleportTo (DDD)V params: 1: x, 3: y, 5: z Sets the position of the entity and updates the 'last' variables
method: teleportToWithTicket (DDD)V params: 1: x, 3: y, 5: z Teleports the entity, forcing the destination to stay loaded for a short time
method: thunderHit (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LightningBolt;)V params: 1: level, 2: lightning method: tick ()V Called to update the entity's position/logic.
method: turn (DD)V params: 1: yaw, 3: pitch method: updateFluidHeightAndDoFluidPushing (Lnet/minecraft/tags/Tag;D)Z params: 1: fluidTag, 2: motionScale class: Entity$MoveFunction path: net/minecraft/world/entity/Entity$MoveFunction method: accept (Lnet/minecraft/world/entity/Entity;DDD)V params: 1: entity, 2: x, 4: y, 6: z class: EntityDimensions path: net/minecraft/world/entity/EntityDimensions method: fixed (FF)Lnet/minecraft/world/entity/EntityDimensions; params: 0: width, 1: height method: scalable (FF)Lnet/minecraft/world/entity/EntityDimensions; params: 0: width, 1: height method: scale (F)Lnet/minecraft/world/entity/EntityDimensions; params: 1: factor method: scale (FF)Lnet/minecraft/world/entity/EntityDimensions; params: 1: widthFactor, 2: heightFactor class: EntitySelector path: net/minecraft/world/entity/EntitySelector field: ENTITY_NOT_BEING_RIDDEN Ljava/util/function/Predicate; Selects only entities which are neither ridden by anything nor ride on anything
field: NO_SPECTATORS Ljava/util/function/Predicate; Selects entities which are either not players or players that are not spectating
method: notRiding (Lnet/minecraft/world/entity/Entity;)Ljava/util/function/Predicate; params: 0: entity method: pushableBy (Lnet/minecraft/world/entity/Entity;)Ljava/util/function/Predicate; params: 0: entity method: withinDistance (DDDD)Ljava/util/function/Predicate; params: 0: x, 2: y, 4: z, 6: range class: EntityType path: net/minecraft/world/entity/EntityType method: by (Lnet/minecraft/nbt/CompoundTag;)Ljava/util/Optional; params: 0: compound method: byString (Ljava/lang/String;)Ljava/util/Optional; params: 0: key Tries to get the entity type assosiated by the key.
method: create (ILnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 0: id, 1: level method: create (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/Level;)Ljava/util/Optional; params: 0: compound, 1: level method: create (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/MobSpawnType;ZZ)Lnet/minecraft/world/entity/Entity; params: 1: level, 2: compound, 3: customName, 4: player, 5: pos, 6: reason method: create (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/Entity; params: 1: level method: create (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/entity/Entity; params: 0: level, 1: type method: getKey (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/resources/ResourceLocation; params: 0: entityType method: is (Lnet/minecraft/tags/Tag;)Z params: 1: tag Checks if this entity type is contained in the tag
method: loadEntityRecursive (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/Level;Ljava/util/function/Function;)Lnet/minecraft/world/entity/Entity; params: 0: compound, 1: level method: loadStaticEntity (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/Level;)Ljava/util/Optional; params: 0: compound, 1: level method: register (Ljava/lang/String;Lnet/minecraft/world/entity/EntityType$Builder;)Lnet/minecraft/world/entity/EntityType; params: 0: key, 1: builder method: spawn (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/MobSpawnType;ZZ)Lnet/minecraft/world/entity/Entity; params: 1: level, 2: compound, 3: customName, 4: player, 5: pos, 6: reason method: spawn (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/MobSpawnType;ZZ)Lnet/minecraft/world/entity/Entity; params: 1: level, 2: stack, 3: player, 4: pos, 5: reason method: updateCustomEntityTag (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/nbt/CompoundTag;)V params: 0: level, 1: player, 2: spawnedEntity, 3: itemNBT class: EntityType$Builder path: net/minecraft/world/entity/EntityType$Builder method: build (Ljava/lang/String;)Lnet/minecraft/world/entity/EntityType; params: 1: id method: clientTrackingRange (I)Lnet/minecraft/world/entity/EntityType$Builder; params: 1: range method: createNothing (Lnet/minecraft/world/entity/MobCategory;)Lnet/minecraft/world/entity/EntityType$Builder; params: 0: classification method: of (Lnet/minecraft/world/entity/EntityType$EntityFactory;Lnet/minecraft/world/entity/MobCategory;)Lnet/minecraft/world/entity/EntityType$Builder; params: 0: factory, 1: classification method: sized (FF)Lnet/minecraft/world/entity/EntityType$Builder; params: 1: width, 2: height class: EquipmentSlot path: net/minecraft/world/entity/EquipmentSlot method: byName (Ljava/lang/String;)Lnet/minecraft/world/entity/EquipmentSlot; params: 0: targetName method: byTypeAndIndex (Lnet/minecraft/world/entity/EquipmentSlot$Type;I)Lnet/minecraft/world/entity/EquipmentSlot; params: 0: slotType, 1: slotIndex Returns the slot type based on the slot group and the index inside of that group.
method: getFilterFlag ()I Gets the actual slot index.
class: ExperienceOrb path: net/minecraft/world/entity/ExperienceOrb method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: doWaterSplashEffect ()V Plays the {@link #getSplashSound() splash sound}, and the {@link ParticleType#WATER_BUBBLE} and {@link ParticleType#WATER_SPLASH} particles.
method: durabilityToXp (I)I params: 1: durability method: getExperienceValue (I)I params: 0: expValue Get a fragment of the maximum experience points value for the supplied value of experience points value.
method: getIcon ()I Returns a number from 1 to 10 based on how much XP this orb is worth. This is used by RenderXPOrb to determine what texture to use.
method: getValue ()I Returns the XP value of this XP orb.
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: isAttackable ()Z Returns true if it's possible to attack this entity with an item.
method: playerTouch (Lnet/minecraft/world/entity/player/Player;)V params: 1: entity Called by a player entity when they collide with an entity
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: tick ()V Called to update the entity's position/logic.
method: xpToDurability class: FlyingMob path: net/minecraft/world/entity/FlyingMob method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: onClimbable ()Z Returns true if this entity should move as if it were on a ladder (either because it's actually on a ladder, or for AI reasons)
method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector class: ItemBasedSteering path: net/minecraft/world/entity/ItemBasedSteering method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: boost (Ljava/util/Random;)Z params: 1: rand method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setSaddle class: ItemSteerable path: net/minecraft/world/entity/ItemSteerable method: travel (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/ItemBasedSteering;Lnet/minecraft/world/phys/Vec3;)Z params: 1: mount, 2: helper method: travelWithInput (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVec class: LightningBolt path: net/minecraft/world/entity/LightningBolt method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setCause (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: caster method: setVisualOnly (Z)V params: 1: effectOnly method: shouldRenderAtSqrDistance (D)Z params: 1: distance Checks if the entity is in range to render.
method: spawnFire (I)V params: 1: extraIgnitions method: tick ()V Called to update the entity's position/logic.
class: LivingEntity path: net/minecraft/world/entity/LivingEntity field: lastHurt F Damage taken in the last hit. Mobs are resistant to damage less than this for a short time after taking damage.
field: lastHurtMobTimestamp I Holds the value of ticksExisted when setLastAttacker was last called.
method: actuallyHurt (Lnet/minecraft/world/damagesource/DamageSource;F)V params: 1: damageSrc, 2: damageAmount Deals damage to the entity. This will take the armor of the entity into consideration before damaging the health bar.
method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: addEffect (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: effectInstance method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: animateHurt ()V Setups the entity to do the hurt animation. Only used by packets in multiplayer.
method: areAllEffectsAmbient (Ljava/util/Collection;)Z params: 0: potionEffects Returns true if all of the potion effects in the specified collection are ambient.
method: baseTick ()V Gets called every tick from main Entity class
method: blockUsingShield (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: blockedByShield (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entity method: breakItem (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Renders broken item particles using the given ItemStack
method: calculateFallDamage (FF)I params: 1: distance, 2: damageMultiplier method: canAttack (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: target method: canAttack (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;)Z params: 1: livingentity, 2: predicate method: canAttackType (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type method: canBeAffected (Lnet/minecraft/world/effect/MobEffectInstance;)Z params: 1: potioneffect method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: y, 3: onGround, 4: state, 5: pos method: checkTotemDeathProtection (Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: damageSource method: completeUsingItem ()V Used for when item use count runs out, ie: eating completed
method: createLootContext (ZLnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: attackedRecently, 2: damageSource method: createWitherRose (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: entitySource method: decreaseAirSupply (I)I params: 1: air Decrements the entity's air supply when underwater
method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: doPush (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: dropAllDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: damageSource method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: dropFromLootTable (Lnet/minecraft/world/damagesource/DamageSource;Z)V params: 1: damageSource, 2: attackedRecently method: getAbsorptionAmount ()F Returns the amount of health added by the Absorption effect.
method: getArmorValue ()I Returns the current armor value as determined by a call to InventoryPlayer.getTotalArmorValue
method: getArrowCount ()I counts the amount of arrows stuck in the entity. getting hit by arrows increases this, used in rendering
method: getAttackAnim (F)F params: 1: partialTickTime Gets the progression of the swing animation, ranges from 0.0 to 1.0.
method: getAttribute (Lnet/minecraft/world/entity/ai/attributes/Attribute;)Lnet/minecraft/world/entity/ai/attributes/AttributeInstance; params: 1: attribute method: getAttributeBaseValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;)D params: 1: attribute method: getAttributeValue (Lnet/minecraft/world/entity/ai/attributes/Attribute;)D params: 1: attribute method: getBedOrientation ()Lnet/minecraft/core/Direction; gets the Direction for the camera if this entity is sleeping
method: getBoundingBoxForCulling ()Lnet/minecraft/world/phys/AABB; Gets the bounding box of this Entity, adjusted to take auxiliary entities into account (e.g. the tile contained by a minecart, such as a command block).
method: getCombatTracker ()Lnet/minecraft/world/damagesource/CombatTracker; 1.8.9
method: getCurrentSwingDuration ()I Returns an integer indicating the end point of the swing animation, used by {@link #swingProgress} to provide a progress indicator. Takes dig speed enchantments into account.
method: getDamageAfterArmorAbsorb (Lnet/minecraft/world/damagesource/DamageSource;F)F params: 1: source, 2: damage Reduces damage, depending on armor
method: getDamageAfterMagicAbsorb (Lnet/minecraft/world/damagesource/DamageSource;F)F params: 1: source, 2: damage Reduces damage, depending on potions
method: getDimensions (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/entity/EntityDimensions; params: 1: pose method: getDrinkingSound (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/sounds/SoundEvent; params: 1: stack method: getEatingSound (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/sounds/SoundEvent; params: 1: itemStack method: getEffect (Lnet/minecraft/world/effect/MobEffect;)Lnet/minecraft/world/effect/MobEffectInstance; params: 1: potion returns the PotionEffect for the supplied Potion if it is active, null otherwise.
method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getFallDamageSound (I)Lnet/minecraft/sounds/SoundEvent; params: 1: height method: getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; params: 1: damageSource method: getItemBySlot (Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; params: 1: slot method: getItemInHand (Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/item/ItemStack; params: 1: hand method: getLastArmorItem (Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; params: 1: slot method: getLastHandItem (Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; params: 1: slot method: getLocalBoundsForPose (Lnet/minecraft/world/entity/Pose;)Lnet/minecraft/world/phys/AABB; params: 1: pose method: getMaxHealth ()F Returns the maximum health of the entity (what it is able to regenerate up to, what it spawned with, etc)
method: getProjectile (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: shootable method: getRelativePortalPosition (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/BlockUtil$FoundRectangle;)Lnet/minecraft/world/phys/Vec3; params: 1: axis, 2: portal method: getSoundVolume ()F Returns the volume for the sounds this mob makes.
method: getSpeed ()F the movespeed used for the new AI system
method: getStandingEyeHeight (Lnet/minecraft/world/entity/Pose;Lnet/minecraft/world/entity/EntityDimensions;)F params: 1: pose, 2: size method: getSwimAmount (F)F params: 1: partialTicks method: getViewYRot (F)F params: 1: partialTicks Gets the current yaw of the entity
method: getVisibilityPercent (Lnet/minecraft/world/entity/Entity;)D params: 1: lookingEntity method: getVoicePitch ()F Gets the pitch of living sounds in living entities.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: hasEffect (Lnet/minecraft/world/effect/MobEffect;)Z params: 1: potion method: hasItemInSlot (Lnet/minecraft/world/entity/EquipmentSlot;)Z params: 1: slot method: heal (F)V params: 1: healAmount Heal living entity (param: amount of half-hearts)
method: hurt (Lnet/minecraft/world/damagesource/DamageSource;F)Z params: 1: source, 2: amount Called when the entity is attacked.
method: hurtArmor (Lnet/minecraft/world/damagesource/DamageSource;F)V params: 1: damageSource, 2: damage method: hurtCurrentlyUsedShield method: increaseAirSupply (I)I params: 1: currentAir method: isAffectedByPotions ()Z Returns false if the entity is an armor stand. Returns true for all other entity living bases.
method: isAlive ()Z Returns true if the entity has not been {@link #removed}.
method: isAlwaysExperienceDropper ()Z Only use is to identify if class is an instance of player for experience dropping
method: isBaby ()Z If Animal, checks if the age timer is negative
method: isDamageSourceBlocked (Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: damageSource Determines whether the entity can block the damage source based on the damage source's location, whether the damage source is blockable, and whether the entity is blocking.
method: isEffectiveAi ()Z Returns whether the entity is in a server world
method: isHolding (Lnet/minecraft/world/item/Item;)Z params: 1: item method: isImmobile ()Z Dead and sleeping entities cannot move
method: isInWall ()Z Checks if this entity is inside of an opaque block
method: isInvertedHealAndHarm ()Z Returns true if this entity is undead.
method: isPickable ()Z Returns true if other Entities should be prevented from moving through this Entity.
method: isPushable ()Z Returns true if this entity should push and be pushed by other entities when colliding.
method: isSleeping ()Z Returns whether player is sleeping or not
method: jumpFromGround ()V Causes this entity to do an upwards motion (jumping).
method: jumpInLiquid (Lnet/minecraft/tags/Tag;)V params: 1: fluidTag method: kill ()V Called by the /kill command.
method: lerpHeadTo (FI)V params: 1: yaw, 2: pitch method: lerpTo (DDDFFIZ)V params: 1: x, 3: y, 5: z, 7: yaw, 8: pitch, 9: posRotationIncrements, 10: teleport Sets a target for the client to interpolate towards over the next few ticks
method: lookAt (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;Lnet/minecraft/world/phys/Vec3;)V params: 1: anchor, 2: target method: makeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/entity/ai/Brain; params: 1: dynamic method: markHurt ()V Marks this entity's velocity as changed, so that it can be re-synced with the client later
method: onChangedBlock (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: onClimbable ()Z Returns true if this entity should move as if it were on a ladder (either because it's actually on a ladder, or for AI reasons)
method: onEffectRemoved (Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effect method: onEnterCombat ()V Sends an ENTER_COMBAT packet to the client
method: onItemPickup (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: item method: onLeaveCombat ()V Sends an END_COMBAT packet to the client
method: onSyncedDataUpdated (Lnet/minecraft/network/syncher/EntityDataAccessor;)V params: 1: key method: outOfWorld ()V sets the dead flag. Used when you fall off the bottom of the world.
method: playBlockFallSound ()V Plays the fall sound for the block landed on
method: playHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: push (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Applies a velocity to the entities, to push them away from eachother.
method: randomTeleport (DDDZ)Z params: 1: x, 3: y, 5: z method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeEffect (Lnet/minecraft/world/effect/MobEffect;)Z params: 1: effect method: removeEffectNoUpdate (Lnet/minecraft/world/effect/MobEffect;)Lnet/minecraft/world/effect/MobEffectInstance; params: 1: potioneffectin Removes the given potion effect from the active potion map and returns it. Does not call cleanup callbacks for the end of the potion effect.
method: removeEffectParticles ()V Resets the potion effect color and ambience metadata values
method: rideTick ()V Handles updating while riding another entity
method: setAbsorptionAmount method: setArrowCount (I)V params: 1: count sets the amount of arrows stuck in the entity. used for rendering those
method: setHealth method: setItemInHand (Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/item/ItemStack;)V params: 1: hand, 2: stack method: setItemSlot (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setJumping method: setLastArmorItem (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setLastHandItem (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setLastHurtByMob (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingBase Hint to AI tasks that we were attacked by the passed EntityLivingBase and should retaliate. Is not guaranteed to change our actual active target (for example if we are currently busy attacking someone else)
method: setLastHurtMob (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: setLivingEntityFlag (IZ)V params: 1: key, 2: value method: setNoActionTime method: setOnGround method: setPosToBed (Lnet/minecraft/core/BlockPos;)V Sets entity position to a supplied BlockPos plus a little offset
method: setRecordPlayingNearby (Lnet/minecraft/core/BlockPos;Z)V params: 1: pos, 2: isPartying Called when a record starts or stops playing. Used to make parrots start or stop partying.
method: setSpeed (F)V params: 1: speed set the movespeed used for the new AI system
method: setSprinting (Z)V params: 1: sprinting Set sprinting switch for Entity.
method: setYBodyRot (F)V params: 1: offset Set the render yaw offset
method: setYHeadRot (F)V params: 1: rotation Sets the head's yaw rotation of the entity.
method: shouldDropExperience ()Z Entity won't drop items or experience points if this returns false
method: spawnItemParticles (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: count method: startSleeping (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: startUsingItem (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: stopRiding ()V Dismounts this entity from the entity it is riding.
method: swing (Lnet/minecraft/world/InteractionHand;)V params: 1: hand method: swing (Lnet/minecraft/world/InteractionHand;Z)V params: 1: hand, 2: updateSelf method: take (Lnet/minecraft/world/entity/Entity;I)V params: 1: entity, 2: quantity Called when the entity picks up an item.
method: tick ()V Called to update the entity's position/logic.
method: tickDeath ()V handles entity death timer, experience orb and particle creation
method: trapdoorUsableAsLadder (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: pos, 2: state method: travel (Lnet/minecraft/world/phys/Vec3;)V params: 1: travelVector method: triggerItemUseEffects (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: count method: updateFallFlying ()V Called each tick. Updates state for the elytra.
method: updateInvisibilityStatus ()V Clears potion metadata values if the entity has no potion effects. Otherwise, updates potion effect color, ambience, and invisibility metadata values
method: updateSwingTime ()V Updates the arm swing progress counters and animation progress
class: Mob path: net/minecraft/world/entity/Mob method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: aiStep ()V Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
method: ate ()V This function applies the benefits of growing back wool and faster growing up to the acting entity. (This function is used in the AIEatGrass)
method: baseTick ()V Gets called every tick from main Entity class
method: canAttack (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: target method: canAttackType (Lnet/minecraft/world/entity/EntityType;)Z params: 1: type method: canBeControlledByRider ()Z returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden by a player and the player is holding a carrot-on-a-stick
method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: canHoldItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: canReplaceCurrentItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: candidate, 2: existing method: canTakeItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: itemstack method: checkAndHandleImportantInteractions (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: checkDespawn ()V Makes the entity despawn if requirements are reached
method: checkMobSpawnRules (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: type, 1: level, 2: reason, 3: pos, 4: random Returns true if entity is spawned from spawner or if entity can spawn on given BlockPos
method: checkSpawnObstruction (Lnet/minecraft/world/level/LevelReader;)Z params: 1: level method: checkSpawnRules (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;)Z params: 1: level, 2: spawnReason method: createLootContext (ZLnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: attackedRecently, 2: damageSource method: createNavigation (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/entity/ai/navigation/PathNavigation; params: 1: level Returns new PathNavigateGround instance
method: doHurtTarget (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: dropCustomDeathLoot (Lnet/minecraft/world/damagesource/DamageSource;IZ)V params: 1: source, 2: looting, 3: recentlyHit method: dropFromLootTable (Lnet/minecraft/world/damagesource/DamageSource;Z)V params: 1: damageSource, 2: attackedRecently method: dropLeash (ZZ)V params: 1: sendPacket, 2: dropLead Removes the leash from this entity
method: finalizeSpawn (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/DifficultyInstance;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/world/entity/SpawnGroupData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/SpawnGroupData; params: 1: level, 2: difficulty, 3: reason, 4: spawnData, 5: dataTag method: getAmbientSoundInterval ()I Get number of ticks, at least during which the living entity will be silent.
method: getEquipmentDropChance (Lnet/minecraft/world/entity/EquipmentSlot;)F params: 1: slot method: getEquipmentForSlot (Lnet/minecraft/world/entity/EquipmentSlot;I)Lnet/minecraft/world/item/Item; params: 0: slot, 1: chance method: getExperienceReward (Lnet/minecraft/world/entity/player/Player;)I params: 1: player Get the experience points the entity currently has.
method: getItemBySlot (Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; params: 1: slot method: getMaxFallDistance ()I The maximum height from where the entity is alowed to jump (used in pathfinder)
method: getMaxHeadXRot ()I The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently use in wolves.
method: getMaxSpawnClusterSize ()I Will return how many at most can spawn in a chunk at once.
method: getPathfindingMalus (Lnet/minecraft/world/level/pathfinder/BlockPathTypes;)F params: 1: nodeType method: getSensing ()Lnet/minecraft/world/entity/ai/sensing/Sensing; returns the EntitySenses Object for the EntityLiving
method: getTarget ()Lnet/minecraft/world/entity/LivingEntity; Gets the active target the Task system uses for tracking
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: interact (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: isEffectiveAi ()Z Returns whether the entity is in a server world
method: isMaxGroupSizeReached method: isNoAi ()Z Get whether this Entity's AI is disabled
method: isPersistenceRequired ()Z Return the persistenceRequired field (whether this entity is allowed to naturally despawn)
method: isWithinRestriction (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: jumpInLiquid (Lnet/minecraft/tags/Tag;)V params: 1: fluidTag method: lookAt (Lnet/minecraft/world/entity/Entity;FF)V params: 1: entity, 2: maxYawIncrease, 3: maxPitchIncrease Changes pitch and yaw so that the entity calling the function is facing the entity provided as an argument.
method: mobInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: hand method: onOffspringSpawnedFromEgg (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Mob;)V params: 1: player, 2: child method: pickUpItem (Lnet/minecraft/world/entity/item/ItemEntity;)V params: 1: itemEntity Tests if this entity should pickup a weapon or an armor. Entity drops current weapon or armor if the new one is better.
method: playAmbientSound ()V Plays living's sound at its position
method: playHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: source method: populateDefaultEquipmentEnchantments (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Enchants Entity's current equipments based on given DifficultyInstance
method: populateDefaultEquipmentSlots (Lnet/minecraft/world/DifficultyInstance;)V params: 1: difficulty Gives armor or weapon for entity based on given DifficultyInstance
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: removeWhenFarAway (D)Z params: 1: distanceToClosestPlayer method: restrictTo (Lnet/minecraft/core/BlockPos;I)V params: 1: pos, 2: distance method: rotlerp (FFF)F params: 1: angle, 2: targetAngle, 3: maxIncrease Arguments: current rotation, intended rotation, max increment.
method: setAggressive method: setBaby (Z)V params: 1: childZombie Set whether this zombie is a child.
method: setCanPickUpLoot method: setDelayedLeashHolderId (I)V params: 1: leashHolderID method: setDropChance (Lnet/minecraft/world/entity/EquipmentSlot;F)V params: 1: slot, 2: chance method: setItemSlot (Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V params: 1: slot, 2: stack method: setLeashedTo (Lnet/minecraft/world/entity/Entity;Z)V params: 1: entity, 2: sendAttachNotification Sets the entity to be leashed to.
method: setLeftHanded (Z)V params: 1: leftHanded method: setNoAi (Z)V params: 1: disable Set whether this Entity's AI is disabled
method: setPathfindingMalus (Lnet/minecraft/world/level/pathfinder/BlockPathTypes;F)V params: 1: nodeType, 2: priority method: setPersistenceRequired ()V Enable the Entity persistence
method: setSlot (ILnet/minecraft/world/item/ItemStack;)Z params: 1: slotIndex, 2: stack method: setSpeed (F)V params: 1: speed set the movespeed used for the new AI system
method: setTarget (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingEntity Sets the active target the Task system uses for tracking
method: setXxa method: setYya method: setZza method: spawnAnim ()V Spawns an explosion particle around the Entity's location
method: startRiding (Lnet/minecraft/world/entity/Entity;Z)Z params: 1: entity, 2: force method: tick ()V Called to update the entity's position/logic.
method: tickLeash ()V Applies logic related to leashes, for example dragging the entity or breaking the leash.
method: updateControlFlags ()V Sets MOVE, JUMP, LOOK Goal.Flags depending if entity is riding or been controlled
class: MobCategory path: net/minecraft/world/entity/MobCategory method: byName (Ljava/lang/String;)Lnet/minecraft/world/entity/MobCategory; params: 0: name method: isFriendly ()Z Gets whether or not this creature type is peaceful.
method: isPersistent ()Z Return whether this creature type is an animal.
class: NeutralMob path: net/minecraft/world/entity/NeutralMob method: addPersistentAngerSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: getTarget ()Lnet/minecraft/world/entity/LivingEntity; Gets the active target the Task system uses for tracking
method: setLastHurtByMob (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingBase Hint to AI tasks that we were attacked by the passed EntityLivingBase and should retaliate. Is not guaranteed to change our actual active target (for example if we are currently busy attacking someone else)
method: setPersistentAngerTarget (Ljava/util/UUID;)V params: 1: target method: setRemainingPersistentAngerTime method: setTarget (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: livingEntity Sets the active target the Task system uses for tracking
class: PathfinderMob path: net/minecraft/world/entity/PathfinderMob method: checkSpawnRules (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;)Z params: 1: level, 2: spawnReason method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;)F params: 1: pos method: getWalkTargetValue (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelReader;)F params: 1: pos, 2: level method: isPathFinding ()Z if the entity got a PathEntity it returns true, else false
method: onLeashDistance method: tickLeash ()V Applies logic related to leashes, for example dragging the entity or breaking the leash.
class: PlayerRideableJumping path: net/minecraft/world/entity/PlayerRideableJumping method: handleStartJump method: onPlayerJump class: ReputationEventHandler path: net/minecraft/world/entity/ReputationEventHandler method: onReputationEventFrom (Lnet/minecraft/world/entity/ai/village/ReputationEventType;Lnet/minecraft/world/entity/Entity;)V params: 1: type, 2: target class: Shearable path: net/minecraft/world/entity/Shearable method: shear (Lnet/minecraft/sounds/SoundSource;)V params: 1: category class: SpawnPlacements path: net/minecraft/world/entity/SpawnPlacements method: checkSpawnRules (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 0: entityType, 1: level, 2: reason, 3: pos, 4: rand method: getPlacementType (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/entity/SpawnPlacements$Type; params: 0: entityType method: register (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/entity/SpawnPlacements$Type;Lnet/minecraft/world/level/levelgen/Heightmap$Types;Lnet/minecraft/world/entity/SpawnPlacements$SpawnPredicate;)V params: 0: entityType, 1: decoratorType, 2: heightMapType, 3: decoratorPredicate class: TamableAnimal path: net/minecraft/world/entity/TamableAnimal method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: canAttack (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: target method: canBeLeashed (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: die (Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: cause Called when the mob's health reaches 0.
method: handleEntityEvent (B)V params: 1: id Handler for {@link World#setEntityState}
method: isAlliedTo (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity Returns whether this Entity is on the same team as the given Entity.
method: isOwnedBy (Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: entity method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound (abstract) Protected helper method to read subclass entity data from NBT.
method: setTame method: spawnTamingParticles (Z)V params: 1: play Play the taming effect, will either be hearts or smoke depending on status
method: tame (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: wantsToAttack (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: target, 2: owner food class: FoodData path: net/minecraft/world/food/FoodData method: addAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compoundTag Writes the food data for the player.
method: addExhaustion (F)V params: 1: exhaustion adds input to foodExhaustionLevel to a max of 40
method: eat (IF)V params: 1: foodLevelModifier, 2: saturationLevelModifier Add food stats.
method: eat (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;)V params: 1: item, 2: stack method: getFoodLevel ()I Get the player's food level.
method: getSaturationLevel ()F Get the player's food saturation level.
method: needsFood ()Z Get whether the player must eat food.
method: readAdditionalSaveData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compoundTag Reads the food data for the player.
method: setFoodLevel method: setSaturation (F)V params: 1: saturationLevel method: tick (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Handles the food game logic.
class: FoodProperties path: net/minecraft/world/food/FoodProperties method: <init> (IFZZZLjava/util/List;)V params: 1: nutrition, 2: saturationModifier, 3: isMeat, 4: canAlwaysEat, 5: fastFood, 6: effects class: FoodProperties$Builder path: net/minecraft/world/food/FoodProperties$Builder method: effect (Lnet/minecraft/world/effect/MobEffectInstance;F)Lnet/minecraft/world/food/FoodProperties$Builder; params: 1: effect, 2: probability method: nutrition (I)Lnet/minecraft/world/food/FoodProperties$Builder; params: 1: nutrition method: saturationMod (F)Lnet/minecraft/world/food/FoodProperties$Builder; params: 1: saturationModifier class: Foods path: net/minecraft/world/food/Foods method: stew (I)Lnet/minecraft/world/food/FoodProperties; params: 0: nutrition inventory class: AbstractContainerMenu path: net/minecraft/world/inventory/AbstractContainerMenu method: <init> (Lnet/minecraft/world/inventory/MenuType;I)V params: 1: menuType, 2: containerId method: addDataSlot (Lnet/minecraft/world/inventory/DataSlot;)Lnet/minecraft/world/inventory/DataSlot; params: 1: intValue method: addDataSlots (Lnet/minecraft/world/inventory/ContainerData;)V params: 1: array method: addSlot (Lnet/minecraft/world/inventory/Slot;)Lnet/minecraft/world/inventory/Slot; params: 1: slot Adds an item slot to this container
method: addSlotListener (Lnet/minecraft/world/inventory/ContainerListener;)V params: 1: listener method: backup (Lnet/minecraft/world/entity/player/Inventory;)S params: 1: playerInventory method: broadcastChanges ()V Looks for changes made in the container, sends them to every listener.
method: canDragTo (Lnet/minecraft/world/inventory/Slot;)Z params: 1: slot Returns true if the player can "drag-spilt" items into this slot,. returns true by default. Called to check if the slot can be added to a list of Slots to split the held ItemStack across.
method: canItemQuickReplace (Lnet/minecraft/world/inventory/Slot;Lnet/minecraft/world/item/ItemStack;Z)Z params: 0: slot, 1: stack, 2: stackSizeMatters Checks if it's possible to add the given itemstack to the given slot.
method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: checkContainerDataCount (Lnet/minecraft/world/inventory/ContainerData;I)V params: 0: intArray, 1: minSize method: checkContainerSize (Lnet/minecraft/world/Container;I)V params: 0: inventory, 1: minSize method: clearContainer (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/Container;)V params: 1: player, 2: level, 3: container method: clickMenuButton (Lnet/minecraft/world/entity/player/Player;I)Z params: 1: player, 2: id Handles the given Button-click on the server, currently only used by enchanting. Name is for legacy.
method: clicked (IILnet/minecraft/world/inventory/ClickType;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/item/ItemStack; params: 1: slotId, 2: dragType, 3: clickType, 4: player method: consideredTheSameItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack1, 1: stack2 method: doClick (IILnet/minecraft/world/inventory/ClickType;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/item/ItemStack; params: 1: slotId, 2: dragType, 3: clickType, 4: player method: getItems ()Lnet/minecraft/core/NonNullList; returns a list if itemStacks, for each slot.
method: getQuickCraftSlotCount (Ljava/util/Set;ILnet/minecraft/world/item/ItemStack;I)V params: 0: dragSlots, 1: dragMode, 2: stack, 3: slotStackSize Compute the new stack size, Returns the stack with the new size. Args : dragSlots, dragMode, dragStack, slotStackSize
method: getQuickcraftHeader (I)I params: 0: clickedButton Args : clickedButton, Returns (0 : start drag, 1 : add slot, 2 : end drag)
method: getQuickcraftMask (II)I params: 0: quickCraftingHeader, 1: quickCraftingType method: getQuickcraftType (I)I params: 0: eventButton Extracts the drag mode. Args : eventButton. Return (0 : evenly split, 1 : one item by slot, 2 : not used ?)
method: getRedstoneSignalFromBlockEntity (Lnet/minecraft/world/level/block/entity/BlockEntity;)I params: 0: te Like the version that takes an inventory. If the given TileEntity is not an Inventory, 0 is returned instead.
method: getRedstoneSignalFromContainer (Lnet/minecraft/world/Container;)I params: 0: inv method: getSlot (I)Lnet/minecraft/world/inventory/Slot; params: 1: slotId method: isSynched (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: isValidQuickcraftType (ILnet/minecraft/world/entity/player/Player;)Z params: 0: dragMode, 1: player method: lambda$stillValid$0 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; params: 2: level, 3: blockPos method: moveItemStackTo (Lnet/minecraft/world/item/ItemStack;IIZ)Z params: 1: stack, 2: startIndex, 3: endIndex, 4: reverseDirection Merges provided ItemStack with the first avaliable one in the container/player inventor between minIndex (included) and maxIndex (excluded). Args : stack, minIndex, maxIndex, negativDirection. [!] the Container implementation do not check if the item is valid for the slot
method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removeSlotListener (Lnet/minecraft/world/inventory/ContainerListener;)V params: 1: listener Remove the given Listener. Method name is for legacy.
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: resetQuickCraft method: setAll (Ljava/util/List;)V params: 1: stacks method: setData (II)V params: 1: id, 2: data method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: slotID, 2: stack Puts an ItemStack in a slot.
method: setSynched (Lnet/minecraft/world/entity/player/Player;Z)V params: 1: player, 2: isSynched method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
method: stillValid (Lnet/minecraft/world/inventory/ContainerLevelAccess;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/block/Block;)Z params: 0: levelPos, 1: player, 2: targetBlock class: AbstractFurnaceMenu path: net/minecraft/world/inventory/AbstractFurnaceMenu method: <init> (Lnet/minecraft/world/inventory/MenuType;Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/inventory/RecipeBookType;ILnet/minecraft/world/entity/player/Inventory;)V params: 1: menuType, 2: recipeType, 3: recipeBookType, 4: containerId, 5: playerInventory method: <init> (Lnet/minecraft/world/inventory/MenuType;Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/inventory/RecipeBookType;ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;)V params: 1: menuType, 2: recipeType, 3: recipeBookType, 4: containerId, 5: playerInventory, 6: container, 7: data method: canSmelt (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: fillCraftSlotsStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: itemHelper method: handlePlacement (ZLnet/minecraft/world/item/crafting/Recipe;Lnet/minecraft/server/level/ServerPlayer;)V params: 1: placeAll, 2: recipe, 3: player method: isFuel (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: recipeMatches (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: AnvilMenu path: net/minecraft/world/inventory/AnvilMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: calculateIncreasedRepairCost (I)I params: 0: oldRepairCost method: createResult ()V called when the Anvil Input Slot changes, calculates the new result and puts it in the output slot
method: getCost ()I Get's the maximum xp cost
method: isValidBlock (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: lambda$onTake$0 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: blockPos method: mayPickup (Lnet/minecraft/world/entity/player/Player;Z)Z params: 1: player, 2: hasStack method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: inputItem method: setItemName (Ljava/lang/String;)V params: 1: newName used by the Anvil GUI to update the Item Name being typed by the player
class: BeaconMenu path: net/minecraft/world/inventory/BeaconMenu method: <init> (ILnet/minecraft/world/Container;)V params: 1: containerId, 2: container method: <init> (ILnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: container, 3: beaconData, 4: access method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: setData (II)V params: 1: id, 2: data method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
method: updateEffects (II)V params: 1: primaryEffectStrength, 2: secondaryEffectStrength class: BeaconMenu$1 path: net/minecraft/world/inventory/BeaconMenu$1 method: canPlaceItem (ILnet/minecraft/world/item/ItemStack;)Z params: 1: index, 2: stack Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. For guis use Slot.isItemValid
method: getMaxStackSize ()I Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.
class: BeaconMenu$PaymentSlot path: net/minecraft/world/inventory/BeaconMenu$PaymentSlot method: <init> (Lnet/minecraft/world/inventory/BeaconMenu;Lnet/minecraft/world/Container;III)V params: 2: container, 3: containerIndex, 4: xPosition, 5: yPosition method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: BlastFurnaceMenu path: net/minecraft/world/inventory/BlastFurnaceMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;)V params: 1: containerId, 2: playerInventory, 3: blastFurnaceContainer, 4: blastFurnaceData class: BrewingStandMenu path: net/minecraft/world/inventory/BrewingStandMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;)V params: 1: containerId, 2: playerInventory, 3: brewingStandContainer, 4: brewingStandData method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: BrewingStandMenu$FuelSlot path: net/minecraft/world/inventory/BrewingStandMenu$FuelSlot method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: mayPlaceItem (Lnet/minecraft/world/item/ItemStack;)Z params: 0: itemStack Returns true if the given ItemStack is usable as a fuel in the brewing stand.
class: BrewingStandMenu$IngredientsSlot path: net/minecraft/world/inventory/BrewingStandMenu$IngredientsSlot method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: BrewingStandMenu$PotionSlot path: net/minecraft/world/inventory/BrewingStandMenu$PotionSlot method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: mayPlaceItem (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack Returns true if this itemstack can be filled with a potion
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack class: CartographyTableMenu path: net/minecraft/world/inventory/CartographyTableMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: lambda$removed$1 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: lambda$setupResultSlot$0 (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 4: level, 5: blockPos method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: CartographyTableMenu$1 path: net/minecraft/world/inventory/CartographyTableMenu$1 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: CartographyTableMenu$2 path: net/minecraft/world/inventory/CartographyTableMenu$2 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: CartographyTableMenu$3 path: net/minecraft/world/inventory/CartographyTableMenu$3 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: CartographyTableMenu$4 path: net/minecraft/world/inventory/CartographyTableMenu$4 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: CartographyTableMenu$5 path: net/minecraft/world/inventory/CartographyTableMenu$5 method: lambda$onTake$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: blockPos method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack class: ChestMenu path: net/minecraft/world/inventory/ChestMenu method: <init> (Lnet/minecraft/world/inventory/MenuType;ILnet/minecraft/world/entity/player/Inventory;I)V params: 1: type, 2: containerId, 3: playerInventory, 4: rows method: <init> (Lnet/minecraft/world/inventory/MenuType;ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;I)V params: 1: type, 2: containerId, 3: playerInventory, 4: container, 5: rows method: fiveRows (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player method: fourRows (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player method: getContainer ()Lnet/minecraft/world/Container; Gets the inventory associated with this chest container.
@see #field_75155_e
method: oneRow (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: sixRows (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player method: sixRows (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player, 2: blockEntity method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
method: threeRows (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player method: threeRows (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player, 2: blockEntity method: twoRows (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/ChestMenu; params: 0: id, 1: player class: ContainerData path: net/minecraft/world/inventory/ContainerData method: get method: set (II)V params: 1: index, 2: value class: ContainerLevelAccess path: net/minecraft/world/inventory/ContainerLevelAccess method: create (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/inventory/ContainerLevelAccess; params: 0: level, 1: pos method: evaluate (Ljava/util/function/BiFunction;)Ljava/util/Optional; params: 1: levelPosConsumer method: evaluate (Ljava/util/function/BiFunction;Ljava/lang/Object;)Ljava/lang/Object; params: 1: levelPosConsumer, 2: defaultValue method: execute (Ljava/util/function/BiConsumer;)V params: 1: levelPosConsumer method: lambda$execute$0 (Ljava/util/function/BiConsumer;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Ljava/util/Optional; params: 1: level, 2: pos class: ContainerLevelAccess$1 path: net/minecraft/world/inventory/ContainerLevelAccess$1 method: evaluate (Ljava/util/function/BiFunction;)Ljava/util/Optional; params: 1: levelPosConsumer class: ContainerLevelAccess$2 path: net/minecraft/world/inventory/ContainerLevelAccess$2 method: evaluate (Ljava/util/function/BiFunction;)Ljava/util/Optional; params: 1: levelPosConsumer class: ContainerListener path: net/minecraft/world/inventory/ContainerListener method: refreshContainer (Lnet/minecraft/world/inventory/AbstractContainerMenu;Lnet/minecraft/core/NonNullList;)V params: 1: containerToSend, 2: itemsList method: setContainerData (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: container, 2: varToUpdate, 3: newValue method: slotChanged (Lnet/minecraft/world/inventory/AbstractContainerMenu;ILnet/minecraft/world/item/ItemStack;)V params: 1: containerToSend, 2: slotInd, 3: stack Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot.
class: CraftingContainer path: net/minecraft/world/inventory/CraftingContainer method: <init> (Lnet/minecraft/world/inventory/AbstractContainerMenu;II)V params: 1: menu, 2: width, 3: height method: fillStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: helper method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: CraftingMenu path: net/minecraft/world/inventory/CraftingMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: fillCraftSlotsStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: itemHelper method: lambda$quickMoveStack$2 (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: lambda$removed$1 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: lambda$slotsChanged$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: blockPos method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: recipeMatches (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: slotChangedCraftingGrid (ILnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/inventory/ResultContainer;)V params: 0: containerId, 1: level, 2: player, 3: container, 4: resultContainer method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: DataSlot path: net/minecraft/world/inventory/DataSlot method: forContainer (Lnet/minecraft/world/inventory/ContainerData;I)Lnet/minecraft/world/inventory/DataSlot; params: 0: data, 1: idx method: set method: shared ([II)Lnet/minecraft/world/inventory/DataSlot; params: 0: data, 1: idx class: DataSlot$1 path: net/minecraft/world/inventory/DataSlot$1 method: set class: DataSlot$2 path: net/minecraft/world/inventory/DataSlot$2 method: set class: DataSlot$3 path: net/minecraft/world/inventory/DataSlot$3 method: set class: DispenserMenu path: net/minecraft/world/inventory/DispenserMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;)V params: 1: containerId, 2: playerInventory, 3: container method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: EnchantmentMenu path: net/minecraft/world/inventory/EnchantmentMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: clickMenuButton (Lnet/minecraft/world/entity/player/Player;I)Z params: 1: player, 2: id Handles the given Button-click on the server, currently only used by enchanting. Name is for legacy.
method: getEnchantmentList (Lnet/minecraft/world/item/ItemStack;II)Ljava/util/List; params: 1: stack, 2: enchantSlot, 3: level method: lambda$clickMenuButton$1 (Lnet/minecraft/world/item/ItemStack;ILnet/minecraft/world/entity/player/Player;ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 6: level, 7: blockPos method: lambda$removed$2 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: lambda$slotsChanged$0 (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: EnchantmentMenu$1 path: net/minecraft/world/inventory/EnchantmentMenu$1 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: EnchantmentMenu$2 path: net/minecraft/world/inventory/EnchantmentMenu$2 method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: EnchantmentMenu$3 path: net/minecraft/world/inventory/EnchantmentMenu$3 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: FurnaceFuelSlot path: net/minecraft/world/inventory/FurnaceFuelSlot method: <init> (Lnet/minecraft/world/inventory/AbstractFurnaceMenu;Lnet/minecraft/world/Container;III)V params: 1: furnaceMenu, 2: furnaceContainer, 3: slot, 4: xPosition, 5: yPosition method: getMaxStackSize (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack method: isBucket (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: FurnaceMenu path: net/minecraft/world/inventory/FurnaceMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;)V params: 1: containerId, 2: playerInventory, 3: furnaceContainer, 4: furnaceData class: FurnaceResultSlot path: net/minecraft/world/inventory/FurnaceResultSlot method: <init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/Container;III)V params: 1: player, 2: container, 3: slot, 4: xPosition, 5: yPosition method: checkTakeAchievements (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onQuickCraft (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: amount the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an internal count then calls onCrafting(item).
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack method: remove (I)Lnet/minecraft/world/item/ItemStack; params: 1: amount Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new stack.
class: GrindstoneMenu path: net/minecraft/world/inventory/GrindstoneMenu field: resultSlots Lnet/minecraft/world/Container; The inventory slot that stores the output of the crafting recipe.
method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: lambda$removeNonCurses$0 (Ljava/util/Map$Entry;)Z params: 0: enchantment method: lambda$removed$1 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: mergeEnchants (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: copyTo, 2: copyFrom method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removeNonCurses (Lnet/minecraft/world/item/ItemStack;II)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: damage, 3: count Removes all enchantments from the {@plainlink ItemStack}. Note that the curses are not removed.
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: GrindstoneMenu$1 path: net/minecraft/world/inventory/GrindstoneMenu$1 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: GrindstoneMenu$2 path: net/minecraft/world/inventory/GrindstoneMenu$2 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: GrindstoneMenu$3 path: net/minecraft/world/inventory/GrindstoneMenu$3 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: GrindstoneMenu$4 path: net/minecraft/world/inventory/GrindstoneMenu$4 method: getExperienceAmount (Lnet/minecraft/world/level/Level;)I params: 1: level Returns the total amount of XP stored in all of the input slots of this container. The return value is randomized, so that it returns between 50% and 100% of the total XP.
method: getExperienceFromItem (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack Returns the total amount of XP stored in the enchantments of this stack.
method: lambda$onTake$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: blockPos method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack class: HopperMenu path: net/minecraft/world/inventory/HopperMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;)V params: 1: containerId, 2: playerInventory, 3: container method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: HorseInventoryMenu path: net/minecraft/world/inventory/HorseInventoryMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;Lnet/minecraft/world/entity/animal/horse/AbstractHorse;)V params: 1: containerId, 2: playerInventory, 3: container, 4: horse method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: HorseInventoryMenu$1 path: net/minecraft/world/inventory/HorseInventoryMenu$1 method: isActive ()Z Actualy only call when we want to render the white square effect over the slots. Return always True, except for the armor slot of the Donkey/Mule (we can't interact with the Undead and Skeleton horses)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: HorseInventoryMenu$2 path: net/minecraft/world/inventory/HorseInventoryMenu$2 method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: isActive ()Z Actualy only call when we want to render the white square effect over the slots. Return always True, except for the armor slot of the Donkey/Mule (we can't interact with the Undead and Skeleton horses)
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: InventoryMenu path: net/minecraft/world/inventory/InventoryMenu method: <init> (Lnet/minecraft/world/entity/player/Inventory;ZLnet/minecraft/world/entity/player/Player;)V params: 1: playerInventory, 2: active, 3: owner method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: fillCraftSlotsStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: itemHelper method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: recipeMatches (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: InventoryMenu$1 path: net/minecraft/world/inventory/InventoryMenu$1 method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: mayPickup (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Return whether this slot's stack can be taken from this slot.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: ItemCombinerMenu path: net/minecraft/world/inventory/ItemCombinerMenu method: <init> (Lnet/minecraft/world/inventory/MenuType;ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: type, 2: containerId, 3: playerInventory, 4: access method: createResult ()V called when the Anvil Input Slot changes, calculates the new result and puts it in the output slot
method: isValidBlock (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: lambda$removed$0 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: lambda$stillValid$1 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; params: 2: level, 3: blockPos method: mayPickup (Lnet/minecraft/world/entity/player/Player;Z)Z params: 1: player, 2: hasStack method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: inputItem method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: shouldQuickMoveToAdditionalSlot (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: ItemCombinerMenu$1 path: net/minecraft/world/inventory/ItemCombinerMenu$1 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: ItemCombinerMenu$2 path: net/minecraft/world/inventory/ItemCombinerMenu$2 method: mayPickup (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Return whether this slot's stack can be taken from this slot.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack class: LecternMenu path: net/minecraft/world/inventory/LecternMenu method: <init> (I)V params: 1: containerId method: <init> (ILnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;)V params: 1: containerId, 2: lectern, 3: lecternData method: clickMenuButton (Lnet/minecraft/world/entity/player/Player;I)Z params: 1: player, 2: id Handles the given Button-click on the server, currently only used by enchanting. Name is for legacy.
method: setData (II)V params: 1: id, 2: data method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: LecternMenu$1 path: net/minecraft/world/inventory/LecternMenu$1 method: setChanged ()V Called when the stack in a Slot changes
class: LoomMenu path: net/minecraft/world/inventory/LoomMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: clickMenuButton (Lnet/minecraft/world/entity/player/Player;I)Z params: 1: player, 2: id Handles the given Button-click on the server, currently only used by enchanting. Name is for legacy.
method: lambda$removed$1 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: registerUpdateListener (Ljava/lang/Runnable;)V params: 1: listener method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: setupResultSlot ()V Creates an output banner ItemStack based on the patterns, dyes, etc. in the loom.
method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: LoomMenu$1 path: net/minecraft/world/inventory/LoomMenu$1 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: LoomMenu$2 path: net/minecraft/world/inventory/LoomMenu$2 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: LoomMenu$3 path: net/minecraft/world/inventory/LoomMenu$3 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: LoomMenu$4 path: net/minecraft/world/inventory/LoomMenu$4 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: LoomMenu$5 path: net/minecraft/world/inventory/LoomMenu$5 method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: LoomMenu$6 path: net/minecraft/world/inventory/LoomMenu$6 method: lambda$onTake$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: blockPos method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack class: MenuConstructor path: net/minecraft/world/inventory/MenuConstructor method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player class: MenuType path: net/minecraft/world/inventory/MenuType method: <init> (Lnet/minecraft/world/inventory/MenuType$MenuSupplier;)V params: 1: constructor method: create (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: windowId, 2: player method: lambda$static$0 (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/LecternMenu; params: 0: containerId, 1: playerInventory method: register (Ljava/lang/String;Lnet/minecraft/world/inventory/MenuType$MenuSupplier;)Lnet/minecraft/world/inventory/MenuType; params: 0: key, 1: factory class: MenuType$MenuSupplier path: net/minecraft/world/inventory/MenuType$MenuSupplier method: create (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: playerInventory class: MerchantContainer path: net/minecraft/world/inventory/MerchantContainer method: <init> (Lnet/minecraft/world/item/trading/Merchant;)V params: 1: merchant method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: isPaymentSlot (I)Z params: 1: slot if par1 slot has changed, does resetRecipeAndSlots need to be called?
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setSelectionHint (I)V params: 1: currentRecipeIndex method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: MerchantMenu path: net/minecraft/world/inventory/MerchantMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/item/trading/Merchant;)V params: 1: containerId, 2: playerInventory, 3: trader method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: isSameItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack1, 2: stack2 method: moveFromInventoryToPaymentSlot (ILnet/minecraft/world/item/ItemStack;)V params: 1: paymentSlotIndex, 2: paymentSlot method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: setCanRestock (Z)V params: 1: canRestock method: setMerchantLevel method: setOffers (Lnet/minecraft/world/item/trading/MerchantOffers;)V params: 1: offers net.minecraft.client.network.play.ClientPlayNetHandler uses this to set offers for the client side MerchantContainer
method: setSelectionHint (I)V params: 1: currentRecipeIndex method: setShowProgressBar (Z)V params: 1: showProgressBar method: setXp method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
method: tryMoveItems (I)V params: 1: selectedMerchantRecipe class: MerchantResultSlot path: net/minecraft/world/inventory/MerchantResultSlot method: <init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/trading/Merchant;Lnet/minecraft/world/inventory/MerchantContainer;III)V params: 1: player, 2: merchant, 3: slots, 4: slot, 5: xPosition, 6: yPosition method: checkTakeAchievements (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onQuickCraft (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: amount the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an internal count then calls onCrafting(item).
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack method: remove (I)Lnet/minecraft/world/item/ItemStack; params: 1: amount Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new stack.
class: PlayerEnderChestContainer path: net/minecraft/world/inventory/PlayerEnderChestContainer method: fromTag (Lnet/minecraft/nbt/ListTag;)V params: 1: containerNbt method: setActiveChest (Lnet/minecraft/world/level/block/entity/EnderChestBlockEntity;)V params: 1: chestBlockEntity method: startOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
method: stopOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: RecipeBookMenu path: net/minecraft/world/inventory/RecipeBookMenu method: fillCraftSlotsStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: itemHelper method: handlePlacement (ZLnet/minecraft/world/item/crafting/Recipe;Lnet/minecraft/server/level/ServerPlayer;)V params: 1: placeAll, 2: recipe, 3: player method: recipeMatches (Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: recipe class: RecipeHolder path: net/minecraft/world/inventory/RecipeHolder method: awardUsedRecipes (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: setRecipeUsed (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: setRecipeUsed (Lnet/minecraft/world/level/Level;Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/world/item/crafting/Recipe;)Z params: 1: level, 2: player, 3: recipe class: ResultContainer path: net/minecraft/world/inventory/ResultContainer method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setRecipeUsed (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: ResultSlot path: net/minecraft/world/inventory/ResultSlot method: <init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/Container;III)V params: 1: player, 2: craftSlots, 3: container, 4: slot, 5: xPosition, 6: yPosition method: checkTakeAchievements (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onQuickCraft (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: amount the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an internal count then calls onCrafting(item).
method: onSwapCraft (I)V params: 1: numItemsCrafted method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack method: remove (I)Lnet/minecraft/world/item/ItemStack; params: 1: amount Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new stack.
class: ShulkerBoxMenu path: net/minecraft/world/inventory/ShulkerBoxMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;)V params: 1: containerId, 2: playerInventory, 3: container method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: ShulkerBoxSlot path: net/minecraft/world/inventory/ShulkerBoxSlot method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
class: SimpleContainerData path: net/minecraft/world/inventory/SimpleContainerData method: <init> method: get method: set (II)V params: 1: index, 2: value class: Slot path: net/minecraft/world/inventory/Slot method: <init> (Lnet/minecraft/world/Container;III)V params: 1: container, 2: index, 3: x, 4: y method: checkTakeAchievements (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
method: getItem ()Lnet/minecraft/world/item/ItemStack; Helper fnct to get the stack in the slot.
method: getMaxStackSize ()I Returns the maximum stack size for a given slot (usually the same as getInventoryStackLimit(), but 1 in the case of armor slots)
method: getMaxStackSize (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack method: hasItem ()Z Returns if this slot contains a stack.
method: isActive ()Z Actualy only call when we want to render the white square effect over the slots. Return always True, except for the armor slot of the Donkey/Mule (we can't interact with the Undead and Skeleton horses)
method: mayPickup (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Return whether this slot's stack can be taken from this slot.
method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onQuickCraft (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: amount the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an internal count then calls onCrafting(item).
method: onQuickCraft (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)V params: 1: oldStack, 2: newStack if par2 has more items than par1, onCrafting(item,countIncrease) is called
method: onSwapCraft (I)V params: 1: numItemsCrafted method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack method: remove (I)Lnet/minecraft/world/item/ItemStack; params: 1: amount Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new stack.
method: set (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Helper method to put a stack in the slot.
method: setChanged ()V Called when the stack in a Slot changes
class: SmithingMenu path: net/minecraft/world/inventory/SmithingMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: createResult ()V called when the Anvil Input Slot changes, calculates the new result and puts it in the output slot
method: isValidBlock (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: lambda$onTake$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: blockPos method: lambda$shouldQuickMoveToAdditionalSlot$1 (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/crafting/UpgradeRecipe;)Z params: 1: playerInventory method: mayPickup (Lnet/minecraft/world/entity/player/Player;Z)Z params: 1: player, 2: hasStack method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: inputItem method: shouldQuickMoveToAdditionalSlot (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: shrinkStackInSlot class: SmokerMenu path: net/minecraft/world/inventory/SmokerMenu method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/Container;Lnet/minecraft/world/inventory/ContainerData;)V params: 1: containerId, 2: playerInventory, 3: smokerContainer, 4: smokerData class: StackedContentsCompatible path: net/minecraft/world/inventory/StackedContentsCompatible method: fillStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: helper class: StonecutterMenu path: net/minecraft/world/inventory/StonecutterMenu field: input Lnet/minecraft/world/item/ItemStack; The {@plainlink ItemStack} set in the input slot by the player.
field: lastSoundTime J Stores the game time of the last time the player took items from the the crafting result slot. This is used to prevent the sound from being played multiple times on the same tick.
field: resultContainer Lnet/minecraft/world/inventory/ResultContainer; The inventory that stores the output of the crafting recipe.
field: resultSlot Lnet/minecraft/world/inventory/Slot; The inventory slot that stores the output of the crafting recipe.
field: selectedRecipeIndex Lnet/minecraft/world/inventory/DataSlot; The index of the selected recipe in the GUI.
method: <init> (ILnet/minecraft/world/entity/player/Inventory;)V params: 1: containerId, 2: playerInventory method: <init> (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/inventory/ContainerLevelAccess;)V params: 1: containerId, 2: playerInventory, 3: access method: canTakeItemForPickAll (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/inventory/Slot;)Z params: 1: stack, 2: slot Called to determine if the current slot is valid for the stack merging (double-click) code. The stack passed in is null for the initial slot that was double-clicked.
method: clickMenuButton (Lnet/minecraft/world/entity/player/Player;I)Z params: 1: player, 2: id Handles the given Button-click on the server, currently only used by enchanting. Name is for legacy.
method: getSelectedRecipeIndex ()I Returns the index of the selected recipe.
method: isValidRecipeIndex (I)Z params: 1: recipeIndex method: lambda$removed$1 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 2: level, 3: blockPos method: quickMoveStack (Lnet/minecraft/world/entity/player/Player;I)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: index Handle when the stack in slot {@code index} is shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).
method: registerUpdateListener (Ljava/lang/Runnable;)V params: 1: listener method: removed (Lnet/minecraft/world/entity/player/Player;)V params: 1: player Called when the container is closed.
method: setupRecipeList (Lnet/minecraft/world/Container;Lnet/minecraft/world/item/ItemStack;)V params: 1: inventory, 2: stack method: slotsChanged (Lnet/minecraft/world/Container;)V params: 1: inventory Callback for when the crafting matrix is changed.
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Determines whether supplied player can use this container
class: StonecutterMenu$1 path: net/minecraft/world/inventory/StonecutterMenu$1 method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: StonecutterMenu$2 path: net/minecraft/world/inventory/StonecutterMenu$2 method: lambda$onTake$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: blockPos method: mayPlace (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
method: onTake (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: player, 2: stack item alchemy class: Potion path: net/minecraft/world/item/alchemy/Potion Defines a type of potion in the game. These are used to associate one or more effects with items such as the bottled potion or the tipped arrows.
field: name Ljava/lang/String; The base name for the potion type.
method: <init> (Ljava/lang/String;[Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: name, 2: effects method: <init> ([Lnet/minecraft/world/effect/MobEffectInstance;)V params: 1: effects method: byName (Ljava/lang/String;)Lnet/minecraft/world/item/alchemy/Potion; params: 0: name Attempts to find a Potion using a name. The name will be parsed as a namespaced identifier which will be used to lookup the potion in the potion registry.
@return The potion that was found in the registry.
method: getEffects ()Ljava/util/List; Gets the base effects applied by the potion.
@return The effects applied by the potion.
method: getName (Ljava/lang/String;)Ljava/lang/String; params: 1: prefix Gets the prefixed potion name. This is often used to create a localization key for items like the tipped arrows or bottled potion.
@return The prefixed potion name.
method: hasInstantEffects ()Z Checks if the potion contains any instant effects such as instant health or instant damage.
@return Whether or not the potion contained an instant effect.
class: PotionBrewing path: net/minecraft/world/item/alchemy/PotionBrewing method: addContainer (Lnet/minecraft/world/item/Item;)V params: 0: container method: addContainerRecipe (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;)V params: 0: from, 1: ingredient, 2: to method: addMix (Lnet/minecraft/world/item/alchemy/Potion;Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/alchemy/Potion;)V params: 0: potionEntry, 1: potionIngredient, 2: potionResult method: hasContainerMix (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: input, 1: reagent method: hasMix (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: input, 1: reagent method: hasPotionMix (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: input, 1: reagent method: isBrewablePotion (Lnet/minecraft/world/item/alchemy/Potion;)Z params: 0: potion method: isContainerIngredient (Lnet/minecraft/world/item/ItemStack;)Z params: 0: input method: isIngredient (Lnet/minecraft/world/item/ItemStack;)Z params: 0: input method: isPotionIngredient (Lnet/minecraft/world/item/ItemStack;)Z params: 0: input method: lambda$static$0 (Lnet/minecraft/world/item/ItemStack;)Z params: 0: input method: mix (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 0: reagent, 1: potion class: PotionBrewing$Mix path: net/minecraft/world/item/alchemy/PotionBrewing$Mix method: <init> (Ljava/lang/Object;Lnet/minecraft/world/item/crafting/Ingredient;Ljava/lang/Object;)V params: 1: from, 2: ingredient, 3: to class: PotionUtils path: net/minecraft/world/item/alchemy/PotionUtils method: addPotionTooltip (Lnet/minecraft/world/item/ItemStack;Ljava/util/List;F)V params: 0: stack, 1: tooltips, 2: durationFactor Adds the tooltip of the {@code Potion} stored on the {@code ItemStack} along a "durationFactor"
method: getAllEffects (Lnet/minecraft/nbt/CompoundTag;)Ljava/util/List; params: 0: compoundTag Creates a list of {@code MobEffectInstance}s from data on a {@code CompoundTag}.
method: getAllEffects (Lnet/minecraft/world/item/alchemy/Potion;Ljava/util/Collection;)Ljava/util/List; params: 0: potion, 1: effects Creates a list of {@code MobEffectInstance} from a {@code Potion} as well as a {@code Collection} of {@code MobEffectInstance}
method: getColor (Ljava/util/Collection;)I params: 0: effects Gets the merged integer color based from a {@code Collection} of {@code MobEffectInstance}
method: getColor (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack Gets the integer color of an {@code ItemStack} as defined by it's stored potion color tag
method: getColor (Lnet/minecraft/world/item/alchemy/Potion;)I params: 0: potion Gets the integer color of an {@code Potion}
method: getCustomEffects (Lnet/minecraft/nbt/CompoundTag;)Ljava/util/List; params: 0: compoundTag Creates a list of {@code MobEffectInstance} from data on the passed {@code CompoundTag}
method: getCustomEffects (Lnet/minecraft/nbt/CompoundTag;Ljava/util/List;)V params: 0: compoundTag, 1: effectList Fills a predefined list with {@code MobEffectInstance} from a {@code CompoundTag}
method: getCustomEffects (Lnet/minecraft/world/item/ItemStack;)Ljava/util/List; params: 0: stack Creates a list of {@code MobEffectInstance}s from data on the passed {@code {@code ItemStack}}
method: getMobEffects (Lnet/minecraft/world/item/ItemStack;)Ljava/util/List; params: 0: stack Creates a list of {@code MobEffectInstance} from data on the passed {@code ItemStack} {@code CompoundTag}.
method: getPotion (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/item/alchemy/Potion; params: 0: compoundTag Attempts to get the {@code Potion} type of the passed {@code CompoundTag}
If no correct potion is found, returns the default one : {@code Potions.WATER}
method: getPotion (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/alchemy/Potion; params: 0: stack Attempts to get the {@code Potion} from an {@code ItemStack}
If it fails, returns the default one : {@code Potions.WATER}
method: setCustomEffects (Lnet/minecraft/world/item/ItemStack;Ljava/util/Collection;)Lnet/minecraft/world/item/ItemStack; params: 0: stack, 1: effects Sets a {@code Collection} of {@code MobEffectInstance} to a provided {@code ItemStack}'s NBT
method: setPotion (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/alchemy/Potion;)Lnet/minecraft/world/item/ItemStack; params: 0: stack, 1: potion Sets the {@code Potion} type to the {@code ItemStack}
class: Potions path: net/minecraft/world/item/alchemy/Potions Defines all of the potion types registered by Minecraft itself.
@see net.minecraft.core.Registry#POTION
method: register (Ljava/lang/String;Lnet/minecraft/world/item/alchemy/Potion;)Lnet/minecraft/world/item/alchemy/Potion; params: 0: key, 1: potion Registers a new potion type with the game.
@see net.minecraft.core.Registry#POTION
@return The newly registered potion.
context class: BlockPlaceContext path: net/minecraft/world/item/context/BlockPlaceContext method: <init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/phys/BlockHitResult;)V params: 1: player, 2: hand, 3: itemStack, 4: hitResult method: <init> (Lnet/minecraft/world/item/context/UseOnContext;)V params: 1: context method: at (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/item/context/BlockPlaceContext; params: 0: context, 1: pos, 2: direction class: DirectionalPlaceContext path: net/minecraft/world/item/context/DirectionalPlaceContext method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)V params: 1: level, 2: pos, 3: direction, 4: itemStack, 5: face class: UseOnContext path: net/minecraft/world/item/context/UseOnContext method: <init> (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)V params: 1: player, 2: hand, 3: hitResult method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/phys/BlockHitResult;)V params: 1: level, 2: player, 3: hand, 4: itemStack, 5: hitResult crafting class: AbstractCookingRecipe path: net/minecraft/world/item/crafting/AbstractCookingRecipe method: <init> (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;FI)V params: 1: type, 2: id, 3: group, 4: ingredient, 5: result, 6: experience, 7: cookingTime method: assemble (Lnet/minecraft/world/Container;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getCookingTime ()I Gets the cook time in ticks
method: getExperience ()F Gets the experience of this recipe
method: getGroup ()Ljava/lang/String; Recipes with equal group are combined into one button in the recipe book
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: matches (Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: ArmorDyeRecipe path: net/minecraft/world/item/crafting/ArmorDyeRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: BannerDuplicateRecipe path: net/minecraft/world/item/crafting/BannerDuplicateRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getRemainingItems (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/core/NonNullList; params: 1: inv method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: BlastingRecipe path: net/minecraft/world/item/crafting/BlastingRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;FI)V params: 1: id, 2: group, 3: ingredient, 4: result, 5: experience, 6: cookingTime class: BookCloningRecipe path: net/minecraft/world/item/crafting/BookCloningRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getRemainingItems (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/core/NonNullList; params: 1: inv method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: CampfireCookingRecipe path: net/minecraft/world/item/crafting/CampfireCookingRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;FI)V params: 1: id, 2: group, 3: ingredient, 4: result, 5: experience, 6: cookingTime class: CustomRecipe path: net/minecraft/world/item/crafting/CustomRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: isSpecial ()Z If true, this recipe does not appear in the recipe book and does not respect recipe unlocking (and the doLimitedCrafting gamerule)
class: FireworkRocketRecipe path: net/minecraft/world/item/crafting/FireworkRocketRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: FireworkStarFadeRecipe path: net/minecraft/world/item/crafting/FireworkStarFadeRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: FireworkStarRecipe path: net/minecraft/world/item/crafting/FireworkStarRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: lambda$static$0 (Ljava/util/HashMap;)V params: 0: shapeMap method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: Ingredient path: net/minecraft/world/item/crafting/Ingredient method: <init> (Ljava/util/stream/Stream;)V params: 1: values method: fromJson (Lcom/google/gson/JsonElement;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: json method: fromNetwork (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: buffer method: fromValues (Ljava/util/stream/Stream;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: stream method: lambda$dissolve$1 (Lnet/minecraft/world/item/crafting/Ingredient$Value;)Ljava/util/stream/Stream; params: 0: value method: lambda$of$3 (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: of (Ljava/util/stream/Stream;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: stacks method: of (Lnet/minecraft/tags/Tag;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: tag method: of ([Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: stacks method: of ([Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/item/crafting/Ingredient; params: 0: items method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer method: valueFromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/Ingredient$Value; params: 0: json class: Ingredient$ItemValue path: net/minecraft/world/item/crafting/Ingredient$ItemValue method: <init> (Lnet/minecraft/world/item/ItemStack;)V params: 1: item class: Ingredient$TagValue path: net/minecraft/world/item/crafting/Ingredient$TagValue method: <init> (Lnet/minecraft/tags/Tag;)V params: 1: tag class: MapCloningRecipe path: net/minecraft/world/item/crafting/MapCloningRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: MapExtendingRecipe path: net/minecraft/world/item/crafting/MapExtendingRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: id method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: isSpecial ()Z If true, this recipe does not appear in the recipe book and does not respect recipe unlocking (and the doLimitedCrafting gamerule)
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: Recipe path: net/minecraft/world/item/crafting/Recipe method: assemble (Lnet/minecraft/world/Container;)Lnet/minecraft/world/item/ItemStack; params: 1: container Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getGroup ()Ljava/lang/String; Recipes with equal group are combined into one button in the recipe book
method: getRemainingItems (Lnet/minecraft/world/Container;)Lnet/minecraft/core/NonNullList; params: 1: container method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: isSpecial ()Z If true, this recipe does not appear in the recipe book and does not respect recipe unlocking (and the doLimitedCrafting gamerule)
method: matches (Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Z params: 1: container, 2: level Used to check if a recipe matches current crafting inventory
class: RecipeManager path: net/minecraft/world/item/crafting/RecipeManager method: apply (Ljava/util/Map;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: byKey (Lnet/minecraft/resources/ResourceLocation;)Ljava/util/Optional; params: 1: recipeId method: byType (Lnet/minecraft/world/item/crafting/RecipeType;)Ljava/util/Map; params: 1: recipeType method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/Recipe; params: 0: recipeId, 1: json Deserializes a recipe object from json data.
method: getAllRecipesFor (Lnet/minecraft/world/item/crafting/RecipeType;)Ljava/util/List; params: 1: recipeType method: getRecipeFor (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Ljava/util/Optional; params: 1: recipeType, 2: inventory, 3: level method: getRecipesFor (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Ljava/util/List; params: 1: recipeType, 2: inventory, 3: level method: getRemainingItemsFor (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Lnet/minecraft/core/NonNullList; params: 1: recipeType, 2: inventory, 3: level method: lambda$apply$0 (Lnet/minecraft/world/item/crafting/RecipeType;)Lcom/google/common/collect/ImmutableMap$Builder; params: 0: type method: lambda$apply$1 (Ljava/util/Map$Entry;)Ljava/util/Map; params: 0: entry method: lambda$byKey$6 (Lnet/minecraft/resources/ResourceLocation;Ljava/util/Map;)Lnet/minecraft/world/item/crafting/Recipe; params: 1: recipe method: lambda$getAllRecipesFor$3 (Lnet/minecraft/world/item/crafting/Recipe;)Lnet/minecraft/world/item/crafting/Recipe; params: 0: recipe method: lambda$getRecipeFor$2 (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/Container;Lnet/minecraft/world/item/crafting/Recipe;)Ljava/util/stream/Stream; params: 3: recipe method: lambda$getRecipeIds$8 (Ljava/util/Map;)Ljava/util/stream/Stream; params: 0: recipe method: lambda$getRecipes$7 (Ljava/util/Map;)Ljava/util/stream/Stream; params: 0: recipe method: lambda$getRecipesFor$4 (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/Container;Lnet/minecraft/world/item/crafting/Recipe;)Ljava/util/stream/Stream; params: 3: recipe method: lambda$getRecipesFor$5 (Lnet/minecraft/world/item/crafting/Recipe;)Ljava/lang/String; params: 0: recipeToSort method: lambda$replaceRecipes$11 (Ljava/util/Map;Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: replaceRecipes (Ljava/lang/Iterable;)V params: 1: recipes class: RecipeSerializer path: net/minecraft/world/item/crafting/RecipeSerializer method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/Recipe; params: 1: recipeId, 2: serializedRecipe method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/Recipe; params: 1: recipeId, 2: buffer method: register (Ljava/lang/String;Lnet/minecraft/world/item/crafting/RecipeSerializer;)Lnet/minecraft/world/item/crafting/RecipeSerializer; params: 0: key, 1: recipeSerializer method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: buffer, 2: recipe class: RecipeType path: net/minecraft/world/item/crafting/RecipeType method: register (Ljava/lang/String;)Lnet/minecraft/world/item/crafting/RecipeType; params: 0: identifier method: tryMatch (Lnet/minecraft/world/item/crafting/Recipe;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/Container;)Ljava/util/Optional; params: 1: recipe, 2: level, 3: container class: RepairItemRecipe path: net/minecraft/world/item/crafting/RepairItemRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: lambda$assemble$0 (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lnet/minecraft/world/item/enchantment/Enchantment;)V params: 3: enchantment method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: ShapedRecipe path: net/minecraft/world/item/crafting/ShapedRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;IILnet/minecraft/core/NonNullList;Lnet/minecraft/world/item/ItemStack;)V params: 1: id, 2: group, 3: width, 4: height, 5: recipeItems, 6: result method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: dissolvePattern ([Ljava/lang/String;Ljava/util/Map;II)Lnet/minecraft/core/NonNullList; params: 0: pattern, 1: keys, 2: patternWidth, 3: patternHeight method: firstNonSpace (Ljava/lang/String;)I params: 0: entry method: getGroup ()Ljava/lang/String; Recipes with equal group are combined into one button in the recipe book
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: keyFromJson (Lcom/google/gson/JsonObject;)Ljava/util/Map; params: 0: keyEntry Returns a key json object as a Java HashMap.
method: lastNonSpace (Ljava/lang/String;)I params: 0: entry method: matches (Lnet/minecraft/world/inventory/CraftingContainer;IIZ)Z params: 1: craftingInventory, 2: width, 3: height, 4: mirrored Checks if the region of a crafting inventory is match for the recipe.
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
method: patternFromJson (Lcom/google/gson/JsonArray;)[Ljava/lang/String; params: 0: patternArray method: shrink ([Ljava/lang/String;)[Ljava/lang/String; params: 0: toShrink class: ShapedRecipe$Serializer path: net/minecraft/world/item/crafting/ShapedRecipe$Serializer method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/ShapedRecipe; params: 1: recipeId, 2: json method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/ShapedRecipe; params: 1: recipeId, 2: buffer method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/ShapedRecipe;)V params: 1: buffer, 2: recipe class: ShapelessRecipe path: net/minecraft/world/item/crafting/ShapelessRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/NonNullList;)V params: 1: id, 2: group, 3: result, 4: ingredients method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getGroup ()Ljava/lang/String; Recipes with equal group are combined into one button in the recipe book
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: ShapelessRecipe$Serializer path: net/minecraft/world/item/crafting/ShapelessRecipe$Serializer method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/ShapelessRecipe; params: 1: recipeId, 2: json method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/ShapelessRecipe; params: 1: recipeId, 2: buffer method: itemsFromJson (Lcom/google/gson/JsonArray;)Lnet/minecraft/core/NonNullList; params: 0: ingredientArray method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/ShapelessRecipe;)V params: 1: buffer, 2: recipe class: ShieldDecorationRecipe path: net/minecraft/world/item/crafting/ShieldDecorationRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: ShulkerBoxColoring path: net/minecraft/world/item/crafting/ShulkerBoxColoring method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: SimpleCookingSerializer path: net/minecraft/world/item/crafting/SimpleCookingSerializer method: <init> (Lnet/minecraft/world/item/crafting/SimpleCookingSerializer$CookieBaker;I)V params: 1: factory, 2: defaultCookingTime method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/AbstractCookingRecipe; params: 1: recipeId, 2: json method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/AbstractCookingRecipe; params: 1: recipeId, 2: buffer method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/AbstractCookingRecipe;)V params: 1: buffer, 2: recipe class: SimpleCookingSerializer$CookieBaker path: net/minecraft/world/item/crafting/SimpleCookingSerializer$CookieBaker method: create (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;FI)Lnet/minecraft/world/item/crafting/AbstractCookingRecipe; params: 1: id, 2: group, 3: ingredient, 4: result, 5: experience, 6: cookingTime class: SimpleRecipeSerializer path: net/minecraft/world/item/crafting/SimpleRecipeSerializer method: <init> (Ljava/util/function/Function;)V params: 1: constructor method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/Recipe; params: 1: recipeId, 2: json method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/Recipe; params: 1: recipeId, 2: buffer method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: buffer, 2: recipe class: SingleItemRecipe path: net/minecraft/world/item/crafting/SingleItemRecipe method: <init> (Lnet/minecraft/world/item/crafting/RecipeType;Lnet/minecraft/world/item/crafting/RecipeSerializer;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;)V params: 1: type, 2: serializer, 3: id, 4: group, 5: ingredient, 6: result method: assemble (Lnet/minecraft/world/Container;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getGroup ()Ljava/lang/String; Recipes with equal group are combined into one button in the recipe book
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
class: SingleItemRecipe$Serializer path: net/minecraft/world/item/crafting/SingleItemRecipe$Serializer method: <init> (Lnet/minecraft/world/item/crafting/SingleItemRecipe$Serializer$SingleItemMaker;)V params: 1: factory method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/SingleItemRecipe; params: 1: recipeId, 2: json method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/SingleItemRecipe; params: 1: recipeId, 2: buffer method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/SingleItemRecipe;)V params: 1: buffer, 2: recipe class: SingleItemRecipe$Serializer$SingleItemMaker path: net/minecraft/world/item/crafting/SingleItemRecipe$Serializer$SingleItemMaker method: create (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/crafting/SingleItemRecipe; params: 1: id, 2: group, 3: ingredient, 4: result class: SmeltingRecipe path: net/minecraft/world/item/crafting/SmeltingRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;FI)V params: 1: id, 2: group, 3: ingredient, 4: result, 5: experience, 6: cookingTime class: SmokingRecipe path: net/minecraft/world/item/crafting/SmokingRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;FI)V params: 1: id, 2: group, 3: ingredient, 4: result, 5: experience, 6: cookingTime class: StonecutterRecipe path: net/minecraft/world/item/crafting/StonecutterRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;)V params: 1: id, 2: group, 3: ingredient, 4: result method: matches (Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: SuspiciousStewRecipe path: net/minecraft/world/item/crafting/SuspiciousStewRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: TippedArrowRecipe path: net/minecraft/world/item/crafting/TippedArrowRecipe method: assemble (Lnet/minecraft/world/inventory/CraftingContainer;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: matches (Lnet/minecraft/world/inventory/CraftingContainer;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: UpgradeRecipe path: net/minecraft/world/item/crafting/UpgradeRecipe method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/crafting/Ingredient;Lnet/minecraft/world/item/ItemStack;)V params: 1: id, 2: base, 3: addition, 4: result method: assemble (Lnet/minecraft/world/Container;)Lnet/minecraft/world/item/ItemStack; params: 1: inv Returns an Item that is the result of this recipe
method: canCraftInDimensions (II)Z params: 1: width, 2: height Used to determine if this recipe can fit in a grid of the given width/height
method: getResultItem ()Lnet/minecraft/world/item/ItemStack; Get the result of this recipe, usually for display purposes (e.g. recipe book). If your recipe has more than one possible result (e.g. it's dynamic and depends on its inputs), then return an empty stack.
method: isAdditionIngredient (Lnet/minecraft/world/item/ItemStack;)Z params: 1: addition method: matches (Lnet/minecraft/world/Container;Lnet/minecraft/world/level/Level;)Z params: 1: inv, 2: level Used to check if a recipe matches current crafting inventory
class: UpgradeRecipe$Serializer path: net/minecraft/world/item/crafting/UpgradeRecipe$Serializer method: fromJson (Lnet/minecraft/resources/ResourceLocation;Lcom/google/gson/JsonObject;)Lnet/minecraft/world/item/crafting/UpgradeRecipe; params: 1: recipeId, 2: json method: fromNetwork (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/crafting/UpgradeRecipe; params: 1: recipeId, 2: buffer method: toNetwork (Lnet/minecraft/network/FriendlyByteBuf;Lnet/minecraft/world/item/crafting/UpgradeRecipe;)V params: 1: buffer, 2: recipe enchantment class: ArrowDamageEnchantment path: net/minecraft/world/item/enchantment/ArrowDamageEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: ArrowFireEnchantment path: net/minecraft/world/item/enchantment/ArrowFireEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: ArrowInfiniteEnchantment path: net/minecraft/world/item/enchantment/ArrowInfiniteEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: ArrowKnockbackEnchantment path: net/minecraft/world/item/enchantment/ArrowKnockbackEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: ArrowPiercingEnchantment path: net/minecraft/world/item/enchantment/ArrowPiercingEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: BindingCurseEnchantment path: net/minecraft/world/item/enchantment/BindingCurseEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: isCurse ()Z Checks if the enchantment is considered a curse. These enchantments are treated as debuffs and can not be removed from items under normal circumstances.
@return Whether or not the enchantment is a curse.
method: isTreasureOnly ()Z Checks if the enchantment should be considered a treasure enchantment. These enchantments can not be obtained using the enchantment table. The mending enchantment is an example of a treasure enchantment.
@return Whether or not the enchantment is a treasure enchantment.
class: DamageEnchantment path: net/minecraft/world/item/enchantment/DamageEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;I[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: type, 3: applicableSlots method: canEnchant (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Determines if this enchantment can be applied to a specific ItemStack.
method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: doPostAttack (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;I)V params: 1: user, 2: target, 3: level Called whenever a mob is damaged with an item that has this enchantment on it.
method: getDamageBonus (ILnet/minecraft/world/entity/MobType;)F params: 1: level, 2: creatureType Calculates the additional damage that will be dealt by an item with this enchantment. This alternative to calcModifierDamage is sensitive to the targets EnumCreatureAttribute.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: DigDurabilityEnchantment path: net/minecraft/world/item/enchantment/DigDurabilityEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: canEnchant (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Determines if this enchantment can be applied to a specific ItemStack.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: shouldIgnoreDurabilityDrop (Lnet/minecraft/world/item/ItemStack;ILjava/util/Random;)Z params: 0: stack, 1: level, 2: rand Used by ItemStack.attemptDamageItem. Randomly determines if a point of damage should be negated using the enchantment level (par1). If the ItemStack is Armor then there is a flat 60% chance for damage to be negated no matter the enchantment level, otherwise there is a 1-(par/1) chance for damage to be negated.
class: DiggingEnchantment path: net/minecraft/world/item/enchantment/DiggingEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: canEnchant (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Determines if this enchantment can be applied to a specific ItemStack.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: Enchantment path: net/minecraft/world/item/enchantment/Enchantment field: category Lnet/minecraft/world/item/enchantment/EnchantmentCategory; The category of the enchantment. This often controls which items the enchantment can be applied to and which creative tabs the enchantment will be displayed under.
field: descriptionId Ljava/lang/String; The descriptionId for the enchantment. Commonly used to create localization keys.
field: rarity Lnet/minecraft/world/item/enchantment/Enchantment$Rarity; The rarity of the enchantment.
field: slots [Lnet/minecraft/world/entity/EquipmentSlot; The valid equipment slots for the enchantment.
method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;Lnet/minecraft/world/item/enchantment/EnchantmentCategory;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: category, 3: applicableSlots method: byId (I)Lnet/minecraft/world/item/enchantment/Enchantment; params: 0: id Gets an enchantment from the registry using it's internal numeric Id.
method: canEnchant (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks if the enchantment can be applied to a given ItemStack.
method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: other Checks if the enchantment can be applied with another enchantment. Being incompatible will prevent the two enchantments from being applied to the same item.
@return Whether or not the two enchantments are compatible.
method: doPostAttack (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;I)V params: 1: attacker, 2: target, 3: level A hook that is called every time an entity with this enchantment attacks another entity.
method: doPostHurt (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;I)V params: 1: user, 2: attacker, 3: level A hook that is called every time an entity with this enchantment is attacked by another entity.
method: getDamageBonus (ILnet/minecraft/world/entity/MobType;)F params: 1: level, 2: type Calculates the amount of additional damage to deal when attacking with an item with the enchantment.
method: getDamageProtection (ILnet/minecraft/world/damagesource/DamageSource;)I params: 1: level, 2: source Calculates the amount of additional damage protection to provide when a user is damaged.
method: getDescriptionId ()Ljava/lang/String; Gets the description Id of the enchantment. This is commonly used to create localization keys.
method: getFullname (I)Lnet/minecraft/network/chat/Component; params: 1: level Gets the name of the enchantment with the level appended to the end. The game will attempt to convert the letter to roman numerals.
@return The name of the enchantment with the level appened to the end.
method: getMaxCost method: getMaxLevel ()I Gets the maximum level of the enchantment under normal circumstances such as the enchanting table. This limit is not strictly enforced and may be ignored through custom item NBT or other customizations.
method: getMinCost (I)I params: 1: level Returns the minimal value of enchantability needed on the enchantment level passed.
method: getMinLevel ()I Gets the minimum level of the enchantment under normal circumstances such as the enchanting table. This limit is not strictly enforced and may be ignored through custom item NBT or other customizations.
method: getOrCreateDescriptionId ()Ljava/lang/String; Lazily initializes a descriptionId for an enchantment using the enchantments registry name.
method: getRarity ()Lnet/minecraft/world/item/enchantment/Enchantment$Rarity; Gets the rarity of the enchantment. This determines how rare the enchantment will be in enchantment pools such as the enchanting table and loot tables.
method: getSlotItems (Lnet/minecraft/world/entity/LivingEntity;)Ljava/util/Map; params: 1: entity Creates a new map containing all items equipped by an entity in {@linkplain #slots slots that the enchantment cares about}. These items are not tested for having the enchantment.
method: isCompatibleWith (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: other Checks if the enchantment is compatible with another enchantment.
@return Whether or not both enchantments agree that they are compatible with eachother.
method: isCurse ()Z Checks if the enchantment is considered a curse. These enchantments are treated as debuffs and can not be removed from items under normal circumstances.
@return Whether or not the enchantment is a curse.
method: isDiscoverable ()Z Checks if the enchantment can be discovered by game mechanics which pull random enchanments from the enchantment registry.
@return Whether or not the enchantment can be discovered.
method: isTradeable ()Z Checks if the enchantment can be traded by NPCs like villagers.
@return Whether or not this enchantment can be traded.
method: isTreasureOnly ()Z Checks if the enchantment should be considered a treasure enchantment. These enchantments can not be obtained using the enchantment table. The mending enchantment is an example of a treasure enchantment.
@return Whether or not the enchantment is a treasure enchantment.
class: Enchantment$Rarity path: net/minecraft/world/item/enchantment/Enchantment$Rarity method: <init> (Ljava/lang/String;II)V params: 3: weight method: getWeight ()I Retrieves the weight of Rarity.
class: EnchantmentCategory path: net/minecraft/world/item/enchantment/EnchantmentCategory method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$1 path: net/minecraft/world/item/enchantment/EnchantmentCategory$1 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$10 path: net/minecraft/world/item/enchantment/EnchantmentCategory$10 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$11 path: net/minecraft/world/item/enchantment/EnchantmentCategory$11 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$12 path: net/minecraft/world/item/enchantment/EnchantmentCategory$12 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$13 path: net/minecraft/world/item/enchantment/EnchantmentCategory$13 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$14 path: net/minecraft/world/item/enchantment/EnchantmentCategory$14 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$2 path: net/minecraft/world/item/enchantment/EnchantmentCategory$2 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$3 path: net/minecraft/world/item/enchantment/EnchantmentCategory$3 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$4 path: net/minecraft/world/item/enchantment/EnchantmentCategory$4 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$5 path: net/minecraft/world/item/enchantment/EnchantmentCategory$5 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$6 path: net/minecraft/world/item/enchantment/EnchantmentCategory$6 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$7 path: net/minecraft/world/item/enchantment/EnchantmentCategory$7 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$8 path: net/minecraft/world/item/enchantment/EnchantmentCategory$8 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentCategory$9 path: net/minecraft/world/item/enchantment/EnchantmentCategory$9 method: canEnchant (Lnet/minecraft/world/item/Item;)Z params: 1: item Return true if the item passed can be enchanted by a enchantment of this type.
class: EnchantmentHelper path: net/minecraft/world/item/enchantment/EnchantmentHelper method: deserializeEnchantments (Lnet/minecraft/nbt/ListTag;)Ljava/util/Map; params: 0: serialized method: doPostDamageEffects (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;)V params: 0: user, 1: target method: doPostHurtEffects (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;)V params: 0: user, 1: attacker method: enchantItem (Ljava/util/Random;Lnet/minecraft/world/item/ItemStack;IZ)Lnet/minecraft/world/item/ItemStack; params: 0: random, 1: stack, 2: level, 3: allowTreasure Applys a random enchantment to the specified item.
method: filterCompatibleEnchantments (Ljava/util/List;Lnet/minecraft/world/item/enchantment/EnchantmentInstance;)V params: 0: dataList, 1: data method: getAvailableEnchantmentResults (ILnet/minecraft/world/item/ItemStack;Z)Ljava/util/List; params: 0: level, 1: stack, 2: allowTreasure method: getBlockEfficiency (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: entity method: getDamageBonus (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/MobType;)F params: 0: stack, 1: creatureAttribute method: getDamageProtection (Ljava/lang/Iterable;Lnet/minecraft/world/damagesource/DamageSource;)I params: 0: stacks, 1: source Returns the modifier of protection enchantments on armors equipped on player.
method: getDepthStrider (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: entity method: getEnchantmentCost (Ljava/util/Random;IILnet/minecraft/world/item/ItemStack;)I params: 0: rand, 1: enchantNum, 2: power, 3: stack Returns the enchantability of itemstack, using a separate calculation for each enchantNum (0, 1 or 2), cutting to the max enchantability power of the table, which is locked to a max of 15.
method: getEnchantmentLevel (Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/entity/LivingEntity;)I params: 0: enchantment, 1: entity method: getEnchantments (Lnet/minecraft/world/item/ItemStack;)Ljava/util/Map; params: 0: stack Return the enchantments for the specified stack.
method: getFireAspect (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: player Returns the fire aspect modifier of the players held item.
method: getFishingLuckBonus (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack method: getFishingSpeedBonus (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack method: getItemEnchantmentLevel (Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/item/ItemStack;)I params: 0: enchantment, 1: stack Returns the level of enchantment on the ItemStack passed.
method: getKnockbackBonus (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: player Returns the Knockback modifier of the enchantment on the players held item.
method: getLoyalty (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack method: getMobLooting (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: entity method: getRandomItemWith (Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/entity/LivingEntity;)Ljava/util/Map$Entry; params: 0: targetEnchantment, 1: entity Gets an item with a specified enchantment from a living entity. If there are more than one valid items a random one will be returned.
method: getRandomItemWith (Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/entity/LivingEntity;Ljava/util/function/Predicate;)Ljava/util/Map$Entry; params: 0: enchantment, 1: livingEntity, 2: stackCondition method: getRespiration (Lnet/minecraft/world/entity/LivingEntity;)I params: 0: entity method: getRiptide (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack method: getSweepingDamageRatio (Lnet/minecraft/world/entity/LivingEntity;)F params: 0: entity method: hasAquaAffinity (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: entity method: hasBindingCurse (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: hasChanneling (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: hasFrostWalker (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: player Checks if the player has any armor enchanted with the frost walker enchantment.
@return If player has equipment with frost walker
method: hasSoulSpeed (Lnet/minecraft/world/entity/LivingEntity;)Z params: 0: entity method: hasVanishingCurse (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: isEnchantmentCompatible (Ljava/util/Collection;Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 0: enchantments, 1: enchantment method: lambda$deserializeEnchantments$0 (Ljava/util/Map;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/item/enchantment/Enchantment;)V params: 2: enchantment method: lambda$doPostDamageEffects$5 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 2: enchantment, 3: level method: lambda$doPostHurtEffects$4 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 2: enchantment, 3: level method: lambda$getDamageBonus$3 (Lorg/apache/commons/lang3/mutable/MutableFloat;Lnet/minecraft/world/entity/MobType;Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 2: enchantment, 3: level method: lambda$getDamageProtection$2 (Lorg/apache/commons/lang3/mutable/MutableInt;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 2: enchantment, 3: level method: lambda$getRandomItemWith$6 (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: runIterationOnInventory (Lnet/minecraft/world/item/enchantment/EnchantmentHelper$EnchantmentVisitor;Ljava/lang/Iterable;)V params: 0: visitor, 1: stacks Executes the enchantment modifier on the array of ItemStack passed.
method: runIterationOnItem (Lnet/minecraft/world/item/enchantment/EnchantmentHelper$EnchantmentVisitor;Lnet/minecraft/world/item/ItemStack;)V params: 0: visitor, 1: stack Executes the enchantment modifier on the ItemStack passed.
method: selectEnchantment (Ljava/util/Random;Lnet/minecraft/world/item/ItemStack;IZ)Ljava/util/List; params: 0: random, 1: itemStack, 2: level, 3: allowTreasure Create a list of random EnchantmentData (enchantments) that can be added together to the ItemStack, the 3rd parameter is the total enchantability level.
method: setEnchantments (Ljava/util/Map;Lnet/minecraft/world/item/ItemStack;)V params: 0: enchantmentsMap, 1: stack Set the enchantments for the specified stack.
class: EnchantmentHelper$EnchantmentVisitor path: net/minecraft/world/item/enchantment/EnchantmentHelper$EnchantmentVisitor method: accept (Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 1: enchantment, 2: level class: EnchantmentInstance path: net/minecraft/world/item/enchantment/EnchantmentInstance Defines an immutable instance of an enchantment and its level.
field: enchantment Lnet/minecraft/world/item/enchantment/Enchantment; The enchantment being represented.
field: level I The level of the enchantment.
method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 1: enchantment, 2: level class: Enchantments path: net/minecraft/world/item/enchantment/Enchantments method: register (Ljava/lang/String;Lnet/minecraft/world/item/enchantment/Enchantment;)Lnet/minecraft/world/item/enchantment/Enchantment; params: 0: identifier, 1: enchantment class: FireAspectEnchantment path: net/minecraft/world/item/enchantment/FireAspectEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: FishingSpeedEnchantment path: net/minecraft/world/item/enchantment/FishingSpeedEnchantment method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: FrostWalkerEnchantment path: net/minecraft/world/item/enchantment/FrostWalkerEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: isTreasureOnly ()Z Checks if the enchantment should be considered a treasure enchantment. These enchantments can not be obtained using the enchantment table. The mending enchantment is an example of a treasure enchantment.
@return Whether or not the enchantment is a treasure enchantment.
method: onEntityMoved (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;I)V params: 0: living, 1: level, 2: pos, 3: levelConflicting class: KnockbackEnchantment path: net/minecraft/world/item/enchantment/KnockbackEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: LootBonusEnchantment path: net/minecraft/world/item/enchantment/LootBonusEnchantment method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: MendingEnchantment path: net/minecraft/world/item/enchantment/MendingEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: isTreasureOnly ()Z Checks if the enchantment should be considered a treasure enchantment. These enchantments can not be obtained using the enchantment table. The mending enchantment is an example of a treasure enchantment.
@return Whether or not the enchantment is a treasure enchantment.
class: MultiShotEnchantment path: net/minecraft/world/item/enchantment/MultiShotEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: OxygenEnchantment path: net/minecraft/world/item/enchantment/OxygenEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: ProtectionEnchantment path: net/minecraft/world/item/enchantment/ProtectionEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;Lnet/minecraft/world/item/enchantment/ProtectionEnchantment$Type;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: type, 3: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getDamageProtection (ILnet/minecraft/world/damagesource/DamageSource;)I params: 1: level, 2: source Calculates the damage protection of the enchantment based on level and damage source passed.
method: getExplosionKnockbackAfterDampener (Lnet/minecraft/world/entity/LivingEntity;D)D params: 0: livingEntity, 1: damage method: getFireAfterDampener (Lnet/minecraft/world/entity/LivingEntity;I)I params: 0: livingEntity, 1: level Gets the amount of ticks an entity should be set fire, adjusted for fire protection.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: QuickChargeEnchantment path: net/minecraft/world/item/enchantment/QuickChargeEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: SoulSpeedEnchantment path: net/minecraft/world/item/enchantment/SoulSpeedEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: isDiscoverable ()Z Checks if the enchantment can be applied to loot table drops.
method: isTradeable ()Z Checks if the enchantment can be sold by villagers in their trades.
method: isTreasureOnly ()Z Checks if the enchantment should be considered a treasure enchantment. These enchantments can not be obtained using the enchantment table. The mending enchantment is an example of a treasure enchantment.
@return Whether or not the enchantment is a treasure enchantment.
class: SweepingEdgeEnchantment path: net/minecraft/world/item/enchantment/SweepingEdgeEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: getSweepingDamageRatio class: ThornsEnchantment path: net/minecraft/world/item/enchantment/ThornsEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: canEnchant (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Determines if this enchantment can be applied to a specific ItemStack.
method: doPostHurt (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/Entity;I)V params: 1: user, 2: attacker, 3: level Whenever an entity that has this enchantment on one of its associated items is damaged this method will be called.
method: getDamage (ILjava/util/Random;)I params: 0: level, 1: rnd method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: shouldHit (ILjava/util/Random;)Z params: 0: level, 1: rnd class: TridentChannelingEnchantment path: net/minecraft/world/item/enchantment/TridentChannelingEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: other Checks if the enchantment can be applied with another enchantment. Being incompatible will prevent the two enchantments from being applied to the same item.
@return Whether or not the two enchantments are compatible.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: TridentImpalerEnchantment path: net/minecraft/world/item/enchantment/TridentImpalerEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getDamageBonus (ILnet/minecraft/world/entity/MobType;)F params: 1: level, 2: creatureType Calculates the additional damage that will be dealt by an item with this enchantment. This alternative to calcModifierDamage is sensitive to the targets EnumCreatureAttribute.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: TridentLoyaltyEnchantment path: net/minecraft/world/item/enchantment/TridentLoyaltyEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: other Checks if the enchantment can be applied with another enchantment. Being incompatible will prevent the two enchantments from being applied to the same item.
@return Whether or not the two enchantments are compatible.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: TridentRiptideEnchantment path: net/minecraft/world/item/enchantment/TridentRiptideEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: UntouchingEnchantment path: net/minecraft/world/item/enchantment/UntouchingEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: VanishingCurseEnchantment path: net/minecraft/world/item/enchantment/VanishingCurseEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
method: isCurse ()Z Checks if the enchantment is considered a curse. These enchantments are treated as debuffs and can not be removed from items under normal circumstances.
@return Whether or not the enchantment is a curse.
method: isTreasureOnly ()Z Checks if the enchantment should be considered a treasure enchantment. These enchantments can not be obtained using the enchantment table. The mending enchantment is an example of a treasure enchantment.
@return Whether or not the enchantment is a treasure enchantment.
class: WaterWalkerEnchantment path: net/minecraft/world/item/enchantment/WaterWalkerEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: checkCompatibility (Lnet/minecraft/world/item/enchantment/Enchantment;)Z params: 1: ench Determines if the enchantment passed can be applyied together with this enchantment.
method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
class: WaterWorkerEnchantment path: net/minecraft/world/item/enchantment/WaterWorkerEnchantment method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment$Rarity;[Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: rarity, 2: applicableSlots method: getMaxCost (I)I params: 1: enchantmentLevel method: getMaxLevel ()I Returns the maximum level that the enchantment can have.
method: getMinCost (I)I params: 1: enchantmentLevel Returns the minimal value of enchantability needed on the enchantment level passed.
trading class: Merchant path: net/minecraft/world/item/trading/Merchant method: lambda$openTradingScreen$0 (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player method: notifyTrade (Lnet/minecraft/world/item/trading/MerchantOffer;)V params: 1: offer method: notifyTradeUpdated (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Notifies the merchant of a possible merchantrecipe being fulfilled or not. Usually, this is just a sound byte being played depending if the suggested itemstack is not null.
method: openTradingScreen (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;I)V params: 1: player, 2: displayName, 3: level method: overrideOffers (Lnet/minecraft/world/item/trading/MerchantOffers;)V params: 1: offers method: overrideXp method: setTradingPlayer (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: MerchantOffer path: net/minecraft/world/item/trading/MerchantOffer field: baseCostA Lnet/minecraft/world/item/ItemStack; The first input for this offer.
field: costB Lnet/minecraft/world/item/ItemStack; The second input for this offer.
field: result Lnet/minecraft/world/item/ItemStack; The output of this offer.
method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compoundTag method: <init> (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;IIF)V params: 1: baseCostA, 2: result, 3: maxUses, 4: xp, 5: priceMultiplier method: <init> (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;IIF)V params: 1: baseCostA, 2: costB, 3: result, 4: maxUses, 5: xp, 6: priceMultiplier method: <init> (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;IIIF)V params: 1: baseCostA, 2: costB, 3: result, 4: uses, 5: maxUses, 6: xp, 7: priceMultiplier method: <init> (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;IIIFI)V params: 1: baseCostA, 2: costB, 3: result, 4: uses, 5: maxUses, 6: xp, 7: priceMultiplier, 8: demand method: addToSpecialPriceDiff method: isRequiredItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: offer, 2: cost method: satisfiedBy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: playerOfferA, 2: playerOfferB method: setSpecialPriceDiff method: take (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: playerOfferA, 2: playerOfferB method: updateDemand ()V Calculates the demand with following formula: demand = demand + uses - maxUses - uses
class: MerchantOffers path: net/minecraft/world/item/trading/MerchantOffers method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compoundTag method: createFromStream (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/item/trading/MerchantOffers; params: 0: buffer method: getRecipeFor (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;I)Lnet/minecraft/world/item/trading/MerchantOffer; params: 1: stackA, 2: stackB, 3: index method: writeToStream (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buffer class: AirItem path: net/minecraft/world/item/AirItem method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item$Properties;)V params: 1: block, 2: properties method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of this item.
class: ArmorItem path: net/minecraft/world/item/ArmorItem method: <init> (Lnet/minecraft/world/item/ArmorMaterial;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/Item$Properties;)V params: 1: material, 2: slot, 3: properties method: dispenseArmor (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Z params: 0: source, 1: stack method: getDefaultAttributeModifiers (Lnet/minecraft/world/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap; params: 1: equipmentSlot Gets a map of item attribute modifiers, used by ItemSword to increase hit damage.
method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: getSlot ()Lnet/minecraft/world/entity/EquipmentSlot; Gets the equipment slot of this armor piece (formerly known as armor type)
method: isValidRepairItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: toRepair, 2: repair Return whether this item is repairable in an anvil.
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: ArmorItem$1 path: net/minecraft/world/item/ArmorItem$1 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
class: ArmorMaterial path: net/minecraft/world/item/ArmorMaterial method: getDefenseForSlot (Lnet/minecraft/world/entity/EquipmentSlot;)I params: 1: slot method: getDurabilityForSlot (Lnet/minecraft/world/entity/EquipmentSlot;)I params: 1: slot method: getKnockbackResistance ()F Gets the percentage of knockback resistance provided by armor of the material.
class: ArmorMaterials path: net/minecraft/world/item/ArmorMaterials method: <init> (Ljava/lang/String;ILjava/lang/String;I[IILnet/minecraft/sounds/SoundEvent;FFLjava/util/function/Supplier;)V params: 3: name, 4: durabilityMultiplier, 5: slotProtections, 6: enchantmentValue, 7: sound, 8: toughness, 9: knockbackResistance, 10: repairIngredient method: getDefenseForSlot (Lnet/minecraft/world/entity/EquipmentSlot;)I params: 1: slot method: getDurabilityForSlot (Lnet/minecraft/world/entity/EquipmentSlot;)I params: 1: slot method: getKnockbackResistance ()F Gets the percentage of knockback resistance provided by armor of the material.
class: ArmorStandItem path: net/minecraft/world/item/ArmorStandItem method: lambda$useOn$0 (Lnet/minecraft/world/entity/Entity;)Z params: 0: entity method: randomizePose (Lnet/minecraft/world/entity/decoration/ArmorStand;Ljava/util/Random;)V params: 1: armorStand, 2: random method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: ArrowItem path: net/minecraft/world/item/ArrowItem method: createArrow (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 1: level, 2: stack, 3: shooter class: AxeItem path: net/minecraft/world/item/AxeItem method: <init> (Lnet/minecraft/world/item/Tier;FFLnet/minecraft/world/item/Item$Properties;)V params: 1: tier, 2: attackDamageModifier, 3: attackSpeedModifier, 4: properties method: getDestroySpeed (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: stack, 2: state method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: BannerItem path: net/minecraft/world/item/BannerItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: appendHoverTextFromBannerBlockEntityTag (Lnet/minecraft/world/item/ItemStack;Ljava/util/List;)V params: 0: stack, 1: tooltipComponents class: BannerPatternItem path: net/minecraft/world/item/BannerPatternItem method: <init> (Lnet/minecraft/world/level/block/entity/BannerPattern;Lnet/minecraft/world/item/Item$Properties;)V params: 1: bannerPattern, 2: properties method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
class: BedItem path: net/minecraft/world/item/BedItem method: placeBlock (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: context, 2: state class: BlockItem path: net/minecraft/world/item/BlockItem method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item$Properties;)V params: 1: block, 2: properties method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: canPlace (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: context, 2: state method: fillItemCategory (Lnet/minecraft/world/item/CreativeModeTab;Lnet/minecraft/core/NonNullList;)V params: 1: group, 2: items returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of this item.
method: getPlaceSound (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/sounds/SoundEvent; params: 1: state method: getPlacementState (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: lambda$updateState$0 (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Lnet/minecraft/world/level/block/state/BlockState; params: 2: comparable method: place (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/InteractionResult; params: 1: context method: placeBlock (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: context, 2: state method: registerBlocks (Ljava/util/Map;Lnet/minecraft/world/item/Item;)V params: 1: blockToItemMap, 2: item method: updateBlockStateFromTag (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 2: level, 3: stack, 4: state method: updateCustomBlockEntityTag (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: pos, 2: level, 3: player, 4: stack, 5: state method: updateCustomBlockEntityTag (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)Z params: 0: level, 1: player, 2: pos, 3: stack method: updatePlacementContext (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/item/context/BlockPlaceContext; params: 1: context method: updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: property, 2: valueIdentifier method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: BoatItem path: net/minecraft/world/item/BoatItem method: <init> (Lnet/minecraft/world/entity/vehicle/Boat$Type;Lnet/minecraft/world/item/Item$Properties;)V params: 1: type, 2: properties method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: BoneMealItem path: net/minecraft/world/item/BoneMealItem method: addGrowthParticles (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;I)V params: 0: level, 1: pos, 2: data method: growCrop (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 0: stack, 1: level, 2: pos method: growWaterPlant (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: stack, 1: level, 2: pos, 3: clickedSide method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: BookItem path: net/minecraft/world/item/BookItem method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: isEnchantable (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks isDamagable and if it cannot be stacked
class: BottleItem path: net/minecraft/world/item/BottleItem method: lambda$use$0 (Lnet/minecraft/world/entity/AreaEffectCloud;)Z params: 0: areaEffectCloud method: turnBottleIntoItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: bottleStack, 2: player, 3: filledBottleStack method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: BowItem path: net/minecraft/world/item/BowItem method: getAllSupportedProjectiles ()Ljava/util/function/Predicate; Get the predicate to match ammunition when searching the player's inventory, not their main/offhand
method: getPowerForTime (I)F params: 0: charge Gets the velocity of the arrow entity from the bow's charge
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: lambda$releaseUsing$0 (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextPlayer method: releaseUsing (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: stack, 2: level, 3: entityLiving, 4: timeLeft Called when the player stops using an Item (stops holding the right mouse button).
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: BowlFoodItem path: net/minecraft/world/item/BowlFoodItem method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: entityLiving Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
class: BucketItem path: net/minecraft/world/item/BucketItem method: <init> (Lnet/minecraft/world/level/material/Fluid;Lnet/minecraft/world/item/Item$Properties;)V params: 1: content, 2: properties method: getEmptySuccessItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: player method: playEmptySound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: player, 2: level, 3: pos method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: ChorusFruitItem path: net/minecraft/world/item/ChorusFruitItem method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: entityLiving Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
class: CompassItem path: net/minecraft/world/item/CompassItem method: addLodestoneTags (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/BlockPos;Lnet/minecraft/nbt/CompoundTag;)V params: 1: lodestoneDimension, 2: lodestonePos, 3: compoundTag method: getDescriptionId (Lnet/minecraft/world/item/ItemStack;)Ljava/lang/String; params: 1: stack Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have different names based on their damage or NBT.
method: getLodestoneDimension (Lnet/minecraft/nbt/CompoundTag;)Ljava/util/Optional; params: 0: compoundTag method: inventoryTick (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;IZ)V params: 1: stack, 2: level, 3: entity, 4: itemSlot, 5: isSelected Called each tick as long the item is on a player inventory. Uses by maps to check if is on a player hand and update it's contents.
method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: isLodestoneCompass (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: lambda$addLodestoneTags$0 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/Tag;)V params: 1: tag method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: ComplexItem path: net/minecraft/world/item/ComplexItem method: getUpdatePacket (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/network/protocol/Packet; params: 1: stack, 2: level, 3: player method: isComplex ()Z Returns {@code true} if this is a complex item.
class: CreativeModeTab path: net/minecraft/world/item/CreativeModeTab method: <init> (ILjava/lang/String;)V params: 1: id, 2: langId method: fillItemList (Lnet/minecraft/core/NonNullList;)V params: 1: items Fills {@code items} with all items that are in this group.
method: getColumn method: getEnchantmentCategories ()[Lnet/minecraft/world/item/enchantment/EnchantmentCategory; Returns the enchantment types relevant to this tab
method: getRecipeFolderName ()Ljava/lang/String; Gets the name that's valid for use in a ResourceLocation's path. This should be set if the tabLabel contains illegal characters.
method: hasEnchantmentCategory (Lnet/minecraft/world/item/enchantment/EnchantmentCategory;)Z params: 1: category method: isTopRow method: setBackgroundSuffix (Ljava/lang/String;)Lnet/minecraft/world/item/CreativeModeTab; params: 1: backgroundSuffix method: setEnchantmentCategories ([Lnet/minecraft/world/item/enchantment/EnchantmentCategory;)Lnet/minecraft/world/item/CreativeModeTab; params: 1: enchantmentCategories Sets the enchantment types for populating this tab with enchanting books
method: setRecipeFolderName (Ljava/lang/String;)Lnet/minecraft/world/item/CreativeModeTab; params: 1: recipeFolderName class: CreativeModeTab$11 path: net/minecraft/world/item/CreativeModeTab$11 method: fillItemList (Lnet/minecraft/core/NonNullList;)V params: 1: items Fills {@code items} with all items that are in this group.
class: CrossbowItem path: net/minecraft/world/item/CrossbowItem field: midLoadSoundPlayed Z Set to {@code true} when the crossbow is 50% charged.
field: startSoundPlayed Z Set to {@code true} when the crossbow is 20% charged.
method: addChargedProjectile (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)V params: 0: crossbowStack, 1: ammoStack method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: clearChargedProjectiles (Lnet/minecraft/world/item/ItemStack;)V params: 0: crossbowStack method: containsChargedProjectile (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/Item;)Z params: 0: crossbowStack, 1: ammoItem method: getAllSupportedProjectiles ()Ljava/util/function/Predicate; Get the predicate to match ammunition when searching the player's inventory, not their main/offhand
method: getArrow (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 0: level, 1: livingEntity, 2: crossbowStack, 3: ammoStack method: getChargeDuration (Lnet/minecraft/world/item/ItemStack;)I params: 0: crossbowStack The time the crossbow must be used to reload it
method: getChargedProjectiles (Lnet/minecraft/world/item/ItemStack;)Ljava/util/List; params: 0: crossbowStack method: getPowerForTime (ILnet/minecraft/world/item/ItemStack;)F params: 0: useTime, 1: crossbowStack method: getShootingPower (Lnet/minecraft/world/item/ItemStack;)F params: 0: crossbowStack method: getShotPitches (Ljava/util/Random;)[F params: 0: random method: getStartSound (I)Lnet/minecraft/sounds/SoundEvent; params: 1: enchantmentLevel method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: isCharged (Lnet/minecraft/world/item/ItemStack;)Z params: 0: crossbowStack method: lambda$containsChargedProjectile$0 (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;)Z params: 1: stackToCheck method: lambda$shootProjectile$1 (Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/entity/LivingEntity;)V params: 1: contextEntity method: loadProjectile (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;ZZ)Z params: 0: shooter, 1: crossbowStack, 2: ammoStack, 3: hasAmmo, 4: isCreative method: onCrossbowShot (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 0: level, 1: shooter, 2: crossbowStack Called after {@plainlink #fireProjectiles} to clear the charged projectile and to update the player advancements.
method: onUseTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;I)V params: 1: level, 2: livingEntity, 3: stack, 4: count Called as the item is being used by an entity.
method: performShooting (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/item/ItemStack;FF)V params: 0: level, 1: shooter, 2: usedHand, 3: crossbowStack, 4: velocity, 5: inaccuracy method: releaseUsing (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: stack, 2: level, 3: entityLiving, 4: timeLeft Called when the player stops using an Item (stops holding the right mouse button).
method: setCharged (Lnet/minecraft/world/item/ItemStack;Z)V params: 0: crossbowStack, 1: isCharged method: shootProjectile (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;FZFFF)V params: 0: level, 1: shooter, 2: hand, 3: crossbowStack, 4: ammoStack, 5: soundPitch, 6: isCreativeMode, 7: velocity, 8: inaccuracy, 9: projectileAngle method: tryLoadProjectiles (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)Z params: 0: shooter, 1: crossbowStack method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: DebugStickItem path: net/minecraft/world/item/DebugStickItem method: canAttackBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)Z params: 1: state, 2: level, 3: pos, 4: player method: cycleState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: property, 2: backwards method: getNameHelper (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;)Ljava/lang/String; params: 0: state, 1: property method: getRelative (Ljava/lang/Iterable;Ljava/lang/Object;Z)Ljava/lang/Object; params: 0: allowedValues, 1: currentValue, 2: backwards method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: message (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/network/chat/Component;)V params: 0: player, 1: messageComponent method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: DiggerItem path: net/minecraft/world/item/DiggerItem field: blocks Ljava/util/Set; Hardcoded set of blocks this tool can properly dig at full speed. Modders see instead.
method: getDefaultAttributeModifiers (Lnet/minecraft/world/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap; params: 1: equipmentSlot Gets a map of item attribute modifiers, used by ItemSword to increase hit damage.
method: getDestroySpeed (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: stack, 2: state method: hurtEnemy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: target, 3: attacker Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
method: lambda$hurtEnemy$0 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: lambda$mineBlock$1 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: mineBlock (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: level, 3: state, 4: pos, 5: entityLiving Called when a Block is destroyed using this Item. Return true to trigger the "Use Item" statistic.
class: DoubleHighBlockItem path: net/minecraft/world/item/DoubleHighBlockItem method: placeBlock (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: context, 2: state class: DyeColor path: net/minecraft/world/item/DyeColor method: <init> (Ljava/lang/String;IILjava/lang/String;ILnet/minecraft/world/level/material/MaterialColor;II)V params: 3: id, 4: name, 5: textureColor, 6: color, 7: fireworkColor, 8: textColor method: byFireworkColor (I)Lnet/minecraft/world/item/DyeColor; params: 0: fireworkColor method: byId (I)Lnet/minecraft/world/item/DyeColor; params: 0: colorId method: byName (Ljava/lang/String;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/DyeColor; params: 0: translationKey, 1: fallback method: getTextureDiffuseColors ()[F Gets an array containing 3 floats ranging from 0.0 to 1.0: the red, green, and blue components of the corresponding color.
method: lambda$static$1 (Lnet/minecraft/world/item/DyeColor;)Ljava/lang/Integer; params: 0: fireworkColor method: lambda$static$2 (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/DyeColor; params: 0: dyeColor class: DyeItem path: net/minecraft/world/item/DyeItem method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/item/Item$Properties;)V params: 1: dyeColor, 2: properties method: byColor (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/DyeItem; params: 0: color method: interactLivingEntity (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: stack, 2: player, 3: target, 4: hand Returns true if the item can be used on the given entity, e.g. shears on sheep.
class: DyeableHorseArmorItem path: net/minecraft/world/item/DyeableHorseArmorItem Constructor for the DyeableHorseArmor
method: <init> (ILjava/lang/String;Lnet/minecraft/world/item/Item$Properties;)V params: 1: protection, 2: identifier, 3: properties class: DyeableLeatherItem path: net/minecraft/world/item/DyeableLeatherItem method: clearColor (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: dyeArmor (Lnet/minecraft/world/item/ItemStack;Ljava/util/List;)Lnet/minecraft/world/item/ItemStack; params: 0: stack, 1: dyes method: getColor (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack method: hasCustomColor (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: setColor (Lnet/minecraft/world/item/ItemStack;I)V params: 1: stack, 2: color class: EggItem path: net/minecraft/world/item/EggItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: ElytraItem path: net/minecraft/world/item/ElytraItem method: isFlyEnabled (Lnet/minecraft/world/item/ItemStack;)Z params: 0: elytraStack method: isValidRepairItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: toRepair, 2: repair Return whether this item is repairable in an anvil.
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: EmptyMapItem path: net/minecraft/world/item/EmptyMapItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: EnchantedBookItem path: net/minecraft/world/item/EnchantedBookItem method: addEnchantment (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/enchantment/EnchantmentInstance;)V params: 0: stack, 1: instance Adds an stored enchantment to an enchanted book ItemStack
method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: createForEnchantment (Lnet/minecraft/world/item/enchantment/EnchantmentInstance;)Lnet/minecraft/world/item/ItemStack; params: 0: instance Returns the ItemStack of an enchanted version of this item.
method: fillItemCategory (Lnet/minecraft/world/item/CreativeModeTab;Lnet/minecraft/core/NonNullList;)V params: 1: group, 2: items returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
method: getEnchantments (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/nbt/ListTag; params: 0: enchantedBookStack method: isEnchantable (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks isDamagable and if it cannot be stacked
method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
class: EnchantedGoldenAppleItem path: net/minecraft/world/item/EnchantedGoldenAppleItem method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
class: EndCrystalItem path: net/minecraft/world/item/EndCrystalItem method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: EnderEyeItem path: net/minecraft/world/item/EnderEyeItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: EnderpearlItem path: net/minecraft/world/item/EnderpearlItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: ExperienceBottleItem path: net/minecraft/world/item/ExperienceBottleItem method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: FireChargeItem path: net/minecraft/world/item/FireChargeItem method: playSound (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: FireworkRocketItem path: net/minecraft/world/item/FireworkRocketItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: FireworkRocketItem$Shape path: net/minecraft/world/item/FireworkRocketItem$Shape method: <init> (Ljava/lang/String;IILjava/lang/String;)V params: 3: id, 4: name method: byId (I)Lnet/minecraft/world/item/FireworkRocketItem$Shape; params: 0: index method: lambda$static$0 (Lnet/minecraft/world/item/FireworkRocketItem$Shape;)I params: 0: shape class: FireworkStarItem path: net/minecraft/world/item/FireworkStarItem method: appendColors (Lnet/minecraft/network/chat/MutableComponent;[I)Lnet/minecraft/network/chat/Component; params: 0: tooltipComponent, 1: colors method: appendHoverText (Lnet/minecraft/nbt/CompoundTag;Ljava/util/List;)V params: 0: compound, 1: tooltipComponents method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: getColorName (I)Lnet/minecraft/network/chat/Component; params: 0: color class: FishingRodItem path: net/minecraft/world/item/FishingRodItem method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: lambda$use$0 (Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextEntity method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: FlintAndSteelItem path: net/minecraft/world/item/FlintAndSteelItem method: lambda$useOn$0 (Lnet/minecraft/world/item/context/UseOnContext;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextPlayer method: lambda$useOn$1 (Lnet/minecraft/world/item/context/UseOnContext;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextPlayer method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: FoodOnAStickItem path: net/minecraft/world/item/FoodOnAStickItem method: <init> (Lnet/minecraft/world/item/Item$Properties;Lnet/minecraft/world/entity/EntityType;I)V params: 1: properties, 2: canInteractWith, 3: consumeItemDamage method: lambda$use$0 (Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextEntity method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: GameMasterBlockItem path: net/minecraft/world/item/GameMasterBlockItem method: getPlacementState (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context class: HangingEntityItem path: net/minecraft/world/item/HangingEntityItem method: <init> (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/item/Item$Properties;)V params: 1: type, 2: properties method: mayPlace (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/Direction;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/BlockPos;)Z params: 1: player, 2: direction, 3: hangingEntityStack, 4: pos method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: HoeItem path: net/minecraft/world/item/HoeItem method: <init> (Lnet/minecraft/world/item/Tier;IFLnet/minecraft/world/item/Item$Properties;)V params: 1: tier, 2: attackDamageModifier, 3: attackSpeedModifier, 4: properties method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: HoneyBottleItem path: net/minecraft/world/item/HoneyBottleItem method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: entityLiving Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: HorseArmorItem path: net/minecraft/world/item/HorseArmorItem method: <init> (ILjava/lang/String;Lnet/minecraft/world/item/Item$Properties;)V params: 1: protection, 2: identifier, 3: properties class: Item path: net/minecraft/world/item/Item method: <init> (Lnet/minecraft/world/item/Item$Properties;)V params: 1: properties method: allowdedIn (Lnet/minecraft/world/item/CreativeModeTab;)Z params: 1: category method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltipComponents, 4: isAdvanced allows items to add custom lines of information to the mouseover description
method: byBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/item/Item; params: 0: block method: byId (I)Lnet/minecraft/world/item/Item; params: 0: id method: canAttackBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)Z params: 1: state, 2: level, 3: pos, 4: player method: canBeHurtBy (Lnet/minecraft/world/damagesource/DamageSource;)Z params: 1: damageSource method: fillItemCategory (Lnet/minecraft/world/item/CreativeModeTab;Lnet/minecraft/core/NonNullList;)V params: 1: category, 2: items returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: livingEntity Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
method: getDefaultAttributeModifiers (Lnet/minecraft/world/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap; params: 1: slot Gets a map of item attribute modifiers, used by ItemSword to increase hit damage.
method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of this item.
method: getDescriptionId (Lnet/minecraft/world/item/ItemStack;)Ljava/lang/String; params: 1: stack Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have different names based on their damage or NBT.
method: getDestroySpeed (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: stack, 2: state method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: getId (Lnet/minecraft/world/item/Item;)I params: 0: item method: getItemCategory ()Lnet/minecraft/world/item/CreativeModeTab; gets the CreativeTab this item is displayed on
method: getMaxDamage ()I Returns the maximum damage an item can take.
method: getMaxStackSize ()I Returns the maximum size of the stack for a specific item.
method: getName (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/network/chat/Component; params: 1: stack method: getPlayerPOVHitResult (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/ClipContext$Fluid;)Lnet/minecraft/world/phys/BlockHitResult; params: 0: level, 1: player, 2: fluidMode method: getRarity (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Rarity; params: 1: stack Return an item rarity from EnumRarity
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: hasCraftingRemainingItem ()Z True if this Item has a container item (a.k.a. crafting result)
method: hurtEnemy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: target, 3: attacker Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
method: interactLivingEntity (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: stack, 2: player, 3: interactionTarget, 4: usedHand Returns true if the item can be used on the given entity, e.g. shears on sheep.
method: inventoryTick (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;IZ)V params: 1: stack, 2: level, 3: entity, 4: slotId, 5: isSelected Called each tick as long the item is on a player inventory. Uses by maps to check if is on a player hand and update it's contents.
method: isComplex ()Z Returns {@code true} if this is a complex item.
method: isCorrectToolForDrops (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: block Check whether this Item can harvest the given Block
method: isEnchantable (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Checks isDamagable and if it cannot be stacked
method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: isValidRepairItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack, 2: repairCandidate Return whether this item is repairable in an anvil.
method: mineBlock (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: level, 3: state, 4: pos, 5: miningEntity Called when a Block is destroyed using this Item. Return true to trigger the "Use Item" statistic.
method: onCraftedBy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;)V params: 1: stack, 2: level, 3: player Called when item is crafted/smelted. Used only by maps so far.
method: onUseTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;I)V params: 1: level, 2: livingEntity, 3: stack, 4: remainingUseDuration Called as the item is being used by an entity.
method: releaseUsing (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: stack, 2: level, 3: livingEntity, 4: timeCharged Called when the player stops using an Item (stops holding the right mouse button).
method: shouldOverrideMultiplayerNbt ()Z If this function returns true (or the item is damageable), the ItemStack's NBT tag will be sent to the client.
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: usedHand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link net.minecraft.world.item.Item#useOn}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
method: useOnRelease (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack If this itemstack's item is a crossbow
class: Item$Properties path: net/minecraft/world/item/Item$Properties field: foodProperties Lnet/minecraft/world/food/FoodProperties; Sets food information to this item
method: craftRemainder (Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/item/Item$Properties; params: 1: craftingRemainingItem method: defaultDurability (I)Lnet/minecraft/world/item/Item$Properties; params: 1: maxDamage method: durability (I)Lnet/minecraft/world/item/Item$Properties; params: 1: maxDamage method: food (Lnet/minecraft/world/food/FoodProperties;)Lnet/minecraft/world/item/Item$Properties; params: 1: food method: rarity (Lnet/minecraft/world/item/Rarity;)Lnet/minecraft/world/item/Item$Properties; params: 1: rarity method: stacksTo (I)Lnet/minecraft/world/item/Item$Properties; params: 1: maxStackSize method: tab (Lnet/minecraft/world/item/CreativeModeTab;)Lnet/minecraft/world/item/Item$Properties; params: 1: category class: ItemCooldowns path: net/minecraft/world/item/ItemCooldowns method: addCooldown (Lnet/minecraft/world/item/Item;I)V params: 1: item, 2: ticks method: getCooldownPercent (Lnet/minecraft/world/item/Item;F)F params: 1: item, 2: partialTicks method: isOnCooldown (Lnet/minecraft/world/item/Item;)Z params: 1: item method: onCooldownEnded (Lnet/minecraft/world/item/Item;)V params: 1: item method: onCooldownStarted (Lnet/minecraft/world/item/Item;I)V params: 1: item, 2: ticks method: removeCooldown (Lnet/minecraft/world/item/Item;)V params: 1: item class: ItemCooldowns$CooldownInstance path: net/minecraft/world/item/ItemCooldowns$CooldownInstance method: <init> (Lnet/minecraft/world/item/ItemCooldowns;II)V params: 2: startTime, 3: endTime class: ItemFrameItem path: net/minecraft/world/item/ItemFrameItem method: mayPlace (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/Direction;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/BlockPos;)Z params: 1: player, 2: direction, 3: itemStack, 4: pos class: ItemNameBlockItem path: net/minecraft/world/item/ItemNameBlockItem method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of this item.
class: ItemStack path: net/minecraft/world/item/ItemStack field: entityRepresentation Lnet/minecraft/world/entity/Entity; The entity the item is attached to, like an Item Frame.
method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compoundTag method: <init> (Lnet/minecraft/world/level/ItemLike;)V params: 1: item method: <init> (Lnet/minecraft/world/level/ItemLike;I)V params: 1: item, 2: count method: <init> (Lnet/minecraft/world/level/ItemLike;ILjava/util/Optional;)V params: 1: item, 2: count, 3: optionalTag method: addAttributeModifier (Lnet/minecraft/world/entity/ai/attributes/Attribute;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;Lnet/minecraft/world/entity/EquipmentSlot;)V params: 1: attribute, 2: modifier, 3: slot method: addTagElement (Ljava/lang/String;Lnet/minecraft/nbt/Tag;)V params: 1: key, 2: tag method: appendEnchantmentNames (Ljava/util/List;Lnet/minecraft/nbt/ListTag;)V params: 0: tooltipComponents, 1: storedEnchantments method: areSameBlocks (Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;)Z params: 0: block, 1: other method: copy ()Lnet/minecraft/world/item/ItemStack; Returns a new stack with the same properties.
method: enchant (Lnet/minecraft/world/item/enchantment/Enchantment;I)V params: 1: enchantment, 2: level Adds an enchantment with a desired level on the ItemStack.
method: expandBlockState (Ljava/lang/String;)Ljava/util/Collection; params: 0: stateString method: finishUsingItem (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: livingEntity Called when the item in use count reach 0, e.g. item food eaten. Return the new ItemStack. Args : world, entity
method: getAttributeModifiers (Lnet/minecraft/world/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap; params: 1: slot Gets the attribute modifiers for this ItemStack.
Will check for an NBT tag list containing modifiers for the stack.
method: getBaseRepairCost ()I Get this stack's repair cost, or 0 if no repair cost is defined.
method: getDestroySpeed (Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: state method: getDisplayName ()Lnet/minecraft/network/chat/Component; Get a ChatComponent for this Item's display name that shows this Item on hover
method: getEntityRepresentation ()Lnet/minecraft/world/entity/Entity; For example it'll return a ItemFrameEntity if it is in an itemframe
method: getFrame ()Lnet/minecraft/world/entity/decoration/ItemFrame; Return the item frame this stack is on. Returns null if not on an item frame.
method: getItem ()Lnet/minecraft/world/item/Item; Returns the object corresponding to the stack.
method: getMaxDamage ()I Returns the max damage an item in the stack can take.
method: getMaxStackSize ()I Returns maximum size of the stack.
method: getOrCreateTagElement (Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag; params: 1: key method: getTagElement (Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag; params: 1: key Get an NBTTagCompound from this stack's NBT data.
method: getTooltipLines (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/TooltipFlag;)Ljava/util/List; params: 1: player, 2: isAdvanced Return a list of strings containing information about the item
method: grow method: hasAdventureModeBreakTagForBlock (Lnet/minecraft/tags/TagContainer;Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;)Z params: 1: tagContainer, 2: block method: hasAdventureModePlaceTagForBlock (Lnet/minecraft/tags/TagContainer;Lnet/minecraft/world/level/block/state/pattern/BlockInWorld;)Z params: 1: tagContainer, 2: block method: hasCustomHoverName ()Z Returns true if the itemstack has a display name
method: hasTag ()Z Returns true if the ItemStack has an NBTTagCompound. Currently used to store enchantments.
method: hideTooltipPart (Lnet/minecraft/world/item/ItemStack$TooltipPart;)V params: 1: part method: hurt (ILjava/util/Random;Lnet/minecraft/server/level/ServerPlayer;)Z params: 1: amount, 2: random, 3: user Attempts to damage the ItemStack with par1 amount of damage, If the ItemStack has the Unbreaking enchantment there is a chance for each point of damage to be negated. Returns true if it takes more damage than getMaxDamage(). Returns false otherwise or if the ItemStack can't be damaged or if all points of damage are negated.
method: hurtAndBreak (ILnet/minecraft/world/entity/LivingEntity;Ljava/util/function/Consumer;)V params: 1: amount, 2: entity, 3: onBroken method: hurtEnemy (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/player/Player;)V params: 1: entity, 2: player Calls the delegated method to the Item to damage the incoming Entity, and if necessary, triggers a stats increase.
method: interactLivingEntity (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: player, 2: entity, 3: usedHand method: inventoryTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;IZ)V params: 1: level, 2: entity, 3: inventorySlot, 4: isCurrentItem Called each tick as long the ItemStack in on player inventory. Used to progress the pickup animation and update maps.
method: isCorrectToolForDrops (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Check whether the given Block can be harvested using this ItemStack.
method: isDamageableItem ()Z true if this itemStack is damageable
method: isDamaged ()Z returns true when a damageable item is damaged
method: isEnchantable ()Z True if it is a tool and has no enchantments to begin with
method: isEnchanted ()Z True if the item has enchantment data
method: isFramed ()Z Return whether this stack is on an item frame.
method: isSame (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack, 1: other Compares Item and damage value of the two stacks
method: isSameIgnoreDurability (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack, 1: other method: isStackable ()Z Returns true if the ItemStack can hold 2 or more units of the item.
method: lambda$appendEnchantmentNames$5 (Ljava/util/List;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/item/enchantment/Enchantment;)V params: 2: enchantment method: lambda$expandBlockState$6 (Lnet/minecraft/network/chat/MutableComponent;)Lnet/minecraft/network/chat/MutableComponent; params: 0: tooltip method: lambda$getDisplayName$7 (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 1: style method: lambda$static$3 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; params: 0: instance method: lambda$static$4 (Ljava/text/DecimalFormat;)V params: 0: format method: matches (Lnet/minecraft/world/item/ItemStack;)Z params: 1: other compares ItemStack argument to the instance ItemStack returns true if both ItemStacks are equal
method: matches (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack, 1: other compares ItemStack argument1 with ItemStack argument2 returns true if both ItemStacks are equal
method: mineBlock (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: state, 3: pos, 4: player Called when a Block is destroyed using this ItemStack
method: of (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/item/ItemStack; params: 0: compoundTag method: onCraftedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;I)V params: 1: level, 2: player, 3: amount method: onUseTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: level, 2: livingEntity, 3: count Called as the stack is being used by an entity.
method: releaseUsing (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: level, 2: livingEntity, 3: timeLeft Called when the player releases the use item button.
method: removeTagKey (Ljava/lang/String;)V params: 1: key method: resetHoverName ()V Clear any custom name set for this ItemStack
method: sameItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: other compares ItemStack argument to the instance ItemStack returns true if the Items contained in both ItemStacks are equal
method: sameItemStackIgnoreDurability (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compoundTag Write the stack fields to a NBT object. Return the new NBT object.
method: setCount method: setDamageValue method: setEntityRepresentation (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: setHoverName (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/world/item/ItemStack; params: 1: nameComponent method: setPopTime method: setRepairCost (I)V params: 1: cost Set this stack's repair cost.
method: setTag (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compoundTag Assigns a NBTTagCompound to the ItemStack, minecraft validates that only non-stackable items can have it.
method: shouldShowInTooltip (ILnet/minecraft/world/item/ItemStack$TooltipPart;)Z params: 0: hideFlags, 1: part method: shrink method: split (I)Lnet/minecraft/world/item/ItemStack; params: 1: amount Splits off a stack of the given amount of this stack and reduces this stack by the amount.
method: tagMatches (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack, 1: other method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: usedHand Called whenr the item stack is equipped and right clicked. Replaces the item stack with the return value.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context class: ItemUtils path: net/minecraft/world/item/ItemUtils method: createFilledResult (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 0: emptyStack, 1: player, 2: filledStack method: createFilledResult (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Z)Lnet/minecraft/world/item/ItemStack; params: 0: emptyStack, 1: player, 2: filledStack, 3: preventDuplicates class: Items path: net/minecraft/world/item/Items method: registerBlock (Lnet/minecraft/world/item/BlockItem;)Lnet/minecraft/world/item/Item; params: 0: item method: registerBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/item/Item; params: 0: block method: registerBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/CreativeModeTab;)Lnet/minecraft/world/item/Item; params: 0: block, 1: itemGroup method: registerBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/item/Item; params: 0: block, 1: item method: registerItem (Ljava/lang/String;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/item/Item; params: 0: key, 1: item method: registerItem (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/item/Item; params: 0: key, 1: item class: KnowledgeBookItem path: net/minecraft/world/item/KnowledgeBookItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: LeadItem path: net/minecraft/world/item/LeadItem method: bindPlayerMobs (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/InteractionResult; params: 0: player, 1: level, 2: pos method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: LingeringPotionItem path: net/minecraft/world/item/LingeringPotionItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: MapItem path: net/minecraft/world/item/MapItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: create (Lnet/minecraft/world/level/Level;IIBZZ)Lnet/minecraft/world/item/ItemStack; params: 0: level, 1: levelX, 2: levelZ, 3: scale, 4: trackingPosition, 5: unlimitedTracking method: getColor (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack method: getCorrectStateForFluidBlock (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: state, 3: pos method: getSavedData (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData; params: 0: stack, 1: level method: getUpdatePacket (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/network/protocol/Packet; params: 1: stack, 2: level, 3: player method: inventoryTick (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;IZ)V params: 1: stack, 2: level, 3: entity, 4: itemSlot, 5: isSelected Called each tick as long the item is on a player inventory. Uses by maps to check if is on a player hand and update it's contents.
method: isLand ([Lnet/minecraft/world/level/biome/Biome;III)Z params: 0: biomes, 1: scale, 2: x, 3: z method: lockMap (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;)V params: 0: level, 1: stack method: makeKey (I)Ljava/lang/String; params: 0: mapId method: onCraftedBy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;)V params: 1: stack, 2: level, 3: player Called when item is crafted/smelted. Used only by maps so far.
method: renderBiomePreviewMap (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/ItemStack;)V params: 0: serverLevel, 1: stack method: scaleMap (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;I)V params: 0: stack, 1: level, 2: scale method: update (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData;)V params: 1: level, 2: viewer, 3: data method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: MilkBucketItem path: net/minecraft/world/item/MilkBucketItem method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: entityLiving Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: MinecartItem path: net/minecraft/world/item/MinecartItem method: <init> (Lnet/minecraft/world/entity/vehicle/AbstractMinecart$Type;Lnet/minecraft/world/item/Item$Properties;)V params: 1: type, 2: properties method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: MinecartItem$1 path: net/minecraft/world/item/MinecartItem$1 method: execute (Lnet/minecraft/core/BlockSource;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: source, 2: stack Dispense the specified stack, play the dispense sound and spawn particles.
method: playSound (Lnet/minecraft/core/BlockSource;)V params: 1: source Play the dispense sound from the specified block.
class: NameTagItem path: net/minecraft/world/item/NameTagItem method: interactLivingEntity (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: stack, 2: player, 3: target, 4: hand Returns true if the item can be used on the given entity, e.g. shears on sheep.
class: PickaxeItem path: net/minecraft/world/item/PickaxeItem method: <init> (Lnet/minecraft/world/item/Tier;IFLnet/minecraft/world/item/Item$Properties;)V params: 1: tier, 2: attackDamageModifier, 3: attackSpeedModifier, 4: properties method: getDestroySpeed (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: stack, 2: state method: isCorrectToolForDrops (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: block Check whether this Item can harvest the given Block
class: PlayerHeadItem path: net/minecraft/world/item/PlayerHeadItem method: getName (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/network/chat/Component; params: 1: stack class: PotionItem path: net/minecraft/world/item/PotionItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: fillItemCategory (Lnet/minecraft/world/item/CreativeModeTab;Lnet/minecraft/core/NonNullList;)V params: 1: group, 2: items returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: entityLiving Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
method: getDescriptionId (Lnet/minecraft/world/item/ItemStack;)Ljava/lang/String; params: 1: stack Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have different names based on their damage or NBT.
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: ProjectileWeaponItem path: net/minecraft/world/item/ProjectileWeaponItem method: getAllSupportedProjectiles ()Ljava/util/function/Predicate; Get the predicate to match ammunition when searching the player's inventory, not their main/offhand
method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: getHeldProjectile (Lnet/minecraft/world/entity/LivingEntity;Ljava/util/function/Predicate;)Lnet/minecraft/world/item/ItemStack; params: 0: shooter, 1: isAmmo method: lambda$static$0 (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: lambda$static$1 (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack class: Rarity path: net/minecraft/world/item/Rarity method: <init> (Ljava/lang/String;ILnet/minecraft/ChatFormatting;)V params: 3: color class: RecordItem path: net/minecraft/world/item/RecordItem method: <init> (ILnet/minecraft/sounds/SoundEvent;Lnet/minecraft/world/item/Item$Properties;)V params: 1: analogOutput, 2: sound, 3: properties method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: getBySound (Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/world/item/RecordItem; params: 0: sound method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: SaddleItem path: net/minecraft/world/item/SaddleItem method: interactLivingEntity (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; params: 1: stack, 2: player, 3: target, 4: hand Returns true if the item can be used on the given entity, e.g. shears on sheep.
class: ScaffoldingBlockItem path: net/minecraft/world/item/ScaffoldingBlockItem method: updatePlacementContext (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/item/context/BlockPlaceContext; params: 1: context class: ServerItemCooldowns path: net/minecraft/world/item/ServerItemCooldowns method: <init> (Lnet/minecraft/server/level/ServerPlayer;)V params: 1: player method: onCooldownEnded (Lnet/minecraft/world/item/Item;)V params: 1: item method: onCooldownStarted (Lnet/minecraft/world/item/Item;I)V params: 1: item, 2: ticks class: ShearsItem path: net/minecraft/world/item/ShearsItem method: getDestroySpeed (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: stack, 2: state method: isCorrectToolForDrops (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: block Check whether this Item can harvest the given Block
method: lambda$mineBlock$0 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: mineBlock (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: level, 3: state, 4: pos, 5: entityLiving Called when a Block is destroyed using this Item. Return true to trigger the "Use Item" statistic.
class: ShieldItem path: net/minecraft/world/item/ShieldItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: getColor (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/DyeColor; params: 0: stack method: getDescriptionId (Lnet/minecraft/world/item/ItemStack;)Ljava/lang/String; params: 1: stack Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have different names based on their damage or NBT.
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: isValidRepairItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: toRepair, 2: repair Return whether this item is repairable in an anvil.
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: ShovelItem path: net/minecraft/world/item/ShovelItem field: FLATTENABLES Ljava/util/Map; Map used to lookup shovel right click interactions
method: <init> (Lnet/minecraft/world/item/Tier;FFLnet/minecraft/world/item/Item$Properties;)V params: 1: tier, 2: attackDamageModifier, 3: attackSpeedModifier, 4: properties method: isCorrectToolForDrops (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: block Check whether this Item can harvest the given Block
method: lambda$useOn$0 (Lnet/minecraft/world/item/context/UseOnContext;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextEntity method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: SignItem path: net/minecraft/world/item/SignItem method: <init> (Lnet/minecraft/world/item/Item$Properties;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V params: 1: properties, 2: standingBlock, 3: wallBlock method: updateCustomBlockEntityTag (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: pos, 2: level, 3: player, 4: stack, 5: state class: SimpleFoiledItem path: net/minecraft/world/item/SimpleFoiledItem method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
class: SnowballItem path: net/minecraft/world/item/SnowballItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: SpawnEggItem path: net/minecraft/world/item/SpawnEggItem method: <init> (Lnet/minecraft/world/entity/EntityType;IILnet/minecraft/world/item/Item$Properties;)V params: 1: defaultType, 2: backgroundColor, 3: highlightColor, 4: properties method: byId (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/item/SpawnEggItem; params: 0: type method: getColor method: getType (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/EntityType; params: 1: nbt method: spawnOffspringFromSpawnEgg (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/item/ItemStack;)Ljava/util/Optional; params: 1: player, 2: mob, 3: entityType, 4: serverLevel, 5: pos, 6: stack method: spawnsEntity (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/entity/EntityType;)Z params: 1: nbt, 2: type method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: SpectralArrowItem path: net/minecraft/world/item/SpectralArrowItem method: createArrow (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/projectile/AbstractArrow; params: 1: level, 2: stack, 3: shooter class: SplashPotionItem path: net/minecraft/world/item/SplashPotionItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: StandingAndWallBlockItem path: net/minecraft/world/item/StandingAndWallBlockItem method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item$Properties;)V params: 1: standingBlock, 2: wallBlock, 3: properties method: getPlacementState (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: registerBlocks (Ljava/util/Map;Lnet/minecraft/world/item/Item;)V params: 1: blockToItemMap, 2: item class: SuspiciousStewItem path: net/minecraft/world/item/SuspiciousStewItem method: finishUsingItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: level, 3: entityLiving Called when the player finishes using this Item (E.g. finishes eating.). Not called when the player stops using the Item before the action is complete.
method: saveMobEffect (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/effect/MobEffect;I)V params: 0: bowlStack, 1: effect, 2: effectDuration class: SwordItem path: net/minecraft/world/item/SwordItem field: defaultModifiers Lcom/google/common/collect/Multimap; Modifiers applied when the item is in the mainhand of a user.
method: <init> (Lnet/minecraft/world/item/Tier;IFLnet/minecraft/world/item/Item$Properties;)V params: 1: tier, 2: attackDamageModifier, 3: attackSpeedModifier, 4: properties method: canAttackBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)Z params: 1: state, 2: level, 3: pos, 4: player method: getDefaultAttributeModifiers (Lnet/minecraft/world/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap; params: 1: equipmentSlot Gets a map of item attribute modifiers, used by ItemSword to increase hit damage.
method: getDestroySpeed (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/block/state/BlockState;)F params: 1: stack, 2: state method: hurtEnemy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: target, 3: attacker Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
method: isCorrectToolForDrops (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: block Check whether this Item can harvest the given Block
method: lambda$hurtEnemy$0 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: lambda$mineBlock$1 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: mineBlock (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: level, 3: state, 4: pos, 5: entityLiving Called when a Block is destroyed using this Item. Return true to trigger the "Use Item" statistic.
class: ThrowablePotionItem path: net/minecraft/world/item/ThrowablePotionItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: TieredItem path: net/minecraft/world/item/TieredItem method: <init> (Lnet/minecraft/world/item/Tier;Lnet/minecraft/world/item/Item$Properties;)V params: 1: tier, 2: properties method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: isValidRepairItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 1: toRepair, 2: repair Return whether this item is repairable in an anvil.
class: Tiers path: net/minecraft/world/item/Tiers method: <init> (Ljava/lang/String;IIIFFILjava/util/function/Supplier;)V params: 3: level, 4: uses, 5: speed, 6: damage, 7: enchantmentValue, 8: repairIngredient class: TippedArrowItem path: net/minecraft/world/item/TippedArrowItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: fillItemCategory (Lnet/minecraft/world/item/CreativeModeTab;Lnet/minecraft/core/NonNullList;)V params: 1: group, 2: items returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
method: getDescriptionId (Lnet/minecraft/world/item/ItemStack;)Ljava/lang/String; params: 1: stack Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have different names based on their damage or NBT.
class: TooltipFlag$Default path: net/minecraft/world/item/TooltipFlag$Default method: <init> (Ljava/lang/String;IZ)V params: 3: advanced class: TridentItem path: net/minecraft/world/item/TridentItem method: canAttackBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)Z params: 1: state, 2: level, 3: pos, 4: player method: getDefaultAttributeModifiers (Lnet/minecraft/world/entity/EquipmentSlot;)Lcom/google/common/collect/Multimap; params: 1: equipmentSlot Gets a map of item attribute modifiers, used by ItemSword to increase hit damage.
method: getEnchantmentValue ()I Return the enchantability factor of the item, most of the time is based on material.
method: getUseAnimation (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/UseAnim; params: 1: stack returns the action that specifies what animation to play when the items is being used
method: getUseDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack How long it takes to use or consume an item
method: hurtEnemy (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: target, 3: attacker Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
method: lambda$hurtEnemy$1 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: lambda$mineBlock$2 (Lnet/minecraft/world/entity/LivingEntity;)V params: 0: contextEntity method: lambda$releaseUsing$0 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/player/Player;)V params: 1: contextEntity method: mineBlock (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/LivingEntity;)Z params: 1: stack, 2: level, 3: state, 4: pos, 5: entityLiving Called when a Block is destroyed using this Item. Return true to trigger the "Use Item" statistic.
method: releaseUsing (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V params: 1: stack, 2: level, 3: entityLiving, 4: timeLeft Called when the player stops using an Item (stops holding the right mouse button).
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
class: WaterLilyBlockItem path: net/minecraft/world/item/WaterLilyBlockItem method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: WritableBookItem path: net/minecraft/world/item/WritableBookItem method: makeSureTagIsValid (Lnet/minecraft/nbt/CompoundTag;)Z params: 0: compoundTag this method returns true if the book's NBT Tag List "pages" is valid
method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
class: WrittenBookItem path: net/minecraft/world/item/WrittenBookItem method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag allows items to add custom lines of information to the mouseover description
method: getGeneration (Lnet/minecraft/world/item/ItemStack;)I params: 0: bookStack Gets the generation of the book (how many times it has been cloned)
method: getName (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/network/chat/Component; params: 1: stack Gets the title name of the book
method: getPageCount (Lnet/minecraft/world/item/ItemStack;)I params: 0: bookSTack Gets the page count of the book
method: isFoil (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack Returns true if this item has an enchantment glint. By default, this returns <code>stack.isItemEnchanted()</code>, but other items can override it (for instance, written books always return true).
Note that if you override this method, you generally want to also call the super version (on {@link Item}) to get the glint for enchanted items. Of course, that is unnecessary if the overwritten version always returns true.
method: makeSureTagIsValid (Lnet/minecraft/nbt/CompoundTag;)Z params: 0: compoundTag method: resolveBookComponents (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/player/Player;)Z params: 0: bookStack, 1: resolvingSource, 2: resolvingPlayer method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; params: 1: level, 2: player, 3: hand Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}.
method: useOn (Lnet/minecraft/world/item/context/UseOnContext;)Lnet/minecraft/world/InteractionResult; params: 1: context Called when this item is used when targetting a Block
level biome class: AmbientAdditionsSettings path: net/minecraft/world/level/biome/AmbientAdditionsSettings method: <init> (Lnet/minecraft/sounds/SoundEvent;D)V params: 1: soundEvent, 2: tickChance class: AmbientMoodSettings path: net/minecraft/world/level/biome/AmbientMoodSettings method: <init> (Lnet/minecraft/sounds/SoundEvent;IID)V params: 1: soundEvent, 2: tickDelay, 3: blockSearchExtent, 4: soundPositionOffset class: AmbientParticleSettings path: net/minecraft/world/level/biome/AmbientParticleSettings method: <init> (Lnet/minecraft/core/particles/ParticleOptions;F)V params: 1: options, 2: probability method: canSpawn (Ljava/util/Random;)Z params: 1: random class: Biome path: net/minecraft/world/level/biome/Biome method: <init> (Lnet/minecraft/world/level/biome/Biome$ClimateSettings;Lnet/minecraft/world/level/biome/Biome$BiomeCategory;FFLnet/minecraft/world/level/biome/BiomeSpecialEffects;Lnet/minecraft/world/level/biome/BiomeGenerationSettings;Lnet/minecraft/world/level/biome/MobSpawnSettings;)V params: 1: climateSettings, 2: biomeCategory, 3: depth, 4: scale, 5: specialEffects, 6: generationSettings, 7: mobSettings method: generate (Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/server/level/WorldGenRegion;JLnet/minecraft/world/level/levelgen/WorldgenRandom;Lnet/minecraft/core/BlockPos;)V params: 1: structureManager, 2: chunkGenerator, 3: levelGenRegion, 4: seed, 6: random, 7: pos method: getDownfall ()F Gets a floating point representation of this biome's rainfall
method: getGrassColor (DD)I params: 1: posX, 3: posZ method: getHeightAdjustedTemperature (Lnet/minecraft/core/BlockPos;)F params: 1: pos method: getTemperature (Lnet/minecraft/core/BlockPos;)F params: 1: pos method: isHumid ()Z Checks to see if the rainfall level of the biome is extremely high
method: shouldFreeze (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: shouldFreeze (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Z params: 1: level, 2: water, 3: mustBeAtEdge method: shouldSnow (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos class: Biome$BiomeBuilder path: net/minecraft/world/level/biome/Biome$BiomeBuilder method: biomeCategory (Lnet/minecraft/world/level/biome/Biome$BiomeCategory;)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: biomeCategory method: depth (F)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: depth method: downfall (F)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: downfall method: generationSettings (Lnet/minecraft/world/level/biome/BiomeGenerationSettings;)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: generationSettings method: mobSpawnSettings (Lnet/minecraft/world/level/biome/MobSpawnSettings;)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: mobSpawnSettings method: precipitation (Lnet/minecraft/world/level/biome/Biome$Precipitation;)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: precipitation method: scale (F)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: scale method: specialEffects (Lnet/minecraft/world/level/biome/BiomeSpecialEffects;)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: effects method: temperature (F)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: temperature method: temperatureAdjustment (Lnet/minecraft/world/level/biome/Biome$TemperatureModifier;)Lnet/minecraft/world/level/biome/Biome$BiomeBuilder; params: 1: temperatureSettings class: Biome$BiomeCategory path: net/minecraft/world/level/biome/Biome$BiomeCategory method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/biome/Biome$BiomeCategory; params: 0: name class: Biome$ClimateParameters path: net/minecraft/world/level/biome/Biome$ClimateParameters method: <init> (FFFFF)V params: 1: temperature, 2: humidity, 3: altitude, 4: weirdness, 5: offset method: equals (Ljava/lang/Object;)Z params: 1: other method: fitness (Lnet/minecraft/world/level/biome/Biome$ClimateParameters;)F params: 1: attributes class: Biome$ClimateSettings path: net/minecraft/world/level/biome/Biome$ClimateSettings method: <init> (Lnet/minecraft/world/level/biome/Biome$Precipitation;FLnet/minecraft/world/level/biome/Biome$TemperatureModifier;F)V params: 1: precipitation, 2: temperature, 3: temperatureModifier, 4: downfall class: Biome$Precipitation path: net/minecraft/world/level/biome/Biome$Precipitation method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/biome/Biome$Precipitation; params: 0: name class: Biome$TemperatureModifier path: net/minecraft/world/level/biome/Biome$TemperatureModifier method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/biome/Biome$TemperatureModifier; params: 0: name method: modifyTemperature (Lnet/minecraft/core/BlockPos;F)F params: 1: pos, 2: temperature class: Biome$TemperatureModifier$1 path: net/minecraft/world/level/biome/Biome$TemperatureModifier$1 method: modifyTemperature (Lnet/minecraft/core/BlockPos;F)F params: 1: pos, 2: temperature class: Biome$TemperatureModifier$2 path: net/minecraft/world/level/biome/Biome$TemperatureModifier$2 method: modifyTemperature (Lnet/minecraft/core/BlockPos;F)F params: 1: pos, 2: temperature class: BiomeGenerationSettings path: net/minecraft/world/level/biome/BiomeGenerationSettings method: <init> (Ljava/util/function/Supplier;Ljava/util/Map;Ljava/util/List;Ljava/util/List;)V params: 1: surfaceBuilder, 2: carvers, 3: features, 4: structureStarts method: getCarvers (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)Ljava/util/List; params: 1: carvingType method: isValidStart (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Z params: 1: structure method: withBiomeConfig (Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature; params: 1: structure class: BiomeGenerationSettings$Builder path: net/minecraft/world/level/biome/BiomeGenerationSettings$Builder method: addCarver (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;Lnet/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver;)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 1: carvingStage, 2: carver method: addFeature (ILjava/util/function/Supplier;)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 1: stage, 2: features method: addFeature (Lnet/minecraft/world/level/levelgen/GenerationStep$Decoration;Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature;)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 1: decorationStage, 2: feature method: addFeatureStepsUpTo method: addStructureStart (Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature;)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 1: structure method: surfaceBuilder (Ljava/util/function/Supplier;)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 1: configuredSurfaceBuilderSupplier method: surfaceBuilder (Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder;)Lnet/minecraft/world/level/biome/BiomeGenerationSettings$Builder; params: 1: configuredSurfaceBuilder class: BiomeManager path: net/minecraft/world/level/biome/BiomeManager method: <init> (Lnet/minecraft/world/level/biome/BiomeManager$NoiseBiomeSource;JLnet/minecraft/world/level/biome/BiomeZoomer;)V params: 1: noiseBiomeSource, 2: biomeZoomSeed, 4: zoomer method: getBiome (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/biome/Biome; params: 1: pos method: getNoiseBiomeAtPosition (DDD)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 3: y, 5: z method: getNoiseBiomeAtPosition (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/biome/Biome; params: 1: pos method: getNoiseBiomeAtQuart (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: obfuscateSeed method: withDifferentSource (Lnet/minecraft/world/level/biome/BiomeSource;)Lnet/minecraft/world/level/biome/BiomeManager; params: 1: newProvider class: BiomeManager$NoiseBiomeSource path: net/minecraft/world/level/biome/BiomeManager$NoiseBiomeSource method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z class: BiomeSource path: net/minecraft/world/level/biome/BiomeSource method: <init> (Ljava/util/List;)V params: 1: possibleBiomes method: <init> (Ljava/util/stream/Stream;)V params: 1: biomes method: canGenerateStructure (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Z params: 1: structure method: findBiomeHorizontal (IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/core/BlockPos; params: 1: x, 2: y, 3: z, 4: radius, 5: increment, 6: biomes, 7: random, 8: findClosest method: findBiomeHorizontal (IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/core/BlockPos; params: 1: x, 2: y, 3: z, 4: radius, 5: biomes, 6: random method: getBiomesWithin (IIII)Ljava/util/Set; params: 1: x, 2: y, 3: z, 4: radius Returns the set of biomes contained in cube of side length 2 * radius + 1 centered at (xIn, yIn, zIn)
method: withSeed (J)Lnet/minecraft/world/level/biome/BiomeSource; params: 1: seed class: BiomeSpecialEffects path: net/minecraft/world/level/biome/BiomeSpecialEffects method: <init> (IIIILjava/util/Optional;Ljava/util/Optional;Lnet/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V params: 1: fogColor, 2: waterColor, 3: waterFogColor, 4: skyColor, 5: foliageColorOverride, 6: grassColorOverride, 7: grassColorModifier, 8: ambientParticleSettings, 9: ambientLoopSoundEvent, 10: ambientMoodSettings, 11: ambientAdditionsSettings, 12: backgroundMusic class: BiomeSpecialEffects$Builder path: net/minecraft/world/level/biome/BiomeSpecialEffects$Builder method: ambientAdditionsSound (Lnet/minecraft/world/level/biome/AmbientAdditionsSettings;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: additionsSound method: ambientLoopSound (Lnet/minecraft/sounds/SoundEvent;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: ambientSound method: ambientMoodSound (Lnet/minecraft/world/level/biome/AmbientMoodSettings;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: moodSound method: ambientParticle (Lnet/minecraft/world/level/biome/AmbientParticleSettings;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: particle method: backgroundMusic (Lnet/minecraft/sounds/Music;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: music method: fogColor (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: fogColor method: foliageColorOverride (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: foliageColor method: grassColorModifier (Lnet/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: grassColorModifier method: grassColorOverride (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: grassColor method: skyColor (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: skyColor method: waterColor (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: waterColor method: waterFogColor (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; params: 1: waterFogColor class: BiomeSpecialEffects$GrassColorModifier path: net/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier; params: 0: name method: modifyColor (DDI)I params: 1: x, 3: z, 5: grassColor class: BiomeSpecialEffects$GrassColorModifier$1 path: net/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier$1 method: modifyColor (DDI)I params: 1: x, 3: z, 5: grassColor class: BiomeSpecialEffects$GrassColorModifier$2 path: net/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier$2 method: modifyColor (DDI)I params: 1: x, 3: z, 5: grassColor class: BiomeSpecialEffects$GrassColorModifier$3 path: net/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier$3 method: modifyColor (DDI)I params: 1: x, 3: z, 5: grassColor class: BiomeZoomer path: net/minecraft/world/level/biome/BiomeZoomer method: getBiome (JIIILnet/minecraft/world/level/biome/BiomeManager$NoiseBiomeSource;)Lnet/minecraft/world/level/biome/Biome; params: 1: seed, 3: x, 4: y, 5: z, 6: biomeReader class: Biomes path: net/minecraft/world/level/biome/Biomes method: register (Ljava/lang/String;)Lnet/minecraft/resources/ResourceKey; params: 0: name class: CheckerboardColumnBiomeSource path: net/minecraft/world/level/biome/CheckerboardColumnBiomeSource method: <init> (Ljava/util/List;I)V params: 1: allowedBiomes, 2: size method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: withSeed (J)Lnet/minecraft/world/level/biome/BiomeSource; params: 1: seed class: FixedBiomeSource path: net/minecraft/world/level/biome/FixedBiomeSource method: <init> (Ljava/util/function/Supplier;)V params: 1: biome method: <init> (Lnet/minecraft/world/level/biome/Biome;)V params: 1: biome method: findBiomeHorizontal (IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/core/BlockPos; params: 1: x, 2: y, 3: z, 4: radius, 5: increment, 6: biomes, 7: random, 8: findClosest method: getBiomesWithin (IIII)Ljava/util/Set; params: 1: x, 2: y, 3: z, 4: radius Returns the set of biomes contained in cube of side length 2 * radius + 1 centered at (xIn, yIn, zIn)
method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: withSeed (J)Lnet/minecraft/world/level/biome/BiomeSource; params: 1: seed class: FuzzyOffsetBiomeZoomer path: net/minecraft/world/level/biome/FuzzyOffsetBiomeZoomer method: getBiome (JIIILnet/minecraft/world/level/biome/BiomeManager$NoiseBiomeSource;)Lnet/minecraft/world/level/biome/Biome; params: 1: seed, 3: x, 4: y, 5: z, 6: biomeReader method: getFiddle method: getFiddledDistance (JIIIDDD)D params: 0: seed, 2: x, 3: y, 4: z, 5: scaleX, 7: scaleY, 9: scaleZ method: sqr class: FuzzyOffsetConstantColumnBiomeZoomer path: net/minecraft/world/level/biome/FuzzyOffsetConstantColumnBiomeZoomer method: getBiome (JIIILnet/minecraft/world/level/biome/BiomeManager$NoiseBiomeSource;)Lnet/minecraft/world/level/biome/Biome; params: 1: seed, 3: x, 4: y, 5: z, 6: biomeReader class: MobSpawnSettings path: net/minecraft/world/level/biome/MobSpawnSettings method: <init> (FLjava/util/Map;Ljava/util/Map;Z)V params: 1: creatureGenerationProbability, 2: spawners, 3: mobSpawnCosts, 4: playerSpawnFriendly method: getMobSpawnCost (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/level/biome/MobSpawnSettings$MobSpawnCost; params: 1: entityType class: MobSpawnSettings$Builder path: net/minecraft/world/level/biome/MobSpawnSettings$Builder method: addMobCharge (Lnet/minecraft/world/entity/EntityType;DD)Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder; params: 1: entityType, 2: spawnCostPerEntity, 4: maxSpawnCost method: addSpawn (Lnet/minecraft/world/entity/MobCategory;Lnet/minecraft/world/level/biome/MobSpawnSettings$SpawnerData;)Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder; params: 1: classification, 2: spawner method: creatureGenerationProbability (F)Lnet/minecraft/world/level/biome/MobSpawnSettings$Builder; params: 1: probability class: MobSpawnSettings$MobSpawnCost path: net/minecraft/world/level/biome/MobSpawnSettings$MobSpawnCost field: charge D Determines the cost per entity towards the maximum spawn cap.
field: energyBudget D Determines the total amount of entities that can spawn in a location based on their current cost (e.g. a cost of 0.1 and a max total of 1 means at most ten entities can spawn in the given locatoin).
method: <init> (DD)V params: 1: energyBudget, 3: charge class: MobSpawnSettings$SpawnerData path: net/minecraft/world/level/biome/MobSpawnSettings$SpawnerData method: <init> (Lnet/minecraft/world/entity/EntityType;III)V params: 1: type, 2: weight, 3: minCount, 4: maxCount class: MultiNoiseBiomeSource path: net/minecraft/world/level/biome/MultiNoiseBiomeSource method: <init> (JLjava/util/List;)V params: 1: seed, 3: parameters method: <init> (JLjava/util/List;Ljava/util/Optional;)V params: 1: seed, 3: parameters, 4: preset method: <init> (JLjava/util/List;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;)V params: 1: seed, 3: parameters, 4: temperatureParams, 5: humidityParams, 6: altitudeParams, 7: weirdnessParams method: <init> (JLjava/util/List;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters;Ljava/util/Optional;)V params: 1: seed, 3: parameters, 4: temperatureParams, 5: humidityParams, 6: altitudeParams, 7: weirdnessParams, 8: preset method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: stable method: withSeed (J)Lnet/minecraft/world/level/biome/BiomeSource; params: 1: seed class: MultiNoiseBiomeSource$NoiseParameters path: net/minecraft/world/level/biome/MultiNoiseBiomeSource$NoiseParameters method: <init> (ILjava/util/List;)V params: 1: firstOctave, 2: amplitudes class: MultiNoiseBiomeSource$Preset path: net/minecraft/world/level/biome/MultiNoiseBiomeSource$Preset method: <init> (Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/datafixers/util/Function3;)V params: 1: name, 2: biomeSource method: biomeSource (Lnet/minecraft/core/Registry;J)Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource; params: 1: lookupRegistry, 2: seed class: MultiNoiseBiomeSource$PresetInstance path: net/minecraft/world/level/biome/MultiNoiseBiomeSource$PresetInstance method: <init> (Lnet/minecraft/world/level/biome/MultiNoiseBiomeSource$Preset;Lnet/minecraft/core/Registry;J)V params: 1: preset, 2: biomes, 3: seed class: NearestNeighborBiomeZoomer path: net/minecraft/world/level/biome/NearestNeighborBiomeZoomer method: getBiome (JIIILnet/minecraft/world/level/biome/BiomeManager$NoiseBiomeSource;)Lnet/minecraft/world/level/biome/Biome; params: 1: seed, 3: x, 4: y, 5: z, 6: biomeReader class: OverworldBiomeSource path: net/minecraft/world/level/biome/OverworldBiomeSource method: <init> (JZZLnet/minecraft/core/Registry;)V params: 1: seed, 3: legacyBiomeInitLayer, 4: largeBiomes, 5: biomes method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: withSeed (J)Lnet/minecraft/world/level/biome/BiomeSource; params: 1: seed class: TheEndBiomeSource path: net/minecraft/world/level/biome/TheEndBiomeSource method: <init> (Lnet/minecraft/core/Registry;J)V params: 1: biomes, 2: seed method: <init> (Lnet/minecraft/core/Registry;JLnet/minecraft/world/level/biome/Biome;Lnet/minecraft/world/level/biome/Biome;Lnet/minecraft/world/level/biome/Biome;Lnet/minecraft/world/level/biome/Biome;Lnet/minecraft/world/level/biome/Biome;)V params: 1: biomes, 2: seed, 4: end, 5: highlands, 6: midlands, 7: islands, 8: barrens method: getHeightValue (Lnet/minecraft/world/level/levelgen/synth/SimplexNoise;II)F params: 0: noiseGenerator, 1: x, 2: z Generates a random noise value from -100 to 80 based on the current coordinates bitshifted right by 1
method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: stable method: withSeed (J)Lnet/minecraft/world/level/biome/BiomeSource; params: 1: seed block entity class: AbstractFurnaceBlockEntity path: net/minecraft/world/level/block/entity/AbstractFurnaceBlockEntity method: add (Ljava/util/Map;Lnet/minecraft/tags/Tag;I)V params: 0: map, 1: itemTag, 2: burnTime method: add (Ljava/util/Map;Lnet/minecraft/world/level/ItemLike;I)V params: 0: map, 1: item, 2: burnTime method: awardUsedRecipes (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: canPlaceItem (ILnet/minecraft/world/item/ItemStack;)Z params: 1: index, 2: stack Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. For guis use Slot.isItemValid
method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: fillStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: helper method: getBurnDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: fuel method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side method: isFuel (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: isNeverAFurnaceFuel (Lnet/minecraft/world/item/Item;)Z params: 0: item method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setRecipeUsed (Lnet/minecraft/world/item/crafting/Recipe;)V params: 1: recipe method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: AbstractFurnaceBlockEntity$1 path: net/minecraft/world/level/block/entity/AbstractFurnaceBlockEntity$1 method: get method: set (II)V params: 1: index, 2: value class: BannerBlockEntity path: net/minecraft/world/level/block/entity/BannerBlockEntity field: itemPatterns Lnet/minecraft/nbt/ListTag; A list of all the banner patterns.
field: patterns Ljava/util/List; A list of all patterns stored on this banner.
method: createPatterns (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/nbt/ListTag;)Ljava/util/List; params: 0: color, 1: listTag method: fromItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/DyeColor;)V params: 1: stack, 2: color method: getItemPatterns (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/nbt/ListTag; params: 0: stack method: getPatternCount (Lnet/minecraft/world/item/ItemStack;)I params: 0: stack @return the amount of patterns stored in the given ItemStack. Defaults to zero if none are stored.
method: getPatterns ()Ljava/util/List; @return the patterns for this banner.
method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: removeLastPattern (Lnet/minecraft/world/item/ItemStack;)V params: 0: stack Removes all banner data from the given ItemStack.
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name class: BannerPattern path: net/minecraft/world/level/block/entity/BannerPattern method: <init> (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V params: 3: filename, 4: hashname method: <init> (Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Z)V params: 3: filename, 4: hashname, 5: hasPatternItem method: byHash (Ljava/lang/String;)Lnet/minecraft/world/level/block/entity/BannerPattern; params: 0: hash method: lambda$static$0 (Lnet/minecraft/world/level/block/entity/BannerPattern;)Z params: 0: pattern method: location (Z)Lnet/minecraft/resources/ResourceLocation; params: 1: isBanner class: BannerPattern$Builder path: net/minecraft/world/level/block/entity/BannerPattern$Builder method: addPattern (Lnet/minecraft/world/level/block/entity/BannerPattern;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/level/block/entity/BannerPattern$Builder; params: 1: pattern, 2: color method: toListTag ()Lnet/minecraft/nbt/ListTag; Creates the NBT data for the patterns.
class: BarrelBlockEntity path: net/minecraft/world/level/block/entity/BarrelBlockEntity method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getContainerSize ()I Returns the number of slots in the inventory.
method: playSound (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/sounds/SoundEvent;)V params: 1: state, 2: sound method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setItems (Lnet/minecraft/core/NonNullList;)V params: 1: items method: startOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: stopOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: updateBlockState (Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: open class: BaseContainerBlockEntity path: net/minecraft/world/level/block/entity/BaseContainerBlockEntity method: canOpen (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: canUnlock (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/LockCode;Lnet/minecraft/network/chat/Component;)Z params: 0: player, 1: code method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name class: BeaconBlockEntity path: net/minecraft/world/level/block/entity/BeaconBlockEntity field: BEACON_EFFECTS [[Lnet/minecraft/world/effect/MobEffect; List of effects that Beacons can apply
field: beamSections Ljava/util/List; A list of beam segments for this beacon
field: levels I Level of this beacon's pyramid.
field: name Lnet/minecraft/network/chat/Component; The custom name for this beacon.
field: primaryPower Lnet/minecraft/world/effect/MobEffect; Primary MobEffect given by this beacon.
field: secondaryPower Lnet/minecraft/world/effect/MobEffect; Secondary MobEffect given by this beacon.
method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: getValidEffectById (I)Lnet/minecraft/world/effect/MobEffect; params: 0: effectId method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name Sets the custom name for this beacon.
method: setRemoved ()V invalidates a tile entity
class: BeaconBlockEntity$1 path: net/minecraft/world/level/block/entity/BeaconBlockEntity$1 method: get method: set (II)V params: 1: index, 2: value class: BeaconBlockEntity$BeaconBeamSection path: net/minecraft/world/level/block/entity/BeaconBlockEntity$BeaconBeamSection field: color [F RGB (0 to 1.0) colors of this beam segment
method: <init> method: getColor ()[F @return RGB (0 to 1.0) colors of this beam segment
class: BedBlockEntity path: net/minecraft/world/level/block/entity/BedBlockEntity method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: setColor (Lnet/minecraft/world/item/DyeColor;)V params: 1: color class: BeehiveBlockEntity path: net/minecraft/world/level/block/entity/BeehiveBlockEntity method: emptyAllLivingFromHive (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeReleaseStatus;)V params: 1: player, 2: state, 3: releaseStatus method: getHoneyLevel (Lnet/minecraft/world/level/block/state/BlockState;)I params: 0: state method: releaseAllOccupants (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeReleaseStatus;)Ljava/util/List; params: 1: state, 2: releaseStatus method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: BeehiveBlockEntity$BeeData path: net/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeData method: <init> (Lnet/minecraft/nbt/CompoundTag;II)V params: 1: entityData, 2: ticksInHive, 3: minOccupationTicks class: BellBlockEntity path: net/minecraft/world/level/block/entity/BellBlockEntity field: resonationTicks I Warmup counter until raiders are revealed by glow and particle
field: ticks I How long the bell has been ringing
method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: BlastFurnaceBlockEntity path: net/minecraft/world/level/block/entity/BlastFurnaceBlockEntity method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getBurnDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: fuel class: BlockEntity path: net/minecraft/world/level/block/entity/BlockEntity field: level Lnet/minecraft/world/level/Level; the instance of the world the tile entity is in.
method: clearRemoved ()V Marks this {@code BlockEntity} as valid again (no longer removed from the level).
method: fillCrashReportCategory (Lnet/minecraft/CrashReportCategory;)V params: 1: reportCategory method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: hasLevel ()Z @return whether this BlockEntity's level has been set
method: onlyOpCanSetNbt ()Z Checks if players can use this tile entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.entity.Entity#ignoreItemEntityData()}.<p>For example, {@link net.minecraft.tileentity.TileEntitySign#onlyOpsCanSetNbt() signs} (player right-clicking) and {@link net.minecraft.tileentity.TileEntityCommandBlock#onlyOpsCanSetNbt() command blocks} are considered accessible.</p>@return true if this block entity offers ways for unauthorized players to use restricted commands
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: tag method: saveMetadata (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: tag method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setRemoved ()V Marks this {@code BlockEntity} as no longer valid (removed from the level).
method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: BlockEntityType path: net/minecraft/world/level/block/entity/BlockEntityType method: getBlockEntity (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: level, 2: pos method: getKey (Lnet/minecraft/world/level/block/entity/BlockEntityType;)Lnet/minecraft/resources/ResourceLocation; params: 0: blockEntityType method: register (Ljava/lang/String;Lnet/minecraft/world/level/block/entity/BlockEntityType$Builder;)Lnet/minecraft/world/level/block/entity/BlockEntityType; params: 0: key, 1: builder class: BlockEntityType$Builder path: net/minecraft/world/level/block/entity/BlockEntityType$Builder method: build (Lcom/mojang/datafixers/types/Type;)Lnet/minecraft/world/level/block/entity/BlockEntityType; params: 1: dataType class: BrewingStandBlockEntity path: net/minecraft/world/level/block/entity/BrewingStandBlockEntity field: SLOTS_FOR_SIDES [I an array of the output slot indices
field: SLOTS_FOR_UP [I an array of the input slot indices
field: ingredient Lnet/minecraft/world/item/Item; used to check if the current ingredient has been removed from the brewing stand during brewing
field: items Lnet/minecraft/core/NonNullList; The ItemStacks currently placed in the slots of the brewing stand
field: lastPotionCount [Z an integer with each bit specifying whether that slot of the stand contains a potion
method: canPlaceItem (ILnet/minecraft/world/item/ItemStack;)Z params: 1: index, 2: stack Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. For guis use Slot.isItemValid
method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: getPotionBits ()[Z @return an array of size 3 where every element represents whether or not the respective slot is not empty
method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: BrewingStandBlockEntity$1 path: net/minecraft/world/level/block/entity/BrewingStandBlockEntity$1 method: get method: set (II)V params: 1: index, 2: value class: CampfireBlockEntity path: net/minecraft/world/level/block/entity/CampfireBlockEntity method: getCookableRecipe (Lnet/minecraft/world/item/ItemStack;)Ljava/util/Optional; params: 1: stack method: getItems ()Lnet/minecraft/core/NonNullList; @return the items currently held in this campfire
method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: placeFood (Lnet/minecraft/world/item/ItemStack;I)Z params: 1: stack, 2: cookTime method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: saveMetadataAndItems (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound class: ChestBlockEntity path: net/minecraft/world/level/block/entity/ChestBlockEntity method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getContainerSize ()I Returns the number of slots in the inventory.
method: getOpenCount (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 0: level, 1: pos method: getOpenNess (F)F params: 1: partialTicks method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setItems (Lnet/minecraft/core/NonNullList;)V params: 1: items method: startOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: stopOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: swapContents (Lnet/minecraft/world/level/block/entity/ChestBlockEntity;Lnet/minecraft/world/level/block/entity/ChestBlockEntity;)V params: 0: chest, 1: otherChest method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: CommandBlockEntity path: net/minecraft/world/level/block/entity/CommandBlockEntity method: clearRemoved ()V Marks this {@code BlockEntity} as valid again (no longer removed from the level).
method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: onlyOpCanSetNbt ()Z Checks if players can use this tile entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.entity.Entity#ignoreItemEntityData()}.<p>For example, {@link net.minecraft.tileentity.TileEntitySign#onlyOpsCanSetNbt() signs} (player right-clicking) and {@link net.minecraft.tileentity.TileEntityCommandBlock#onlyOpsCanSetNbt() command blocks} are considered accessible.</p>@return true if this block entity offers ways for unauthorized players to use restricted commands
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setAutomatic method: setPowered method: setSendToClient (Z)V params: 1: sendToClient class: CommandBlockEntity$1 path: net/minecraft/world/level/block/entity/CommandBlockEntity$1 method: setCommand (Ljava/lang/String;)V params: 1: command Sets the command.
class: ComparatorBlockEntity path: net/minecraft/world/level/block/entity/ComparatorBlockEntity method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setOutputSignal class: ConduitBlockEntity path: net/minecraft/world/level/block/entity/ConduitBlockEntity method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setHunting class: DispenserBlockEntity path: net/minecraft/world/level/block/entity/DispenserBlockEntity method: addItem (Lnet/minecraft/world/item/ItemStack;)I params: 1: stack Add the given ItemStack to this dispenser.
@return the slot the stack was placed in or -1 if no free slot is available.
method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getContainerSize ()I Returns the number of slots in the inventory.
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setItems (Lnet/minecraft/core/NonNullList;)V params: 1: items class: EnchantmentTableBlockEntity path: net/minecraft/world/level/block/entity/EnchantmentTableBlockEntity method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setCustomName (Lnet/minecraft/network/chat/Component;)V params: 1: name class: EnderChestBlockEntity path: net/minecraft/world/level/block/entity/EnderChestBlockEntity method: getOpenNess (F)F params: 1: partialTicks method: setRemoved ()V Marks this {@code BlockEntity} as no longer valid (removed from the level).
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: FurnaceBlockEntity path: net/minecraft/world/level/block/entity/FurnaceBlockEntity method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player class: Hopper path: net/minecraft/world/level/block/entity/Hopper method: getLevelX ()D @return the x position for this hopper.
method: getLevelY ()D @return the x position for this hopper.
method: getLevelZ ()D @return the x position for this hopper.
class: HopperBlockEntity path: net/minecraft/world/level/block/entity/HopperBlockEntity method: addItem (Lnet/minecraft/world/Container;Lnet/minecraft/world/Container;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/item/ItemStack; params: 0: source, 1: destination, 2: stack, 3: direction Attempts to place the passed stack in the container, using as many slots as required.
@return any leftover stack
method: canMergeItems (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack1, 1: stack2 method: canPlaceItemInContainer (Lnet/minecraft/world/Container;Lnet/minecraft/world/item/ItemStack;ILnet/minecraft/core/Direction;)Z params: 0: container, 1: stack, 2: slot, 3: direction Can this hopper insert the specified item from the specified slot on the specified side?
method: canTakeItemFromContainer (Lnet/minecraft/world/Container;Lnet/minecraft/world/item/ItemStack;ILnet/minecraft/core/Direction;)Z params: 0: container, 1: stack, 2: slot, 3: direction Can this hopper extract the specified item from the specified slot on the specified side?
method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getContainerAt (Lnet/minecraft/world/level/Level;DDD)Lnet/minecraft/world/Container; params: 0: level, 1: x, 3: y, 5: z @return the container for the given position or null if none was found
method: getContainerSize ()I Returns the number of slots in the inventory.
method: getLevelX ()D Gets the world X position for this hopper entity.
method: getLevelY ()D Gets the world Y position for this hopper entity.
method: getLevelZ ()D Gets the world Z position for this hopper entity.
method: isEmptyContainer (Lnet/minecraft/world/Container;Lnet/minecraft/core/Direction;)Z params: 0: container, 1: direction @return whether the given Container is empty from the given face
method: isFullContainer (Lnet/minecraft/world/Container;Lnet/minecraft/core/Direction;)Z params: 1: side @return false if the container has any room to place items in
method: lambda$isEmptyContainer$2 (Lnet/minecraft/world/Container;I)Z params: 1: slotIndex method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setCooldown (I)V params: 1: cooldownTime method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setItems (Lnet/minecraft/core/NonNullList;)V params: 1: items method: tryMoveInItem (Lnet/minecraft/world/Container;Lnet/minecraft/world/Container;Lnet/minecraft/world/item/ItemStack;ILnet/minecraft/core/Direction;)Lnet/minecraft/world/item/ItemStack; params: 0: source, 1: destination, 2: stack, 3: slot, 4: direction Insert the specified stack to the specified inventory and return any leftover items
method: tryTakeInItemFromSlot (Lnet/minecraft/world/level/block/entity/Hopper;Lnet/minecraft/world/Container;ILnet/minecraft/core/Direction;)Z params: 0: hopper, 1: container, 2: slot, 3: direction Pulls from the specified slot in the container and places in any available slot in the hopper.
@return true if the entire stack was moved
class: JigsawBlockEntity path: net/minecraft/world/level/block/entity/JigsawBlockEntity method: generate (Lnet/minecraft/server/level/ServerLevel;IZ)V params: 1: level method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setFinalState (Ljava/lang/String;)V params: 1: finalState method: setJoint (Lnet/minecraft/world/level/block/entity/JigsawBlockEntity$JointType;)V params: 1: joint method: setName (Lnet/minecraft/resources/ResourceLocation;)V params: 1: name method: setPool (Lnet/minecraft/resources/ResourceLocation;)V params: 1: pool method: setTarget (Lnet/minecraft/resources/ResourceLocation;)V params: 1: target class: JigsawBlockEntity$JointType path: net/minecraft/world/level/block/entity/JigsawBlockEntity$JointType method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Ljava/util/Optional; params: 0: name method: lambda$byName$0 (Ljava/lang/String;Lnet/minecraft/world/level/block/entity/JigsawBlockEntity$JointType;)Z params: 1: jointType class: JukeboxBlockEntity path: net/minecraft/world/level/block/entity/JukeboxBlockEntity method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setRecord (Lnet/minecraft/world/item/ItemStack;)V params: 1: record class: LecternBlockEntity path: net/minecraft/world/level/block/entity/LecternBlockEntity method: createCommandSourceStack (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/commands/CommandSourceStack; params: 1: player Creates a CommandSourceStack for resolving the contents of a book. If the player is null, a CommandSourceStack with the generic name {@code "Lectern"} is used.
method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player method: hasBook ()Z @return whether the ItemStack in this lectern is a book or written book
method: onlyOpCanSetNbt ()Z Checks if players can use this tile entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.entity.Entity#ignoreItemEntityData()}.<p>For example, {@link net.minecraft.tileentity.TileEntitySign#onlyOpsCanSetNbt() signs} (player right-clicking) and {@link net.minecraft.tileentity.TileEntityCommandBlock#onlyOpsCanSetNbt() command blocks} are considered accessible.</p>@return true if this block entity offers ways for unauthorized players to use restricted commands
method: resolveBook (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: player Resolves the contents of the passed ItemStack, if it is a book
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setBook (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack Sets the ItemStack in this lectern. Note that this does not update the block state, use {@link net.minecraft.world.level.block.LecternBlock#tryPlaceBook} for that.
method: setBook (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;)V params: 1: stack, 2: player Sets the ItemStack in this lectern. Note that this does not update the block state, use {@link net.minecraft.world.level.block.LecternBlock#tryPlaceBook} for that.
method: setPage class: LecternBlockEntity$1 path: net/minecraft/world/level/block/entity/LecternBlockEntity$1 method: canPlaceItem (ILnet/minecraft/world/item/ItemStack;)Z params: 1: index, 2: stack Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. For guis use Slot.isItemValid
method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: getMaxStackSize ()I Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: LecternBlockEntity$2 path: net/minecraft/world/level/block/entity/LecternBlockEntity$2 method: get method: set (II)V params: 1: index, 2: value class: LidBlockEntity path: net/minecraft/world/level/block/entity/LidBlockEntity method: getOpenNess (F)F params: 1: partialTicks class: RandomizableContainerBlockEntity path: net/minecraft/world/level/block/entity/RandomizableContainerBlockEntity method: canOpen (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: setItems (Lnet/minecraft/core/NonNullList;)V params: 1: itemStacks method: setLootTable (Lnet/minecraft/resources/ResourceLocation;J)V params: 1: lootTable, 2: lootTableSeed method: setLootTable (Lnet/minecraft/world/level/BlockGetter;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/resources/ResourceLocation;)V params: 0: level, 1: random, 2: pos, 3: lootTable method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
method: tryLoadLootTable (Lnet/minecraft/nbt/CompoundTag;)Z params: 1: tag method: trySaveLootTable (Lnet/minecraft/nbt/CompoundTag;)Z params: 1: tag method: unpackLootTable (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: ShulkerBoxBlockEntity path: net/minecraft/world/level/block/entity/ShulkerBoxBlockEntity method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getBoundingBox (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/AABB; params: 1: state method: getContainerSize ()I Returns the number of slots in the inventory.
method: getProgress (F)F params: 1: partialTicks method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side method: loadFromTag (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: saveToTag (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: tag method: setItems (Lnet/minecraft/core/NonNullList;)V params: 1: items method: startOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: stopOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: SignBlockEntity path: net/minecraft/world/level/block/entity/SignBlockEntity method: createCommandSourceStack (Lnet/minecraft/server/level/ServerPlayer;)Lnet/minecraft/commands/CommandSourceStack; params: 1: player method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: onlyOpCanSetNbt ()Z Checks if players can use this tile entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.entity.Entity#ignoreItemEntityData()}.<p>For example, {@link net.minecraft.tileentity.TileEntitySign#onlyOpsCanSetNbt() signs} (player right-clicking) and {@link net.minecraft.tileentity.TileEntityCommandBlock#onlyOpsCanSetNbt() command blocks} are considered accessible.</p>@return true if this block entity offers ways for unauthorized players to use restricted commands
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setColor (Lnet/minecraft/world/item/DyeColor;)Z params: 1: color method: setEditable (Z)V params: 1: isEditable Sets the sign's isEditable flag to the specified parameter.
method: setMessage (ILnet/minecraft/network/chat/Component;)V params: 1: line, 2: signText class: SkullBlockEntity path: net/minecraft/world/level/block/entity/SkullBlockEntity method: getMouthAnimation (F)F params: 1: partialTicks method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setOwner (Lcom/mojang/authlib/GameProfile;)V params: 1: owner method: setProfileCache (Lnet/minecraft/server/players/GameProfileCache;)V params: 0: profileCache method: setSessionService (Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V params: 0: sessionService class: SmokerBlockEntity path: net/minecraft/world/level/block/entity/SmokerBlockEntity method: createMenu (ILnet/minecraft/world/entity/player/Inventory;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: id, 2: player method: getBurnDuration (Lnet/minecraft/world/item/ItemStack;)I params: 1: fuel class: SpawnerBlockEntity path: net/minecraft/world/level/block/entity/SpawnerBlockEntity method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: onlyOpCanSetNbt ()Z Checks if players can use this tile entity to access operator (permission level 2) commands either directly or indirectly, such as give or setblock. A similar method exists for entities at {@link net.minecraft.entity.Entity#ignoreItemEntityData()}.<p>For example, {@link net.minecraft.tileentity.TileEntitySign#onlyOpsCanSetNbt() signs} (player right-clicking) and {@link net.minecraft.tileentity.TileEntityCommandBlock#onlyOpsCanSetNbt() command blocks} are considered accessible.</p>@return true if this block entity offers ways for unauthorized players to use restricted commands
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: StructureBlockEntity path: net/minecraft/world/level/block/entity/StructureBlockEntity method: createRandom (J)Ljava/util/Random; params: 0: seed method: createdBy (Lnet/minecraft/world/entity/LivingEntity;)V params: 1: author method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: loadStructure (Lnet/minecraft/server/level/ServerLevel;)Z params: 1: level method: loadStructure (Lnet/minecraft/server/level/ServerLevel;Z)Z params: 1: level method: loadStructure (Lnet/minecraft/server/level/ServerLevel;ZLnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate;)Z params: 1: level method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: saveStructure ()Z Saves the template, writing it to disk.
@return true if the template was successfully saved.
method: saveStructure (Z)Z params: 1: writeToDisk Saves the template, either updating the local version or writing it to disk.
@return true if the template was successfully saved.
method: setIgnoreEntities (Z)V params: 1: ignoreEntities method: setIntegrity method: setMetaData (Ljava/lang/String;)V params: 1: metaData method: setMirror (Lnet/minecraft/world/level/block/Mirror;)V params: 1: mirror method: setMode (Lnet/minecraft/world/level/block/state/properties/StructureMode;)V params: 1: mode method: setPowered method: setRotation (Lnet/minecraft/world/level/block/Rotation;)V params: 1: rotation method: setSeed method: setShowAir method: setShowBoundingBox (Z)V params: 1: showBoundingBox method: setStructureName (Ljava/lang/String;)V params: 1: structureName method: setStructureName (Lnet/minecraft/resources/ResourceLocation;)V params: 1: structureName method: setStructurePos (Lnet/minecraft/core/BlockPos;)V params: 1: structurePos method: usedBy (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player class: TheEndGatewayBlockEntity path: net/minecraft/world/level/block/entity/TheEndGatewayBlockEntity method: canEntityTeleport (Lnet/minecraft/world/entity/Entity;)Z params: 0: entity method: findTallestBlock (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;IZ)Lnet/minecraft/core/BlockPos; params: 0: level, 1: pos, 2: radius, 3: allowBedrock method: findValidSpawnInChunk (Lnet/minecraft/world/level/chunk/LevelChunk;)Lnet/minecraft/core/BlockPos; params: 0: chunk method: getChunk (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/level/chunk/LevelChunk; params: 0: level, 1: vec3 method: getCooldownPercent (F)F params: 1: partialTicks method: getSpawnPercent (F)F params: 1: partialTicks method: getUpdatePacket ()Lnet/minecraft/network/protocol/game/ClientboundBlockEntityDataPacket; Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate. For modded TE's, this packet comes back to you clientside in {@link #onDataPacket}
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: setExitPosition (Lnet/minecraft/core/BlockPos;Z)V params: 1: exitPortal method: shouldRenderFace (Lnet/minecraft/core/Direction;)Z params: 1: face method: triggerEvent (II)Z params: 1: id, 2: type See {@link Block#eventReceived} for more information. This must return true serverside before it is called clientside.
class: TheEndPortalBlockEntity path: net/minecraft/world/level/block/entity/TheEndPortalBlockEntity method: shouldRenderFace (Lnet/minecraft/core/Direction;)Z params: 1: face grower class: AbstractMegaTreeGrower path: net/minecraft/world/level/block/grower/AbstractMegaTreeGrower method: getConfiguredMegaFeature (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random @return a {@link net.minecraft.world.level.levelgen.feature.ConfiguredFeature} of the huge variant of this tree
method: growTree (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: level, 2: chunkGenerator, 3: pos, 4: state, 5: rand method: isTwoByTwoSapling (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;II)Z params: 0: blockUnder, 1: level, 2: pos, 3: xOffset, 4: zOffset method: placeMega (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;II)Z params: 1: level, 2: chunkGenerator, 3: pos, 4: state, 5: random, 6: branchX, 7: branchY class: AbstractTreeGrower path: net/minecraft/world/level/block/grower/AbstractTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive @return a {@link net.minecraft.world.level.levelgen.feature.ConfiguredFeature} of this tree
method: growTree (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: level, 2: chunkGenerator, 3: pos, 4: state, 5: random method: hasFlowers (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos class: AcaciaTreeGrower path: net/minecraft/world/level/block/grower/AcaciaTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of tree
class: BirchTreeGrower path: net/minecraft/world/level/block/grower/BirchTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of tree
class: DarkOakTreeGrower path: net/minecraft/world/level/block/grower/DarkOakTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of tree
method: getConfiguredMegaFeature (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: rand Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of the huge variant of this tree
class: JungleTreeGrower path: net/minecraft/world/level/block/grower/JungleTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of tree
method: getConfiguredMegaFeature (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: rand Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of the huge variant of this tree
class: OakTreeGrower path: net/minecraft/world/level/block/grower/OakTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of tree
class: SpruceTreeGrower path: net/minecraft/world/level/block/grower/SpruceTreeGrower method: getConfiguredFeature (Ljava/util/Random;Z)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random, 2: largeHive Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of tree
method: getConfiguredMegaFeature (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: random Get a {@link net.minecraft.world.gen.feature.ConfiguredFeature} of the huge variant of this tree
piston class: MovingPistonBlock path: net/minecraft/world/level/block/piston/MovingPistonBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: destroy (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state Called after a player destroys this Block - the posiiton pos may no longer hold the state indicated.
method: getBlockEntity (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/piston/PistonMovingBlockEntity; params: 1: blockReader, 2: pos method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: state, 2: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: PistonBaseBlock path: net/minecraft/world/level/block/piston/PistonBaseBlock field: isSticky Z Whether this is a sticky piston
method: <init> (ZLnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: isSticky, 2: properties method: checkIfExtend (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getNeighborSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: level, 2: pos, 3: facing method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isPushable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;ZLnet/minecraft/core/Direction;)Z params: 0: blockState, 1: level, 2: pos, 3: facing, 4: destroyBlocks, 5: direction Checks if the piston can push the given BlockState.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: moveBlocks (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Z)Z params: 1: level, 2: pos, 3: direction, 4: extending method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: triggerEvent (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;II)Z params: 1: state, 2: level, 3: pos, 4: id, 5: param Called on server when World#addBlockEvent is called. If server returns true, then also called on the client. On the Server, this may perform additional changes to the world, like pistons replacing the block with an extended base. On the client, the update may involve replacing tile entities or effects such as sounds or particles
@deprecated call via {@link IBlockState#onBlockEventReceived(World,BlockPos,int,int)} whenever possible. Implementing/overriding is fine.
method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: PistonHeadBlock path: net/minecraft/world/level/block/piston/PistonHeadBlock method: calculateShape (Lnet/minecraft/core/Direction;Z)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: direction, 1: shortArm method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isFittingBase (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: baseState, 2: extendedState method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: makeShapes (Z)[Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: extended method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: PistonMovingBlockEntity path: net/minecraft/world/level/block/piston/PistonMovingBlockEntity field: extending Z Whether this piston is extending
field: progressO F The extension / retraction progress
method: finalTick ()V Removes the piston's BlockEntity and stops any movement
method: getCollisionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos method: getExtendedProgress method: getMovement (Lnet/minecraft/world/phys/AABB;Lnet/minecraft/core/Direction;Lnet/minecraft/world/phys/AABB;)D params: 0: headShape, 1: direction, 2: facing method: getProgress (F)F params: 1: partialTicks @return interpolated progress value (between lastProgress and progress) given the partialTicks
method: getUpdateTag ()Lnet/minecraft/nbt/CompoundTag; Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when many blocks change at once. This compound comes back to you clientside in {@link handleUpdateTag}
method: getXOff (F)F params: 1: partialTicks method: getYOff (F)F params: 1: partialTicks method: getZOff (F)F params: 1: partialTicks method: isExtending ()Z @return whether this piston is extending
method: matchesStickyCritera (Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/entity/Entity;)Z params: 0: shape, 1: entity method: moveEntityByPiston (Lnet/minecraft/core/Direction;Lnet/minecraft/world/entity/Entity;DLnet/minecraft/core/Direction;)V params: 0: direction, 1: entity, 2: progress method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound class: PistonStructureResolver path: net/minecraft/world/level/block/piston/PistonStructureResolver field: toDestroy Ljava/util/List; All blocks to be destroyed by the piston
field: toPush Ljava/util/List; All block positions to be moved by the piston
method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Z)V params: 1: level, 2: pistonPos, 3: pistonDirection, 4: extending method: addBlockLine (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: originPos, 2: direction method: addBranchingBlocks (Lnet/minecraft/core/BlockPos;)Z params: 1: fromPos method: getToDestroy ()Ljava/util/List; @return all block positions to be destroyed by the piston
method: getToPush ()Ljava/util/List; @return all block positions to be moved by the piston
method: reorderListAtCollision (II)V params: 1: offsets, 2: index state pattern class: BlockInWorld path: net/minecraft/world/level/block/state/pattern/BlockInWorld method: <init> (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)V params: 1: level, 2: pos, 3: loadChunks method: getEntity ()Lnet/minecraft/world/level/block/entity/BlockEntity; Gets the BlockEntity as currently held, or (if it has not gotten it from the level) loads it from the level.
method: getState ()Lnet/minecraft/world/level/block/state/BlockState; Gets the block state as currently held, or (if it has not gotten it from the level) loads it from the level.
This will only look up the state from the world if {@link #loadChunks} is true or the block position is loaded.
method: hasState (Ljava/util/function/Predicate;)Ljava/util/function/Predicate; params: 0: predicates Creates a new {@link Predicate} that will match when the given {@link IBlockState} predicate matches.
class: BlockPattern path: net/minecraft/world/level/block/state/pattern/BlockPattern method: <init> ([[[Ljava/util/function/Predicate;)V params: 1: pattern method: createLevelCache (Lnet/minecraft/world/level/LevelReader;Z)Lcom/google/common/cache/LoadingCache; params: 0: level, 1: forceLoad method: find (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/pattern/BlockPattern$BlockPatternMatch; params: 1: level, 2: pos Calculates whether the given world position matches the pattern. Warning, fairly heavy function.
@return a BlockPatternMatch if found, null otherwise.
method: matches (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;Lcom/google/common/cache/LoadingCache;)Lnet/minecraft/world/level/block/state/pattern/BlockPattern$BlockPatternMatch; params: 1: pos, 2: finger, 3: thumb, 4: cache Checks that the given pattern & rotation is at the block coordinates.
method: translateAndRotate (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;III)Lnet/minecraft/core/BlockPos; params: 0: pos, 1: finger, 2: thumb, 3: palmOffset, 4: thumbOffset, 5: fingerOffset Offsets the position of pos in the direction of finger and thumb facing by offset amounts, follows the right-hand rule for cross products (finger, thumb, palm)
@return a new BlockPos offset in the facing directions
class: BlockPattern$BlockCacheLoader path: net/minecraft/world/level/block/state/pattern/BlockPattern$BlockCacheLoader method: <init> (Lnet/minecraft/world/level/LevelReader;Z)V params: 1: level, 2: loadChunks class: BlockPattern$BlockPatternMatch path: net/minecraft/world/level/block/state/pattern/BlockPattern$BlockPatternMatch method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;Lcom/google/common/cache/LoadingCache;III)V params: 1: frontTopLeft, 2: forwards, 3: up, 4: cache, 5: width, 6: height, 7: depth method: getBlock (III)Lnet/minecraft/world/level/block/state/pattern/BlockInWorld; params: 1: palmOffset, 2: thumbOffset, 3: fingerOffset method: getFrontTopLeft ()Lnet/minecraft/core/BlockPos; Return the BlockPos of the Pattern
class: BlockPatternBuilder path: net/minecraft/world/level/block/state/pattern/BlockPatternBuilder method: aisle ([Ljava/lang/String;)Lnet/minecraft/world/level/block/state/pattern/BlockPatternBuilder; params: 1: aisle Adds a single aisle to this pattern, going in the z axis. (so multiple calls to this will increase the z-size by 1)
method: where (CLjava/util/function/Predicate;)Lnet/minecraft/world/level/block/state/pattern/BlockPatternBuilder; params: 1: symbol, 2: blockMatcher predicate class: BlockMaterialPredicate path: net/minecraft/world/level/block/state/predicate/BlockMaterialPredicate method: <init> (Lnet/minecraft/world/level/material/Material;)V params: 1: material method: forMaterial (Lnet/minecraft/world/level/material/Material;)Lnet/minecraft/world/level/block/state/predicate/BlockMaterialPredicate; params: 0: material class: BlockPredicate path: net/minecraft/world/level/block/state/predicate/BlockPredicate method: <init> (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: forBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/block/state/predicate/BlockPredicate; params: 0: block class: BlockStatePredicate path: net/minecraft/world/level/block/state/predicate/BlockStatePredicate method: <init> (Lnet/minecraft/world/level/block/state/StateDefinition;)V params: 1: definition method: applies (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/util/function/Predicate;)Z params: 1: state, 2: property, 3: valuePredicate method: forBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/block/state/predicate/BlockStatePredicate; params: 0: block method: where (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/util/function/Predicate;)Lnet/minecraft/world/level/block/state/predicate/BlockStatePredicate; params: 1: property, 2: valuePredicate properties class: AttachFace path: net/minecraft/world/level/block/state/properties/AttachFace method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: BambooLeaves path: net/minecraft/world/level/block/state/properties/BambooLeaves method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: BedPart path: net/minecraft/world/level/block/state/properties/BedPart method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: BellAttachType path: net/minecraft/world/level/block/state/properties/BellAttachType method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: BooleanProperty path: net/minecraft/world/level/block/state/properties/BooleanProperty method: <init> (Ljava/lang/String;)V params: 1: name method: create (Ljava/lang/String;)Lnet/minecraft/world/level/block/state/properties/BooleanProperty; params: 0: name method: equals (Ljava/lang/Object;)Z params: 1: other method: getName (Ljava/lang/Boolean;)Ljava/lang/String; params: 1: value Get the name for the given value.
method: getValue (Ljava/lang/String;)Ljava/util/Optional; params: 1: value class: ChestType path: net/minecraft/world/level/block/state/properties/ChestType method: <init> (Ljava/lang/String;ILjava/lang/String;I)V params: 3: name, 4: opposite class: ComparatorMode path: net/minecraft/world/level/block/state/properties/ComparatorMode method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: DirectionProperty path: net/minecraft/world/level/block/state/properties/DirectionProperty method: <init> (Ljava/lang/String;Ljava/util/Collection;)V params: 1: name, 2: values method: create (Ljava/lang/String;Ljava/util/Collection;)Lnet/minecraft/world/level/block/state/properties/DirectionProperty; params: 0: name, 1: values Create a new DirectionProperty for the given direction values
method: create (Ljava/lang/String;Ljava/util/function/Predicate;)Lnet/minecraft/world/level/block/state/properties/DirectionProperty; params: 0: name, 1: filter Create a new DirectionProperty with all directions that match the given Predicate
method: create (Ljava/lang/String;[Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/block/state/properties/DirectionProperty; params: 0: name, 1: values class: EnumProperty path: net/minecraft/world/level/block/state/properties/EnumProperty field: names Ljava/util/Map; Map of names to Enum values
method: <init> (Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)V params: 1: name, 2: clazz, 3: values method: create (Ljava/lang/String;Ljava/lang/Class;)Lnet/minecraft/world/level/block/state/properties/EnumProperty; params: 0: name, 1: clazz Create a new EnumProperty with all Enum constants of the given class.
method: create (Ljava/lang/String;Ljava/lang/Class;Ljava/util/Collection;)Lnet/minecraft/world/level/block/state/properties/EnumProperty; params: 0: name, 1: clazz, 2: values Create a new EnumProperty with the specified values
method: create (Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Predicate;)Lnet/minecraft/world/level/block/state/properties/EnumProperty; params: 0: name, 1: clazz, 2: filter Create a new EnumProperty with all Enum constants of the given class that match the given Predicate.
method: create (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Enum;)Lnet/minecraft/world/level/block/state/properties/EnumProperty; params: 0: name, 1: clazz, 2: values Create a new EnumProperty with the specified values
method: equals (Ljava/lang/Object;)Z params: 1: other method: getName (Ljava/lang/Enum;)Ljava/lang/String; params: 1: value Get the name for the given value.
method: getValue (Ljava/lang/String;)Ljava/util/Optional; params: 1: value class: Half path: net/minecraft/world/level/block/state/properties/Half method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: IntegerProperty path: net/minecraft/world/level/block/state/properties/IntegerProperty method: <init> (Ljava/lang/String;II)V params: 1: name, 2: min, 3: max method: create (Ljava/lang/String;II)Lnet/minecraft/world/level/block/state/properties/IntegerProperty; params: 0: name, 1: min, 2: max method: equals (Ljava/lang/Object;)Z params: 1: other method: getName (Ljava/lang/Integer;)Ljava/lang/String; params: 1: value Get the name for the given value.
method: getValue (Ljava/lang/String;)Ljava/util/Optional; params: 1: value class: NoteBlockInstrument path: net/minecraft/world/level/block/state/properties/NoteBlockInstrument method: <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/sounds/SoundEvent;)V params: 3: name, 4: soundEvent method: byState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/properties/NoteBlockInstrument; params: 0: state class: PistonType path: net/minecraft/world/level/block/state/properties/PistonType method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: Property path: net/minecraft/world/level/block/state/properties/Property method: <init> (Ljava/lang/String;Ljava/lang/Class;)V params: 1: name, 2: clazz method: equals (Ljava/lang/Object;)Z params: 1: other method: getName (Ljava/lang/Comparable;)Ljava/lang/String; params: 1: value @return the name for the given value.
method: getValue (Ljava/lang/String;)Ljava/util/Optional; params: 1: value method: getValueClass ()Ljava/lang/Class; @return the class of the values of this property
method: value (Ljava/lang/Comparable;)Lnet/minecraft/world/level/block/state/properties/Property$Value; params: 1: value method: value (Lnet/minecraft/world/level/block/state/StateHolder;)Lnet/minecraft/world/level/block/state/properties/Property$Value; params: 1: holder class: Property$Value path: net/minecraft/world/level/block/state/properties/Property$Value method: <init> (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)V params: 1: property, 2: value method: equals (Ljava/lang/Object;)Z params: 1: other class: RailShape path: net/minecraft/world/level/block/state/properties/RailShape method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: RedstoneSide path: net/minecraft/world/level/block/state/properties/RedstoneSide method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: SlabType path: net/minecraft/world/level/block/state/properties/SlabType method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: StairsShape path: net/minecraft/world/level/block/state/properties/StairsShape method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: StructureMode path: net/minecraft/world/level/block/state/properties/StructureMode method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: WallSide path: net/minecraft/world/level/block/state/properties/WallSide method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name class: WoodType path: net/minecraft/world/level/block/state/properties/WoodType method: <init> (Ljava/lang/String;)V params: 1: name method: register (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/world/level/block/state/properties/WoodType; params: 0: woodType class: BlockBehaviour path: net/minecraft/world/level/block/state/BlockBehaviour field: friction F Determines how much velocity is maintained while moving on top of this block
field: isRandomlyTicking Z Whether this blocks receives random ticks
method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: properties method: attack (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: state, 2: level, 3: pos, 4: player method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: state, 2: fluid method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: level, 3: pos @deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#getAnalogOutputSignal} whenever possible. Implementing/overriding is fine.
method: getBlockSupportShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getDestroyProgress (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: player, 3: level, 4: pos Get the hardness of this Block relative to the ability of the given player
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#getDestroyProgress} whenever possible. Implementing/overriding is fine.
method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: state, 2: level, 3: pos, 4: direction @deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#getDirectSignal} whenever possible. Implementing/overriding is fine.
method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: state, 2: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getInteractionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getLightBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: level, 3: pos method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getOcclusionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#getPistonPushReaction} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#getRenderShape} whenever possible. Implementing/overriding is fine.
method: getSeed (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)J params: 1: state, 2: pos Return a random long to be passed to {@link net.minecraft.client.resources.model.BakedModel#getQuads}, used for random model rotations
method: getShadeBrightness (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: state, 2: level, 3: pos, 4: direction @deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#getSignal} whenever possible. Implementing/overriding is fine.
method: getVisualShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#hasAnalogOutputSignal} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#isSignalSource} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#mirror} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#rotate} whenever possible. Implementing/overriding is fine.
method: skipRendering (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: adjacentBlockState, 3: direction method: spawnAfterBreak (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: state, 2: level, 3: pos, 4: stack Perform side-effects from block dropping, such as creating silverfish
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: triggerEvent (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;II)Z params: 1: state, 2: level, 3: pos, 4: id, 5: param Called on server when {@link net.minecraft.world.level.Level#blockEvent} is called. If server returns true, then also called on the client. On the Server, this may perform additional changes to the world, like pistons replacing the block with an extended base. On the client, the update may involve replacing tile entities or effects such as sounds or particles
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#onBlockEventReceived} whenever possible. Implementing/overriding is fine.
method: updateIndirectNeighbourShapes (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;II)V params: 1: state, 2: level, 3: pos, 4: flags, 5: recursionLeft Performs updates on diagonal neighbors of the target position and passes in the flags.
The flags are equivalent to {@link net.minecraft.world.level.Level#setBlock}.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: direction, 3: neighborState, 4: level, 5: currentPos, 6: neighborPos Update the provided state given the provided neighbor direction and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific direction passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: BlockBehaviour$BlockStateBase path: net/minecraft/world/level/block/state/BlockBehaviour$BlockStateBase method: <init> (Lnet/minecraft/world/level/block/Block;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V params: 1: owner, 2: values, 3: propertiesCodec method: attack (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: player method: canBeReplaced (Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: useContext method: canBeReplaced (Lnet/minecraft/world/level/material/Fluid;)Z params: 1: fluid method: canSurvive (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: emissiveRendering (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: entityCanStandOn (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)Z params: 1: level, 2: pos, 3: entity method: entityCanStandOnFace (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Direction;)Z params: 1: level, 2: pos, 3: entity, 4: face @return true if the collision box of this state covers the entire upper face of the blockspace
method: entityInside (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: level, 2: pos, 3: entity method: getAnalogOutputSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: getBlockSupportShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos method: getCollisionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos method: getCollisionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos, 3: context method: getDestroyProgress (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: player, 2: level, 3: pos method: getDestroySpeed (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: level, 2: pos method: getDirectSignal (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: level, 2: pos, 3: direction method: getDrops (Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: builder method: getFaceOcclusionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos, 3: direction method: getInteractionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos method: getLightBlock (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: getMapColor (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/MaterialColor; params: 1: level, 2: pos method: getMenuProvider (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: level, 2: pos method: getOcclusionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos method: getOffset (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/Vec3; params: 1: level, 2: pos method: getSeed (Lnet/minecraft/core/BlockPos;)J params: 1: pos method: getShadeBrightness (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: level, 2: pos method: getShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos method: getShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos, 3: context method: getSignal (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: level, 2: pos, 3: direction method: getVisualShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: level, 2: pos, 3: context method: hasPostProcess (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: is (Lnet/minecraft/tags/Tag;)Z params: 1: tag method: is (Lnet/minecraft/tags/Tag;Ljava/util/function/Predicate;)Z params: 1: tag, 2: predicate method: is (Lnet/minecraft/world/level/block/Block;)Z params: 1: tag method: isCollisionShapeFullBlock (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isFaceSturdy (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: level, 2: pos, 3: direction method: isFaceSturdy (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/SupportType;)Z params: 1: level, 2: pos, 3: face, 4: supportType method: isPathfindable (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: level, 2: pos, 3: type method: isRedstoneConductor (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isSolidRender (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isSuffocating (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isValidSpawn (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/EntityType;)Z params: 1: level, 2: pos, 3: entityType method: isViewBlocking (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: mirror (Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: mirror @return the blockstate mirrored in the given way. If inapplicable, returns itself.
method: neighborChanged (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: level, 2: pos, 3: block, 4: fromPos, 5: isMoving method: onPlace (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: level, 2: pos, 3: oldState, 4: isMoving method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: onRemove (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: level, 2: pos, 3: newState, 4: isMoving method: propagatesSkylightDown (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: randomTick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: level, 2: pos, 3: random method: rotate (Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: rotation @return the blockstate with the given rotation. If inapplicable, returns itself.
method: skipRendering (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: face method: spawnAfterBreak (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: stack method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: level, 2: pos, 3: random method: triggerEvent (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;II)Z params: 1: level, 2: pos, 3: id, 4: param method: updateIndirectNeighbourShapes (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;I)V params: 1: level, 2: pos, 3: flags Performs validations on the block state and possibly neighboring blocks to validate whether the incoming state is valid to stay in the world. Currently used only by redstone wire to update itself if neighboring blocks have changed and to possibly break itself.
method: updateIndirectNeighbourShapes (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;II)V params: 1: level, 2: pos, 3: flags, 4: recursionLeft method: updateNeighbourShapes (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;I)V params: 1: level, 2: pos, 3: flag method: updateNeighbourShapes (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;II)V params: 1: level, 2: pos, 3: flag, 4: recursionLeft method: updateShape (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: direction, 2: queried, 3: level, 4: currentPos, 5: offsetPos method: use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: level, 2: player, 3: hand, 4: result class: BlockBehaviour$BlockStateBase$Cache path: net/minecraft/world/level/block/state/BlockBehaviour$BlockStateBase$Cache method: getFaceSupportIndex (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/SupportType;)I params: 0: direction, 1: supportType method: isFaceSturdy (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/SupportType;)Z params: 1: direction, 2: supportType class: BlockBehaviour$Properties path: net/minecraft/world/level/block/state/BlockBehaviour$Properties field: drops Lnet/minecraft/resources/ResourceLocation; Sets loot table information
field: isViewBlocking Lnet/minecraft/world/level/block/state/BlockBehaviour$StatePredicate; If it blocks vision on the client side.
method: <init> (Lnet/minecraft/world/level/material/Material;Ljava/util/function/Function;)V params: 1: material, 2: materialColor method: <init> (Lnet/minecraft/world/level/material/Material;Lnet/minecraft/world/level/material/MaterialColor;)V params: 1: material, 2: materialColor method: copy (Lnet/minecraft/world/level/block/state/BlockBehaviour;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 0: blockBehaviour method: dropsLike (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: block method: emissiveRendering (Lnet/minecraft/world/level/block/state/BlockBehaviour$StatePredicate;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: emissiveRendering method: friction (F)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: friction method: hasPostProcess (Lnet/minecraft/world/level/block/state/BlockBehaviour$StatePredicate;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: hasPostProcess method: isRedstoneConductor (Lnet/minecraft/world/level/block/state/BlockBehaviour$StatePredicate;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: isRedstoneConductor method: isSuffocating (Lnet/minecraft/world/level/block/state/BlockBehaviour$StatePredicate;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: isSuffocating method: isValidSpawn (Lnet/minecraft/world/level/block/state/BlockBehaviour$StateArgumentPredicate;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: isValidSpawn method: isViewBlocking (Lnet/minecraft/world/level/block/state/BlockBehaviour$StatePredicate;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: isViewBlocking If it blocks vision on the client side.
method: jumpFactor (F)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: jumpFactor method: lightLevel (Ljava/util/function/ToIntFunction;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: lightEmission method: of (Lnet/minecraft/world/level/material/Material;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 0: material method: of (Lnet/minecraft/world/level/material/Material;Ljava/util/function/Function;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 0: material, 1: materialColor method: of (Lnet/minecraft/world/level/material/Material;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 0: material, 1: color method: of (Lnet/minecraft/world/level/material/Material;Lnet/minecraft/world/level/material/MaterialColor;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 0: material, 1: materialColor method: sound (Lnet/minecraft/world/level/block/SoundType;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: soundType method: speedFactor (F)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: speedFactor method: strength (F)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: strength method: strength (FF)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; params: 1: destroyTime, 2: explosionResistance class: StateDefinition path: net/minecraft/world/level/block/state/StateDefinition method: <init> (Ljava/util/function/Function;Ljava/lang/Object;Lnet/minecraft/world/level/block/state/StateDefinition$Factory;Ljava/util/Map;)V params: 2: owner, 4: propertiesByName method: getProperty (Ljava/lang/String;)Lnet/minecraft/world/level/block/state/properties/Property; params: 1: propertyName class: StateDefinition$Builder path: net/minecraft/world/level/block/state/StateDefinition$Builder method: <init> (Ljava/lang/Object;)V params: 1: owner method: add ([Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/world/level/block/state/StateDefinition$Builder; params: 1: properties method: validateProperty (Lnet/minecraft/world/level/block/state/properties/Property;)V params: 1: property class: StateHolder path: net/minecraft/world/level/block/state/StateHolder method: <init> (Ljava/lang/Object;Lcom/google/common/collect/ImmutableMap;Lcom/mojang/serialization/MapCodec;)V params: 1: owner, 2: values, 3: propertiesCodec method: cycle (Lnet/minecraft/world/level/block/state/properties/Property;)Ljava/lang/Object; params: 1: property method: findNextInCollection (Ljava/util/Collection;Ljava/lang/Object;)Ljava/lang/Object; params: 0: collection, 1: value method: getOptionalValue (Lnet/minecraft/world/level/block/state/properties/Property;)Ljava/util/Optional; params: 1: property method: getProperties ()Ljava/util/Collection; @return an unmodifiable collection of all possible properties.
method: getValue (Lnet/minecraft/world/level/block/state/properties/Property;)Ljava/lang/Comparable; params: 1: property @return the value of the given Property for this state
method: hasProperty (Lnet/minecraft/world/level/block/state/properties/Property;)Z params: 1: property method: setValue (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Ljava/lang/Object; params: 1: property, 2: value class: AbstractBannerBlock path: net/minecraft/world/level/block/AbstractBannerBlock method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: color, 2: properties method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: isPossibleToRespawnInThis ()Z Return true if an entity can be spawned inside the block (used to get the player's bed spawn location)
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
class: AbstractChestBlock path: net/minecraft/world/level/block/AbstractChestBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;Ljava/util/function/Supplier;)V params: 1: properties, 2: blockEntityFactory method: combine (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/level/block/DoubleBlockCombiner$NeighborCombineResult; params: 1: state, 2: level, 3: pos, 4: override class: AbstractFurnaceBlock path: net/minecraft/world/level/block/AbstractFurnaceBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: openContainer (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: player Called to open this furnace's container.
@see #use
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: AbstractGlassBlock path: net/minecraft/world/level/block/AbstractGlassBlock method: getShadeBrightness (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: level, 3: pos method: getVisualShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos, 4: context method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos class: AbstractSkullBlock path: net/minecraft/world/level/block/AbstractSkullBlock method: <init> (Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: type, 2: properties method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type class: AirBlock path: net/minecraft/world/level/block/AirBlock method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: AnvilBlock path: net/minecraft/world/level/block/AnvilBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: damage (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state method: falling (Lnet/minecraft/world/entity/item/FallingBlockEntity;)V params: 1: fallingEntity method: getDustColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: reader, 3: pos method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: AttachedStemBlock path: net/minecraft/world/level/block/AttachedStemBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BambooBlock path: net/minecraft/world/level/block/BambooBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getDestroyProgress (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: player, 3: level, 4: pos Get the hardness of this Block relative to the ability of the given player
@deprecated call via {@link IBlockState#getPlayerRelativeBlockHardness(EntityPlayer,World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getHeightAboveUpToMax (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos @return the number of continuous bamboo blocks above the position passed in, up to 16.
method: getHeightBelowUpToMax (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos @return the number of continuous bamboo blocks below the position passed in, up to 16.
method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: growBamboo (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;I)V params: 1: state, 2: level, 3: pos, 4: random, 5: maxTotalSize method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BambooSaplingBlock path: net/minecraft/world/level/block/BambooSaplingBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getDestroyProgress (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: player, 3: level, 4: pos Get the hardness of this Block relative to the ability of the given player
@deprecated call via {@link IBlockState#getPlayerRelativeBlockHardness(EntityPlayer,World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: growBamboo (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: state method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BannerBlock path: net/minecraft/world/level/block/BannerBlock method: byColor (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/level/block/Block; params: 0: color method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BarrelBlock path: net/minecraft/world/level/block/BarrelBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: BarrierBlock path: net/minecraft/world/level/block/BarrierBlock method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShadeBrightness (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: level, 3: pos method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos class: BaseCoralFanBlock path: net/minecraft/world/level/block/BaseCoralFanBlock method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: BaseCoralPlantBlock path: net/minecraft/world/level/block/BaseCoralPlantBlock method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: BaseCoralPlantTypeBlock path: net/minecraft/world/level/block/BaseCoralPlantTypeBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: scanForWater (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: state, 1: level, 2: pos method: tryScheduleDieTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BaseCoralWallFanBlock path: net/minecraft/world/level/block/BaseCoralWallFanBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BaseEntityBlock path: net/minecraft/world/level/block/BaseEntityBlock method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: triggerEvent (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;II)Z params: 1: state, 2: level, 3: pos, 4: id, 5: param Called on server when World#addBlockEvent is called. If server returns true, then also called on the client. On the Server, this may perform additional changes to the world, like pistons replacing the block with an extended base. On the client, the update may involve replacing tile entities or effects such as sounds or particles
@deprecated call via {@link IBlockState#onBlockEventReceived(World,BlockPos,int,int)} whenever possible. Implementing/overriding is fine.
class: BaseFireBlock path: net/minecraft/world/level/block/BaseFireBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;F)V params: 1: properties, 2: fireDamage method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canBePlacedAt (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: level, 1: pos, 2: direction method: canBurn (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getState (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: reader, 1: pos method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: inPortalDimension (Lnet/minecraft/world/level/Level;)Z params: 0: level method: isPortal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: level, 1: pos, 2: direction method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
class: BasePressurePlateBlock path: net/minecraft/world/level/block/BasePressurePlateBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getSignalForState (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getSignalStrength (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: isPossibleToRespawnInThis ()Z Return true if an entity can be spawned inside the block (used to get the player's bed spawn location)
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: playOffSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: playOnSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: setSignalForState (Lnet/minecraft/world/level/block/state/BlockState;I)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: strength method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateNeighbours (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos Notify block and block below of changes
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BaseRailBlock path: net/minecraft/world/level/block/BaseRailBlock method: <init> (ZLnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: isStraight, 2: properties method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isRail (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isRail (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: shouldBeRemoved (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/properties/RailShape;)Z params: 0: pos, 1: level, 2: railShape method: updateDir (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: pos, 3: state, 4: placing method: updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: state, 2: level, 3: pos, 4: block method: updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: level, 3: pos, 4: isMoving class: BeaconBlock path: net/minecraft/world/level/block/BeaconBlock method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: BedBlock path: net/minecraft/world/level/block/BedBlock method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: color, 2: properties method: bounceUp (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: canSetSpawn (Lnet/minecraft/world/level/Level;)Z params: 0: level method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: findStandUpPosition (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/CollisionGetter;Lnet/minecraft/core/BlockPos;F)Ljava/util/Optional; params: 0: entityType, 1: level, 2: pos method: getBedOrientation (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/Direction; params: 0: level, 1: pos method: getBlockType (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/DoubleBlockCombiner$BlockType; params: 0: state method: getConnectedDirection (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/core/Direction; params: 0: state method: getNeighbourDirection (Lnet/minecraft/world/level/block/state/properties/BedPart;Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 0: part, 1: direction Given a bed part and the direction it's facing, find the direction to move to get the other bed part
method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getSeed (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)J params: 1: state, 2: pos Return a random long to be passed to {@link IBakedModel#getQuads}, used for random model rotations
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isBunkBed (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: kickVillagerOutOfBed (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: updateEntityAfterFallOn (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/entity/Entity;)V params: 1: level, 2: entity Called when an Entity lands on this Block. This method *must* update motionY because the entity will not do that on its own
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: BeehiveBlock path: net/minecraft/world/level/block/BeehiveBlock method: angerNearbyBees (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: dropHoneycomb (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: state, 2: builder method: getRandomOffset (Ljava/util/Random;)Lnet/minecraft/core/Direction; params: 0: random method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: hiveContainsBees (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: playerDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: player, 3: pos, 4: state, 5: te, 6: stack Spawns the block's drops in the world. By the time this is called the Block has possibly been set to air via Block.removedByPlayer
method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: releaseBeesAndResetHoneyLevel (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeReleaseStatus;)V params: 1: level, 2: state, 3: pos, 4: player, 5: beeReleaseStatus method: resetHoneyLevel (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: state, 3: pos method: spawnFluidParticle (Lnet/minecraft/world/level/Level;DDDDD)V params: 1: particleData, 2: x1, 4: x2, 6: z1, 8: z2, 10: y method: spawnParticle (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/VoxelShape;D)V params: 1: level, 2: pos, 3: shape, 4: y method: trySpawnDripParticles (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: BeetrootBlock path: net/minecraft/world/level/block/BeetrootBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getBonemealAgeIncrease (Lnet/minecraft/world/level/Level;)I params: 1: level method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: BellBlock path: net/minecraft/world/level/block/BellBlock method: attemptToRing (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: level, 2: pos, 3: direction method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getConnectedDirection (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/core/Direction; params: 0: state method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getVoxelShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isProperHit (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;D)Z params: 1: pos, 2: direction, 3: distanceY @return true if the bell can be rung from the given side and vertical position. For example, bells attached to their northern neighbor cannot be rung from the south face, since it can't swing north-south.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/player/Player;Z)Z params: 1: level, 2: state, 3: result, 4: player, 5: canRingBell method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: BlastFurnaceBlock path: net/minecraft/world/level/block/BlastFurnaceBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: openContainer (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: player Interface for handling interaction with blocks that impliment AbstractFurnaceBlock. Called in onBlockActivated inside AbstractFurnaceBlock.
class: Block path: net/minecraft/world/level/block/Block method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles).
method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/BlockGetter;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag method: box (DDDDDD)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: x1, 2: y1, 4: z1, 6: x2, 8: y2, 10: z2 method: byItem (Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/level/block/Block; params: 0: item method: canSupportCenter (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: level, 1: pos, 2: direction @return whether the given position has a solid center in the given direction
method: canSupportRigidBlock (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos @return whether the given position has a rigid top face
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: defaultBlockState ()Lnet/minecraft/world/level/block/state/BlockState; Gets the default state for this block
method: destroy (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state Called after this block has been removed by a player.
method: dropFromExplosion (Lnet/minecraft/world/level/Explosion;)Z params: 1: explosion @return whether this block should drop its drops when destroyed by the given explosion
method: dropResources (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: state, 1: level, 2: pos method: dropResources (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/ItemStack;)V params: 0: state, 1: level, 2: pos, 3: blockEntity, 4: entity, 5: tool method: dropResources (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntity;)V params: 0: state, 1: level, 2: pos, 3: blockEntity method: fillItemCategory (Lnet/minecraft/world/item/CreativeModeTab;Lnet/minecraft/core/NonNullList;)V params: 1: tab, 2: items Fill the given creative tab with the ItemStacks for this block.
method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getDescriptionId ()Ljava/lang/String; @return the description ID of this block, for use with language files.
method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntity;)Ljava/util/List; params: 0: state, 1: level, 2: pos, 3: blockEntity method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/ItemStack;)Ljava/util/List; params: 0: state, 1: level, 2: pos, 3: blockEntity, 4: entity, 5: tool method: getExplosionResistance ()F @return how much this block resists an explosion
method: getId (Lnet/minecraft/world/level/block/state/BlockState;)I params: 0: state method: getSoundType (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/SoundType; params: 1: state method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isFaceFull (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/Direction;)Z params: 0: shape, 1: face method: isPossibleToRespawnInThis ()Z @return true if an entity can be spawned inside this block
method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @return whether this block needs random ticking.
method: isShapeFullBlock (Lnet/minecraft/world/phys/shapes/VoxelShape;)Z params: 0: shape @return whether the provided {@link net.minecraft.world.phys.shapes.VoxelShape} is a full block (1x1x1)
method: lambda$dropResources$2 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 2: stack method: lambda$dropResources$3 (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 2: stack method: lambda$dropResources$4 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 2: stack method: playerDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: player, 3: pos, 4: state, 5: blockEntity, 6: tool Called after a player has successfully harvested this block. This method will only be called if the player has used the correct tool and drops should be spawned.
method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before this block is destroyed by a player (regardless of whether the correct tool is used or not).
This method is called before the block has been removed.
method: popExperience (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;I)V params: 1: level, 2: pos, 3: amount Spawns the given amount of experience into the Level as experience orb entities.
method: popResource (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 0: level, 1: pos, 2: stack Spawns the given stack into the Level at the given position, respecting the doTileDrops gamerule
method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: pushEntitiesUp (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: oldState, 1: newState, 2: level, 3: pos method: registerDefaultState (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: state method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by BlockItem after this block has been placed.
method: stateById (I)Lnet/minecraft/world/level/block/state/BlockState; params: 0: id method: updateEntityAfterFallOn (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/entity/Entity;)V params: 1: level, 2: entity Called when an Entity lands on this Block.
This method is responsible for doing any modification on the motion of the entity that should result from the landing.
method: updateFromNeighbourShapes (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: currentState, 1: level, 2: pos With the provided block state, performs neighbor checks for all neighboring blocks to get an "adjusted" blockstate for placement in the world, if the current state is not valid.
method: updateOrDestroy (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;I)V params: 0: oldState, 1: newState, 2: level, 3: pos, 4: flags Replaces oldState with newState, possibly playing effects and creating drops. Flags are as in {@link net.minecraft.world.level.Level#setBlock}
method: updateOrDestroy (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;II)V params: 0: oldState, 1: newState, 2: level, 3: pos, 4: flags, 5: recursionLeft method: wasExploded (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Explosion;)V params: 1: level, 2: pos, 3: explosion Called when this Block is destroyed by an Explosion
class: Block$2 path: net/minecraft/world/level/block/Block$2 method: rehash class: Block$BlockStatePairKey path: net/minecraft/world/level/block/Block$BlockStatePairKey method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)V params: 1: first, 2: second, 3: direction method: equals (Ljava/lang/Object;)Z params: 1: other class: Blocks path: net/minecraft/world/level/block/Blocks method: always (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: state, 1: blockGetter, 2: pos method: always (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/EntityType;)Ljava/lang/Boolean; params: 0: state, 1: blockGetter, 2: pos, 3: entity method: bed (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/level/block/BedBlock; params: 0: color method: litBlockEmission (I)Ljava/util/function/ToIntFunction; params: 0: lightValue method: log (Lnet/minecraft/world/level/material/MaterialColor;Lnet/minecraft/world/level/material/MaterialColor;)Lnet/minecraft/world/level/block/RotatedPillarBlock; params: 0: topColor, 1: barkColor method: netherStem (Lnet/minecraft/world/level/material/MaterialColor;)Lnet/minecraft/world/level/block/Block; params: 0: materialColor method: never (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: state, 1: blockGetter, 2: pos method: never (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/EntityType;)Ljava/lang/Boolean; params: 0: state, 1: blockGetter, 2: pos, 3: entity method: ocelotOrParrot (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/EntityType;)Ljava/lang/Boolean; params: 0: state, 1: blockGetter, 2: pos, 3: entity method: pistonBase (Z)Lnet/minecraft/world/level/block/piston/PistonBaseBlock; params: 0: sticky method: register (Ljava/lang/String;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/block/Block; params: 0: key, 1: block method: shulkerBox (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)Lnet/minecraft/world/level/block/ShulkerBoxBlock; params: 0: color, 1: properties method: stainedGlass (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/level/block/StainedGlassBlock; params: 0: color class: BonemealableBlock path: net/minecraft/world/level/block/BonemealableBlock method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient @return whether bonemeal can be used on this block
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state class: BrewingStandBlock path: net/minecraft/world/level/block/BrewingStandBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: BubbleColumnBlock path: net/minecraft/world/level/block/BubbleColumnBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: BushBlock path: net/minecraft/world/level/block/BushBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: ButtonBlock path: net/minecraft/world/level/block/ButtonBlock method: <init> (ZLnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: sensitive, 2: properties method: checkPressed (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getSound (Z)Lnet/minecraft/sounds/SoundEvent; params: 1: isOn method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Z)V params: 1: player, 2: level, 3: pos, 4: hitByArrow method: press (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateNeighbours (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: CactusBlock path: net/minecraft/world/level/block/CactusBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CakeBlock path: net/minecraft/world/level/block/CakeBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: eat (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/InteractionResult; params: 1: level, 2: pos, 3: state, 4: player method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: CampfireBlock path: net/minecraft/world/level/block/CampfireBlock method: <init> (ZILnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: spawnParticles, 2: fireDamage, 3: properties method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canLight (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isLitCampfire (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isSmokeSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @return whether the given block state produces the thicker signal fire smoke when put below a campfire.
method: isSmokeyPos (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: makeParticles (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;ZZ)V params: 0: level, 1: pos, 2: isSignalFire, 3: spawnExtraSmoke method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: placeLiquid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: level, 2: pos, 3: state, 4: fluidState method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: CarrotBlock path: net/minecraft/world/level/block/CarrotBlock method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: CartographyTableBlock path: net/minecraft/world/level/block/CartographyTableBlock method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: CarvedPumpkinBlock path: net/minecraft/world/level/block/CarvedPumpkinBlock method: canSpawnGolem (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: lambda$static$0 (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: trySpawnGolem (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos class: ChainBlock path: net/minecraft/world/level/block/ChainBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: ChestBlock path: net/minecraft/world/level/block/ChestBlock method: candidatePartnerFacing (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 1: context, 2: direction Returns facing pointing to a chest to form a double chest with, null otherwise
method: combine (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/level/block/DoubleBlockCombiner$NeighborCombineResult; params: 1: state, 2: level, 3: pos, 4: override method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getBlockType (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/DoubleBlockCombiner$BlockType; params: 0: state method: getConnectedDirection (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/core/Direction; params: 0: state @return the Direction pointing from the given state to its attached double chest
method: getContainer (Lnet/minecraft/world/level/block/ChestBlock;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/Container; params: 0: chest, 1: state, 2: level, 3: pos, 4: override method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isBlockedChestByBlock (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isCatSittingOnChest (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isChestBlockedAt (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: opennessCombiner (Lnet/minecraft/world/level/block/entity/LidBlockEntity;)Lnet/minecraft/world/level/block/DoubleBlockCombiner$Combiner; params: 0: lid method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: ChorusFlowerBlock path: net/minecraft/world/level/block/ChorusFlowerBlock method: <init> (Lnet/minecraft/world/level/block/ChorusPlantBlock;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: plant, 2: properties method: allNeighborsEmpty (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: level, 1: pos, 2: excludingSide method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: generatePlant (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Ljava/util/Random;I)V params: 0: level, 1: pos, 2: rand, 3: maxHorizontalDistance method: growTreeRecursive (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Ljava/util/Random;Lnet/minecraft/core/BlockPos;II)V params: 0: level, 1: branchPos, 2: rand, 3: originalBranchPos, 4: maxHorizontalDistance, 5: iterations method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: placeDeadFlower (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: placeGrownFlower (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;I)V params: 1: level, 2: pos, 3: age method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: ChorusPlantBlock path: net/minecraft/world/level/block/ChorusPlantBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getStateForPlacement (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: pos method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CocoaBlock path: net/minecraft/world/level/block/CocoaBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CommandBlock path: net/minecraft/world/level/block/CommandBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: execute (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/BaseCommandBlock;Z)V params: 1: state, 2: level, 3: pos, 4: logic, 5: canTrigger method: executeChain (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)V params: 0: level, 1: pos, 2: direction method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: ComparatorBlock path: net/minecraft/world/level/block/ComparatorBlock method: calculateOutputSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: level, 2: pos, 3: state method: checkTickOnNeighbor (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDelay (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getInputSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: level, 2: pos, 3: state method: getItemFrame (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/entity/decoration/ItemFrame; params: 1: level, 2: facing, 3: pos method: getOutputSignal (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: level, 2: pos, 3: state method: refreshOutputState (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: shouldTurnOn (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: triggerEvent (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;II)Z params: 1: state, 2: level, 3: pos, 4: id, 5: param Called on server when World#addBlockEvent is called. If server returns true, then also called on the client. On the Server, this may perform additional changes to the world, like pistons replacing the block with an extended base. On the client, the update may involve replacing tile entities or effects such as sounds or particles
@deprecated call via {@link IBlockState#onBlockEventReceived(World,BlockPos,int,int)} whenever possible. Implementing/overriding is fine.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: ComposterBlock path: net/minecraft/world/level/block/ComposterBlock method: add (FLnet/minecraft/world/level/ItemLike;)V params: 0: chance, 1: item method: addItem (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: level, 2: pos, 3: stack method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: empty (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: level, 2: pos method: extractProduce (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: level, 2: pos method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getContainer (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/WorldlyContainer; params: 1: state, 2: level, 3: pos method: getInteractionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: handleFill (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)V params: 0: level, 1: pos, 2: success method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: insertItem (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: level, 2: stack, 3: pos method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: lambda$static$0 ([Lnet/minecraft/world/phys/shapes/VoxelShape;)V params: 0: shapes method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: ComposterBlock$EmptyContainer path: net/minecraft/world/level/block/ComposterBlock$EmptyContainer method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side class: ComposterBlock$InputContainer path: net/minecraft/world/level/block/ComposterBlock$InputContainer method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: getMaxStackSize ()I Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.
method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: ComposterBlock$OutputContainer path: net/minecraft/world/level/block/ComposterBlock$OutputContainer method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: state, 2: level, 3: pos method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: getMaxStackSize ()I Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.
method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
class: ConcretePowderBlock path: net/minecraft/world/level/block/ConcretePowderBlock method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: concrete, 2: properties method: canSolidify (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: getDustColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: reader, 3: pos method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: shouldSolidify (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: level, 1: pos, 2: state method: touchesLiquid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: ConduitBlock path: net/minecraft/world/level/block/ConduitBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CoralBlock path: net/minecraft/world/level/block/CoralBlock method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: scanForWater (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CoralFanBlock path: net/minecraft/world/level/block/CoralFanBlock method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: deadBlock, 2: properties method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CoralPlantBlock path: net/minecraft/world/level/block/CoralPlantBlock method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: deadBlock, 2: properties method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CoralWallFanBlock path: net/minecraft/world/level/block/CoralWallFanBlock method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: deadBlock, 2: properties method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: CraftingTableBlock path: net/minecraft/world/level/block/CraftingTableBlock method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: CropBlock path: net/minecraft/world/level/block/CropBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getAge (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getBonemealAgeIncrease (Lnet/minecraft/world/level/Level;)I params: 1: level method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getGrowthSpeed (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 0: block, 1: level, 2: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForAge (I)Lnet/minecraft/world/level/block/state/BlockState; params: 1: age method: growCrops (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isMaxAge (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: CrossCollisionBlock path: net/minecraft/world/level/block/CrossCollisionBlock method: getAABBIndex (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: indexFor (Lnet/minecraft/core/Direction;)I params: 0: facing method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: makeShapes (FFFFF)[Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: nodeWidth, 2: extensionWidth, 3: nodeHeight, 4: extensionBottom, 5: extensionHeight method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
class: CryingObsidianBlock path: net/minecraft/world/level/block/CryingObsidianBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
class: DaylightDetectorBlock path: net/minecraft/world/level/block/DaylightDetectorBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: updateSignalStrength (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: state, 1: level, 2: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: DeadBushBlock path: net/minecraft/world/level/block/DeadBushBlock method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos class: DetectorRailBlock path: net/minecraft/world/level/block/DetectorRailBlock method: checkPressed (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getInteractingMinecartOfType (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: level, 2: pos, 3: cartType, 4: filter method: getSearchBB (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/AABB; params: 1: pos method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updatePowerToConnected (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: level, 2: pos, 3: state, 4: powered class: DiodeBlock path: net/minecraft/world/level/block/DiodeBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: checkTickOnNeighbor (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: getAlternateSignal (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: level, 2: pos, 3: state method: getAlternateSignalAt (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: level, 2: pos, 3: side method: getDelay (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getInputSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: level, 2: pos, 3: state method: getOutputSignal (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isAlternateInput (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: isDiode (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: isLocked (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: shouldPrioritize (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: shouldTurnOn (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateNeighborsInFront (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state class: DispenserBlock path: net/minecraft/world/level/block/DispenserBlock field: DISPENSER_REGISTRY Ljava/util/Map; Registry for all dispense behaviors.
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: dispenseFrom (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getDispenseMethod (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/core/dispenser/DispenseItemBehavior; params: 1: stack method: getDispensePosition (Lnet/minecraft/core/BlockSource;)Lnet/minecraft/core/Position; params: 0: blockSource @return the position where the dispenser at the given position should dispense to.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: lambda$static$0 (Lit/unimi/dsi/fastutil/objects/Object2ObjectOpenHashMap;)V params: 0: map method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: registerBehavior (Lnet/minecraft/world/level/ItemLike;Lnet/minecraft/core/dispenser/DispenseItemBehavior;)V params: 0: item, 1: behavior method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: DoorBlock path: net/minecraft/world/level/block/DoorBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getHinge (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/properties/DoorHingeSide; params: 1: context method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getSeed (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)J params: 1: state, 2: pos Return a random long to be passed to {@link IBakedModel#getQuads}, used for random model rotations
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isOpen (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isWoodenDoor (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isWoodenDoor (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: playSound (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)V params: 1: level, 2: pos, 3: isOpening method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: DoubleBlockCombiner path: net/minecraft/world/level/block/DoubleBlockCombiner method: combineWithNeigbour (Lnet/minecraft/world/level/block/entity/BlockEntityType;Ljava/util/function/Function;Ljava/util/function/Function;Lnet/minecraft/world/level/block/state/properties/DirectionProperty;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Ljava/util/function/BiPredicate;)Lnet/minecraft/world/level/block/DoubleBlockCombiner$NeighborCombineResult; params: 0: blockEntityType class: DoublePlantBlock path: net/minecraft/world/level/block/DoublePlantBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getSeed (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)J params: 1: state, 2: pos Return a random long to be passed to {@link IBakedModel#getQuads}, used for random model rotations
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: playerDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: player, 3: pos, 4: state, 5: te, 6: stack Spawns the block's drops in the world. By the time this is called the Block has possibly been set to air via Block.removedByPlayer
method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: preventCreativeDropFromBottomPart (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 0: level, 1: pos, 2: state, 3: player method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: DragonEggBlock path: net/minecraft/world/level/block/DragonEggBlock method: attack (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: state, 2: level, 3: pos, 4: player method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: teleport (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: DropperBlock path: net/minecraft/world/level/block/DropperBlock method: dispenseFrom (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: getDispenseMethod (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/core/dispenser/DispenseItemBehavior; params: 1: stack class: EnchantmentTableBlock path: net/minecraft/world/level/block/EnchantmentTableBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: EndGatewayBlock path: net/minecraft/world/level/block/EndGatewayBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: state, 2: fluid method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state class: EndPortalBlock path: net/minecraft/world/level/block/EndPortalBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: state, 2: fluid method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: EndPortalFrameBlock path: net/minecraft/world/level/block/EndPortalFrameBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: EndRodBlock path: net/minecraft/world/level/block/EndRodBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#mirror} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link net.minecraft.world.level.block.state.BlockBehavior.BlockStateBase#rotate} whenever possible. Implementing/overriding is fine.
class: EnderChestBlock path: net/minecraft/world/level/block/EnderChestBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: combine (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/level/block/DoubleBlockCombiner$NeighborCombineResult; params: 1: state, 2: level, 3: pos, 4: override method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: FaceAttachedHorizontalDirectionalBlock path: net/minecraft/world/level/block/FaceAttachedHorizontalDirectionalBlock method: canAttach (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: reader, 1: pos, 2: direction method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getConnectedDirection (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/core/Direction; params: 0: state method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: FallingBlock path: net/minecraft/world/level/block/FallingBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: falling (Lnet/minecraft/world/entity/item/FallingBlockEntity;)V params: 1: entity method: getDustColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: level, 3: pos method: isFree (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: FarmBlock path: net/minecraft/world/level/block/FarmBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isNearWater (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isUnderCrops (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: turnToDirt (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: state, 1: level, 2: pos method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: FenceBlock path: net/minecraft/world/level/block/FenceBlock method: connectsTo (Lnet/minecraft/world/level/block/state/BlockState;ZLnet/minecraft/core/Direction;)Z params: 1: state, 2: isSideSolid, 3: direction method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getOcclusionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getVisualShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: FenceGateBlock path: net/minecraft/world/level/block/FenceGateBlock method: connectsToDirection (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 0: state, 1: direction True if the provided direction is parallel to the fence gate's gates
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getOcclusionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isWall (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: FireBlock path: net/minecraft/world/level/block/FireBlock method: calculateShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: state method: canBurn (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: checkBurnOut (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;ILjava/util/Random;I)V params: 1: level, 2: pos, 3: chance, 4: random, 5: age method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getBurnOdd (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getFireOdds (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: getFireTickDelay (Ljava/util/Random;)I params: 0: random Gets the delay before this block ticks again (without counting random ticks)
method: getFlameOdds (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getStateForPlacement (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: pos method: getStateWithAge (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;I)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: pos, 3: age method: isNearRain (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isValidFireLocation (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: setFlammable (Lnet/minecraft/world/level/block/Block;II)V params: 1: block, 2: encouragement, 3: flammability method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: FletchingTableBlock path: net/minecraft/world/level/block/FletchingTableBlock method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: FlowerBlock path: net/minecraft/world/level/block/FlowerBlock method: <init> (Lnet/minecraft/world/effect/MobEffect;ILnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: suspiciousStewEffect, 2: effectDuration, 3: properties method: getEffectDuration ()I @return the duration of the effect granted by a suspicious stew made with this flower.
method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSuspiciousStewEffect ()Lnet/minecraft/world/effect/MobEffect; @return the effect that is applied when making suspicious stew with this flower.
class: FlowerPotBlock path: net/minecraft/world/level/block/FlowerPotBlock method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: content, 2: properties method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: FrostedIceBlock path: net/minecraft/world/level/block/FrostedIceBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: fewerNeigboursThan (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;I)Z params: 1: level, 2: pos, 3: neighborsRequired method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: slightlyMelt (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand class: FungusBlock path: net/minecraft/world/level/block/FungusBlock method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state class: FurnaceBlock path: net/minecraft/world/level/block/FurnaceBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: openContainer (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: player Interface for handling interaction with blocks that impliment AbstractFurnaceBlock. Called in onBlockActivated inside AbstractFurnaceBlock.
class: GlazedTerracottaBlock path: net/minecraft/world/level/block/GlazedTerracottaBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context class: GrassBlock path: net/minecraft/world/level/block/GrassBlock method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state class: GravelBlock path: net/minecraft/world/level/block/GravelBlock method: getDustColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: reader, 3: pos class: GrindstoneBlock path: net/minecraft/world/level/block/GrindstoneBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getVoxelShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: GrowingPlantBlock path: net/minecraft/world/level/block/GrowingPlantBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;Lnet/minecraft/core/Direction;Lnet/minecraft/world/phys/shapes/VoxelShape;Z)V params: 1: properties, 2: growthDirection, 3: shape, 4: scheduleFluidTicks method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getStateForPlacement (Lnet/minecraft/world/level/LevelAccessor;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand class: GrowingPlantBodyBlock path: net/minecraft/world/level/block/GrowingPlantBodyBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: GrowingPlantHeadBlock path: net/minecraft/world/level/block/GrowingPlantHeadBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;Lnet/minecraft/core/Direction;Lnet/minecraft/world/phys/shapes/VoxelShape;ZD)V params: 1: properties, 2: growthDirection, 3: shape, 4: scheduleFluidTicks, 5: growPerTickProbability method: canGrowInto (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getBlocksToGrowWhenBonemealed (Ljava/util/Random;)I params: 1: random Used to determine how much to grow the plant when using bonemeal.
method: getStateForPlacement (Lnet/minecraft/world/level/LevelAccessor;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: HalfTransparentBlock path: net/minecraft/world/level/block/HalfTransparentBlock method: skipRendering (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: adjacentBlockState, 3: side class: HoneyBlock path: net/minecraft/world/level/block/HoneyBlock method: doSlideMovement (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: doesEntityDoHoneyBlockSlideEffects (Lnet/minecraft/world/entity/Entity;)Z params: 0: entity method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isSlidingDown (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)Z params: 1: pos, 2: entity method: maybeDoSlideAchievement (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/BlockPos;)V params: 1: entity, 2: pos method: maybeDoSlideEffects (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;)V params: 1: level, 2: entity method: showJumpParticles (Lnet/minecraft/world/entity/Entity;)V params: 0: entity method: showParticles (Lnet/minecraft/world/entity/Entity;I)V params: 0: entity, 1: particleCount method: showSlideParticles (Lnet/minecraft/world/entity/Entity;)V params: 0: entity class: HopperBlock path: net/minecraft/world/level/block/HopperBlock method: checkPoweredState (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getInteractionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: HorizontalDirectionalBlock path: net/minecraft/world/level/block/HorizontalDirectionalBlock method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
class: HugeMushroomBlock path: net/minecraft/world/level/block/HugeMushroomBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: IceBlock path: net/minecraft/world/level/block/IceBlock method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: melt (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: playerDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: player, 3: pos, 4: state, 5: te, 6: stack Spawns the block's drops in the world. By the time this is called the Block has possibly been set to air via Block.removedByPlayer
method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: InfestedBlock path: net/minecraft/world/level/block/InfestedBlock method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: hostBlock, 2: properties method: isCompatibleHostBlock (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: spawnAfterBreak (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: state, 2: level, 3: pos, 4: stack Perform side-effects from block dropping, such as creating silverfish
method: spawnInfestation (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: wasExploded (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Explosion;)V params: 1: level, 2: pos, 3: explosion Called when this Block is destroyed by an Explosion
class: IronBarsBlock path: net/minecraft/world/level/block/IronBarsBlock method: attachsTo (Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: state, 2: solidSide method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getVisualShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos, 4: context method: skipRendering (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: adjacentBlockState, 3: side method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: JigsawBlock path: net/minecraft/world/level/block/JigsawBlock method: canAttach (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;)Z params: 0: info, 1: info2 method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFrontFacing (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/core/Direction; params: 0: state This represents the face that the puzzle piece is on. To connect: 2 jigsaws must have their puzzle piece face facing each other.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getTopFacing (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/core/Direction; params: 0: state This represents the face that the line connector is on. To connect, if the OrientationType is ALIGNED, the two lines must be in the same direction. (Their textures will form one straight line)
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: JukeboxBlock path: net/minecraft/world/level/block/JukeboxBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: dropRecording (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: setRecord (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: recordStack method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: KelpBlock path: net/minecraft/world/level/block/KelpBlock method: canGrowInto (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: canPlaceLiquid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: pos, 3: state, 4: fluid method: getBlocksToGrowWhenBonemealed (Ljava/util/Random;)I params: 1: random Used to determine how much to grow the plant when using bonemeal. Kelp always returns 1, where as the nether vines return a random value at least 1.
method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: placeLiquid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: level, 2: pos, 3: state, 4: fluidState class: KelpPlantBlock path: net/minecraft/world/level/block/KelpPlantBlock method: canPlaceLiquid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: pos, 3: state, 4: fluid method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: placeLiquid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: level, 2: pos, 3: state, 4: fluidState class: LadderBlock path: net/minecraft/world/level/block/LadderBlock method: canAttachTo (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: blockReader, 2: pos, 3: direction method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: LeavesBlock path: net/minecraft/world/level/block/LeavesBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getBlockSupportShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos method: getDistanceAt (Lnet/minecraft/world/level/block/state/BlockState;)I params: 0: neighbor method: getLightBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: level, 3: pos method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: updateDistance (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: level, 2: pos method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: LecternBlock path: net/minecraft/world/level/block/LecternBlock method: changePowered (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 0: level, 1: pos, 2: state, 3: powered method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getOcclusionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: openScreen (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: player method: popBook (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: resetBookState (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 0: level, 1: pos, 2: state, 3: hasBook method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: signalPageChange (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 0: level, 1: pos, 2: state method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateBelow (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 0: level, 1: pos, 2: state method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: LeverBlock path: net/minecraft/world/level/block/LeverBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: makeParticle (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;F)V params: 0: state, 1: level, 2: pos, 3: alpha method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: pull (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: level, 3: pos method: updateNeighbours (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: LiquidBlock path: net/minecraft/world/level/block/LiquidBlock method: <init> (Lnet/minecraft/world/level/material/FlowingFluid;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: fluid, 2: properties method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: fizz (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: state, 2: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: shouldSpreadLiquid (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: skipRendering (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: adjacentBlockState, 3: side method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: LiquidBlockContainer path: net/minecraft/world/level/block/LiquidBlockContainer method: canPlaceLiquid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: pos, 3: state, 4: fluid method: placeLiquid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: level, 2: pos, 3: state, 4: fluidState class: LoomBlock path: net/minecraft/world/level/block/LoomBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: MagmaBlock path: net/minecraft/world/level/block/MagmaBlock method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: Mirror path: net/minecraft/world/level/block/Mirror method: getRotation (Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/block/Rotation; params: 1: facing Determines the rotation that is equivalent to this mirror if the rotating object faces in the given direction
method: mirror (II)I params: 1: rotation, 2: rotationCount Mirrors the given rotation like specified by this mirror. Rotations start at 0 and go up to rotationCount-1. 0 is front, rotationCount/2 is back.
method: mirror (Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 1: facing Mirror the given facing according to this mirror
class: MushroomBlock path: net/minecraft/world/level/block/MushroomBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: growMushroom (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: level, 2: pos, 3: state, 4: random method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: MyceliumBlock path: net/minecraft/world/level/block/MyceliumBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
class: NetherPortalBlock path: net/minecraft/world/level/block/NetherPortalBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: NetherSproutsBlock path: net/minecraft/world/level/block/NetherSproutsBlock method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos class: NetherVines path: net/minecraft/world/level/block/NetherVines method: getBlocksToGrowWhenBonemealed (Ljava/util/Random;)I params: 0: random method: isValidGrowthState (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state class: NetherWartBlock path: net/minecraft/world/level/block/NetherWartBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: NetherrackBlock path: net/minecraft/world/level/block/NetherrackBlock method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state class: NoteBlock path: net/minecraft/world/level/block/NoteBlock method: attack (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: state, 2: level, 3: pos, 4: player method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: playNote (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: triggerEvent (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;II)Z params: 1: state, 2: level, 3: pos, 4: id, 5: param Called on server when World#addBlockEvent is called. If server returns true, then also called on the client. On the Server, this may perform additional changes to the world, like pistons replacing the block with an extended base. On the client, the update may involve replacing tile entities or effects such as sounds or particles
@deprecated call via {@link IBlockState#onBlockEventReceived(World,BlockPos,int,int)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: NyliumBlock path: net/minecraft/world/level/block/NyliumBlock method: canBeNylium (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 0: state, 1: reader, 2: pos method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: ObserverBlock path: net/minecraft/world/level/block/ObserverBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: startSignal (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateNeighborsInFront (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: OreBlock path: net/minecraft/world/level/block/OreBlock method: spawnAfterBreak (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: state, 2: level, 3: pos, 4: stack Perform side-effects from block dropping, such as creating silverfish
class: PipeBlock path: net/minecraft/world/level/block/PipeBlock method: <init> (FLnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 2: properties method: getAABBIndex (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: makeShapes (F)[Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: apothem method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos class: PlayerHeadBlock path: net/minecraft/world/level/block/PlayerHeadBlock method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
class: PlayerWallHeadBlock path: net/minecraft/world/level/block/PlayerWallHeadBlock method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: state, 2: builder method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
class: PotatoBlock path: net/minecraft/world/level/block/PotatoBlock method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: PoweredBlock path: net/minecraft/world/level/block/PoweredBlock method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
class: PoweredRailBlock path: net/minecraft/world/level/block/PoweredRailBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: findPoweredRailSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;ZI)Z params: 1: level, 2: pos, 3: state, 4: searchForward, 5: recursionCount method: isSameRailWithPower (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;ZILnet/minecraft/world/level/block/state/properties/RailShape;)Z params: 1: level, 2: state, 3: searchForward, 4: recursionCount, 5: shape method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: state, 2: level, 3: pos, 4: block class: PressurePlateBlock path: net/minecraft/world/level/block/PressurePlateBlock method: <init> (Lnet/minecraft/world/level/block/PressurePlateBlock$Sensitivity;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: sensitivity, 2: properties method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getSignalForState (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getSignalStrength (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: playOffSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: playOnSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: setSignalForState (Lnet/minecraft/world/level/block/state/BlockState;I)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: strength class: PumpkinBlock path: net/minecraft/world/level/block/PumpkinBlock method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: RailBlock path: net/minecraft/world/level/block/RailBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: state, 2: level, 3: pos, 4: block class: RailState path: net/minecraft/world/level/block/RailState method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: canConnectTo (Lnet/minecraft/world/level/block/RailState;)Z params: 1: state method: connectTo (Lnet/minecraft/world/level/block/RailState;)V params: 1: state method: connectsTo (Lnet/minecraft/world/level/block/RailState;)Z params: 1: state method: getRail (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/RailState; params: 1: pos method: hasConnection (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: hasNeighborRail (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: hasRail (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: place (ZZLnet/minecraft/world/level/block/state/properties/RailShape;)Lnet/minecraft/world/level/block/RailState; params: 1: powered, 2: placeBlock, 3: shape method: updateConnections (Lnet/minecraft/world/level/block/state/properties/RailShape;)V params: 1: shape class: RedStoneOreBlock path: net/minecraft/world/level/block/RedStoneOreBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: attack (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: state, 2: level, 3: pos, 4: player method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: interact (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: state, 1: level, 2: pos method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: spawnAfterBreak (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: state, 2: level, 3: pos, 4: stack Perform side-effects from block dropping, such as creating silverfish
method: spawnParticles (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: RedStoneWireBlock path: net/minecraft/world/level/block/RedStoneWireBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: calculateShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state method: calculateTargetStrength (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: canSurviveOn (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: reader, 2: pos, 3: state method: checkCornerChangeAt (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos Calls {@link net.minecraft.world.level.Level#updateNeighborsAt} for all neighboring blocks, but only if the given block is a redstone wire.
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getColorForPower method: getConnectingSide (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/block/state/properties/RedstoneSide; params: 1: level, 2: pos, 3: face method: getConnectingSide (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;Z)Lnet/minecraft/world/level/block/state/properties/RedstoneSide; params: 1: level, 2: pos, 3: direction, 4: nonNormalCubeAbove method: getConnectionState (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: state, 3: pos method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getMissingConnections (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: state, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getWireSignal (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: isCross (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: isDot (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: shouldConnectTo (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: shouldConnectTo (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 0: state, 1: direction method: updateIndirectNeighbourShapes (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;II)V params: 1: state, 2: level, 3: pos, 4: flags, 5: recursionLeft performs updates on diagonal neighbors of the target position and passes in the flags. The flags can be referenced from the docs for {@link IWorldWriter#setBlockState(IBlockState, BlockPos, int)}.
method: updateNeighborsOfNeighboringWires (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: updatePowerStrength (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: updatesOnShapeChange (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: oldState, 4: newState method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: RedstoneLampBlock path: net/minecraft/world/level/block/RedstoneLampBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand class: RedstoneTorchBlock path: net/minecraft/world/level/block/RedstoneTorchBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: hasNeighborSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: isToggledTooFrequently (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)Z params: 0: level, 1: levelConflicting, 2: pos method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand class: RedstoneTorchBlock$Toggle path: net/minecraft/world/level/block/RedstoneTorchBlock$Toggle method: <init> (Lnet/minecraft/core/BlockPos;J)V params: 1: pos, 2: when class: RedstoneWallTorchBlock path: net/minecraft/world/level/block/RedstoneWallTorchBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of the block with "tile." appended to the front.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasNeighborSignal (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: RepeaterBlock path: net/minecraft/world/level/block/RepeaterBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDelay (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isAlternateInput (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: isLocked (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: pos, 3: state method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: RespawnAnchorBlock path: net/minecraft/world/level/block/RespawnAnchorBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canBeCharged (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: canSetSpawn (Lnet/minecraft/world/level/Level;)Z params: 0: level method: charge (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 0: level, 1: pos, 2: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: explode (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: state, 2: level, 3: pos2 method: findStandUpPosition (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/CollisionGetter;Lnet/minecraft/core/BlockPos;)Ljava/util/Optional; params: 0: entityType, 1: level, 2: pos method: findStandUpPosition (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/CollisionGetter;Lnet/minecraft/core/BlockPos;Z)Ljava/util/Optional; params: 0: entityType, 1: level, 2: pos method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getScaledChargeLevel (Lnet/minecraft/world/level/block/state/BlockState;I)I params: 0: state, 1: scale method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isRespawnFuel (Lnet/minecraft/world/item/ItemStack;)Z params: 0: stack method: isWaterThatWouldFlow (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Level;)Z params: 0: pos, 1: level method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: RespawnAnchorBlock$1 path: net/minecraft/world/level/block/RespawnAnchorBlock$1 method: getBlockExplosionResistance (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Ljava/util/Optional; params: 1: explosion, 2: reader, 3: pos, 4: state, 5: fluid class: RootsBlock path: net/minecraft/world/level/block/RootsBlock method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos class: RotatedPillarBlock path: net/minecraft/world/level/block/RotatedPillarBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
class: Rotation path: net/minecraft/world/level/block/Rotation method: getRandom (Ljava/util/Random;)Lnet/minecraft/world/level/block/Rotation; params: 0: random Chooses a random rotation.
method: getRotated (Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/Rotation; params: 1: rotation method: getShuffled (Ljava/util/Random;)Ljava/util/List; params: 0: random Get a list of all rotations in random order.
method: rotate (II)I params: 1: rotation, 2: positionCount method: rotate (Lnet/minecraft/core/Direction;)Lnet/minecraft/core/Direction; params: 1: facing class: SandBlock path: net/minecraft/world/level/block/SandBlock method: <init> (ILnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: dustColor, 2: properties method: getDustColor (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: state, 2: reader, 3: pos class: SaplingBlock path: net/minecraft/world/level/block/SaplingBlock method: <init> (Lnet/minecraft/world/level/block/grower/AbstractTreeGrower;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: treeGrower, 2: properties method: advanceTree (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: rand method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: ScaffoldingBlock path: net/minecraft/world/level/block/ScaffoldingBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getDistance (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 0: level, 1: pos method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getInteractionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isBottom (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;I)Z params: 1: level, 2: pos, 3: distance method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: SeaPickleBlock path: net/minecraft/world/level/block/SeaPickleBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isDead (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: ShulkerBoxBlock path: net/minecraft/world/level/block/ShulkerBoxBlock method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: color, 2: properties method: appendHoverText (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/BlockGetter;Ljava/util/List;Lnet/minecraft/world/item/TooltipFlag;)V params: 1: stack, 2: level, 3: tooltip, 4: flag method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: blockState, 2: level, 3: pos @deprecated call via {@link IBlockState#getComparatorInputOverride(World,BlockPos)} whenever possible. Implementing/overriding is fine.
method: getBlockByColor (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/level/block/Block; params: 0: color method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getColorFromBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/item/DyeColor; params: 0: block method: getColorFromItem (Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/item/DyeColor; params: 0: item method: getColoredItemStack (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/ItemStack; params: 0: color method: getDrops (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/storage/loot/LootContext$Builder;)Ljava/util/List; params: 1: state, 2: builder method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasAnalogOutputSignal (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state @deprecated call via {@link IBlockState#hasComparatorInputOverride()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: SignBlock path: net/minecraft/world/level/block/SignBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;Lnet/minecraft/world/level/block/state/properties/WoodType;)V params: 1: properties, 2: type method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isPossibleToRespawnInThis ()Z Return true if an entity can be spawned inside the block (used to get the player's bed spawn location)
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: SimpleWaterloggedBlock path: net/minecraft/world/level/block/SimpleWaterloggedBlock method: canPlaceLiquid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: pos, 3: state, 4: fluid method: placeLiquid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: level, 2: pos, 3: state, 4: fluidState class: SkullBlock path: net/minecraft/world/level/block/SkullBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getOcclusionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
class: SlabBlock path: net/minecraft/world/level/block/SlabBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canPlaceLiquid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: pos, 3: state, 4: fluid method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: placeLiquid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Z params: 1: level, 2: pos, 3: state, 4: fluidState method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: SlimeBlock path: net/minecraft/world/level/block/SlimeBlock method: bounceUp (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: updateEntityAfterFallOn (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/entity/Entity;)V params: 1: level, 2: entity Called when an Entity lands on this Block. This method *must* update motionY because the entity will not do that on its own
class: SmithingTableBlock path: net/minecraft/world/level/block/SmithingTableBlock method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: lambda$getMenuProvider$0 (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 2: containerId, 3: inventory, 4: player method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: SmokerBlock path: net/minecraft/world/level/block/SmokerBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: openContainer (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: player Interface for handling interaction with blocks that impliment AbstractFurnaceBlock. Called in onBlockActivated inside AbstractFurnaceBlock.
class: SnowLayerBlock path: net/minecraft/world/level/block/SnowLayerBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getBlockSupportShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: getVisualShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: SnowyDirtBlock path: net/minecraft/world/level/block/SnowyDirtBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: SoulFireBlock path: net/minecraft/world/level/block/SoulFireBlock method: canBurn (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: SoulSandBlock path: net/minecraft/world/level/block/SoulSandBlock method: getBlockSupportShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getVisualShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: reader, 3: pos, 4: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: SoundType path: net/minecraft/world/level/block/SoundType method: <init> (FFLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundEvent;)V params: 1: volume, 2: pitch, 3: breakSound, 4: stepSound, 5: placeSound, 6: hitSound, 7: fallSound class: SpawnerBlock path: net/minecraft/world/level/block/SpawnerBlock method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: spawnAfterBreak (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V params: 1: state, 2: level, 3: pos, 4: stack Perform side-effects from block dropping, such as creating silverfish
class: SpongeBlock path: net/minecraft/world/level/block/SpongeBlock method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: removeWaterBreadthFirstSearch (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: tryAbsorbWater (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos class: SpreadingSnowyDirtBlock path: net/minecraft/world/level/block/SpreadingSnowyDirtBlock method: canBeGrass (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 0: state, 1: levelReader, 2: pos method: canPropagate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 0: state, 1: level, 2: pos method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: StainedGlassBlock path: net/minecraft/world/level/block/StainedGlassBlock method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: dyeColor, 2: properties class: StainedGlassPaneBlock path: net/minecraft/world/level/block/StainedGlassPaneBlock method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: color, 2: properties class: StairBlock path: net/minecraft/world/level/block/StairBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: baseState, 2: properties method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: attack (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;)V params: 1: state, 2: level, 3: pos, 4: player method: canTakeShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: state, 1: level, 2: pos, 3: face method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: destroy (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state Called after a player destroys this Block - the posiiton pos may no longer hold the state indicated.
method: getExplosionResistance ()F Returns how much this block can resist explosions from the passed in entity.
method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getShapeIndex (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getStairsShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/properties/StairsShape; params: 0: state, 1: level, 2: pos Returns a stair shape property based on the surrounding stairs from the given blockstate and position
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: isStairs (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: makeShapes (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;)[Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: slabShape, 1: nwCorner, 2: neCorner, 3: swCorner, 4: seCorner method: makeStairShape (ILnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: bitfield, 1: slabShape, 2: nwCorner, 3: neCorner, 4: swCorner, 5: seCorner Combines the shapes according to the mode set in the bitfield
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: wasExploded (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Explosion;)V params: 1: level, 2: pos, 3: explosion Called when this Block is destroyed by an Explosion
class: StandingSignBlock path: net/minecraft/world/level/block/StandingSignBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: StemBlock path: net/minecraft/world/level/block/StemBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
class: StoneButtonBlock path: net/minecraft/world/level/block/StoneButtonBlock method: getSound (Z)Lnet/minecraft/sounds/SoundEvent; params: 1: isOn class: StonecutterBlock path: net/minecraft/world/level/block/StonecutterBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getMenuProvider (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/MenuProvider; params: 1: state, 2: level, 3: pos method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: useShapeForLightOcclusion (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state class: StructureBlock path: net/minecraft/world/level/block/StructureBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: trigger (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/block/entity/StructureBlockEntity;)V params: 1: level, 2: blockEntity method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: StructureVoidBlock path: net/minecraft/world/level/block/StructureVoidBlock method: getPistonPushReaction (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/PushReaction; params: 1: state @deprecated call via {@link IBlockState#getMobilityFlag()} whenever possible. Implementing/overriding is fine.
method: getRenderShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/RenderShape; params: 1: state The type of render function called. MODEL for mixed tesr and static model, MODELBLOCK_ANIMATED for TESR-only, LIQUID for vanilla liquids, INVISIBLE to skip all rendering
@deprecated call via {@link IBlockState#getRenderType()} whenever possible. Implementing/overriding is fine.
method: getShadeBrightness (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)F params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context class: SugarCaneBlock path: net/minecraft/world/level/block/SugarCaneBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: SupportType path: net/minecraft/world/level/block/SupportType method: isSupporting (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: level, 3: pos, 4: face class: SweetBerryBushBlock path: net/minecraft/world/level/block/SweetBerryBushBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getCloneItemStack (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isRandomlyTicking (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Returns whether or not this block is of a type that needs random ticking. Called for ref-counting purposes by ExtendedBlockStorage in order to broadly cull a chunk from the random chunk update list for efficiency's sake.
method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: TallFlowerBlock path: net/minecraft/world/level/block/TallFlowerBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: rand, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: rand, 3: pos, 4: state class: TallGrassBlock path: net/minecraft/world/level/block/TallGrassBlock method: getOffsetType ()Lnet/minecraft/world/level/block/state/BlockBehaviour$OffsetType; Get the OffsetType for this Block. Determines if the model is rendered slightly offset.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: isBonemealSuccess (Lnet/minecraft/world/level/Level;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: isValidBonemealTarget (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Z params: 1: level, 2: pos, 3: state, 4: isClient Whether this IGrowable can grow
method: performBonemeal (Lnet/minecraft/server/level/ServerLevel;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: state class: TargetBlock path: net/minecraft/world/level/block/TargetBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getRedstoneStrength (Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/phys/Vec3;)I params: 0: hit, 1: hitLocation method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: setOutputPower (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/level/block/state/BlockState;ILnet/minecraft/core/BlockPos;I)V params: 0: level, 1: state, 2: power, 3: pos, 4: waitTime method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateRedstoneOutput (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/Entity;)I params: 0: level, 1: state, 2: hit, 3: projectile class: TntBlock path: net/minecraft/world/level/block/TntBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: dropFromExplosion (Lnet/minecraft/world/level/Explosion;)Z params: 1: explosion Return whether this block can drop from an explosion.
method: explode (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 0: level, 1: pos method: explode (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/LivingEntity;)V params: 0: level, 1: pos, 2: entity method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onProjectileHit (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/BlockHitResult;Lnet/minecraft/world/entity/projectile/Projectile;)V params: 1: level, 2: state, 3: hit, 4: projectile method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit method: wasExploded (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/Explosion;)V params: 1: level, 2: pos, 3: explosion Called when this Block is destroyed by an Explosion
class: TorchBlock path: net/minecraft/world/level/block/TorchBlock method: <init> (Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;Lnet/minecraft/core/particles/ParticleOptions;)V params: 1: properties, 2: flameParticle method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: TrapDoorBlock path: net/minecraft/world/level/block/TrapDoorBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: neighborChanged (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;Z)V params: 1: state, 2: level, 3: pos, 4: block, 5: fromPos, 6: isMoving method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Z)V params: 1: player, 2: level, 3: pos, 4: isOpened method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: use (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;Lnet/minecraft/world/phys/BlockHitResult;)Lnet/minecraft/world/InteractionResult; params: 1: state, 2: level, 3: pos, 4: player, 5: hand, 6: hit class: TrappedChestBlock path: net/minecraft/world/level/block/TrappedChestBlock method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
class: TripWireBlock path: net/minecraft/world/level/block/TripWireBlock method: <init> (Lnet/minecraft/world/level/block/TripWireHookBlock;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: hook, 2: properties method: checkPressed (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: playerWillDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/player/Player;)V params: 1: level, 2: pos, 3: state, 4: player Called before the Block is set to air in the world. Called regardless of if the player's tool can actually collect this block
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rot Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: shouldConnectTo (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Z params: 1: state, 2: direction method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
method: updateSource (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state class: TripWireHookBlock path: net/minecraft/world/level/block/TripWireHookBlock method: calculateState (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;ZZILnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: hookState, 4: attaching, 5: shouldNotifyNeighbours, 6: searchRange, 7: state method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDirectSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getStrongPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getSignal (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: blockState, 2: blockAccess, 3: pos, 4: side @deprecated call via {@link IBlockState#getWeakPower(IBlockAccess,BlockPos,EnumFacing)} whenever possible. Implementing/overriding is fine.
method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isSignalSource (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state Can this block provide power. Only wire currently seems to have this change based on its state.
@deprecated call via {@link IBlockState#canProvidePower()} whenever possible. Implementing/overriding is fine.
method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: notifyNeighbors (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)V params: 1: level, 2: pos, 3: direction method: onRemove (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: newState, 5: isMoving method: playSound (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;ZZZZ)V params: 1: level, 2: pos, 3: attaching, 4: activated, 5: detaching, 6: deactivating method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
method: tick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: TurtleEggBlock path: net/minecraft/world/level/block/TurtleEggBlock method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canDestroyEgg (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;)Z params: 1: level, 2: entity method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: decreaseEggs (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isSand (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: reader, 1: pos method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving method: onSand (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 0: reader, 1: pos method: playerDestroy (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: player, 3: pos, 4: state, 5: te, 6: stack Spawns the block's drops in the world. By the time this is called the Block has possibly been set to air via Block.removedByPlayer
method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: shouldUpdateHatchLevel (Lnet/minecraft/world/level/Level;)Z params: 1: level class: VineBlock path: net/minecraft/world/level/block/VineBlock method: calculateShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: state method: canBeReplaced (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/item/context/BlockPlaceContext;)Z params: 1: state, 2: useContext method: canSpread (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: blockReader, 2: pos method: canSupportAtFace (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: level, 2: pos, 3: direction method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: copyRandomFaces (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Lnet/minecraft/world/level/block/state/BlockState; params: 3: random method: countFaces (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getPropertyForFace (Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/block/state/properties/BooleanProperty; params: 0: face method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: hasFaces (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: hasHorizontalConnection (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: isAcceptableNeighbour (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 0: blockReader, 1: level, 2: neighborPos method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: randomTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Performs a random tick on a block.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotate Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: WallBannerBlock path: net/minecraft/world/level/block/WallBannerBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of the block with "tile." appended to the front.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: WallBlock path: net/minecraft/world/level/block/WallBlock method: applyWallShape (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/level/block/state/properties/WallSide;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: baseShape, 1: height, 2: lowShape, 3: tallShape method: connectsTo (Lnet/minecraft/world/level/block/state/BlockState;ZLnet/minecraft/core/Direction;)Z params: 1: state, 2: sideSolid, 3: direction method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getFluidState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: isConnected (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;)Z params: 0: state, 1: heightProperty method: isCovered (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;)Z params: 0: shape1, 1: shape2 method: isPathfindable (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/PathComputationType;)Z params: 1: state, 2: level, 3: pos, 4: type method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: propagatesSkylightDown (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: reader, 3: pos method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: sideUpdate (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level method: topUpdate (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level method: updateShape (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;ZZZZ)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: WallSignBlock path: net/minecraft/world/level/block/WallSignBlock method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of the block with "tile." appended to the front.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: WallSkullBlock path: net/minecraft/world/level/block/WallSkullBlock method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of the block with "tile." appended to the front.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
class: WallTorchBlock path: net/minecraft/world/level/block/WallTorchBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDescriptionId ()Ljava/lang/String; Returns the unlocalized name of the block with "tile." appended to the front.
method: getShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: state method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: getStateForPlacement (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: context method: mirror (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: mirror Returns the blockstate with the given mirror of the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withMirror(Mirror)} whenever possible. Implementing/overriding is fine.
method: rotate (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: rotation Returns the blockstate with the given rotation from the passed blockstate. If inapplicable, returns the passed blockstate.
@deprecated call via {@link IBlockState#withRotation(Rotation)} whenever possible. Implementing/overriding is fine.
method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: facing, 3: facingState, 4: level, 5: currentPos, 6: facingPos Update the provided state given the provided neighbor facing and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific face passed in.
class: WaterlilyBlock path: net/minecraft/world/level/block/WaterlilyBlock method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos class: WebBlock path: net/minecraft/world/level/block/WebBlock method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity class: WeightedPressurePlateBlock path: net/minecraft/world/level/block/WeightedPressurePlateBlock method: <init> (ILnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: maxWeight, 2: properties method: createBlockStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getSignalForState (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: getSignalStrength (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos method: playOffSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: playOnSound (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: setSignalForState (Lnet/minecraft/world/level/block/state/BlockState;I)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: strength class: WetSpongeBlock path: net/minecraft/world/level/block/WetSpongeBlock method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: rand Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: onPlace (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: state, 2: level, 3: pos, 4: oldState, 5: isMoving class: WitherRoseBlock path: net/minecraft/world/level/block/WitherRoseBlock method: <init> (Lnet/minecraft/world/effect/MobEffect;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: suspiciousStewEffect, 2: properties method: animateTick (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: state, 2: level, 3: pos, 4: random Called periodically clientside on blocks near the player to show effects (like furnace fire particles). Note that this method is unrelated to {@link randomTick} and {@link #needsRandomTick}, and will always be called regardless of whether the block can receive random update ticks
method: entityInside (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)V params: 1: state, 2: level, 3: pos, 4: entity method: mayPlaceOn (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos class: WitherSkullBlock path: net/minecraft/world/level/block/WitherSkullBlock method: canSpawnMob (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)Z params: 0: level, 1: pos, 2: stack method: checkSpawn (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/SkullBlockEntity;)V params: 0: level, 1: pos, 2: blockEntity method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
class: WitherWallSkullBlock path: net/minecraft/world/level/block/WitherWallSkullBlock method: setPlacedBy (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)V params: 1: level, 2: pos, 3: state, 4: placer, 5: stack Called by ItemBlocks after a block is set in the world, to allow post-place logic
class: WoodButtonBlock path: net/minecraft/world/level/block/WoodButtonBlock method: getSound (Z)Lnet/minecraft/sounds/SoundEvent; params: 1: isOn class: WoolCarpetBlock path: net/minecraft/world/level/block/WoolCarpetBlock method: <init> (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V params: 1: color, 2: properties method: canSurvive (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: state, 2: level, 3: pos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos, 4: context method: updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state, 2: direction, 3: neighborState, 4: level, 5: currentPos, 6: neighborPos Update the provided state given the provided neighbor direction and neighbor state, returning a new state.
For example, fences make their connections to the passed in state if possible, and wet concrete powder immediately returns its solidified counterpart.
Note that this method should ideally consider only the specific direction passed in.
border class: BorderChangeListener path: net/minecraft/world/level/border/BorderChangeListener method: onBorderCenterSet (Lnet/minecraft/world/level/border/WorldBorder;DD)V params: 1: border, 2: x, 4: z method: onBorderSetDamagePerBlock (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newAmount method: onBorderSetDamageSafeZOne (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newSize method: onBorderSetWarningBlocks (Lnet/minecraft/world/level/border/WorldBorder;I)V params: 1: border, 2: newDistance method: onBorderSetWarningTime (Lnet/minecraft/world/level/border/WorldBorder;I)V params: 1: border, 2: newTime method: onBorderSizeLerping (Lnet/minecraft/world/level/border/WorldBorder;DDJ)V params: 1: border, 2: oldSize, 4: newSize, 6: time method: onBorderSizeSet (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newSize class: BorderChangeListener$DelegateBorderChangeListener path: net/minecraft/world/level/border/BorderChangeListener$DelegateBorderChangeListener method: <init> (Lnet/minecraft/world/level/border/WorldBorder;)V params: 1: worldBorder method: onBorderCenterSet (Lnet/minecraft/world/level/border/WorldBorder;DD)V params: 1: border, 2: x, 4: z method: onBorderSetDamagePerBlock (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newAmount method: onBorderSetDamageSafeZOne (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newSize method: onBorderSetWarningBlocks (Lnet/minecraft/world/level/border/WorldBorder;I)V params: 1: border, 2: newDistance method: onBorderSetWarningTime (Lnet/minecraft/world/level/border/WorldBorder;I)V params: 1: border, 2: newTime method: onBorderSizeLerping (Lnet/minecraft/world/level/border/WorldBorder;DDJ)V params: 1: border, 2: oldSize, 4: newSize, 6: time method: onBorderSizeSet (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 1: border, 2: newSize class: BorderStatus path: net/minecraft/world/level/border/BorderStatus method: <init> (Ljava/lang/String;II)V params: 3: color method: getColor ()I Retrieve the color that the border should be while in this state
class: WorldBorder path: net/minecraft/world/level/border/WorldBorder method: addListener (Lnet/minecraft/world/level/border/BorderChangeListener;)V params: 1: listener method: applySettings (Lnet/minecraft/world/level/border/WorldBorder$Settings;)V params: 1: serializer method: getDistanceToBorder method: getDistanceToBorder (Lnet/minecraft/world/entity/Entity;)D params: 1: entity method: isWithinBounds (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isWithinBounds (Lnet/minecraft/world/level/ChunkPos;)Z params: 1: range method: isWithinBounds (Lnet/minecraft/world/phys/AABB;)Z params: 1: bb method: lerpSizeBetween (DDJ)V params: 1: oldSize, 3: newSize, 5: time method: setAbsoluteMaxSize method: setCenter method: setDamagePerBlock method: setDamageSafeZone (D)V params: 1: bufferSize method: setSize method: setWarningBlocks (I)V params: 1: warningDistance method: setWarningTime (I)V params: 1: warningTime class: WorldBorder$MovingBorderExtent path: net/minecraft/world/level/border/WorldBorder$MovingBorderExtent method: <init> (Lnet/minecraft/world/level/border/WorldBorder;DDJ)V params: 2: from, 4: to, 6: lerpDuration class: WorldBorder$Settings path: net/minecraft/world/level/border/WorldBorder$Settings method: <init> (DDDDIIDJD)V params: 1: centerX, 3: centerZ, 5: damagePerBlock, 7: safeZone, 9: warningBlocks, 10: warningTime, 11: size, 13: sizeLerpTime, 15: sizeLerpTarget method: <init> (Lnet/minecraft/world/level/border/WorldBorder;)V params: 1: border method: read (Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/world/level/border/WorldBorder$Settings;)Lnet/minecraft/world/level/border/WorldBorder$Settings; params: 0: dynamic, 1: defaultValue method: write (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt class: WorldBorder$StaticBorderExtent path: net/minecraft/world/level/border/WorldBorder$StaticBorderExtent method: <init> (Lnet/minecraft/world/level/border/WorldBorder;D)V params: 2: size chunk storage class: ChunkSerializer path: net/minecraft/world/level/chunk/storage/ChunkSerializer method: getChunkTypeFromTag (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/chunk/ChunkStatus$ChunkType; params: 0: chunkNBT method: packOffsets ([Lit/unimi/dsi/fastutil/shorts/ShortList;)Lnet/minecraft/nbt/ListTag; params: 0: list method: read (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/world/entity/ai/village/poi/PoiManager;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/chunk/ProtoChunk; params: 0: level, 1: templateManager, 2: poiManager, 3: pos, 4: compound method: unpackStructureReferences (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/nbt/CompoundTag;)Ljava/util/Map; params: 0: pos, 1: tag method: write (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/ChunkAccess;)Lnet/minecraft/nbt/CompoundTag; params: 0: level, 1: chunk class: ChunkStorage path: net/minecraft/world/level/chunk/storage/ChunkStorage method: <init> (Ljava/io/File;Lcom/mojang/datafixers/DataFixer;Z)V params: 1: regionFolder, 2: fixerUpper, 3: sync method: getVersion (Lnet/minecraft/nbt/CompoundTag;)I params: 0: chunkData method: read (Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: chunkPos method: upgradeChunkTag (Lnet/minecraft/resources/ResourceKey;Ljava/util/function/Supplier;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: levelKey, 2: storage, 3: chunkData method: write (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/nbt/CompoundTag;)V params: 1: chunkPos, 2: chunkData class: IOWorker path: net/minecraft/world/level/chunk/storage/IOWorker method: <init> (Ljava/io/File;ZLjava/lang/String;)V params: 1: folder, 2: sync, 3: workerName method: load (Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: chunkPos method: runStore (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/storage/IOWorker$PendingStore;)V params: 1: chunkPos method: store (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/nbt/CompoundTag;)Ljava/util/concurrent/CompletableFuture; params: 1: chunkPos, 2: chunkData method: submitTask (Ljava/util/function/Supplier;)Ljava/util/concurrent/CompletableFuture; params: 1: task class: IOWorker$PendingStore path: net/minecraft/world/level/chunk/storage/IOWorker$PendingStore method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: data class: OldChunkStorage path: net/minecraft/world/level/chunk/storage/OldChunkStorage method: convertToAnvilFormat (Lnet/minecraft/core/RegistryAccess$RegistryHolder;Lnet/minecraft/world/level/chunk/storage/OldChunkStorage$OldLevelChunk;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/biome/BiomeSource;)V params: 0: registryHolder, 1: oldChunk, 2: newChunkData, 3: biomeSource method: load (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/chunk/storage/OldChunkStorage$OldLevelChunk; params: 0: chunkData class: OldChunkStorage$OldLevelChunk path: net/minecraft/world/level/chunk/storage/OldChunkStorage$OldLevelChunk method: <init> class: RegionBitmap path: net/minecraft/world/level/chunk/storage/RegionBitmap Keeps track of which parts of a region file are used and which parts are free.
method: allocate (I)I params: 1: sectorCount Gets a valid offset inside the region file with enough space to store the given amount of sectors and marks that space as used.
method: force (II)V params: 1: sectorOffset, 2: sectorCount Marks a range of 4KiB sectors relative to the region file as used.
method: free (II)V params: 1: sectorOffset, 2: sectorCount Marks a range of 4KiB sectors relative to the region file as not used.
class: RegionFile path: net/minecraft/world/level/chunk/storage/RegionFile This class handles a single region (or anvil) file and all files for single chunks at chunk positions for that one region file.
method: <init> (Ljava/io/File;Ljava/io/File;Z)V params: 1: regionFile, 2: containingFolder, 3: sync method: <init> (Ljava/nio/file/Path;Ljava/nio/file/Path;Lnet/minecraft/world/level/chunk/storage/RegionFileVersion;Z)V params: 1: regionFile, 2: containingFolder, 3: version, 4: sync method: createChunkInputStream (Lnet/minecraft/world/level/ChunkPos;BLjava/io/InputStream;)Ljava/io/DataInputStream; params: 1: chunkPos, 2: versionByte, 3: inputStream method: createExternalChunkInputStream (Lnet/minecraft/world/level/ChunkPos;B)Ljava/io/DataInputStream; params: 1: chunkPos, 2: versionByte method: createStream (Ljava/nio/ByteBuffer;I)Ljava/io/ByteArrayInputStream; params: 0: sourceBuffer, 1: length method: doesChunkExist (Lnet/minecraft/world/level/ChunkPos;)Z params: 1: chunkPos method: getChunkDataInputStream (Lnet/minecraft/world/level/ChunkPos;)Ljava/io/DataInputStream; params: 1: chunkPos method: getChunkDataOutputStream (Lnet/minecraft/world/level/ChunkPos;)Ljava/io/DataOutputStream; params: 1: chunkPos Creates a new {@link java.io.InputStream} for a chunk stored in a separate file.
method: getExternalChunkPath (Lnet/minecraft/world/level/ChunkPos;)Ljava/nio/file/Path; params: 1: chunkPos Gets the path to store a chunk that can not be stored within the region file because its larger than 1 MiB.
method: getExternalChunkVersion (B)B params: 0: versionByte method: getNumSectors (I)I params: 0: packedSectorOffset Gets the amount of 4KiB sectors used to store a chunk.
method: getOffset (Lnet/minecraft/world/level/ChunkPos;)I params: 1: chunkPos method: getOffsetIndex (Lnet/minecraft/world/level/ChunkPos;)I params: 0: chunkPos Gets the offset within the region file where the chunk metadata for a chunk can be found.
method: getSectorNumber (I)I params: 0: packedSectorOffset Gets the offset in 4KiB sectors from the start of the region file, where the data for a chunk starts.
method: hasChunk (Lnet/minecraft/world/level/ChunkPos;)Z params: 1: chunkPos method: isExternalStreamChunk (B)Z params: 0: versionByte method: packSectorOffset (II)I params: 1: sectorOffset, 2: sectorCount Packs the offset in 4KiB sectors from the region file start and the amount of 4KiB sectors used to store a chunk into one {@code int}.
method: sizeToSectors (I)I params: 0: size Gets the amount of sectors required to store chunk data of a certain size in bytes.
method: write (Lnet/minecraft/world/level/ChunkPos;Ljava/nio/ByteBuffer;)V params: 1: chunkPos, 2: chunkData method: writeToExternalFile (Ljava/nio/file/Path;Ljava/nio/ByteBuffer;)Lnet/minecraft/world/level/chunk/storage/RegionFile$CommitOp; params: 1: externalChunkFile, 2: chunkData Writes a chunk to a separate file with only that chunk. This is used for chunks larger than 1 MiB
class: RegionFile$ChunkBuffer path: net/minecraft/world/level/chunk/storage/RegionFile$ChunkBuffer method: <init> (Lnet/minecraft/world/level/chunk/storage/RegionFile;Lnet/minecraft/world/level/ChunkPos;)V params: 2: pos class: RegionFileStorage path: net/minecraft/world/level/chunk/storage/RegionFileStorage Handles reading and writing the {@link net.minecraft.world.level.chunk.storage.RegionFile region files} for a {@link net.minecraft.world.level.Level}.
method: <init> (Ljava/io/File;Z)V params: 1: folder, 2: sync method: getRegionFile (Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/world/level/chunk/storage/RegionFile; params: 1: chunkPos method: read (Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: chunkPos method: write (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/nbt/CompoundTag;)V params: 1: chunkPos, 2: chunkData class: RegionFileVersion path: net/minecraft/world/level/chunk/storage/RegionFileVersion A decorator for input and output streams used to read and write the chunk data from region files. This exists as there are different ways of compressing the chunk data inside a region file.
@see net.minecraft.world.level.chunk.storage.RegionFileVersion#VERSION_GZIP
@see net.minecraft.world.level.chunk.storage.RegionFileVersion#VERSION_DEFLATE
@see net.minecraft.world.level.chunk.storage.RegionFileVersion#VERSION_NONE
field: VERSION_DEFLATE Lnet/minecraft/world/level/chunk/storage/RegionFileVersion; Used to store the chunk data in zlib format. This is the default.
field: VERSION_GZIP Lnet/minecraft/world/level/chunk/storage/RegionFileVersion; Used to store the chunk data in gzip format. Unused in practice.
field: VERSION_NONE Lnet/minecraft/world/level/chunk/storage/RegionFileVersion; Used to keep the chunk data uncompressed. Unused in practice.
method: <init> (ILnet/minecraft/world/level/chunk/storage/RegionFileVersion$StreamWrapper;Lnet/minecraft/world/level/chunk/storage/RegionFileVersion$StreamWrapper;)V params: 1: id, 2: inputWrapper, 3: outputWrapper method: fromId (I)Lnet/minecraft/world/level/chunk/storage/RegionFileVersion; params: 0: id method: isValidVersion method: register (Lnet/minecraft/world/level/chunk/storage/RegionFileVersion;)Lnet/minecraft/world/level/chunk/storage/RegionFileVersion; params: 0: fileVersion method: wrap (Ljava/io/InputStream;)Ljava/io/InputStream; params: 1: inputStream method: wrap (Ljava/io/OutputStream;)Ljava/io/OutputStream; params: 1: outputStream class: RegionFileVersion$StreamWrapper path: net/minecraft/world/level/chunk/storage/RegionFileVersion$StreamWrapper method: wrap (Ljava/lang/Object;)Ljava/lang/Object; params: 1: stream class: SectionStorage path: net/minecraft/world/level/chunk/storage/SectionStorage method: setDirty (J)V params: 1: sectionPos class: ChunkAccess path: net/minecraft/world/level/chunk/ChunkAccess method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Adds an entity to the chunk.
method: addPackedPostProcess (SI)V params: 1: packedPosition, 2: index method: getBlockEntityNbt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockEntityNbtForSaving (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getHighestSectionPosition ()I Returns the topmost ExtendedBlockStorage instance for this Chunk that actually contains a block.
method: getOrCreateHeightmapUnprimed (Lnet/minecraft/world/level/levelgen/Heightmap$Types;)Lnet/minecraft/world/level/levelgen/Heightmap; params: 1: type method: getOrCreateOffsetList ([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList; params: 0: packedPositions, 1: index method: getPos ()Lnet/minecraft/world/level/ChunkPos; Gets a {@link ChunkPos} representing the x and z coordinates of this chunk.
method: isYSpaceEmpty (II)Z params: 1: startY, 2: endY Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
method: markPosForPostprocessing (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: removeBlockEntity (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: setAllStarts (Ljava/util/Map;)V params: 1: structureStarts method: setBlockEntityNbt (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setBlockState (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 2: state, 3: isMoving method: setHeightmap (Lnet/minecraft/world/level/levelgen/Heightmap$Types;[J)V params: 1: type, 2: data method: setInhabitedTime (J)V params: 1: newInhabitedTime method: setLightCorrect (Z)V params: 1: lightCorrect method: setUnsaved class: ChunkBiomeContainer path: net/minecraft/world/level/chunk/ChunkBiomeContainer method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z class: ChunkGenerator path: net/minecraft/world/level/chunk/ChunkGenerator method: <init> (Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/levelgen/StructureSettings;J)V params: 1: biomeSource, 2: runtimeSource, 3: settings, 4: strongholdSeed method: <init> (Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/levelgen/StructureSettings;)V params: 1: biomeSource, 2: settings method: applyBiomeDecoration (Lnet/minecraft/server/level/WorldGenRegion;Lnet/minecraft/world/level/StructureFeatureManager;)V params: 1: region, 2: structureManager method: applyCarvers (JLnet/minecraft/world/level/biome/BiomeManager;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)V params: 1: seed, 3: biomeManager, 4: chunk, 5: carving method: buildSurfaceAndBedrock (Lnet/minecraft/server/level/WorldGenRegion;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: level, 2: chunk Generate the SURFACE part of a chunk
method: createBiomes (Lnet/minecraft/core/Registry;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: biomes, 2: chunk method: createReferences (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: level, 2: structureManager, 3: chunk method: createStructures (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;J)V params: 1: registry, 2: structureManager, 3: chunk, 4: templateManager, 5: seed method: findNearestMapFeature (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/core/BlockPos;IZ)Lnet/minecraft/core/BlockPos; params: 1: level, 2: structure, 3: pos, 4: searchRadius, 5: skipKnownStructures method: hasStronghold (Lnet/minecraft/world/level/ChunkPos;)Z params: 1: pos method: spawnOriginalMobs (Lnet/minecraft/server/level/WorldGenRegion;)V params: 1: region method: withSeed (J)Lnet/minecraft/world/level/chunk/ChunkGenerator; params: 1: seed class: ChunkSource path: net/minecraft/world/level/chunk/ChunkSource method: gatherStats ()Ljava/lang/String; Converts the instance data to a readable string.
method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;Z)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: chunkX, 2: chunkZ, 3: requiredStatus, 4: load method: getChunk (IIZ)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkX, 2: chunkZ, 3: load method: getChunkForLighting (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getChunkNow (II)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkX, 2: chunkZ method: hasChunk (II)Z params: 1: x, 2: z Checks to see if a chunk exists at x, z
method: setSpawnSettings (ZZ)V params: 1: hostile, 2: peaceful method: updateChunkForced (Lnet/minecraft/world/level/ChunkPos;Z)V params: 1: pos, 2: add class: ChunkStatus path: net/minecraft/world/level/chunk/ChunkStatus method: <init> (Ljava/lang/String;Lnet/minecraft/world/level/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/level/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/level/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/level/chunk/ChunkStatus$LoadingTask;)V params: 1: name, 2: parent, 3: range, 4: heightmapsAfter, 5: chunkType, 6: generationTask, 7: loadingTask method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/chunk/ChunkStatus; params: 0: location method: getDistance (Lnet/minecraft/world/level/chunk/ChunkStatus;)I params: 0: status method: getRange ()I Distance in chunks between the edge of the center chunk and the edge of the chunk region needed for the task. The task will only affect the center chunk, only reading from the chunks in the margin.
method: isLighted (Lnet/minecraft/world/level/chunk/ChunkStatus;Lnet/minecraft/world/level/chunk/ChunkAccess;)Z params: 0: status, 1: chunk method: isOrAfter (Lnet/minecraft/world/level/chunk/ChunkStatus;)Z params: 1: status method: lightChunk (Lnet/minecraft/world/level/chunk/ChunkStatus;Lnet/minecraft/server/level/ThreadedLevelLightEngine;Lnet/minecraft/world/level/chunk/ChunkAccess;)Ljava/util/concurrent/CompletableFuture; params: 0: status, 1: lightEngine, 2: chunk method: load (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/server/level/ThreadedLevelLightEngine;Ljava/util/function/Function;Lnet/minecraft/world/level/chunk/ChunkAccess;)Ljava/util/concurrent/CompletableFuture; params: 1: level, 2: templateManager, 3: lightEngine, 4: loadingFunction, 5: loadingChunk method: register (Ljava/lang/String;Lnet/minecraft/world/level/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/level/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/level/chunk/ChunkStatus$GenerationTask;)Lnet/minecraft/world/level/chunk/ChunkStatus; params: 0: key, 1: parent, 2: taskRange, 3: heightmaps, 4: type, 5: generationWorker method: register (Ljava/lang/String;Lnet/minecraft/world/level/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/level/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/level/chunk/ChunkStatus$GenerationTask;Lnet/minecraft/world/level/chunk/ChunkStatus$LoadingTask;)Lnet/minecraft/world/level/chunk/ChunkStatus; params: 0: key, 1: parent, 2: taskRange, 3: heightmaps, 4: type, 5: generationWorker, 6: loadingWorker method: registerSimple (Ljava/lang/String;Lnet/minecraft/world/level/chunk/ChunkStatus;ILjava/util/EnumSet;Lnet/minecraft/world/level/chunk/ChunkStatus$ChunkType;Lnet/minecraft/world/level/chunk/ChunkStatus$SimpleGenerationTask;)Lnet/minecraft/world/level/chunk/ChunkStatus; params: 0: key, 1: parent, 2: taskRange, 3: heightmaps, 4: type, 5: generationWorker class: ChunkStatus$LoadingTask path: net/minecraft/world/level/chunk/ChunkStatus$LoadingTask method: doWork (Lnet/minecraft/world/level/chunk/ChunkStatus;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/server/level/ThreadedLevelLightEngine;Ljava/util/function/Function;Lnet/minecraft/world/level/chunk/ChunkAccess;)Ljava/util/concurrent/CompletableFuture; params: 1: status, 2: level, 3: structureManager, 4: lightEngine, 5: loadingFunction, 6: loadingChunk class: DataLayer path: net/minecraft/world/level/chunk/DataLayer method: <init> method: <init> method: get method: get (III)I params: 1: x, 2: y, 3: z Returns the nibble of data corresponding to the passed in x, y, z. y is at most 6 bits, z is at most 4.
method: getIndex (III)I params: 1: x, 2: y, 3: z method: getPosition method: isFirst method: set (II)V params: 1: index, 2: value method: set (IIII)V params: 1: x, 2: y, 3: z, 4: value Arguments are x, y, z, val. Sets the nibble of data at x << 11 | z << 7 | y to val.
class: EmptyLevelChunk path: net/minecraft/world/level/chunk/EmptyLevelChunk method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/ChunkPos;)V params: 1: level, 2: pos method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Adds an entity to the chunk.
method: getBlockEntity (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/LevelChunk$EntityCreationType;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos, 2: creationMode method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getLightEmission (Lnet/minecraft/core/BlockPos;)I params: 1: pos method: isYSpaceEmpty (II)Z params: 1: startY, 2: endY Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
method: markUnsaved ()V Sets the isModified flag for this Chunk
method: removeBlockEntity (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: setBlockState (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 2: state, 3: isMoving class: FeatureAccess path: net/minecraft/world/level/chunk/FeatureAccess method: addReferenceForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;J)V params: 1: structure, 2: chunkValue method: getReferencesForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet; params: 1: structure method: getStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; params: 1: structure method: setAllReferences (Ljava/util/Map;)V params: 1: structureReferences method: setStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/structure/StructureStart;)V params: 1: structure, 2: start class: GlobalPalette path: net/minecraft/world/level/chunk/GlobalPalette method: <init> (Lnet/minecraft/core/IdMapper;Ljava/lang/Object;)V params: 1: registry, 2: defaultValue method: idFor (Ljava/lang/Object;)I params: 1: state method: maybeHas (Ljava/util/function/Predicate;)Z params: 1: filter method: read (Lnet/minecraft/nbt/ListTag;)V params: 1: nbt method: read (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf method: valueFor (I)Ljava/lang/Object; params: 1: indexKey Gets the block state by the palette id.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: HashMapPalette path: net/minecraft/world/level/chunk/HashMapPalette method: <init> (Lnet/minecraft/core/IdMapper;ILnet/minecraft/world/level/chunk/PaletteResize;Ljava/util/function/Function;Ljava/util/function/Function;)V params: 1: registry, 2: size, 3: resizeHandler, 4: reader, 5: writer method: idFor (Ljava/lang/Object;)I params: 1: state method: maybeHas (Ljava/util/function/Predicate;)Z params: 1: filter method: read (Lnet/minecraft/nbt/ListTag;)V params: 1: nbt method: read (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf method: valueFor (I)Ljava/lang/Object; params: 1: indexKey Gets the block state by the palette id.
method: write (Lnet/minecraft/nbt/ListTag;)V params: 1: paletteList method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: ImposterProtoChunk path: net/minecraft/world/level/chunk/ImposterProtoChunk method: <init> (Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: wrapped method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Adds an entity to the chunk.
method: addReferenceForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;J)V params: 1: structure, 2: chunkValue method: fixType (Lnet/minecraft/world/level/levelgen/Heightmap$Types;)Lnet/minecraft/world/level/levelgen/Heightmap$Types; params: 1: types method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockEntityNbt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockEntityNbtForSaving (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getCarvingMask (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)Ljava/util/BitSet; params: 1: type method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getOrCreateCarvingMask (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)Ljava/util/BitSet; params: 1: type method: getPos ()Lnet/minecraft/world/level/ChunkPos; Gets a {@link ChunkPos} representing the x and z coordinates of this chunk.
method: getReferencesForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet; params: 1: structure method: getStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; params: 1: structure method: markPosForPostprocessing (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: removeBlockEntity (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: setAllReferences (Ljava/util/Map;)V params: 1: structureReferences method: setAllStarts (Ljava/util/Map;)V params: 1: structureStarts method: setBiomes (Lnet/minecraft/world/level/chunk/ChunkBiomeContainer;)V params: 1: biomes method: setBlockEntityNbt (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setBlockState (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 2: state, 3: isMoving method: setHeightmap (Lnet/minecraft/world/level/levelgen/Heightmap$Types;[J)V params: 1: type, 2: data method: setLightCorrect (Z)V params: 1: lightCorrect method: setStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/structure/StructureStart;)V params: 1: structure, 2: start method: setStatus (Lnet/minecraft/world/level/chunk/ChunkStatus;)V params: 1: status method: setUnsaved class: LevelChunk path: net/minecraft/world/level/chunk/LevelChunk field: blockEntities Ljava/util/Map; A Map of ChunkPositions to TileEntities in this chunk
field: inhabitedTime J the cumulative number of ticks players have been in this chunk
method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/ChunkBiomeContainer;)V params: 1: level, 2: pos, 3: biomes method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/chunk/ChunkBiomeContainer;Lnet/minecraft/world/level/chunk/UpgradeData;Lnet/minecraft/world/level/TickList;Lnet/minecraft/world/level/TickList;J[Lnet/minecraft/world/level/chunk/LevelChunkSection;Ljava/util/function/Consumer;)V params: 1: level, 2: pos, 3: biomes, 4: data, 5: blockTicks, 6: liquidTicks, 7: inhabitedTime, 9: sections, 10: postLoad method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Adds an entity to the chunk.
method: addReferenceForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;J)V params: 1: structure, 2: chunkValue method: createBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockEntity (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/LevelChunk$EntityCreationType;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos, 2: creationMode method: getBlockEntityNbt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockEntityNbtForSaving (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getFluidState (III)Lnet/minecraft/world/level/material/FluidState; params: 1: bx, 2: by, 3: bz method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getOrCreateHeightmapUnprimed (Lnet/minecraft/world/level/levelgen/Heightmap$Types;)Lnet/minecraft/world/level/levelgen/Heightmap; params: 1: type method: getPos ()Lnet/minecraft/world/level/ChunkPos; Gets a {@link ChunkPos} representing the x and z coordinates of this chunk.
method: getReferencesForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet; params: 1: structure method: getStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; params: 1: structure method: markUnsaved ()V Sets the isModified flag for this Chunk
method: packTicks (Lnet/minecraft/server/level/ServerLevel;)V params: 1: serverLevel Remove scheduled ticks belonging to this chunk from the world and keep it locally for incoming serialization
method: promotePendingBlockEntity (Lnet/minecraft/core/BlockPos;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos, 2: compound Sets up or deserializes a {@link TileEntity} at the desired location from the given compound. If the compound's TileEntity id is {@code "DUMMY"}, the TileEntity may be created by the {@link ITileProvider} instance if the {@link Block} at the given position is in fact a provider. Otherwise, the TileEntity is deserialized at the given position.
method: removeBlockEntity (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: setAllReferences (Ljava/util/Map;)V params: 1: structureReferences method: setAllStarts (Ljava/util/Map;)V params: 1: structureStarts method: setBlockEntityNbt (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setBlockState (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 2: state, 3: isMoving method: setFullStatus (Ljava/util/function/Supplier;)V params: 1: locationType method: setHeightmap (Lnet/minecraft/world/level/levelgen/Heightmap$Types;[J)V params: 1: type, 2: data method: setInhabitedTime (J)V params: 1: newInhabitedTime method: setLightCorrect (Z)V params: 1: lightCorrect method: setLoaded method: setStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/structure/StructureStart;)V params: 1: structure, 2: start method: setUnsaved method: unpackTicks ()V Reschedule all serialized scheduled ticks this chunk had
class: LevelChunkSection path: net/minecraft/world/level/chunk/LevelChunkSection method: <init> (ISSS)V params: 1: y, 2: nonEmptyBlockCount, 3: tickingBlockCount, 4: tickingFluidCount method: bottomBlockY ()I Gets the y coordinate that this chunk section starts at (which is a multiple of 16). To get the y number, use <code>section.getYLocation() >> 4</code>. Note that there is a section below the world for lighting purposes.
method: getBlockState (III)Lnet/minecraft/world/level/block/state/BlockState; params: 1: x, 2: y, 3: z method: getFluidState (III)Lnet/minecraft/world/level/material/FluidState; params: 1: x, 2: y, 3: z method: isEmpty ()Z Returns whether or not this block storage's Chunk is fully empty, based on its internal reference count.
method: isEmpty (Lnet/minecraft/world/level/chunk/LevelChunkSection;)Z params: 0: section method: isRandomlyTickingBlocks ()Z Returns whether or not this block storage's Chunk will require random ticking, used to avoid looping through random block ticks when there are no blocks that would randomly tick.
method: maybeHas (Ljava/util/function/Predicate;)Z params: 1: predicate method: read (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: packetBuffer method: setBlockState (IIILnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: x, 2: y, 3: z, 4: blockState method: setBlockState (IIILnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: x, 2: y, 3: z, 4: state, 5: useLocks method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: packetBuffer class: LightChunkGetter path: net/minecraft/world/level/chunk/LightChunkGetter method: getChunkForLighting (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: onLightUpdate (Lnet/minecraft/world/level/LightLayer;Lnet/minecraft/core/SectionPos;)V params: 1: type, 2: pos class: LinearPalette path: net/minecraft/world/level/chunk/LinearPalette method: <init> (Lnet/minecraft/core/IdMapper;ILnet/minecraft/world/level/chunk/PaletteResize;Ljava/util/function/Function;)V params: 1: registry, 2: bits, 3: resizeHandler, 4: reader method: idFor (Ljava/lang/Object;)I params: 1: state method: maybeHas (Ljava/util/function/Predicate;)Z params: 1: filter method: read (Lnet/minecraft/nbt/ListTag;)V params: 1: nbt method: read (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf method: valueFor (I)Ljava/lang/Object; params: 1: indexKey Gets the block state by the palette id.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: OldDataLayer path: net/minecraft/world/level/chunk/OldDataLayer method: <init> ([BI)V params: 1: data, 2: depthBits method: get (III)I params: 1: x, 2: y, 3: z class: Palette path: net/minecraft/world/level/chunk/Palette method: idFor (Ljava/lang/Object;)I params: 1: state method: maybeHas (Ljava/util/function/Predicate;)Z params: 1: filter method: read (Lnet/minecraft/nbt/ListTag;)V params: 1: nbt method: read (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf method: valueFor (I)Ljava/lang/Object; params: 1: indexKey Gets the block state by the palette id.
method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: PaletteResize path: net/minecraft/world/level/chunk/PaletteResize method: onResize (ILjava/lang/Object;)I params: 1: bits class: PalettedContainer path: net/minecraft/world/level/chunk/PalettedContainer method: <init> (Lnet/minecraft/world/level/chunk/Palette;Lnet/minecraft/core/IdMapper;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/lang/Object;)V params: 1: globalPalette, 2: registry, 3: reader, 4: writer, 5: defaultValue method: count (Lnet/minecraft/world/level/chunk/PalettedContainer$CountConsumer;)V params: 1: countConsumer method: get (I)Ljava/lang/Object; params: 1: index method: get (III)Ljava/lang/Object; params: 1: x, 2: y, 3: z method: getAndSet (IIILjava/lang/Object;)Ljava/lang/Object; params: 1: x, 2: y, 3: z, 4: state method: getAndSet (ILjava/lang/Object;)Ljava/lang/Object; params: 1: index, 2: state method: getAndSetUnchecked (IIILjava/lang/Object;)Ljava/lang/Object; params: 1: x, 2: y, 3: z, 4: state method: getIndex (III)I params: 0: x, 1: y, 2: z method: onResize (ILjava/lang/Object;)I params: 1: bits method: read (Lnet/minecraft/nbt/ListTag;[J)V params: 1: paletteNbt, 2: data method: read (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf method: set (ILjava/lang/Object;)V params: 1: index, 2: state method: setBits method: write (Lnet/minecraft/nbt/CompoundTag;Ljava/lang/String;Ljava/lang/String;)V params: 1: compound, 2: paletteName, 3: paletteDataName method: write (Lnet/minecraft/network/FriendlyByteBuf;)V params: 1: buf class: ProtoChunk path: net/minecraft/world/level/chunk/ProtoChunk method: addEntity (Lnet/minecraft/nbt/CompoundTag;)V params: 1: entityCompound method: addEntity (Lnet/minecraft/world/entity/Entity;)V params: 1: entity Adds an entity to the chunk.
method: addLight (Lnet/minecraft/core/BlockPos;)V params: 1: lightPos method: addLight (SI)V params: 1: packedPosition, 2: lightValue method: addPackedPostProcess (SI)V params: 1: packedPosition, 2: index method: addReferenceForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;J)V params: 1: structure, 2: chunkValue method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockEntityNbt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockEntityNbtForSaving (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: pos method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getCarvingMask (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)Ljava/util/BitSet; params: 1: type method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getOrCreateCarvingMask (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)Ljava/util/BitSet; params: 1: type method: getOrCreateHeightmapUnprimed (Lnet/minecraft/world/level/levelgen/Heightmap$Types;)Lnet/minecraft/world/level/levelgen/Heightmap; params: 1: type method: getPos ()Lnet/minecraft/world/level/ChunkPos; Gets a {@link ChunkPos} representing the x and z coordinates of this chunk.
method: getReferencesForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lit/unimi/dsi/fastutil/longs/LongSet; params: 1: structure method: getStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; params: 1: structure method: markPosForPostprocessing (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: packOffsetCoordinates (Lnet/minecraft/core/BlockPos;)S params: 0: pos method: removeBlockEntity (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: setAllReferences (Ljava/util/Map;)V params: 1: structureReferences method: setAllStarts (Ljava/util/Map;)V params: 1: structureStarts method: setBiomes (Lnet/minecraft/world/level/chunk/ChunkBiomeContainer;)V params: 1: biomes method: setBlockEntityNbt (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setBlockState (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 2: state, 3: isMoving method: setCarvingMask (Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;Ljava/util/BitSet;)V params: 1: type, 2: mask method: setHeightmap (Lnet/minecraft/world/level/levelgen/Heightmap$Types;[J)V params: 1: type, 2: data method: setInhabitedTime (J)V params: 1: newInhabitedTime method: setLightCorrect (Z)V params: 1: lightCorrect method: setLightEngine (Lnet/minecraft/world/level/lighting/LevelLightEngine;)V params: 1: lightManager method: setStartForFeature (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/structure/StructureStart;)V params: 1: structure, 2: start method: setStatus (Lnet/minecraft/world/level/chunk/ChunkStatus;)V params: 1: status method: setUnsaved method: unpackOffsetCoordinates (SILnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/core/BlockPos; params: 0: packedPos, 1: yOffset, 2: chunkPos class: ProtoTickList path: net/minecraft/world/level/chunk/ProtoTickList method: copyOut (Lnet/minecraft/world/level/TickList;Ljava/util/function/Function;)V params: 1: tickList, 2: func method: hasScheduledTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: item method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: item, 3: scheduledTime, 4: priority method: willTickThisTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: obj Checks if this position/item is scheduled to be updated this tick
class: UpgradeData path: net/minecraft/world/level/chunk/UpgradeData method: updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: state, 1: direction, 2: level, 3: pos, 4: offsetPos method: upgrade (Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: chunk method: upgradeInside (Lnet/minecraft/world/level/chunk/LevelChunk;)V params: 1: chunk method: upgradeSides (Lnet/minecraft/world/level/chunk/LevelChunk;Lnet/minecraft/core/Direction8;)V params: 0: chunk class: UpgradeData$BlockFixer path: net/minecraft/world/level/chunk/UpgradeData$BlockFixer method: processChunk (Lnet/minecraft/world/level/LevelAccessor;)V params: 1: level class: UpgradeData$BlockFixers path: net/minecraft/world/level/chunk/UpgradeData$BlockFixers method: <init> (Ljava/lang/String;IZ[Lnet/minecraft/world/level/block/Block;)V params: 4: blocks method: <init> (Ljava/lang/String;I[Lnet/minecraft/world/level/block/Block;)V params: 3: blocks dimension end class: DragonRespawnAnimation path: net/minecraft/world/level/dimension/end/DragonRespawnAnimation method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/dimension/end/EndDragonFight;Ljava/util/List;ILnet/minecraft/core/BlockPos;)V params: 1: level, 2: manager, 3: crystals, 4: ticks, 5: pos class: DragonRespawnAnimation$1 path: net/minecraft/world/level/dimension/end/DragonRespawnAnimation$1 method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/dimension/end/EndDragonFight;Ljava/util/List;ILnet/minecraft/core/BlockPos;)V params: 1: level, 2: manager, 3: crystals, 4: ticks, 5: pos class: DragonRespawnAnimation$2 path: net/minecraft/world/level/dimension/end/DragonRespawnAnimation$2 method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/dimension/end/EndDragonFight;Ljava/util/List;ILnet/minecraft/core/BlockPos;)V params: 1: level, 2: manager, 3: crystals, 4: ticks, 5: pos class: DragonRespawnAnimation$3 path: net/minecraft/world/level/dimension/end/DragonRespawnAnimation$3 method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/dimension/end/EndDragonFight;Ljava/util/List;ILnet/minecraft/core/BlockPos;)V params: 1: level, 2: manager, 3: crystals, 4: ticks, 5: pos class: DragonRespawnAnimation$4 path: net/minecraft/world/level/dimension/end/DragonRespawnAnimation$4 method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/dimension/end/EndDragonFight;Ljava/util/List;ILnet/minecraft/core/BlockPos;)V params: 1: level, 2: manager, 3: crystals, 4: ticks, 5: pos class: DragonRespawnAnimation$5 path: net/minecraft/world/level/dimension/end/DragonRespawnAnimation$5 method: tick (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/dimension/end/EndDragonFight;Ljava/util/List;ILnet/minecraft/core/BlockPos;)V params: 1: level, 2: manager, 3: crystals, 4: ticks, 5: pos class: EndDragonFight path: net/minecraft/world/level/dimension/end/EndDragonFight method: <init> (Lnet/minecraft/server/level/ServerLevel;JLnet/minecraft/nbt/CompoundTag;)V params: 1: level, 2: seed, 4: tag method: onCrystalDestroyed (Lnet/minecraft/world/entity/boss/enderdragon/EndCrystal;Lnet/minecraft/world/damagesource/DamageSource;)V params: 1: crystal, 2: dmgSrc method: respawnDragon (Ljava/util/List;)V params: 1: crystals method: setDragonKilled (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;)V params: 1: dragon method: setRespawnStage (Lnet/minecraft/world/level/dimension/end/DragonRespawnAnimation;)V params: 1: state method: spawnExitPortal method: spawnNewGateway (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: updateDragon (Lnet/minecraft/world/entity/boss/enderdragon/EnderDragon;)V params: 1: dragon class: DimensionType path: net/minecraft/world/level/dimension/DimensionType method: brightness method: defaultDimensions (Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;J)Lnet/minecraft/core/MappedRegistry; params: 0: lookUpRegistryDimensionType, 1: lookUpRegistryBiome, 2: lookUpRegistryDimensionSettings, 3: seed method: defaultEndGenerator (Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;J)Lnet/minecraft/world/level/chunk/ChunkGenerator; params: 0: lookUpRegistryBiome, 1: settingsRegistry, 2: seed method: defaultNetherGenerator (Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;J)Lnet/minecraft/world/level/chunk/ChunkGenerator; params: 0: lookUpRegistryBiome, 1: lookUpRegistryDimensionType, 2: seed method: equalTo (Lnet/minecraft/world/level/dimension/DimensionType;)Z params: 1: type method: fillBrightnessRamp method: getStorageFolder (Lnet/minecraft/resources/ResourceKey;Ljava/io/File;)Ljava/io/File; params: 0: dimensionKey, 1: levelFolder method: getTeleportationScale (Lnet/minecraft/world/level/dimension/DimensionType;Lnet/minecraft/world/level/dimension/DimensionType;)D params: 0: firstType, 1: secondType method: moonPhase method: parseLegacy (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/DataResult; params: 0: dynamic method: registerBuiltin (Lnet/minecraft/core/RegistryAccess$RegistryHolder;)Lnet/minecraft/core/RegistryAccess$RegistryHolder; params: 0: impl method: timeOfDay class: LevelStem path: net/minecraft/world/level/dimension/LevelStem method: <init> (Ljava/util/function/Supplier;Lnet/minecraft/world/level/chunk/ChunkGenerator;)V params: 1: type, 2: generator method: sortMap (Lnet/minecraft/core/MappedRegistry;)Lnet/minecraft/core/MappedRegistry; params: 0: mappedRegistry method: stable (JLnet/minecraft/core/MappedRegistry;)Z params: 0: seed, 2: mappedRegistry levelgen carver class: CanyonWorldCarver path: net/minecraft/world/level/levelgen/carver/CanyonWorldCarver A carver responsible for creating ravines, or canyons.
class: CaveWorldCarver path: net/minecraft/world/level/levelgen/carver/CaveWorldCarver A carver which creates Minecraft's most common cave types.
method: getThickness (Ljava/util/Random;)F params: 1: random class: ConfiguredWorldCarver path: net/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver method: <init> (Lnet/minecraft/world/level/levelgen/carver/WorldCarver;Lnet/minecraft/world/level/levelgen/carver/CarverConfiguration;)V params: 1: worldCarver, 2: config class: WorldCarver path: net/minecraft/world/level/levelgen/carver/WorldCarver method: canReplaceBlock (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: canReplaceBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state, 2: aboveState method: configured (Lnet/minecraft/world/level/levelgen/carver/CarverConfiguration;)Lnet/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver; params: 1: config method: isEdge (IIIIII)Z params: 1: minX, 2: maxX, 3: minZ, 4: maxZ, 5: x, 6: z method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/carver/WorldCarver;)Lnet/minecraft/world/level/levelgen/carver/WorldCarver; params: 0: key, 1: carver feature blockplacers class: BlockPlacer path: net/minecraft/world/level/levelgen/feature/blockplacers/BlockPlacer method: place (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random class: BlockPlacerType path: net/minecraft/world/level/levelgen/feature/blockplacers/BlockPlacerType method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/blockplacers/BlockPlacerType; params: 0: name, 1: codec class: ColumnPlacer path: net/minecraft/world/level/levelgen/feature/blockplacers/ColumnPlacer method: place (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random class: DoublePlantPlacer path: net/minecraft/world/level/levelgen/feature/blockplacers/DoublePlantPlacer method: place (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random class: SimpleBlockPlacer path: net/minecraft/world/level/levelgen/feature/blockplacers/SimpleBlockPlacer method: place (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random configurations class: BlockPileConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/BlockPileConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;)V params: 1: stateProvider class: BlockStateConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/BlockStateConfiguration method: <init> (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: state class: CountConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/CountConfiguration method: <init> class: DecoratedFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/DecoratedFeatureConfiguration method: <init> (Ljava/util/function/Supplier;Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator;)V params: 1: feature, 2: decorator class: EndGatewayConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/EndGatewayConfiguration method: <init> (Ljava/util/Optional;Z)V params: 1: exit, 2: exact method: knownExit (Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/level/levelgen/feature/configurations/EndGatewayConfiguration; params: 0: exit, 1: exact class: HugeMushroomFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/HugeMushroomFeatureConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;I)V params: 1: capProvider, 2: stemProvider, 3: foliageRadius class: JigsawConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/JigsawConfiguration method: <init> (Ljava/util/function/Supplier;I)V params: 1: startPool, 2: maxDepth class: LayerConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/LayerConfiguration method: <init> (ILnet/minecraft/world/level/block/state/BlockState;)V params: 1: height, 2: state class: MineshaftConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/MineshaftConfiguration method: <init> (FLnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type;)V params: 1: probability, 2: type class: NoiseDependantDecoratorConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/NoiseDependantDecoratorConfiguration method: <init> (DII)V params: 1: noiseLevel, 3: belowNoise, 4: aboveNoise class: OceanRuinConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/OceanRuinConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/structure/OceanRuinFeature$Type;FF)V params: 1: biomeTemp, 2: largeProbability, 3: clusterProbability class: OreConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/OreConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/block/state/BlockState;I)V params: 1: target, 2: state, 3: size class: ProbabilityFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/ProbabilityFeatureConfiguration method: <init> (F)V params: 1: probability class: RandomBooleanFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/RandomBooleanFeatureConfiguration method: <init> (Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V params: 1: featureTrue, 2: featureFalse class: RandomFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/RandomFeatureConfiguration method: <init> (Ljava/util/List;Ljava/util/function/Supplier;)V params: 1: features, 2: defaultFeature method: <init> (Ljava/util/List;Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature;)V params: 1: features, 2: defaultFeature method: lambda$getFeatures$4 (Lnet/minecraft/world/level/levelgen/feature/WeightedConfiguredFeature;)Ljava/util/stream/Stream; params: 0: configuredFeature class: RandomPatchConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;Lnet/minecraft/world/level/levelgen/feature/blockplacers/BlockPlacer;Ljava/util/List;Ljava/util/List;IIIIZZZ)V params: 1: stateProvider, 2: blockPlacer, 3: whitelist, 4: blacklist, 5: tries, 6: xspread, 7: yspread, 8: zspread, 9: canReplace, 10: project, 11: needWater method: <init> (Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;Lnet/minecraft/world/level/levelgen/feature/blockplacers/BlockPlacer;Ljava/util/Set;Ljava/util/Set;IIIIZZZ)V params: 1: stateProvider, 2: blockPlacer, 3: whitelist, 4: blacklist, 5: tries, 6: xspread, 7: yspread, 8: zspread, 9: canReplace, 10: project, 11: needWater class: RandomPatchConfiguration$GrassConfigurationBuilder path: net/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder method: <init> (Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;Lnet/minecraft/world/level/levelgen/feature/blockplacers/BlockPlacer;)V params: 1: stateProvider, 2: blockPlacer method: blacklist (Ljava/util/Set;)Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder; params: 1: blacklist method: tries (I)Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder; params: 1: tries method: whitelist (Ljava/util/Set;)Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder; params: 1: whitelist method: xspread (I)Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder; params: 1: xSpread method: yspread (I)Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder; params: 1: ySpread method: zspread (I)Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration$GrassConfigurationBuilder; params: 1: zSpread class: ReplaceBlockConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/ReplaceBlockConfiguration method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: targetState, 2: state class: RuinedPortalConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/RuinedPortalConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/feature/RuinedPortalFeature$Type;)V params: 1: portalType class: ShipwreckConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/ShipwreckConfiguration method: <init> class: SimpleRandomFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/SimpleRandomFeatureConfiguration method: <init> (Ljava/util/List;)V params: 1: features class: SpikeConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/SpikeConfiguration method: <init> (ZLjava/util/List;Ljava/util/Optional;)V params: 1: crystalInvulnerable, 2: spikes, 3: crystalBeamTarget method: <init> (ZLjava/util/List;Lnet/minecraft/core/BlockPos;)V params: 1: crystalInvulnerable, 2: spikes, 3: crystalBeamTarget class: SpringConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/SpringConfiguration method: <init> (Lnet/minecraft/world/level/material/FluidState;ZIILjava/util/Set;)V params: 1: state, 2: requiresBlockBelow, 3: rockCount, 4: holeCount, 5: validBlocks class: StrongholdConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/StrongholdConfiguration method: <init> (III)V params: 1: distance, 2: spread, 3: count class: StructureFeatureConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/StructureFeatureConfiguration method: <init> (III)V params: 1: spacing, 2: separation, 3: salt class: TreeConfiguration path: net/minecraft/world/level/levelgen/feature/configurations/TreeConfiguration method: withDecorators (Ljava/util/List;)Lnet/minecraft/world/level/levelgen/feature/configurations/TreeConfiguration; params: 1: decorators class: TreeConfiguration$TreeConfigurationBuilder path: net/minecraft/world/level/levelgen/feature/configurations/TreeConfiguration$TreeConfigurationBuilder method: decorators (Ljava/util/List;)Lnet/minecraft/world/level/levelgen/feature/configurations/TreeConfiguration$TreeConfigurationBuilder; params: 1: decorators featuresize class: FeatureSize path: net/minecraft/world/level/levelgen/feature/featuresize/FeatureSize method: <init> (Ljava/util/OptionalInt;)V params: 1: minClippedHeight method: getSizeAtHeight (II)I params: 1: height, 2: midpoint class: FeatureSizeType path: net/minecraft/world/level/levelgen/feature/featuresize/FeatureSizeType method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/featuresize/FeatureSizeType; params: 0: name, 1: codec class: ThreeLayersFeatureSize path: net/minecraft/world/level/levelgen/feature/featuresize/ThreeLayersFeatureSize method: <init> (IIIIILjava/util/OptionalInt;)V params: 1: limit, 2: upperLimit, 3: lowerSize, 4: middleSize, 5: upperSize, 6: minClippedHeight method: getSizeAtHeight (II)I params: 1: height, 2: midpoint class: TwoLayersFeatureSize path: net/minecraft/world/level/levelgen/feature/featuresize/TwoLayersFeatureSize method: <init> (III)V params: 1: limit, 2: lowerSize, 3: upperSize method: <init> (IIILjava/util/OptionalInt;)V params: 1: limit, 2: lowerSize, 3: upperSize, 4: minClippedHeight method: getSizeAtHeight (II)I params: 1: height, 2: midpoint foliageplacers class: FoliagePlacer path: net/minecraft/world/level/levelgen/feature/foliageplacers/FoliagePlacer method: foliageHeight (Ljava/util/Random;ILnet/minecraft/world/level/levelgen/feature/configurations/TreeConfiguration;)I params: 1: random, 2: height, 3: config method: foliageRadius (Ljava/util/Random;I)I params: 1: random, 2: radius method: offset (Ljava/util/Random;)I params: 1: random method: shouldSkipLocation (Ljava/util/Random;IIIIZ)Z params: 1: random method: shouldSkipLocationSigned (Ljava/util/Random;IIIIZ)Z params: 1: random class: FoliagePlacer$FoliageAttachment path: net/minecraft/world/level/levelgen/feature/foliageplacers/FoliagePlacer$FoliageAttachment method: <init> (Lnet/minecraft/core/BlockPos;IZ)V params: 1: pos, 2: radiusOffset, 3: doubleTrunk class: FoliagePlacerType path: net/minecraft/world/level/levelgen/feature/foliageplacers/FoliagePlacerType method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/foliageplacers/FoliagePlacerType; params: 0: name, 1: codec stateproviders class: BlockStateProvider path: net/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider method: getState (Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: pos class: BlockStateProviderType path: net/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProviderType method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProviderType; params: 0: name, 1: codec class: ForestFlowerProvider path: net/minecraft/world/level/levelgen/feature/stateproviders/ForestFlowerProvider method: getState (Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: blockPos class: PlainFlowerProvider path: net/minecraft/world/level/levelgen/feature/stateproviders/PlainFlowerProvider method: getState (Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: blockPos class: RotatedBlockProvider path: net/minecraft/world/level/levelgen/feature/stateproviders/RotatedBlockProvider method: <init> (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: getState (Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: blockPos class: SimpleStateProvider path: net/minecraft/world/level/levelgen/feature/stateproviders/SimpleStateProvider method: <init> (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: state method: getState (Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: blockPos class: WeightedStateProvider path: net/minecraft/world/level/levelgen/feature/stateproviders/WeightedStateProvider method: getState (Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: blockPos structures class: EmptyPoolElement path: net/minecraft/world/level/levelgen/feature/structures/EmptyPoolElement method: getBoundingBox (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: templateManager, 2: pos, 3: rotation method: getShuffledJigsawBlocks (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/Random;)Ljava/util/List; params: 1: templateManager, 2: pos, 3: rotation, 4: random class: FeaturePoolElement path: net/minecraft/world/level/levelgen/feature/structures/FeaturePoolElement method: <init> (Ljava/util/function/Supplier;Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: feature, 2: projection method: getBoundingBox (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: templateManager, 2: pos, 3: rotation method: getShuffledJigsawBlocks (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/Random;)Ljava/util/List; params: 1: templateManager, 2: pos, 3: rotation, 4: random class: JigsawJunction path: net/minecraft/world/level/levelgen/feature/structures/JigsawJunction method: <init> (IIIILnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: sourceX, 2: sourceGroundY, 3: sourceZ, 4: deltaY, 5: destProjection method: equals (Ljava/lang/Object;)Z params: 1: other class: JigsawPlacement$PieceState path: net/minecraft/world/level/levelgen/feature/structures/JigsawPlacement$PieceState method: <init> (Lnet/minecraft/world/level/levelgen/structure/PoolElementStructurePiece;Lorg/apache/commons/lang3/mutable/MutableObject;II)V params: 1: piece, 2: free, 3: boundsTop, 4: depth class: JigsawPlacement$Placer path: net/minecraft/world/level/levelgen/feature/structures/JigsawPlacement$Placer method: <init> (Lnet/minecraft/core/Registry;ILnet/minecraft/world/level/levelgen/feature/structures/JigsawPlacement$PieceFactory;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Ljava/util/List;Ljava/util/Random;)V params: 1: pools, 2: maxDepth, 3: factory, 4: chunkGenerator, 5: structureManager, 6: pieces, 7: random class: ListPoolElement path: net/minecraft/world/level/levelgen/feature/structures/ListPoolElement method: <init> (Ljava/util/List;Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: elements, 2: projection method: getBoundingBox (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: templateManager, 2: pos, 3: rotation method: getShuffledJigsawBlocks (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/Random;)Ljava/util/List; params: 1: templateManager, 2: pos, 3: rotation, 4: random method: setProjection (Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)Lnet/minecraft/world/level/levelgen/feature/structures/StructurePoolElement; params: 1: decoratorBehaviour method: setProjectionOnEachElement (Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: projection class: SinglePoolElement path: net/minecraft/world/level/levelgen/feature/structures/SinglePoolElement method: <init> (Lcom/mojang/datafixers/util/Either;Ljava/util/function/Supplier;Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: template, 2: processors, 3: projection method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate;)V params: 1: template method: getBoundingBox (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: templateManager, 2: pos, 3: rotation method: getDataMarkers (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Z)Ljava/util/List; params: 1: structureManager, 2: pos, 3: rotation method: getSettings (Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Z)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: rotation, 2: boundingBox method: getShuffledJigsawBlocks (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/Random;)Ljava/util/List; params: 1: templateManager, 2: pos, 3: rotation, 4: random method: getTemplate (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate; params: 1: structureManager class: StructurePoolElement path: net/minecraft/world/level/levelgen/feature/structures/StructurePoolElement method: <init> (Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: projection method: getBoundingBox (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: templateManager, 2: pos, 3: rotation method: getShuffledJigsawBlocks (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/Random;)Ljava/util/List; params: 1: templateManager, 2: pos, 3: rotation, 4: random method: handleDataMarker (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: blockInfo, 3: pos, 4: rotation, 5: random method: setProjection (Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)Lnet/minecraft/world/level/levelgen/feature/structures/StructurePoolElement; params: 1: projection class: StructurePoolElementType path: net/minecraft/world/level/levelgen/feature/structures/StructurePoolElementType method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/structures/StructurePoolElementType; params: 0: name, 1: codec class: StructureTemplatePool path: net/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/util/List;)V params: 1: name, 2: fallback, 3: rawTemplates method: <init> (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/util/List;Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection;)V params: 1: name, 2: fallback method: getMaxSize (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;)I params: 1: templateManager method: getRandomTemplate (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/feature/structures/StructurePoolElement; params: 1: random method: getShuffledTemplates (Ljava/util/Random;)Ljava/util/List; params: 1: random class: StructureTemplatePool$Projection path: net/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection method: <init> (Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)V params: 3: name, 4: processors method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/feature/structures/StructureTemplatePool$Projection; params: 0: name treedecorators class: AlterGroundDecorator path: net/minecraft/world/level/levelgen/feature/treedecorators/AlterGroundDecorator method: <init> (Lnet/minecraft/world/level/levelgen/feature/stateproviders/BlockStateProvider;)V params: 1: provider class: BeehiveDecorator path: net/minecraft/world/level/levelgen/feature/treedecorators/BeehiveDecorator field: probability F Probability to generate a beehive
method: <init> (F)V params: 1: probability class: CocoaDecorator path: net/minecraft/world/level/levelgen/feature/treedecorators/CocoaDecorator method: <init> (F)V params: 1: probability class: TreeDecoratorType path: net/minecraft/world/level/levelgen/feature/treedecorators/TreeDecoratorType method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/treedecorators/TreeDecoratorType; params: 0: name, 1: codec trunkplacers class: FancyTrunkPlacer path: net/minecraft/world/level/levelgen/feature/trunkplacers/FancyTrunkPlacer method: getSteps (Lnet/minecraft/core/BlockPos;)I params: 1: pos class: FancyTrunkPlacer$FoliageCoords path: net/minecraft/world/level/levelgen/feature/trunkplacers/FancyTrunkPlacer$FoliageCoords method: <init> (Lnet/minecraft/core/BlockPos;I)V params: 1: pos, 2: branchBase class: TrunkPlacer path: net/minecraft/world/level/levelgen/feature/trunkplacers/TrunkPlacer method: <init> (III)V params: 1: baseHeight, 2: heightRandA, 3: heightRandB method: getTreeHeight (Ljava/util/Random;)I params: 1: random method: isDirt (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: trunkPlacerParts (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P3; params: 0: instance class: TrunkPlacerType path: net/minecraft/world/level/levelgen/feature/trunkplacers/TrunkPlacerType method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/feature/trunkplacers/TrunkPlacerType; params: 0: key, 1: codec class: AbstractFlowerFeature path: net/minecraft/world/level/levelgen/feature/AbstractFlowerFeature method: getCount (Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)I params: 1: config method: getPos (Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)Lnet/minecraft/core/BlockPos; params: 1: random, 2: pos, 3: config method: getRandomFlower (Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: pos, 3: config method: isValid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)Z params: 1: level, 2: pos, 3: config class: AbstractHugeMushroomFeature path: net/minecraft/world/level/levelgen/feature/AbstractHugeMushroomFeature method: getTreeHeight (Ljava/util/Random;)I params: 1: random method: getTreeRadiusForHeight (IIII)I params: 3: foliageRadius, 4: y method: isValidPosition (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;ILnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/HugeMushroomFeatureConfiguration;)Z params: 1: level, 2: pos, 3: maxHeight, 4: mutablePos, 5: config method: makeCap (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;ILnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/HugeMushroomFeatureConfiguration;)V params: 1: level, 2: random, 3: pos, 4: treeHeight, 5: mutablePos, 6: config method: placeTrunk (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/HugeMushroomFeatureConfiguration;ILnet/minecraft/core/BlockPos$MutableBlockPos;)V params: 1: level, 2: random, 3: pos, 4: config, 5: maxHeight, 6: mutablePos class: BasaltColumnsFeature path: net/minecraft/world/level/levelgen/feature/BasaltColumnsFeature method: canPlaceAt (Lnet/minecraft/world/level/LevelAccessor;ILnet/minecraft/core/BlockPos$MutableBlockPos;)Z params: 0: level, 1: seaLevel, 2: pos method: findAir (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos$MutableBlockPos;I)Lnet/minecraft/core/BlockPos; params: 0: level, 1: pos, 2: distance method: findSurface (Lnet/minecraft/world/level/LevelAccessor;ILnet/minecraft/core/BlockPos$MutableBlockPos;I)Lnet/minecraft/core/BlockPos; params: 0: level, 1: seaLevel, 2: pos, 3: distance method: isAirOrLavaOcean (Lnet/minecraft/world/level/LevelAccessor;ILnet/minecraft/core/BlockPos;)Z params: 0: level, 1: seaLevel, 2: pos method: placeColumn (Lnet/minecraft/world/level/LevelAccessor;ILnet/minecraft/core/BlockPos;II)Z params: 1: level, 2: seaLevel, 3: pos, 4: distance, 5: reach class: BasaltPillarFeature path: net/minecraft/world/level/levelgen/feature/BasaltPillarFeature method: placeBaseHangOff (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: random, 3: pos method: placeHangOff (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: random, 3: pos class: BlockPileFeature path: net/minecraft/world/level/levelgen/feature/BlockPileFeature method: mayPlaceOn (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 1: level, 2: pos, 3: random method: tryPlaceBlock (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/configurations/BlockPileConfiguration;)V params: 1: level, 2: pos, 3: random, 4: config class: ConfiguredFeature path: net/minecraft/world/level/levelgen/feature/ConfiguredFeature method: <init> (Lnet/minecraft/world/level/levelgen/feature/Feature;Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)V params: 1: feature, 2: config method: decorated (Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: decorator method: lambda$static$0 (Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature;)Lnet/minecraft/world/level/levelgen/feature/Feature; params: 0: configuredFeature method: place (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Z params: 1: reader, 2: chunkGenerator, 3: random, 4: pos method: weighted (F)Lnet/minecraft/world/level/levelgen/feature/WeightedConfiguredFeature; params: 1: chance class: ConfiguredStructureFeature path: net/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature method: <init> (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)V params: 1: feature, 2: config method: lambda$static$0 (Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature;)Lnet/minecraft/world/level/levelgen/feature/StructureFeature; params: 0: configuredStructureFeature class: CoralFeature path: net/minecraft/world/level/levelgen/feature/CoralFeature method: placeCoralBlock (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state method: placeFeature (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: random, 3: pos, 4: state class: DefaultFlowerFeature path: net/minecraft/world/level/levelgen/feature/DefaultFlowerFeature method: getCount (Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration;)I params: 1: config method: getPos (Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration;)Lnet/minecraft/core/BlockPos; params: 1: random, 2: pos, 3: config method: getRandomFlower (Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: pos, 3: confgi method: isValid (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/RandomPatchConfiguration;)Z params: 1: level, 2: pos, 3: config class: DeltaFeature path: net/minecraft/world/level/levelgen/feature/DeltaFeature method: isClear (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/DeltaFeatureConfiguration;)Z params: 0: level, 1: pos, 2: config class: EndGatewayFeature path: net/minecraft/world/level/levelgen/feature/EndGatewayFeature method: lambda$place$0 (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/EndGatewayConfiguration;Lnet/minecraft/core/BlockPos;)V params: 3: pos class: EndPodiumFeature path: net/minecraft/world/level/levelgen/feature/EndPodiumFeature method: <init> class: Feature path: net/minecraft/world/level/levelgen/feature/Feature method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: configured (Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: config method: isAir (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isGrassOrDirt (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: lambda$new$0 (Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature; params: 1: config method: lambda$new$1 (Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature;)Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration; params: 0: configuredFeature method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/feature/Feature;)Lnet/minecraft/world/level/levelgen/feature/Feature; params: 0: key, 1: value method: setBlock (Lnet/minecraft/world/level/LevelWriter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state class: HugeFungusConfiguration path: net/minecraft/world/level/levelgen/feature/HugeFungusConfiguration method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: validBaseState, 2: stemState, 3: hatState, 4: decorState, 5: planted class: HugeFungusFeature path: net/minecraft/world/level/levelgen/feature/HugeFungusFeature method: isReplaceable (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Z)Z params: 0: level, 1: pos, 2: replacePlants method: lambda$isReplaceable$0 (ZLnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: placeHat (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/HugeFungusConfiguration;Lnet/minecraft/core/BlockPos;IZ)V params: 1: level, 2: random, 3: config, 4: pos, 5: height, 6: doubleWide method: placeHatBlock (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/HugeFungusConfiguration;Lnet/minecraft/core/BlockPos$MutableBlockPos;FFF)V params: 1: level, 2: random, 3: config, 4: pos, 5: decorationChance, 6: hatChance, 7: weepingVineChance method: placeHatDropBlock (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: level, 2: random, 3: pos, 4: state, 5: weepingVines method: placeStem (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/HugeFungusConfiguration;Lnet/minecraft/core/BlockPos;IZ)V params: 1: level, 2: random, 3: config, 4: pos, 5: height, 6: doubleWide method: tryPlaceWeepingVines (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;)V params: 0: pos, 1: level, 2: random class: IcebergFeature path: net/minecraft/world/level/levelgen/feature/IcebergFeature This feature generates part of the icebergs found in frozen oceans.
Specifically, it generates tall, triangular prism icebergs, and "donut" or torus shaped icebergs.
Other icebergs are generated by the frozen ocean surface builder instead.
@see net.minecraft.world.level.levelgen.surfacebuilders.FrozenOceanSurfaceBuilder
method: belowIsAir (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: carve (IILnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelAccessor;ZDLnet/minecraft/core/BlockPos;II)V params: 1: radius, 2: localY, 3: pos, 4: level, 5: placeWater, 6: perpendicularAngle, 8: ellipseOrigin, 9: majorRadius, 10: minorRadius method: generateCutOut (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;IILnet/minecraft/core/BlockPos;ZIDI)V params: 1: random, 2: level, 3: majorAxis, 4: height, 5: pos, 6: elliptical, 7: ellipseRadius, 8: angle, 10: minorAxis method: generateIcebergBlock (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;IIIIIIZIDZLnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: random, 3: pos, 4: height, 5: localX, 6: localY, 7: localZ, 8: radius, 9: majorRadius, 10: elliptical, 11: minorRadius, 12: angle, 14: placeSnow, 15: state method: getEllipseC (III)I params: 1: y, 2: height, 3: minorAxis method: heightDependentRadiusEllipse (III)I params: 1: y, 2: height, 3: maxRadius Given a horizontal projection of an iceberg, defines the three dimensional extrusion by defining a radius at any given y value.
The radius curve is a parabolic function, resulting in more rounded iceberg peaks.
method: heightDependentRadiusRound (Ljava/util/Random;III)I params: 1: random, 2: y, 3: height, 4: majorAxis method: heightDependentRadiusSteep (Ljava/util/Random;III)I params: 1: random, 2: y, 3: height, 4: maxRadius Given a horizontal projection of an iceberg, defines the three dimensional extrusion by defining a radius at any given y value.
The radius curve is a linear function, with a slope that is both dependent on the {@code majorAxis} and randomly varies, which results in steep conical icebergs.
method: removeFloatingSnowLayer (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: setIcebergBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;IIZZLnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: level, 3: random, 4: heightRemaining, 5: height, 6: elliptical, 7: placeSnow, 8: state method: signedDistanceCircle (IILnet/minecraft/core/BlockPos;ILjava/util/Random;)D params: 1: x, 2: z, 3: center, 4: radius, 5: random method: signedDistanceEllipse (IILnet/minecraft/core/BlockPos;IID)D params: 1: x, 2: z, 3: center, 4: majorRadius, 5: minorRadius, 6: angle Given an ellipse defined by the equation {@code (x/a)^2 + (y/b)^2 = 1}, where {@code a} and {@code b} are the semi-major and semi-minor axies respectively, this computes the distance between an arbitrary point and the ellipse.
The point (x, y) is within the ellipse if the return value is < 0, outside the ellipse if the return value is > 0 and exactly on the edge of the ellipse if the return value is 0.
method: smooth (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;IIZI)V params: 1: level, 2: pos, 3: majorRadius, 4: height, 5: elliptical, 6: minorRadius Smooths out an iceberg by removing blocks which either have air below, or non-iceberg blocks on three or more horizontal sides, with air.
class: JigsawFeature path: net/minecraft/world/level/levelgen/feature/JigsawFeature method: <init> (Lcom/mojang/serialization/Codec;IZZ)V params: 1: codec, 2: startY, 3: doExpansionHack, 4: projectStartToHeightmap class: MineshaftFeature$Type path: net/minecraft/world/level/levelgen/feature/MineshaftFeature$Type method: byId (I)Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type; params: 0: id method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type; params: 0: name method: lambda$static$0 (Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type;)Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type; params: 0: type class: MonsterRoomFeature path: net/minecraft/world/level/levelgen/feature/MonsterRoomFeature method: randomEntityId (Ljava/util/Random;)Lnet/minecraft/world/entity/EntityType; params: 1: random class: NetherForestVegetationFeature path: net/minecraft/world/level/levelgen/feature/NetherForestVegetationFeature method: place (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/BlockPileConfiguration;II)Z params: 0: level, 1: random, 2: pos, 3: config, 4: horizontalRadius, 5: verticalRadius class: PillagerOutpostFeature path: net/minecraft/world/level/levelgen/feature/PillagerOutpostFeature field: OUTPOST_ENEMIES Ljava/util/List; List of enemies that can spawn in the Pillage Outpost.
class: ReplaceBlobsFeature path: net/minecraft/world/level/levelgen/feature/ReplaceBlobsFeature method: findTarget (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/core/BlockPos; params: 0: level, 1: topPos, 2: block class: RuinedPortalFeature path: net/minecraft/world/level/levelgen/feature/RuinedPortalFeature method: getRandomWithinInterval (Ljava/util/Random;II)I params: 0: random, 1: min, 2: max method: isCold (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/biome/Biome;)Z params: 0: pos, 1: biome class: RuinedPortalFeature$Type path: net/minecraft/world/level/levelgen/feature/RuinedPortalFeature$Type method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/feature/RuinedPortalFeature$Type; params: 0: name class: SpikeFeature path: net/minecraft/world/level/levelgen/feature/SpikeFeature method: getSpikesForLevel (Lnet/minecraft/world/level/WorldGenLevel;)Ljava/util/List; params: 0: level method: placeSpike (Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/configurations/SpikeConfiguration;Lnet/minecraft/world/level/levelgen/feature/SpikeFeature$EndSpike;)V params: 1: level, 2: random, 3: config, 4: spike Places the End Spike in the world. Also generates the obsidian tower.
class: SpikeFeature$EndSpike path: net/minecraft/world/level/levelgen/feature/SpikeFeature$EndSpike method: <init> (IIIIZ)V params: 1: centerX, 2: centerZ, 3: radius, 4: height, 5: guarded method: isCenterWithinChunk (Lnet/minecraft/core/BlockPos;)Z params: 1: pos class: StructureFeature path: net/minecraft/world/level/levelgen/feature/StructureFeature method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: configured (Lnet/minecraft/world/level/levelgen/feature/configurations/FeatureConfiguration;)Lnet/minecraft/world/level/levelgen/feature/ConfiguredStructureFeature; params: 1: config method: getNearestGeneratedFeature (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/core/BlockPos;IZJLnet/minecraft/world/level/levelgen/feature/configurations/StructureFeatureConfiguration;)Lnet/minecraft/core/BlockPos; params: 1: level, 2: structureManager, 3: pos, 4: searchRadius, 5: skipKnownStructures, 6: seed, 8: config method: getPotentialFeatureChunk (Lnet/minecraft/world/level/levelgen/feature/configurations/StructureFeatureConfiguration;JLnet/minecraft/world/level/levelgen/WorldgenRandom;II)Lnet/minecraft/world/level/ChunkPos; params: 1: separationSettings, 2: seed, 4: random, 5: x, 6: z method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/GenerationStep$Decoration;)Lnet/minecraft/world/level/levelgen/feature/StructureFeature; params: 0: name, 1: structure, 2: decorationStage class: StructurePieceType path: net/minecraft/world/level/levelgen/feature/StructurePieceType method: setPieceId (Lnet/minecraft/world/level/levelgen/feature/StructurePieceType;Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/feature/StructurePieceType; params: 0: type, 1: key class: TreeFeature path: net/minecraft/world/level/levelgen/feature/TreeFeature method: getMaxFreeTreeHeight (Lnet/minecraft/world/level/LevelSimulatedReader;ILnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/feature/configurations/TreeConfiguration;)I params: 1: level, 2: trunkHeight, 3: topPosition, 4: config method: isAirOrLeaves (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isBlockWater (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isFree (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isReplaceablePlant (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: isVine (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: lambda$isAirOrLeaves$3 (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: lambda$isBlockWater$2 (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: lambda$isFree$0 (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: lambda$isVine$1 (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state method: setBlock (Lnet/minecraft/world/level/LevelWriter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: setBlockKnownShape (Lnet/minecraft/world/level/LevelWriter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 0: level, 1: pos, 2: state method: updateLeaves (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Set;Ljava/util/Set;)Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape; params: 1: level, 2: boundingBox, 3: logPositions, 4: foliagePositions method: validTreePos (Lnet/minecraft/world/level/LevelSimulatedReader;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos class: TwistingVinesFeature path: net/minecraft/world/level/levelgen/feature/TwistingVinesFeature method: findFirstAirBlockAboveGround (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos$MutableBlockPos;)Z params: 0: level, 1: pos method: isInvalidPlacementLocation (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: pos method: place (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;III)Z params: 0: level, 1: random, 2: pos, 3: verticalOffset, 4: horizontalOffset, 5: height method: placeTwistingVines (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;III)V params: 0: level, 1: random, 2: pos, 3: verticalOffset, 4: horizontalOffset, 5: height method: placeWeepingVinesColumn (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos$MutableBlockPos;III)V params: 0: level, 1: random, 2: pos, 4: minAge, 5: maxAge class: VoidStartPlatformFeature path: net/minecraft/world/level/levelgen/feature/VoidStartPlatformFeature method: checkerboardDistance (IIII)I params: 0: firstX, 1: firstZ, 2: secondX, 3: secondZ Returns the Manhattan distance between the two points.
class: WeepingVinesFeature path: net/minecraft/world/level/levelgen/feature/WeepingVinesFeature method: placeRoofNetherWart (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: random, 3: pos method: placeRoofWeepingVines (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: random, 3: pos method: placeWeepingVinesColumn (Lnet/minecraft/world/level/LevelAccessor;Ljava/util/Random;Lnet/minecraft/core/BlockPos$MutableBlockPos;III)V params: 0: level, 1: random, 2: pos, 3: height, 4: minAge, 5: maxAge class: WeightedConfiguredFeature path: net/minecraft/world/level/levelgen/feature/WeightedConfiguredFeature method: <init> (Ljava/util/function/Supplier;F)V params: 1: feature, 2: chance method: <init> (Lnet/minecraft/world/level/levelgen/feature/ConfiguredFeature;F)V params: 1: feature, 2: chance method: place (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Z params: 1: reader, 2: chunkGenerator, 3: random, 4: pos flat class: FlatLayerInfo path: net/minecraft/world/level/levelgen/flat/FlatLayerInfo method: <init> (ILnet/minecraft/world/level/block/Block;)V params: 1: height, 2: block method: getHeight ()I Return the amount of layers for this set of layers.
class: FlatLevelGeneratorSettings path: net/minecraft/world/level/levelgen/flat/FlatLevelGeneratorSettings method: <init> (Lnet/minecraft/core/Registry;Lnet/minecraft/world/level/levelgen/StructureSettings;Ljava/util/List;ZZLjava/util/Optional;)V params: 1: biomes, 2: settings, 3: layers, 4: hasLakes, 5: hasDecoration, 6: biome method: <init> (Lnet/minecraft/world/level/levelgen/StructureSettings;Lnet/minecraft/core/Registry;)V params: 1: settings, 2: biomes method: getBiome ()Lnet/minecraft/world/level/biome/Biome; Return the biome used on this preset.
method: getDefault (Lnet/minecraft/core/Registry;)Lnet/minecraft/world/level/levelgen/flat/FlatLevelGeneratorSettings; params: 0: biomes method: getLayersInfo ()Ljava/util/List; Return the list of layers on this preset.
method: setBiome (Ljava/util/function/Supplier;)V params: 1: biome method: withLayers (Ljava/util/List;Lnet/minecraft/world/level/levelgen/StructureSettings;)Lnet/minecraft/world/level/levelgen/flat/FlatLevelGeneratorSettings; params: 1: flatLayers, 2: settings method: withStructureSettings (Lnet/minecraft/world/level/levelgen/StructureSettings;)Lnet/minecraft/world/level/levelgen/flat/FlatLevelGeneratorSettings; params: 1: settings placement nether class: CountMultiLayerDecorator path: net/minecraft/world/level/levelgen/placement/nether/CountMultiLayerDecorator method: findOnGroundYPosition (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;IIII)I params: 0: context, 1: x, 2: y, 3: z method: getPositions (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/configurations/CountConfiguration;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 1: helper, 2: random, 3: config, 4: pos method: isEmpty (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state class: CarvingMaskDecorator path: net/minecraft/world/level/levelgen/placement/CarvingMaskDecorator method: getPositions (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/placement/CarvingMaskDecoratorConfiguration;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 1: helper, 2: random, 3: config, 4: pos class: ChanceDecoratorConfiguration path: net/minecraft/world/level/levelgen/placement/ChanceDecoratorConfiguration method: <init> class: ConfiguredDecorator path: net/minecraft/world/level/levelgen/placement/ConfiguredDecorator method: <init> (Lnet/minecraft/world/level/levelgen/placement/FeatureDecorator;Lnet/minecraft/world/level/levelgen/feature/configurations/DecoratorConfiguration;)V params: 1: decorator, 2: config method: decorated (Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator;)Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator; params: 1: decorator method: getPositions (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;Ljava/util/Random;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 1: context, 2: random, 3: pos class: DarkOakTreePlacementDecorator path: net/minecraft/world/level/levelgen/placement/DarkOakTreePlacementDecorator method: getPositions (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/configurations/NoneDecoratorConfiguration;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 1: helper, 2: random, 3: config, 4: pos class: DecoratedDecorator path: net/minecraft/world/level/levelgen/placement/DecoratedDecorator method: getPositions (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/placement/DecoratedDecoratorConfiguration;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 1: helper, 2: random, 3: config, 4: pos class: DecoratedDecoratorConfiguration path: net/minecraft/world/level/levelgen/placement/DecoratedDecoratorConfiguration method: <init> (Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator;Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator;)V params: 1: outer, 2: inner class: DecorationContext path: net/minecraft/world/level/levelgen/placement/DecorationContext method: <init> (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/chunk/ChunkGenerator;)V params: 1: level, 2: generator method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getCarvingMask (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)Ljava/util/BitSet; params: 1: chunkPos, 2: carving method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmap, 2: x, 3: z class: FeatureDecorator path: net/minecraft/world/level/levelgen/placement/FeatureDecorator method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: configured (Lnet/minecraft/world/level/levelgen/feature/configurations/DecoratorConfiguration;)Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator; params: 1: config method: getPositions (Lnet/minecraft/world/level/levelgen/placement/DecorationContext;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/feature/configurations/DecoratorConfiguration;Lnet/minecraft/core/BlockPos;)Ljava/util/stream/Stream; params: 1: helper, 2: random, 3: config, 4: pos method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/placement/FeatureDecorator;)Lnet/minecraft/world/level/levelgen/placement/FeatureDecorator; params: 0: key, 1: decorator class: FrequencyWithExtraChanceDecoratorConfiguration path: net/minecraft/world/level/levelgen/placement/FrequencyWithExtraChanceDecoratorConfiguration method: <init> (IFI)V params: 1: count, 2: extraChance, 3: extraCount class: NoiseCountFactorDecoratorConfiguration path: net/minecraft/world/level/levelgen/placement/NoiseCountFactorDecoratorConfiguration method: <init> (IDD)V params: 1: noiseToCountRatio, 2: noiseFactor, 4: noiseOffset structure templatesystem class: AlwaysTrueTest path: net/minecraft/world/level/levelgen/structure/templatesystem/AlwaysTrueTest method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: AxisAlignedLinearPosTest path: net/minecraft/world/level/levelgen/structure/templatesystem/AxisAlignedLinearPosTest method: <init> (FFIILnet/minecraft/core/Direction$Axis;)V params: 1: minChance, 2: maxChance, 3: minDist, 4: maxDist, 5: axis method: test (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 4: random class: BlockAgeProcessor path: net/minecraft/world/level/levelgen/structure/templatesystem/BlockAgeProcessor method: <init> method: getRandomBlock (Ljava/util/Random;[Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: random, 1: possibleStates method: getRandomBlock (Ljava/util/Random;[Lnet/minecraft/world/level/block/state/BlockState;[Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random method: getRandomFacingStairs (Ljava/util/Random;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: random, 1: block method: maybeReplaceFullStoneBlock (Ljava/util/Random;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random method: maybeReplaceObsidian (Ljava/util/Random;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random method: maybeReplaceSlab (Ljava/util/Random;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random method: maybeReplaceStairs (Ljava/util/Random;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random, 2: state method: maybeReplaceWall (Ljava/util/Random;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: random method: processBlock (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo; params: 1: level, 6: settings class: BlockIgnoreProcessor path: net/minecraft/world/level/levelgen/structure/templatesystem/BlockIgnoreProcessor method: <init> (Ljava/util/List;)V params: 1: ignoredBlocks method: processBlock (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo; params: 1: level, 6: settings class: BlockMatchTest path: net/minecraft/world/level/levelgen/structure/templatesystem/BlockMatchTest method: <init> (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: BlockStateMatchTest path: net/minecraft/world/level/levelgen/structure/templatesystem/BlockStateMatchTest method: <init> (Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: blockState method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: GravityProcessor path: net/minecraft/world/level/levelgen/structure/templatesystem/GravityProcessor method: <init> (Lnet/minecraft/world/level/levelgen/Heightmap$Types;I)V params: 1: heightmap, 2: offset method: processBlock (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo; params: 1: level, 6: settings class: LinearPosTest path: net/minecraft/world/level/levelgen/structure/templatesystem/LinearPosTest method: <init> (FFII)V params: 1: minChance, 2: maxChance, 3: minDist, 4: maxDist method: test (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 4: random class: PosAlwaysTrueTest path: net/minecraft/world/level/levelgen/structure/templatesystem/PosAlwaysTrueTest method: test (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 4: random class: PosRuleTest path: net/minecraft/world/level/levelgen/structure/templatesystem/PosRuleTest method: test (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 4: random class: PosRuleTestType path: net/minecraft/world/level/levelgen/structure/templatesystem/PosRuleTestType method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/PosRuleTestType; params: 0: name, 1: codec class: ProcessorRule path: net/minecraft/world/level/levelgen/structure/templatesystem/ProcessorRule method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: inputPredicate, 2: locPredicate, 3: outputState method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/levelgen/structure/templatesystem/PosRuleTest;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: inputPredicate, 2: locPredicate, 3: posPredicate, 4: outputState method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTest;Lnet/minecraft/world/level/levelgen/structure/templatesystem/PosRuleTest;Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Optional;)V params: 1: inputPredicate, 2: locPredicate, 3: posPredicate, 4: outputState, 5: outputTag method: test (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)Z params: 6: random class: RandomBlockMatchTest path: net/minecraft/world/level/levelgen/structure/templatesystem/RandomBlockMatchTest method: <init> (Lnet/minecraft/world/level/block/Block;F)V params: 1: block, 2: probability method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: RandomBlockStateMatchTest path: net/minecraft/world/level/levelgen/structure/templatesystem/RandomBlockStateMatchTest method: <init> (Lnet/minecraft/world/level/block/state/BlockState;F)V params: 1: blockState, 2: probability method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: RuleProcessor path: net/minecraft/world/level/levelgen/structure/templatesystem/RuleProcessor method: <init> (Ljava/util/List;)V params: 1: rules method: processBlock (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo; params: 1: level, 6: settings class: RuleTest path: net/minecraft/world/level/levelgen/structure/templatesystem/RuleTest method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: RuleTestType path: net/minecraft/world/level/levelgen/structure/templatesystem/RuleTestType method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/RuleTestType; params: 0: name, 1: codec class: StructureManager path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureManager method: <init> (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;Lcom/mojang/datafixers/DataFixer;)V params: 1: resourceManager, 2: levelStorage, 3: fixerUpper method: createAndValidatePathToStructure (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Ljava/nio/file/Path; params: 1: structureTemplate, 2: ext method: createPathToStructure (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Ljava/nio/file/Path; params: 1: structureTemplate, 2: ext method: getOrCreate (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate; params: 1: structureTemplate method: onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V params: 1: resourceManager method: readStructure (Ljava/io/InputStream;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate; params: 1: inputStream method: readStructure (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate; params: 1: tag method: remove (Lnet/minecraft/resources/ResourceLocation;)V params: 1: templatePath method: save (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: structureTemplate class: StructurePlaceSettings path: net/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings method: addProcessor (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessor;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: structureProcessor method: getRandom (Lnet/minecraft/core/BlockPos;)Ljava/util/Random; params: 1: seed method: getRandomPalette (Ljava/util/List;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$Palette; params: 1: palettes, 2: pos method: popProcessor (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessor;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: structureProcessor method: setBoundingBox (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: boundingBox method: setFinalizeEntities (Z)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: finalizeEntities method: setIgnoreEntities (Z)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: ignoreEntities method: setKnownShape (Z)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: knownShape method: setMirror (Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: mirror method: setRandom (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: random method: setRotation (Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: rotation method: setRotationPivot (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings; params: 1: center class: StructureProcessor path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessor method: processBlock (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo; params: 1: level, 6: settings class: StructureProcessorList path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessorList method: <init> (Ljava/util/List;)V params: 1: list class: StructureProcessorType path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessorType method: register (Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureProcessorType; params: 0: name, 1: codec class: StructureTemplate path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate method: addToLists (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V params: 0: blockInfo, 1: specialBlocks, 2: blocksWithTag, 3: normalBlocks method: buildInfoList (Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/List; params: 0: specialBlocks, 1: blocksWithTag, 2: normalBlocks method: calculateConnectedPosition (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 1: decorator, 3: settings method: calculateRelativePosition (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 0: decorator, 1: pos method: createEntityIgnoreException (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/nbt/CompoundTag;)Ljava/util/Optional; params: 0: level, 1: tag method: fillEntityList (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: startPos, 3: endPos takes blocks from the world and puts the data them into this template
method: filterBlocks (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Lnet/minecraft/world/level/block/Block;)Ljava/util/List; params: 1: pos, 2: settings, 3: block method: filterBlocks (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Lnet/minecraft/world/level/block/Block;Z)Ljava/util/List; params: 1: pos, 2: settings, 3: block, 4: relativePosition method: getBoundingBox (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Mirror;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: startPos, 2: rotation, 3: pivotPos, 4: mirror method: getBoundingBox (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: settings, 2: startPos method: getZeroPositionWithTransform (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Mirror;Lnet/minecraft/world/level/block/Rotation;)Lnet/minecraft/core/BlockPos; params: 1: targetPos, 2: mirror, 3: rotation method: getZeroPositionWithTransform (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Mirror;Lnet/minecraft/world/level/block/Rotation;II)Lnet/minecraft/core/BlockPos; params: 0: pos, 1: mirror, 2: rotation, 3: sizeX, 4: sizeZ method: load (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag method: loadPalette (Lnet/minecraft/nbt/ListTag;Lnet/minecraft/nbt/ListTag;)V params: 1: palletesNBT, 2: blocksNBT method: newDoubleList ([D)Lnet/minecraft/nbt/ListTag; params: 1: values method: newIntegerList ([I)Lnet/minecraft/nbt/ListTag; params: 1: values method: placeEntities (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Mirror;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Z)V params: 1: serverLevel, 3: mirror, 4: rotation, 6: boundingBox, 7: withEntities method: placeInWorld (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Ljava/util/Random;I)Z params: 1: serverLevel, 4: settings, 5: random, 6: flags method: processBlockInfos (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructurePlaceSettings;Ljava/util/List;)Ljava/util/List; params: 0: level, 3: settings, 4: blockInfoList method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: tag method: setAuthor (Ljava/lang/String;)V params: 1: author method: transform (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Mirror;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 0: targetPos, 1: mirror, 2: rotation, 3: offset method: transform (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/level/block/Mirror;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/Vec3; params: 0: target, 1: mirror, 2: rotation, 3: centerOffset method: updateShapeAtEdge (Lnet/minecraft/world/level/LevelAccessor;ILnet/minecraft/world/phys/shapes/DiscreteVoxelShape;III)V params: 0: level, 2: voxelShapePart, 3: x, 4: y, 5: z class: StructureTemplate$Palette path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$Palette method: <init> (Ljava/util/List;)V params: 1: blocks method: blocks (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; params: 1: block class: StructureTemplate$SimplePalette path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$SimplePalette method: addMapping (Lnet/minecraft/world/level/block/state/BlockState;I)V params: 1: state, 2: id method: idFor (Lnet/minecraft/world/level/block/state/BlockState;)I params: 1: state method: stateFor (I)Lnet/minecraft/world/level/block/state/BlockState; params: 1: id class: StructureTemplate$StructureBlockInfo path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureBlockInfo method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/nbt/CompoundTag;)V params: 1: pos, 2: state, 3: nbt class: StructureTemplate$StructureEntityInfo path: net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate$StructureEntityInfo method: <init> (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/BlockPos;Lnet/minecraft/nbt/CompoundTag;)V params: 1: pos, 2: blockPos, 3: nbt class: TagMatchTest path: net/minecraft/world/level/levelgen/structure/templatesystem/TagMatchTest method: <init> (Lnet/minecraft/tags/Tag;)V params: 1: tag method: test (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Random;)Z params: 1: state, 2: random class: BoundingBox path: net/minecraft/world/level/levelgen/structure/BoundingBox A simple three dimensional mutable integer bounding box.
Note that this box is both mutable, and has an implementation of {@code hashCode()} and {@code equals()}.
This can be used as {@code HashMap} keys for example, if the user can ensure the instances themselves are not modified.
method: <init> (IIIIII)V params: 1: minX, 2: minY, 3: minZ, 4: maxX, 5: maxY, 6: maxZ method: getLength ()Lnet/minecraft/core/Vec3i; Returns a vector describing the dimensions of this bounding box.
Note that unlike {@code getXSpan()}, {@code getYSpan()}, and {@code getZSpan()}, the length is interpreted here as the difference in coordinates. So a box over a 1x1x1 area, which still contains a single point, will report length zero.
method: getXSpan ()I @return The length of this bounding box along the x axis.
method: getYSpan ()I @return The length of this bounding box along the y axis.
method: getZSpan ()I @return The length of this bounding box along the z axis.
method: intersects (IIII)Z params: 1: minX, 2: minZ, 3: maxX, 4: maxZ @return {@code true} if this bounding box intersects the horizontal x/z region described by the min and max parameters.
method: intersects (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Z params: 1: box @return {@code true} if {@code box} intersects this box.
method: isInside (Lnet/minecraft/core/Vec3i;)Z params: 1: vector @return {@code true} if the bounding box contains the {@code vector}.
method: moved (III)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 1: x, 2: y, 3: z @return A new bounding box equal to this box, translated by the given coordinates.
method: orientBox (IIIIIIIIILnet/minecraft/core/Direction;)Lnet/minecraft/world/level/levelgen/structure/BoundingBox; params: 0: structureMinX, 1: structureMinY, 2: structureMinZ, 3: xMin, 4: yMin, 5: zMin, 6: xMax, 7: yMax, 8: zMax, 9: facing Create a bounding box with the specified dimensions and rotate it. Used to project a possible new component Bounding Box - to check if it would cut anything already spawned.
class: BuriedTreasurePieces$BuriedTreasurePiece path: net/minecraft/world/level/levelgen/structure/BuriedTreasurePieces$BuriedTreasurePiece method: <init> (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: isLiquid (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: state method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: DesertPyramidPiece path: net/minecraft/world/level/levelgen/structure/DesertPyramidPiece method: <init> (Ljava/util/Random;II)V params: 1: random, 2: x, 3: z method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: EndCityPieces path: net/minecraft/world/level/levelgen/structure/EndCityPieces method: addHelper (Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece;)Lnet/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece; params: 0: pieces, 1: piece method: addPiece (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece;Lnet/minecraft/core/BlockPos;Ljava/lang/String;Lnet/minecraft/world/level/block/Rotation;Z)Lnet/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece; params: 0: structureManager, 1: piece, 2: pos, 3: name, 4: rotation, 5: overwrite method: recursiveChildren (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/world/level/levelgen/structure/EndCityPieces$SectionGenerator;ILnet/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece;Lnet/minecraft/core/BlockPos;Ljava/util/List;Ljava/util/Random;)Z params: 0: structureManager, 1: sectionGenerator, 2: counter, 3: piece, 4: startPos, 5: pieces, 6: random method: startHouseTower (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/List;Ljava/util/Random;)V params: 0: structureManager, 1: pos, 2: rotation, 3: pieces, 4: random class: EndCityPieces$EndCityPiece path: net/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Z)V params: 1: structureManager, 2: name, 3: pos, 4: rotation method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb class: EndCityPieces$SectionGenerator path: net/minecraft/world/level/levelgen/structure/EndCityPieces$SectionGenerator method: generate (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;ILnet/minecraft/world/level/levelgen/structure/EndCityPieces$EndCityPiece;Lnet/minecraft/core/BlockPos;Ljava/util/List;Ljava/util/Random;)Z params: 1: structureManager, 2: counter, 3: piece, 4: startPos, 5: pieces, 6: random class: IglooPieces$IglooPiece path: net/minecraft/world/level/levelgen/structure/IglooPieces$IglooPiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;I)V params: 1: structureManager, 2: location, 3: pos, 4: rotation, 5: down method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: JunglePyramidPiece path: net/minecraft/world/level/levelgen/structure/JunglePyramidPiece method: <init> (Ljava/util/Random;II)V params: 1: random, 2: x, 3: z method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: JunglePyramidPiece$MossStoneSelector path: net/minecraft/world/level/levelgen/structure/JunglePyramidPiece$MossStoneSelector method: next (Ljava/util/Random;IIIZ)V params: 1: random, 2: x, 3: y, 4: z, 5: wall picks Block Ids and Metadata (Silverfish)
class: LegacyStructureDataHandler path: net/minecraft/world/level/levelgen/structure/LegacyStructureDataHandler method: <init> (Lnet/minecraft/world/level/storage/DimensionDataStorage;Ljava/util/List;Ljava/util/List;)V params: 1: storage, 2: legacyKeys, 3: currentKeys method: getLegacyStructureHandler (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/level/storage/DimensionDataStorage;)Lnet/minecraft/world/level/levelgen/structure/LegacyStructureDataHandler; params: 0: level, 1: storage method: hasLegacyStart (IILjava/lang/String;)Z params: 1: chunkX, 2: chunkZ, 3: key method: isUnhandledStructureStart (II)Z params: 1: chunkX, 2: chunkZ method: populateCaches (Lnet/minecraft/world/level/storage/DimensionDataStorage;)V params: 1: storage method: removeIndex (J)V params: 1: chunkValue method: updateFromLegacy (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: tag method: updateStructureStart (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/CompoundTag; params: 1: tag, 2: chunkPos class: MineShaftPieces$MineShaftCorridor path: net/minecraft/world/level/levelgen/structure/MineShaftPieces$MineShaftCorridor method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type;)V params: 1: genDepth, 2: random, 3: box, 4: direction, 5: type method: createChest (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Random;IIILnet/minecraft/resources/ResourceLocation;)Z params: 1: level, 2: structurebb, 3: random, 4: x, 5: y, 6: z, 7: loot Adds chest to the structure and sets its contents
method: placeSupport (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIILjava/util/Random;)V params: 1: level, 2: box, 3: minX, 4: minY, 5: z, 6: maxY, 7: maxX, 8: random method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: MineShaftPieces$MineShaftCrossing path: net/minecraft/world/level/levelgen/structure/MineShaftPieces$MineShaftCrossing method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type;)V params: 1: genDepth, 2: box, 3: direction, 4: type method: placeSupportPillar (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIII)V params: 1: level, 2: box, 3: x, 4: y, 5: z, 6: maxY method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: MineShaftPieces$MineShaftPiece path: net/minecraft/world/level/levelgen/structure/MineShaftPieces$MineShaftPiece method: isSupportingBox (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIII)Z params: 1: level, 2: bounds, 3: xStart, 4: xEnd, 5: y, 6: z class: MineShaftPieces$MineShaftRoom path: net/minecraft/world/level/levelgen/structure/MineShaftPieces$MineShaftRoom method: <init> (ILjava/util/Random;IILnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type;)V params: 1: genDepth, 2: random, 3: x, 4: z, 5: type method: move (III)V params: 1: x, 2: y, 3: z method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: MineShaftPieces$MineShaftStairs path: net/minecraft/world/level/levelgen/structure/MineShaftPieces$MineShaftStairs method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/feature/MineshaftFeature$Type;)V params: 1: genDepth, 2: box, 3: direction, 4: type method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$BridgeCrossing path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$BridgeCrossing method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$BridgeEndFiller path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$BridgeEndFiller method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$BridgeStraight path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$BridgeStraight method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleCorridorStairsPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleCorridorStairsPiece method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleCorridorTBalconyPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleCorridorTBalconyPiece method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleEntrance path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleEntrance method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleSmallCorridorCrossingPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleSmallCorridorCrossingPiece method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleSmallCorridorLeftTurnPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleSmallCorridorLeftTurnPiece method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleSmallCorridorPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleSmallCorridorPiece method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleSmallCorridorRightTurnPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleSmallCorridorRightTurnPiece method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$CastleStalkRoom path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$CastleStalkRoom method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$MonsterThrone path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$MonsterThrone method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$NetherBridgePiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$NetherBridgePiece method: isOkBox (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Z params: 0: box Checks if the bounding box's minY is > 10
method: updatePieceWeight (Ljava/util/List;)I params: 1: weights class: NetherBridgePieces$PieceWeight path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$PieceWeight method: <init> (Ljava/lang/Class;II)V params: 1: pieceClass, 2: weight, 3: maxPlaceCount method: <init> (Ljava/lang/Class;IIZ)V params: 1: pieceClass, 2: weight, 3: maxPlaceCount, 4: allowInRow class: NetherBridgePieces$RoomCrossing path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$RoomCrossing method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$StairsRoom path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$StairsRoom method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: NetherBridgePieces$StartPiece path: net/minecraft/world/level/levelgen/structure/NetherBridgePieces$StartPiece method: <init> (Ljava/util/Random;II)V params: 1: random, 2: x, 3: z class: NetherFossilPieces$NetherFossilPiece path: net/minecraft/world/level/levelgen/structure/NetherFossilPieces$NetherFossilPiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)V params: 1: structureManager, 2: location, 3: pos, 4: rotation method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$FitDoubleXRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitDoubleXRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$FitDoubleXYRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitDoubleXYRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$FitDoubleYRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitDoubleYRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$FitDoubleYZRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitDoubleYZRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$FitDoubleZRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitDoubleZRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$FitSimpleRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitSimpleRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$FitSimpleTopRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$FitSimpleTopRoom method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$MonumentBuilding path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$MonumentBuilding method: <init> (Ljava/util/Random;IILnet/minecraft/core/Direction;)V params: 1: random, 2: x, 3: z, 4: orientation method: generateEntranceArchs (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: random, 3: box method: generateEntranceWall (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: random, 3: box method: generateLowerWall (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: random, 3: box method: generateMiddleWall (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: random, 3: box method: generateRoofPiece (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: random, 3: box method: generateRoomGraph (Ljava/util/Random;)Ljava/util/List; params: 1: random method: generateUpperWall (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: random, 3: box method: generateWing (ZILnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 3: level, 4: random, 5: box method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$MonumentRoomFitter path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$MonumentRoomFitter method: create (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece; params: 1: direction, 2: definition, 3: random method: fits (Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)Z params: 1: definition class: OceanMonumentPieces$OceanMonumentCoreRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentCoreRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentDoubleXRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentDoubleXRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentDoubleXYRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentDoubleXYRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentDoubleYRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentDoubleYRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentDoubleYZRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentDoubleYZRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentDoubleZRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentDoubleZRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentEntryRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentEntryRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentPenthouse path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPenthouse method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: direction, 2: box method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentPiece path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentPiece method: <init> (Lnet/minecraft/world/level/levelgen/feature/StructurePieceType;ILnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;III)V params: 1: type, 2: genDepth, 3: orientation, 4: definition, 5: x, 6: y, 7: z method: chunkIntersects (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIII)Z params: 1: box, 2: minX, 3: minZ, 4: maxX, 5: maxZ method: generateBoxOnFillOnly (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIIILnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: box, 3: minX, 4: minY, 5: minZ, 6: maxX, 7: maxY, 8: maxZ, 9: state method: generateDefaultFloor (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIZ)V params: 1: level, 2: box, 3: x, 4: z, 5: hasOpeningDownwards method: generateWaterBox (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIII)V params: 1: level, 2: boundingBox, 3: x1, 4: y1, 5: z1, 6: x2, 7: y2, 8: z2 method: spawnElder (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;III)Z params: 1: level, 2: box, 3: x, 4: y, 5: z class: OceanMonumentPieces$OceanMonumentSimpleRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentSimpleRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;Ljava/util/Random;)V params: 1: direction, 2: definition, 3: random method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentSimpleTopRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentSimpleTopRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$OceanMonumentWingRoom path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$OceanMonumentWingRoom method: <init> (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;I)V params: 1: direction, 2: box method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: OceanMonumentPieces$RoomDefinition path: net/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition method: <init> method: findSource method: setConnection (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/OceanMonumentPieces$RoomDefinition;)V params: 1: direction, 2: definition class: OceanRuinFeature$Type path: net/minecraft/world/level/levelgen/structure/OceanRuinFeature$Type method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/structure/OceanRuinFeature$Type; params: 0: name class: OceanRuinPieces path: net/minecraft/world/level/levelgen/structure/OceanRuinPieces method: getBigWarmRuin (Ljava/util/Random;)Lnet/minecraft/resources/ResourceLocation; params: 0: random method: getSmallWarmRuin (Ljava/util/Random;)Lnet/minecraft/resources/ResourceLocation; params: 0: random class: OceanRuinPieces$OceanRuinPiece path: net/minecraft/world/level/levelgen/structure/OceanRuinPieces$OceanRuinPiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;FLnet/minecraft/world/level/levelgen/structure/OceanRuinFeature$Type;Z)V params: 1: structureManager, 2: location, 3: pos, 4: rotation, 5: integrity, 6: biomeType, 7: isLarge method: getHeight (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)I params: 1: templatePos, 2: level method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: PoolElementStructurePiece path: net/minecraft/world/level/levelgen/structure/PoolElementStructurePiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/world/level/levelgen/feature/structures/StructurePoolElement;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/level/block/Rotation;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: structureManager, 2: element, 3: position, 4: groundLevelDelta, 5: rotation, 6: box method: addJunction (Lnet/minecraft/world/level/levelgen/feature/structures/JigsawJunction;)V params: 1: junction method: move (III)V params: 1: x, 2: y, 3: z method: place (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/BlockPos;Z)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: pos, 7: keepJigsaws method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: RuinedPortalPiece path: net/minecraft/world/level/levelgen/structure/RuinedPortalPiece method: addNetherrackDripColumn (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: random, 2: level, 3: pos method: addNetherrackDripColumnsBelowPortal (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;)V params: 1: random, 2: level method: canBlockBeReplacedByNetherrackOrMagma (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: getBlockReplaceRule (Lnet/minecraft/world/level/block/Block;FLnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/ProcessorRule; params: 0: block, 1: probability, 2: replaceBlock method: getBlockReplaceRule (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/levelgen/structure/templatesystem/ProcessorRule; params: 0: block, 1: replaceBlock method: getHeightMapType (Lnet/minecraft/world/level/levelgen/structure/RuinedPortalPiece$VerticalPlacement;)Lnet/minecraft/world/level/levelgen/Heightmap$Types; params: 0: placement method: getSurfaceY (Lnet/minecraft/world/level/LevelAccessor;IILnet/minecraft/world/level/levelgen/structure/RuinedPortalPiece$VerticalPlacement;)I params: 0: level, 1: x, 2: z, 3: placement method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb method: maybeAddLeavesAbove (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: random, 2: level, 3: pos method: maybeAddVines (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: random, 2: level, 3: pos method: placeNetherrackOrMagma (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: random, 2: level, 3: pos method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos method: spreadNetherrack (Ljava/util/Random;Lnet/minecraft/world/level/LevelAccessor;)V params: 1: random, 2: level class: RuinedPortalPiece$Properties path: net/minecraft/world/level/levelgen/structure/RuinedPortalPiece$Properties method: <init> (ZFZZZZ)V params: 1: cold, 2: mossiness, 3: airPocket, 4: overgrown, 5: vines, 6: replaceWithBlackstone class: RuinedPortalPiece$VerticalPlacement path: net/minecraft/world/level/levelgen/structure/RuinedPortalPiece$VerticalPlacement method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/structure/RuinedPortalPiece$VerticalPlacement; params: 0: name class: ScatteredFeaturePiece path: net/minecraft/world/level/levelgen/structure/ScatteredFeaturePiece method: updateAverageGroundHeight (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;I)Z params: 1: level, 2: bounds, 3: height class: ShipwreckPieces$ShipwreckPiece path: net/minecraft/world/level/levelgen/structure/ShipwreckPieces$ShipwreckPiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Z)V params: 1: structureManager, 2: location, 3: pos, 4: rotation, 5: isBeached method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces path: net/minecraft/world/level/levelgen/structure/StrongholdPieces method: resetPieces ()V sets up Arrays with the Structure pieces and their weights
class: StrongholdPieces$ChestCorridor path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$ChestCorridor method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$FillerCorridor path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$FillerCorridor method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$FiveCrossing path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$FiveCrossing method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$LeftTurn path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$LeftTurn method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$Library path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$Library method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$PieceWeight path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$PieceWeight method: <init> (Ljava/lang/Class;II)V params: 1: pieceClass, 2: weight, 3: maxPlaceCount class: StrongholdPieces$PortalRoom path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$PortalRoom method: <init> (ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: box, 3: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$PrisonHall path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$PrisonHall method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$RightTurn path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$RightTurn method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$RoomCrossing path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$RoomCrossing method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$SmoothStoneSelector path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$SmoothStoneSelector method: next (Ljava/util/Random;IIIZ)V params: 1: random, 2: x, 3: y, 4: z, 5: wall picks Block Ids and Metadata (Silverfish)
class: StrongholdPieces$StairsDown path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$StairsDown method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$StartPiece path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$StartPiece method: <init> (Ljava/util/Random;II)V params: 1: random, 2: x, 3: z class: StrongholdPieces$Straight path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$Straight method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$StraightStairsDown path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$StraightStairsDown method: <init> (ILjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/Direction;)V params: 1: genDepth, 2: random, 3: box, 4: orientation method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: StrongholdPieces$StrongholdPiece path: net/minecraft/world/level/levelgen/structure/StrongholdPieces$StrongholdPiece method: generateSmallDoor (Lnet/minecraft/world/level/WorldGenLevel;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/levelgen/structure/StrongholdPieces$StrongholdPiece$SmallDoorType;III)V params: 1: level, 2: random, 3: box, 4: type, 5: x, 6: y, 7: z method: isOkBox (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Z params: 0: box returns false if the Structure Bounding Box goes below 10
method: randomSmallDoor (Ljava/util/Random;)Lnet/minecraft/world/level/levelgen/structure/StrongholdPieces$StrongholdPiece$SmallDoorType; params: 1: random class: StructureFeatureIndexSavedData path: net/minecraft/world/level/levelgen/structure/StructureFeatureIndexSavedData method: addIndex method: hasStartIndex method: hasUnhandledIndex method: removeIndex method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
class: StructurePiece path: net/minecraft/world/level/levelgen/structure/StructurePiece method: <init> (Lnet/minecraft/world/level/levelgen/feature/StructurePieceType;Lnet/minecraft/nbt/CompoundTag;)V params: 1: type, 2: tag method: createChest (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Random;Lnet/minecraft/core/BlockPos;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: level, 2: bounds, 3: random, 4: pos, 5: resourceLocation, 6: state method: createChest (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Random;IIILnet/minecraft/resources/ResourceLocation;)Z params: 1: level, 2: structurebb, 3: random, 4: x, 5: y, 6: z, 7: loot Adds chest to the structure and sets its contents
method: createDispenser (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Random;IIILnet/minecraft/core/Direction;Lnet/minecraft/resources/ResourceLocation;)Z params: 1: level, 2: sbb, 3: random, 4: x, 5: y, 6: z, 7: facing, 8: lootTable method: fillColumnDown (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/block/state/BlockState;IIILnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: blockstate, 3: x, 4: y, 5: z, 6: boundingbox Replaces air and liquid from given position downwards. Stops when hitting anything else than air or liquid
method: generateAirBox (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIII)V params: 1: level, 2: structurebb, 3: minX, 4: minY, 5: minZ, 6: maxX, 7: maxY, 8: maxZ arguments: (World worldObj, StructureBoundingBox structBB, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
method: generateBox (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIIILnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: level, 2: boundingbox, 3: xMin, 4: yMin, 5: zMin, 6: xMax, 7: yMax, 8: zMax, 9: boundaryBlockState, 10: insideBlockState, 11: existingOnly Fill the given area with the selected blocks
method: generateBox (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIIIZLjava/util/Random;Lnet/minecraft/world/level/levelgen/structure/StructurePiece$BlockSelector;)V params: 1: level, 2: boundingbox, 3: minX, 4: minY, 5: minZ, 6: maxX, 7: maxY, 8: maxZ, 9: alwaysReplace, 10: random, 11: blockselector arguments: World worldObj, StructureBoundingBox structBB, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean alwaysreplace, Random rand, StructurePieceBlockSelector blockselector
method: generateMaybeBox (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Random;FIIIIIILnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;ZZ)V params: 1: level, 2: sbb, 3: random, 4: chance, 5: x1, 6: y1, 7: z1, 8: x2, 9: y2, 10: z2, 11: edgeState, 12: state, 13: requireNonAir, 14: requiredSkylight method: generateUpperHalfSphere (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;IIIIIILnet/minecraft/world/level/block/state/BlockState;Z)V params: 1: level, 2: boundingbox, 3: minX, 4: minY, 5: minZ, 6: maxX, 7: maxY, 8: maxZ, 9: blockstate, 10: excludeAir method: getBlock (Lnet/minecraft/world/level/BlockGetter;IIILnet/minecraft/world/level/levelgen/structure/BoundingBox;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: level, 2: x, 3: y, 4: z, 5: boundingbox method: getGenDepth ()I Returns the component type ID of this component.
method: getWorldX method: getWorldY method: getWorldZ method: isCloseToChunk (Lnet/minecraft/world/level/ChunkPos;I)Z params: 1: chunkPos, 2: distance method: isInterior (Lnet/minecraft/world/level/LevelReader;IIILnet/minecraft/world/level/levelgen/structure/BoundingBox;)Z params: 1: level, 2: x, 3: y, 4: z, 5: boundingbox method: maybeGenerateBlock (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Ljava/util/Random;FIIILnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: boundingbox, 3: random, 4: chance, 5: x, 6: y, 7: z, 8: blockstate method: move (III)V params: 1: x, 2: y, 3: z method: placeBlock (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/block/state/BlockState;IIILnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: blockstate, 3: x, 4: y, 5: z, 6: boundingbox method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos method: reorient (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; params: 0: level, 1: pos, 2: blockState method: setOrientation (Lnet/minecraft/core/Direction;)V params: 1: facing class: StructurePiece$BlockSelector path: net/minecraft/world/level/levelgen/structure/StructurePiece$BlockSelector method: next (Ljava/util/Random;IIIZ)V params: 1: random, 2: x, 3: y, 4: z, 5: wall picks Block Ids and Metadata (Silverfish)
class: StructureStart path: net/minecraft/world/level/levelgen/structure/StructureStart method: isValid ()Z currently only defined for Villages, returns true if Village has more than 2 non-road components
method: moveInsideHeights (Ljava/util/Random;II)V params: 1: random method: placeInChunk (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;)V params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos class: SwamplandHutPiece path: net/minecraft/world/level/levelgen/structure/SwamplandHutPiece method: <init> (Ljava/util/Random;II)V params: 1: random, 2: x, 3: z method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos method: spawnCat (Lnet/minecraft/world/level/ServerLevelAccessor;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: level, 2: box class: TemplateStructurePiece path: net/minecraft/world/level/levelgen/structure/TemplateStructurePiece method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb method: move (III)V params: 1: x, 2: y, 3: z method: postProcess (Lnet/minecraft/world/level/WorldGenLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: structureManager, 3: chunkGenerator, 4: random, 5: box, 6: chunkPos, 7: pos class: WoodlandMansionPieces path: net/minecraft/world/level/levelgen/structure/WoodlandMansionPieces method: generateMansion (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/List;Ljava/util/Random;)V params: 0: structureManager, 1: pos, 2: rotation, 3: pieces, 4: random class: WoodlandMansionPieces$FloorRoomCollection path: net/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$FloorRoomCollection method: get1x1 (Ljava/util/Random;)Ljava/lang/String; params: 1: random method: get1x1Secret (Ljava/util/Random;)Ljava/lang/String; params: 1: random method: get1x2FrontEntrance (Ljava/util/Random;Z)Ljava/lang/String; params: 1: random, 2: isStairs method: get1x2Secret (Ljava/util/Random;)Ljava/lang/String; params: 1: random method: get1x2SideEntrance (Ljava/util/Random;Z)Ljava/lang/String; params: 1: random, 2: isStairs method: get2x2 (Ljava/util/Random;)Ljava/lang/String; params: 1: random method: get2x2Secret (Ljava/util/Random;)Ljava/lang/String; params: 1: random class: WoodlandMansionPieces$MansionGrid path: net/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$MansionGrid method: <init> (Ljava/util/Random;)V params: 1: random method: cleanEdges (Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$SimpleGrid;)Z params: 1: grid class: WoodlandMansionPieces$MansionPiecePlacer path: net/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$MansionPiecePlacer method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Ljava/util/Random;)V params: 1: structureManager, 2: random method: addRoom1x1 (Ljava/util/List;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$FloorRoomCollection;)V params: 1: pieces, 2: pos, 3: rotation, 4: direction, 5: floorRooms method: addRoom1x2 (Ljava/util/List;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$FloorRoomCollection;Z)V params: 1: pieces, 2: pos, 3: rotation, 6: floorRooms method: addRoom2x2 (Ljava/util/List;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/core/Direction;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$FloorRoomCollection;)V params: 1: pieces, 2: pos, 3: rotation, 6: floorRooms method: addRoom2x2Secret (Ljava/util/List;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$FloorRoomCollection;)V params: 1: pieces, 2: pos, 3: rotation, 4: floorRooms method: createMansion (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$MansionGrid;)V params: 1: pos, 2: rotation, 3: pieces, 4: grid method: createRoof (Ljava/util/List;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$SimpleGrid;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$SimpleGrid;)V params: 1: pieces, 2: pos, 3: rotation method: entrance (Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$PlacementData;)V params: 1: pieces, 2: data method: traverseInnerTurn (Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$PlacementData;)V params: 1: pieces, 2: data method: traverseOuterWalls (Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$PlacementData;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$SimpleGrid;Lnet/minecraft/core/Direction;IIII)V params: 1: pieces, 2: data, 3: grid, 4: direction, 5: startX, 6: startY method: traverseTurn (Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$PlacementData;)V params: 1: pieces, 2: data method: traverseWallPiece (Ljava/util/List;Lnet/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$PlacementData;)V params: 1: pieces, 2: data class: WoodlandMansionPieces$SimpleGrid path: net/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$SimpleGrid method: <init> (III)V params: 1: width, 2: height, 3: valueIfOutside method: get method: set method: set (IIIII)V params: 1: minX, 2: minY, 3: maxX, 4: maxY method: setif (IIII)V params: 1: x, 2: y class: WoodlandMansionPieces$WoodlandMansionPiece path: net/minecraft/world/level/levelgen/structure/WoodlandMansionPieces$WoodlandMansionPiece method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;)V params: 1: structureManager, 2: name, 3: pos, 4: rotation method: <init> (Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureManager;Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Rotation;Lnet/minecraft/world/level/block/Mirror;)V params: 1: structureManager, 2: name, 3: pos, 4: rotation, 5: mirror method: handleDataMarker (Ljava/lang/String;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ServerLevelAccessor;Ljava/util/Random;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)V params: 1: function, 2: pos, 3: level, 4: random, 5: sbb surfacebuilders class: BadlandsSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/BadlandsSurfaceBuilder method: generateBands (J)V params: 1: seed Generates an array of block states representing the colored clay bands in Badlands biomes.
The bands are then sampled via {@link #getBand(int, int, int)}, which additionally offsets the bands a little vertically based on the local x and z position.
method: getBand (III)Lnet/minecraft/world/level/block/state/BlockState; params: 1: x, 2: y, 3: z Samples the clay band at the given position.
method: initNoise (J)V params: 1: seed Initialize this surface builder with the current world seed.
This is called prior to {@link #apply}. In general, most subclasses cache the world seed and only re-initialize if the cached seed is different from the provided seed, for performance.
class: ConfiguredSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder method: <init> (Lnet/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilder;Lnet/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilderConfiguration;)V params: 1: surfaceBuilder, 2: config method: initNoise (J)V params: 1: seed @see net.minecraft.world.level.levelgen.surfacebuilders.SurfaceBuilder#initNoise(long)
method: lambda$static$0 (Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder;)Lnet/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilder; params: 0: config class: FrozenOceanSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/FrozenOceanSurfaceBuilder method: initNoise (J)V params: 1: seed Initialize this surface builder with the current world seed.
This is called prior to {@link #apply}. In general, most subclasses cache the world seed and only re-initialize if the cached seed is different from the provided seed, for performance.
class: NetherCappedSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/NetherCappedSurfaceBuilder method: initNoise (J)V params: 1: seed Initialize this surface builder with the current world seed.
This is called prior to {@link #apply}. In general, most subclasses cache the world seed and only re-initialize if the cached seed is different from the provided seed, for performance.
method: initPerlinNoises (Lcom/google/common/collect/ImmutableList;J)Lcom/google/common/collect/ImmutableMap; params: 0: states, 1: seed class: NetherForestSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/NetherForestSurfaceBuilder method: initNoise (J)V params: 1: seed Initialize this surface builder with the current world seed.
This is called prior to {@link #apply}. In general, most subclasses cache the world seed and only re-initialize if the cached seed is different from the provided seed, for performance.
class: NetherSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/NetherSurfaceBuilder method: initNoise (J)V params: 1: seed Initialize this surface builder with the current world seed.
This is called prior to {@link #apply}. In general, most subclasses cache the world seed and only re-initialize if the cached seed is different from the provided seed, for performance.
class: NopeSurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/NopeSurfaceBuilder A no-op surface builder that does nothing.
class: SurfaceBuilder path: net/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilder method: <init> (Lcom/mojang/serialization/Codec;)V params: 1: codec method: configured (Lnet/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilderConfiguration;)Lnet/minecraft/world/level/levelgen/surfacebuilders/ConfiguredSurfaceBuilder; params: 1: config method: initNoise (J)V params: 1: seed Initialize this surface builder with the current world seed.
This is called prior to {@link #apply}. In general, most subclasses cache the world seed and only re-initialize if the cached seed is different from the provided seed, for performance.
method: register (Ljava/lang/String;Lnet/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilder;)Lnet/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilder; params: 0: key, 1: builder class: SurfaceBuilderBaseConfiguration path: net/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilderBaseConfiguration method: <init> (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: topMaterial, 2: underMaterial, 3: underwaterMaterial method: getTopMaterial ()Lnet/minecraft/world/level/block/state/BlockState; The state to be placed as the top level of surface, above water. Typically grass or sand.
method: getUnderMaterial ()Lnet/minecraft/world/level/block/state/BlockState; The state to be placed underneath the surface, above water. Typically dirt under grass, or more sand under sand.
class: SurfaceBuilderConfiguration path: net/minecraft/world/level/levelgen/surfacebuilders/SurfaceBuilderConfiguration method: getTopMaterial ()Lnet/minecraft/world/level/block/state/BlockState; The state to be placed as the top level of surface, above water. Typically grass or sand.
method: getUnderMaterial ()Lnet/minecraft/world/level/block/state/BlockState; The state to be placed underneath the surface, above water. Typically dirt under grass, or more sand under sand.
synth class: ImprovedNoise path: net/minecraft/world/level/levelgen/synth/ImprovedNoise method: gradDot (IDDD)D params: 0: gradIndex, 1: xFactor, 3: yFactor, 5: zFactor method: p (I)I params: 1: permutIndex class: NormalNoise path: net/minecraft/world/level/levelgen/synth/NormalNoise method: getValue (DDD)D params: 1: x, 3: y, 5: z class: PerlinNoise path: net/minecraft/world/level/levelgen/synth/PerlinNoise method: getOctaveNoise (I)Lnet/minecraft/world/level/levelgen/synth/ImprovedNoise; params: 1: octaveIndex method: getSurfaceNoiseValue (DDDD)D params: 1: x, 3: y, 5: z method: getValue (DDD)D params: 1: x, 3: y, 5: z method: getValue (DDDDDZ)D params: 1: x, 3: y, 5: z class: PerlinSimplexNoise path: net/minecraft/world/level/levelgen/synth/PerlinSimplexNoise method: getSurfaceNoiseValue (DDDD)D params: 1: x, 3: y, 5: z method: getValue (DDZ)D params: 1: x, 3: y, 5: useNoiseOffsets class: SimplexNoise path: net/minecraft/world/level/levelgen/synth/SimplexNoise method: dot ([IDDD)D params: 0: gradElement, 1: xFactor, 3: yFactor, 5: zFactor method: getCornerNoise3D (IDDDD)D params: 1: gradIndex, 2: x, 4: y, 6: z, 8: offset method: getValue method: getValue (DDD)D params: 1: x, 3: y, 5: z method: p (I)I params: 1: permutIndex class: SurfaceNoise path: net/minecraft/world/level/levelgen/synth/SurfaceNoise method: getSurfaceNoiseValue (DDDD)D params: 1: x, 3: z, 5: y class: DebugLevelSource path: net/minecraft/world/level/levelgen/DebugLevelSource field: ALL_BLOCKS Ljava/util/List; A list of all valid block states.
method: <init> (Lnet/minecraft/core/Registry;)V params: 1: biomes method: applyBiomeDecoration (Lnet/minecraft/server/level/WorldGenRegion;Lnet/minecraft/world/level/StructureFeatureManager;)V params: 1: region, 2: structureManager method: applyCarvers (JLnet/minecraft/world/level/biome/BiomeManager;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/world/level/levelgen/GenerationStep$Carving;)V params: 1: seed, 3: biomeManager, 4: chunk, 5: carving method: buildSurfaceAndBedrock (Lnet/minecraft/server/level/WorldGenRegion;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: level, 2: chunk Generate the SURFACE part of a chunk
method: getBlockStateFor (II)Lnet/minecraft/world/level/block/state/BlockState; params: 0: chunkX, 1: chunkZ method: withSeed (J)Lnet/minecraft/world/level/chunk/ChunkGenerator; params: 1: seed class: Decoratable path: net/minecraft/world/level/levelgen/Decoratable method: count (I)Ljava/lang/Object; params: 1: amount method: countRandom (I)Ljava/lang/Object; params: 1: max method: decorated (Lnet/minecraft/world/level/levelgen/placement/ConfiguredDecorator;)Ljava/lang/Object; params: 1: decorator class: FlatLevelSource path: net/minecraft/world/level/levelgen/FlatLevelSource method: <init> (Lnet/minecraft/world/level/levelgen/flat/FlatLevelGeneratorSettings;)V params: 1: settings method: buildSurfaceAndBedrock (Lnet/minecraft/server/level/WorldGenRegion;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: level, 2: chunk Generate the SURFACE part of a chunk
method: withSeed (J)Lnet/minecraft/world/level/chunk/ChunkGenerator; params: 1: seed class: GenerationStep$Carving path: net/minecraft/world/level/levelgen/GenerationStep$Carving method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/GenerationStep$Carving; params: 0: name class: Heightmap path: net/minecraft/world/level/levelgen/Heightmap method: <init> (Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/world/level/levelgen/Heightmap$Types;)V params: 1: chunk, 2: type method: getFirstAvailable (I)I params: 1: dataArrayIndex method: getFirstAvailable method: getIndex method: primeHeightmaps (Lnet/minecraft/world/level/chunk/ChunkAccess;Ljava/util/Set;)V params: 0: chunk, 1: types method: setHeight (III)V params: 1: x, 2: z, 3: value method: update (IIILnet/minecraft/world/level/block/state/BlockState;)Z params: 1: x, 2: y, 3: z, 4: state class: Heightmap$Types path: net/minecraft/world/level/levelgen/Heightmap$Types method: <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/level/levelgen/Heightmap$Usage;Ljava/util/function/Predicate;)V params: 3: serializationKey, 4: usage, 5: isOpaque method: getFromKey (Ljava/lang/String;)Lnet/minecraft/world/level/levelgen/Heightmap$Types; params: 0: id class: NoiseBasedChunkGenerator path: net/minecraft/world/level/levelgen/NoiseBasedChunkGenerator method: <init> (Lnet/minecraft/world/level/biome/BiomeSource;JLjava/util/function/Supplier;)V params: 1: biomeSource, 2: seed, 4: settings method: <init> (Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/biome/BiomeSource;JLjava/util/function/Supplier;)V params: 1: biomeSource, 2: runtimeBiomeSource, 3: seed, 5: settings method: buildSurfaceAndBedrock (Lnet/minecraft/server/level/WorldGenRegion;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: level, 2: chunk Generate the SURFACE part of a chunk
method: setBedrock (Lnet/minecraft/world/level/chunk/ChunkAccess;Ljava/util/Random;)V params: 1: chunk, 2: random method: spawnOriginalMobs (Lnet/minecraft/server/level/WorldGenRegion;)V params: 1: region method: stable (JLnet/minecraft/resources/ResourceKey;)Z params: 1: seed, 3: settingsKey method: withSeed (J)Lnet/minecraft/world/level/chunk/ChunkGenerator; params: 1: seed class: NoiseGeneratorSettings path: net/minecraft/world/level/levelgen/NoiseGeneratorSettings method: register (Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/level/levelgen/NoiseGeneratorSettings;)Lnet/minecraft/world/level/levelgen/NoiseGeneratorSettings; params: 0: key, 1: settings method: stable (Lnet/minecraft/resources/ResourceKey;)Z params: 1: settings class: NoiseSamplingSettings path: net/minecraft/world/level/levelgen/NoiseSamplingSettings method: <init> (DDDD)V params: 1: xzScale, 3: yScale, 5: xzFactor, 7: yFactor class: NoiseSlideSettings path: net/minecraft/world/level/levelgen/NoiseSlideSettings method: <init> (III)V params: 1: target, 2: size, 3: offset class: PatrolSpawner path: net/minecraft/world/level/levelgen/PatrolSpawner method: spawnPatrolMember (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/Random;Z)Z params: 1: level, 2: pos, 3: random, 4: leader method: tick (Lnet/minecraft/server/level/ServerLevel;ZZ)I params: 1: level, 2: spawnHostiles, 3: spawnPassives class: PhantomSpawner path: net/minecraft/world/level/levelgen/PhantomSpawner method: tick (Lnet/minecraft/server/level/ServerLevel;ZZ)I params: 1: level, 2: spawnHostiles, 3: spawnPassives class: StructureSettings path: net/minecraft/world/level/levelgen/StructureSettings method: <init> (Ljava/util/Optional;Ljava/util/Map;)V params: 1: strongholdConfig, 2: structureConfig method: <init> (Z)V params: 1: withStronghold method: getConfig (Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/world/level/levelgen/feature/configurations/StructureFeatureConfiguration; params: 1: structure class: WorldGenSettings path: net/minecraft/world/level/levelgen/WorldGenSettings method: <init> (JZZLnet/minecraft/core/MappedRegistry;)V params: 1: seed, 3: generateFeatures, 4: generateBonusChest, 5: dimensions method: <init> (JZZLnet/minecraft/core/MappedRegistry;Ljava/util/Optional;)V params: 1: seed, 3: generateFeatures, 4: generateBonusChest, 5: dimensions, 6: legacyCustomOptions method: create (Lnet/minecraft/core/RegistryAccess;Ljava/util/Properties;)Lnet/minecraft/world/level/levelgen/WorldGenSettings; params: 0: registry, 1: properties method: demoSettings (Lnet/minecraft/core/RegistryAccess;)Lnet/minecraft/world/level/levelgen/WorldGenSettings; params: 0: registry method: makeDefault (Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;)Lnet/minecraft/world/level/levelgen/WorldGenSettings; params: 0: dimensionTypes, 1: biomes, 2: settings method: makeDefaultOverworld (Lnet/minecraft/core/Registry;Lnet/minecraft/core/Registry;J)Lnet/minecraft/world/level/levelgen/NoiseBasedChunkGenerator; params: 0: biomes, 1: settings, 2: seed method: withOverworld (Lnet/minecraft/core/MappedRegistry;Ljava/util/function/Supplier;Lnet/minecraft/world/level/chunk/ChunkGenerator;)Lnet/minecraft/core/MappedRegistry; params: 0: dimensions, 1: dimensionTypes, 2: chunkGenerator method: withOverworld (Lnet/minecraft/core/Registry;Lnet/minecraft/core/MappedRegistry;Lnet/minecraft/world/level/chunk/ChunkGenerator;)Lnet/minecraft/core/MappedRegistry; params: 0: dimensionTypes, 1: dimensions, 2: chunkGenerator method: withSeed (ZLjava/util/OptionalLong;)Lnet/minecraft/world/level/levelgen/WorldGenSettings; params: 1: hardcore, 2: levelSeed class: WorldgenRandom path: net/minecraft/world/level/levelgen/WorldgenRandom method: <init> method: seedSlimeChunk (IIJJ)Ljava/util/Random; params: 0: chunkX, 1: chunkZ, 2: seed method: setBaseChunkSeed method: setDecorationSeed (JII)J params: 1: baseSeed, 3: x, 4: z method: setFeatureSeed (JII)J params: 1: baseSeed, 3: x, 4: z method: setLargeFeatureSeed (JII)J params: 1: seed, 3: x, 4: z method: setLargeFeatureWithSalt (JIII)J params: 1: baseSeed, 3: x, 4: z, 5: modifier lighting class: BlockLightEngine path: net/minecraft/world/level/lighting/BlockLightEngine method: checkNeighborsAfterUpdate (JIZ)V params: 1: pos, 3: level, 4: isDecreasing method: computeLevelFromNeighbor (JJI)I params: 1: startPos, 3: endPos, 5: startLevel Returns level propagated from start position with specified level to the neighboring end position.
method: getComputedLevel (JJI)I params: 1: pos, 3: excludedSourcePos, 5: level Computes level propagated from neighbors of specified position with given existing level, excluding the given source position.
method: getLightEmission class: BlockLightSectionStorage path: net/minecraft/world/level/lighting/BlockLightSectionStorage method: getLightValue class: DataLayerStorageMap path: net/minecraft/world/level/lighting/DataLayerStorageMap method: copyDataLayer (J)V params: 1: sectionPos method: getLayer (J)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: sectionPos method: hasLayer (J)Z params: 1: sectionPos method: removeLayer (J)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: sectionPos method: setLayer (JLnet/minecraft/world/level/chunk/DataLayer;)V params: 1: sectionPos, 3: array class: DynamicGraphMinFixedPoint path: net/minecraft/world/level/lighting/DynamicGraphMinFixedPoint method: checkEdge (JJIIIZ)V params: 1: fromPos, 3: toPos, 5: newLevel, 6: previousLevel, 7: propagationLevel, 8: isDecreasing method: checkEdge (JJIZ)V params: 1: fromPos, 3: toPos, 5: newLevel, 6: isDecreasing method: checkFirstQueuedLevel method: checkNeighbor (JJIZ)V params: 1: fromPos, 3: toPos, 5: sourceLevel, 6: isDecreasing method: checkNeighborsAfterUpdate (JIZ)V params: 1: pos, 3: level, 4: isDecreasing method: checkNode method: computeLevelFromNeighbor (JJI)I params: 1: startPos, 3: endPos, 5: startLevel Returns level propagated from start position with specified level to the neighboring end position.
method: dequeue (JIIZ)V params: 1: pos, 3: level, 4: maxLevel, 5: removeAll method: enqueue (JII)V params: 1: pos, 3: levelToSet, 4: updateLevel method: getComputedLevel (JJI)I params: 1: pos, 3: excludedSourcePos, 5: level Computes level propagated from neighbors of specified position with given existing level, excluding the given source position.
method: getKey (II)I params: 1: level1, 2: level2 method: getLevel (J)I params: 1: sectionPos method: isSource method: removeFromQueue method: runUpdates (I)I params: 1: toUpdateCount method: setLevel (JI)V params: 1: sectionPos, 3: level class: FlatDataLayer path: net/minecraft/world/level/lighting/FlatDataLayer method: getIndex (III)I params: 1: x, 2: y, 3: z class: LayerLightEngine path: net/minecraft/world/level/lighting/LayerLightEngine method: checkNode method: computeLevelFromNeighbor (JJI)I params: 1: startPos, 3: endPos, 5: startLevel Returns level propagated from start position with specified level to the neighboring end position.
method: getChunk (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getComputedLevel (JJI)I params: 1: pos, 3: excludedSourcePos, 5: level Computes level propagated from neighbors of specified position with given existing level, excluding the given source position.
method: getDebugData (J)Ljava/lang/String; params: 1: sectionPos method: getLevel (J)I params: 1: sectionPos method: getLevel (Lnet/minecraft/world/level/chunk/DataLayer;J)I params: 1: array, 2: levelPos method: getLightValue (Lnet/minecraft/core/BlockPos;)I params: 1: levelPos method: getShape (Lnet/minecraft/world/level/block/state/BlockState;JLnet/minecraft/core/Direction;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: blockState, 2: levelPos, 4: direction method: getStateAndOpacity (JLorg/apache/commons/lang3/mutable/MutableInt;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos, 3: opacityOut method: isSource method: queueSectionData (JLnet/minecraft/world/level/chunk/DataLayer;Z)V params: 1: sectionPos, 3: array method: retainData (Lnet/minecraft/world/level/ChunkPos;Z)V params: 1: pos, 2: retain method: setLevel (JI)V params: 1: sectionPos, 3: level method: updateSectionStatus (Lnet/minecraft/core/SectionPos;Z)V params: 1: pos, 2: isEmpty class: LayerLightEventListener path: net/minecraft/world/level/lighting/LayerLightEventListener method: getLightValue (Lnet/minecraft/core/BlockPos;)I params: 1: levelPos class: LayerLightEventListener$DummyLightLayerEventListener path: net/minecraft/world/level/lighting/LayerLightEventListener$DummyLightLayerEventListener method: getLightValue (Lnet/minecraft/core/BlockPos;)I params: 1: levelPos method: updateSectionStatus (Lnet/minecraft/core/SectionPos;Z)V params: 1: pos, 2: isEmpty class: LayerLightSectionStorage path: net/minecraft/world/level/lighting/LayerLightSectionStorage field: columnsToRetainQueuedDataFor Lit/unimi/dsi/fastutil/longs/LongSet; Section column positions (section positions with Y=0) that need to be kept even if some of their sections could otherwise be removed.
field: dataSectionSet Lit/unimi/dsi/fastutil/longs/LongSet; Section positions with blocks in them that can be affected by lighting. All neighbor sections can spread light into them.
field: toRemove Lit/unimi/dsi/fastutil/longs/LongSet; Set of section positions that can be removed, because their light won't affect any blocks.
method: clearQueuedSectionBlocks (Lnet/minecraft/world/level/lighting/LayerLightEngine;J)V params: 1: engine, 2: sectionPos method: createDataLayer (J)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: sectionPos method: getDataLayer (JZ)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: sectionPos, 3: cached method: getDataLayer (Lnet/minecraft/world/level/lighting/DataLayerStorageMap;J)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: map, 2: sectionPos method: getDataLayerData (J)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: sectionPos method: getLevel (J)I params: 1: sectionPos method: getLevelFromSource method: getLightValue method: getStoredLevel method: markNewInconsistencies (Lnet/minecraft/world/level/lighting/LayerLightEngine;ZZ)V params: 1: engine, 2: updateSkyLight, 3: updateBlockLight method: onNodeAdded (J)V params: 1: sectionPos method: queueSectionData (JLnet/minecraft/world/level/chunk/DataLayer;Z)V params: 1: sectionPos, 3: array method: retainData (JZ)V params: 1: sectionColumnPos, 3: retain method: setLevel (JI)V params: 1: sectionPos, 3: level method: setStoredLevel (JI)V params: 1: levelPos, 3: lightLevel method: storingLightForSection (J)Z params: 1: sectionPos method: updateSectionStatus (JZ)V params: 1: sectionPos, 3: isEmpty class: LevelLightEngine path: net/minecraft/world/level/lighting/LevelLightEngine method: getLayerListener (Lnet/minecraft/world/level/LightLayer;)Lnet/minecraft/world/level/lighting/LayerLightEventListener; params: 1: type method: getRawBrightness (Lnet/minecraft/core/BlockPos;I)I params: 1: blockPos, 2: amount method: queueSectionData (Lnet/minecraft/world/level/LightLayer;Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/chunk/DataLayer;Z)V params: 1: type, 2: pos, 3: array method: retainData (Lnet/minecraft/world/level/ChunkPos;Z)V params: 1: pos, 2: retain method: updateSectionStatus (Lnet/minecraft/core/SectionPos;Z)V params: 1: pos, 2: isEmpty class: LightEventListener path: net/minecraft/world/level/lighting/LightEventListener method: updateSectionStatus (Lnet/minecraft/core/SectionPos;Z)V params: 1: pos, 2: isEmpty class: SkyLightEngine path: net/minecraft/world/level/lighting/SkyLightEngine method: checkNeighborsAfterUpdate (JIZ)V params: 1: pos, 3: level, 4: isDecreasing method: checkNode method: computeLevelFromNeighbor (JJI)I params: 1: startPos, 3: endPos, 5: startLevel Returns level propagated from start position with specified level to the neighboring end position.
method: getComputedLevel (JJI)I params: 1: pos, 3: excludedSourcePos, 5: level Computes level propagated from neighbors of specified position with given existing level, excluding the given source position.
method: getDebugData (J)Ljava/lang/String; params: 1: sectionPos class: SkyLightSectionStorage path: net/minecraft/world/level/lighting/SkyLightSectionStorage method: createDataLayer (J)Lnet/minecraft/world/level/chunk/DataLayer; params: 1: sectionPos method: getLightValue method: markNewInconsistencies (Lnet/minecraft/world/level/lighting/LayerLightEngine;ZZ)V params: 1: engine, 2: updateSkyLight, 3: updateBlockLight method: onNodeAdded (J)V params: 1: sectionPos material class: EmptyFluid path: net/minecraft/world/level/material/EmptyFluid method: canBeReplacedWith (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/Fluid;Lnet/minecraft/core/Direction;)Z params: 1: fluidState, 2: blockReader, 3: pos, 4: fluid, 5: direction method: createLegacyBlock (Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state method: getAmount (Lnet/minecraft/world/level/material/FluidState;)I params: 1: state method: getFlow (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/phys/Vec3; params: 1: blockReader, 2: pos, 3: fluidState method: isSource (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state class: FlowingFluid path: net/minecraft/world/level/material/FlowingFluid method: affectsFlow (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state method: beforeDestroyingBlock (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: canHoldFluid (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: pos, 3: state, 4: fluid method: canSpreadTo (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/material/Fluid;)Z params: 1: level, 2: fromPos, 3: fromBlockState, 4: direction, 5: toPos, 6: toBlockState, 7: toFluidState, 8: fluid method: createFluidStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getDropOff (Lnet/minecraft/world/level/LevelReader;)I params: 1: level method: getFlow (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/phys/Vec3; params: 1: blockReader, 2: pos, 3: fluidState method: getFlowing (IZ)Lnet/minecraft/world/level/material/FluidState; params: 1: level, 2: falling method: getLegacyLevel (Lnet/minecraft/world/level/material/FluidState;)I params: 0: state method: getNewLiquid (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/FluidState; params: 1: level, 2: pos, 3: blockState method: getSlopeFindDistance (Lnet/minecraft/world/level/LevelReader;)I params: 1: level method: getSource (Z)Lnet/minecraft/world/level/material/FluidState; params: 1: falling method: isSolidFace (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: level, 2: neighborPos, 3: side method: isSourceBlockOfThisType (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state method: sourceNeighborCount (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)I params: 1: level, 2: pos Returns the number of immediately adjacent source blocks of the same fluid that lie on the horizontal plane.
method: spread (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;)V params: 1: level, 2: pos, 3: state method: spreadTo (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/material/FluidState;)V params: 1: level, 2: pos, 3: blockState, 4: direction, 5: fluidState method: tick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;)V params: 1: level, 2: pos, 3: state class: Fluid path: net/minecraft/world/level/material/Fluid method: animateTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random method: canBeReplacedWith (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/Fluid;Lnet/minecraft/core/Direction;)Z params: 1: fluidState, 2: blockReader, 3: pos, 4: fluid, 5: direction method: createFluidStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: createLegacyBlock (Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state method: getAmount (Lnet/minecraft/world/level/material/FluidState;)I params: 1: state method: getFlow (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/phys/Vec3; params: 1: blockReader, 2: pos, 3: fluidState method: is (Lnet/minecraft/tags/Tag;)Z params: 1: tag method: isSame (Lnet/minecraft/world/level/material/Fluid;)Z params: 1: fluid method: isSource (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state method: randomTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random method: registerDefaultState (Lnet/minecraft/world/level/material/FluidState;)V params: 1: state method: tick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;)V params: 1: level, 2: pos, 3: state class: FluidState path: net/minecraft/world/level/material/FluidState method: is (Lnet/minecraft/tags/Tag;)Z params: 1: tag method: randomTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Ljava/util/Random;)V params: 1: level, 2: pos, 3: random method: shouldRenderBackwardUpFace (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: tick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos class: Fluids path: net/minecraft/world/level/material/Fluids method: register (Ljava/lang/String;Lnet/minecraft/world/level/material/Fluid;)Lnet/minecraft/world/level/material/Fluid; params: 0: key, 1: fluid class: LavaFluid path: net/minecraft/world/level/material/LavaFluid method: animateTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random method: beforeDestroyingBlock (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: canBeReplacedWith (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/Fluid;Lnet/minecraft/core/Direction;)Z params: 1: fluidState, 2: blockReader, 3: pos, 4: fluid, 5: direction method: createLegacyBlock (Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state method: fizz (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: pos method: getDropOff (Lnet/minecraft/world/level/LevelReader;)I params: 1: level method: getSlopeFindDistance (Lnet/minecraft/world/level/LevelReader;)I params: 1: level method: hasFlammableNeighbours (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isFlammable (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Z params: 1: level, 2: pos method: isSame (Lnet/minecraft/world/level/material/Fluid;)Z params: 1: fluid method: randomTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random method: spreadTo (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/material/FluidState;)V params: 1: level, 2: pos, 3: blockState, 4: direction, 5: fluidState class: LavaFluid$Flowing path: net/minecraft/world/level/material/LavaFluid$Flowing method: createFluidStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAmount (Lnet/minecraft/world/level/material/FluidState;)I params: 1: state method: isSource (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state class: LavaFluid$Source path: net/minecraft/world/level/material/LavaFluid$Source method: getAmount (Lnet/minecraft/world/level/material/FluidState;)I params: 1: state method: isSource (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state class: Material path: net/minecraft/world/level/material/Material field: SNOW Lnet/minecraft/world/level/material/Material; The material for crafted snow.
field: color Lnet/minecraft/world/level/material/MaterialColor; The color index used to draw the blocks of this material on maps.
field: pushReaction Lnet/minecraft/world/level/material/PushReaction; Mobility information flag. 0 indicates that this block is normal, 1 indicates that it can't push other blocks, 2 indicates that it can't be pushed.
method: blocksMotion ()Z Returns if this material is considered solid or not
method: getColor ()Lnet/minecraft/world/level/material/MaterialColor; Retrieves the color index of the block. This is is the same color used by vanilla maps to represent this block.
method: isFlammable ()Z Returns if the block can burn or not.
method: isLiquid ()Z Returns if blocks of these materials are liquids.
method: isReplaceable ()Z Returns whether the material can be replaced by other blocks when placed - eg snow, vines and tall grass.
method: isSolid ()Z Returns true if the block is a considered solid. This is true by default.
method: isSolidBlocking ()Z Indicate if the material is opaque
class: MaterialColor path: net/minecraft/world/level/material/MaterialColor field: MATERIAL_COLORS [Lnet/minecraft/world/level/material/MaterialColor; Holds all the 16 colors used on maps, very similar of a pallete system.
method: <init> (II)V params: 1: id, 2: color method: calculateRGBColor class: WaterFluid path: net/minecraft/world/level/material/WaterFluid method: animateTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/FluidState;Ljava/util/Random;)V params: 1: level, 2: pos, 3: state, 4: random method: beforeDestroyingBlock (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: level, 2: pos, 3: state method: canBeReplacedWith (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/material/Fluid;Lnet/minecraft/core/Direction;)Z params: 1: fluidState, 2: blockReader, 3: pos, 4: fluid, 5: direction method: createLegacyBlock (Lnet/minecraft/world/level/material/FluidState;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: state method: getDropOff (Lnet/minecraft/world/level/LevelReader;)I params: 1: level method: getSlopeFindDistance (Lnet/minecraft/world/level/LevelReader;)I params: 1: level method: isSame (Lnet/minecraft/world/level/material/Fluid;)Z params: 1: fluid class: WaterFluid$Flowing path: net/minecraft/world/level/material/WaterFluid$Flowing method: createFluidStateDefinition (Lnet/minecraft/world/level/block/state/StateDefinition$Builder;)V params: 1: builder method: getAmount (Lnet/minecraft/world/level/material/FluidState;)I params: 1: state method: isSource (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state class: WaterFluid$Source path: net/minecraft/world/level/material/WaterFluid$Source method: getAmount (Lnet/minecraft/world/level/material/FluidState;)I params: 1: state method: isSource (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state newbiome area class: Area path: net/minecraft/world/level/newbiome/area/Area method: get class: LazyArea path: net/minecraft/world/level/newbiome/area/LazyArea method: get context class: BigContext path: net/minecraft/world/level/newbiome/context/BigContext method: createResult (Lnet/minecraft/world/level/newbiome/layer/traits/PixelTransformer;)Lnet/minecraft/world/level/newbiome/area/Area; params: 1: pixelTransformer method: createResult (Lnet/minecraft/world/level/newbiome/layer/traits/PixelTransformer;Lnet/minecraft/world/level/newbiome/area/Area;)Lnet/minecraft/world/level/newbiome/area/Area; params: 1: pixelTransformer, 2: area method: createResult (Lnet/minecraft/world/level/newbiome/layer/traits/PixelTransformer;Lnet/minecraft/world/level/newbiome/area/Area;Lnet/minecraft/world/level/newbiome/area/Area;)Lnet/minecraft/world/level/newbiome/area/Area; params: 2: firstArea, 3: secondArea method: initRandom class: Context path: net/minecraft/world/level/newbiome/context/Context method: nextRandom class: LazyAreaContext path: net/minecraft/world/level/newbiome/context/LazyAreaContext method: createResult (Lnet/minecraft/world/level/newbiome/layer/traits/PixelTransformer;)Lnet/minecraft/world/level/newbiome/area/LazyArea; params: 1: pixelTransformer method: createResult (Lnet/minecraft/world/level/newbiome/layer/traits/PixelTransformer;Lnet/minecraft/world/level/newbiome/area/LazyArea;)Lnet/minecraft/world/level/newbiome/area/LazyArea; params: 1: pixelTransformer, 2: area method: createResult (Lnet/minecraft/world/level/newbiome/layer/traits/PixelTransformer;Lnet/minecraft/world/level/newbiome/area/LazyArea;Lnet/minecraft/world/level/newbiome/area/LazyArea;)Lnet/minecraft/world/level/newbiome/area/LazyArea; params: 2: firstArea, 3: secondArea method: initRandom method: mixSeed (JJ)J params: 0: left, 2: right method: nextRandom layer traits class: AreaTransformer0 path: net/minecraft/world/level/newbiome/layer/traits/AreaTransformer0 method: run (Lnet/minecraft/world/level/newbiome/context/BigContext;)Lnet/minecraft/world/level/newbiome/area/AreaFactory; params: 1: context class: AreaTransformer1 path: net/minecraft/world/level/newbiome/layer/traits/AreaTransformer1 method: applyPixel (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/Area;II)I params: 1: context, 2: area, 3: x, 4: z method: run (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/AreaFactory;)Lnet/minecraft/world/level/newbiome/area/AreaFactory; params: 1: context, 2: areaFactory class: AreaTransformer2 path: net/minecraft/world/level/newbiome/layer/traits/AreaTransformer2 method: run (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/AreaFactory;Lnet/minecraft/world/level/newbiome/area/AreaFactory;)Lnet/minecraft/world/level/newbiome/area/AreaFactory; params: 1: context, 2: areaFactory, 3: areaFactoryConflicting class: BishopTransformer path: net/minecraft/world/level/newbiome/layer/traits/BishopTransformer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: x, 3: southEast method: applyPixel (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/Area;II)I params: 1: context, 2: area, 3: x, 4: z class: C0Transformer path: net/minecraft/world/level/newbiome/layer/traits/C0Transformer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value method: applyPixel (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/Area;II)I params: 1: context, 2: area, 3: x, 4: z class: C1Transformer path: net/minecraft/world/level/newbiome/layer/traits/C1Transformer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value method: applyPixel (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/Area;II)I params: 1: context, 2: area, 3: x, 4: z class: CastleTransformer path: net/minecraft/world/level/newbiome/layer/traits/CastleTransformer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: east, 4: south, 5: west, 6: center method: applyPixel (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/Area;II)I params: 1: context, 2: area, 3: x, 4: z class: DimensionOffset0Transformer path: net/minecraft/world/level/newbiome/layer/traits/DimensionOffset0Transformer method: getParentX method: getParentY class: DimensionOffset1Transformer path: net/minecraft/world/level/newbiome/layer/traits/DimensionOffset1Transformer method: getParentX method: getParentY class: DimensionTransformer path: net/minecraft/world/level/newbiome/layer/traits/DimensionTransformer method: getParentX method: getParentY class: PixelTransformer path: net/minecraft/world/level/newbiome/layer/traits/PixelTransformer method: apply class: AddDeepOceanLayer path: net/minecraft/world/level/newbiome/layer/AddDeepOceanLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: AddEdgeLayer$CoolWarm path: net/minecraft/world/level/newbiome/layer/AddEdgeLayer$CoolWarm method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: AddEdgeLayer$HeatIce path: net/minecraft/world/level/newbiome/layer/AddEdgeLayer$HeatIce method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: AddEdgeLayer$IntroduceSpecial path: net/minecraft/world/level/newbiome/layer/AddEdgeLayer$IntroduceSpecial method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value class: AddIslandLayer path: net/minecraft/world/level/newbiome/layer/AddIslandLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: x, 3: southEast class: AddMushroomIslandLayer path: net/minecraft/world/level/newbiome/layer/AddMushroomIslandLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: x, 3: southEast class: AddSnowLayer path: net/minecraft/world/level/newbiome/layer/AddSnowLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value class: BiomeEdgeLayer path: net/minecraft/world/level/newbiome/layer/BiomeEdgeLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center method: checkEdgeStrict ([IIIIIIII)Z Creates a border around a biome.
class: BiomeInitLayer path: net/minecraft/world/level/newbiome/layer/BiomeInitLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value class: Layers path: net/minecraft/world/level/newbiome/layer/Layers method: isOcean method: isShallowOcean method: zoom (JLnet/minecraft/world/level/newbiome/layer/traits/AreaTransformer1;Lnet/minecraft/world/level/newbiome/area/AreaFactory;ILjava/util/function/LongFunction;)Lnet/minecraft/world/level/newbiome/area/AreaFactory; params: 0: seed, 2: parent, 4: count, 5: contextFactory class: RareBiomeLargeLayer path: net/minecraft/world/level/newbiome/layer/RareBiomeLargeLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value class: RareBiomeSpotLayer path: net/minecraft/world/level/newbiome/layer/RareBiomeSpotLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value class: RemoveTooMuchOceanLayer path: net/minecraft/world/level/newbiome/layer/RemoveTooMuchOceanLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: RiverInitLayer path: net/minecraft/world/level/newbiome/layer/RiverInitLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;I)I params: 1: context, 2: value class: RiverLayer path: net/minecraft/world/level/newbiome/layer/RiverLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: ShoreLayer path: net/minecraft/world/level/newbiome/layer/ShoreLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: SmoothLayer path: net/minecraft/world/level/newbiome/layer/SmoothLayer method: apply (Lnet/minecraft/world/level/newbiome/context/Context;IIIII)I params: 1: context, 2: north, 3: west, 4: south, 5: east, 6: center class: ZoomLayer path: net/minecraft/world/level/newbiome/layer/ZoomLayer method: applyPixel (Lnet/minecraft/world/level/newbiome/context/BigContext;Lnet/minecraft/world/level/newbiome/area/Area;II)I params: 1: context, 2: area, 3: x, 4: z method: getParentX method: getParentY method: modeOrRandom (Lnet/minecraft/world/level/newbiome/context/BigContext;IIII)I params: 1: context, 2: first, 3: second, 4: third, 5: fourth class: ZoomLayer$1 path: net/minecraft/world/level/newbiome/layer/ZoomLayer$1 method: modeOrRandom (Lnet/minecraft/world/level/newbiome/context/BigContext;IIII)I params: 1: context, 2: first, 3: second, 4: third, 5: fourth pathfinder class: BinaryHeap path: net/minecraft/world/level/pathfinder/BinaryHeap method: changeCost (Lnet/minecraft/world/level/pathfinder/Node;F)V params: 1: point, 2: cost Changes the provided point's total cost if costIn is smaller
method: clear method: downHeap (I)V params: 1: index Sorts a point to the right
method: insert (Lnet/minecraft/world/level/pathfinder/Node;)Lnet/minecraft/world/level/pathfinder/Node; params: 1: point Adds a point to the path
method: isEmpty ()Z Returns true if this path contains no points
method: pop ()Lnet/minecraft/world/level/pathfinder/Node; Returns and removes the first point in the path
method: upHeap (I)V params: 1: index Sorts a point to the left
class: FlyNodeEvaluator path: net/minecraft/world/level/pathfinder/FlyNodeEvaluator method: done ()V This method is called when all nodes have been processed and PathEntity is created.
{@link net.minecraft.world.pathfinder.WalkNodeProcessor WalkNodeProcessor} uses this to change its field {@link net.minecraft.world.pathfinder.WalkNodeProcessor#avoidsWater avoidsWater}
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;III)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: x, 3: y, 4: z Returns the node type at the specified postion taking the block below into account
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;IIILnet/minecraft/world/entity/Mob;IIIZZ)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: blockaccess, 2: x, 3: y, 4: z, 5: entityliving, 6: xSize, 7: ySize, 8: zSize, 9: canBreakDoors, 10: canEnterDoors Returns the significant (e.g LAVA if the entity were half in lava) node type at the location taking the surroundings and the entity size in account
method: getNode (III)Lnet/minecraft/world/level/pathfinder/Node; params: 1: x, 2: y, 3: z Returns a mapped point or creates and adds one
class: Node path: net/minecraft/world/level/pathfinder/Node field: costMalus F The additional cost of the path point. If negative, the path point will be sorted out by NodeProcessors.
field: f F The total cost of the path containing this path point. Used as sort criteria in PathHeap. Corresponds to the A* f-score.
field: g F The total cost of all path points up to this one. Corresponds to the A* g-score.
field: h F The estimated cost from this path point to the target. Corresponds to the A* h-score.
field: heapIdx I The index in the PathHeap. -1 if not assigned.
method: cloneAndMove (III)Lnet/minecraft/world/level/pathfinder/Node; params: 1: x, 2: y, 3: z method: createFromStream (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/level/pathfinder/Node; params: 0: buf method: createHash (III)I params: 0: x, 1: y, 2: z method: distanceTo (Lnet/minecraft/world/level/pathfinder/Node;)F params: 1: pathpoint Returns the linear distance to another path point
method: distanceToSqr (Lnet/minecraft/world/level/pathfinder/Node;)F params: 1: pathpoint Returns the squared distance to another path point
method: inOpenSet ()Z Returns true if this point has already been assigned to a path
class: NodeEvaluator path: net/minecraft/world/level/pathfinder/NodeEvaluator method: done ()V This method is called when all nodes have been processed and PathEntity is created.
{@link net.minecraft.world.pathfinder.WalkNodeProcessor WalkNodeProcessor} uses this to change its field {@link net.minecraft.world.pathfinder.WalkNodeProcessor#avoidsWater avoidsWater}
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;III)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: x, 3: y, 4: z Returns the node type at the specified postion taking the block below into account
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;IIILnet/minecraft/world/entity/Mob;IIIZZ)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: blockaccess, 2: x, 3: y, 4: z, 5: entityliving, 6: xSize, 7: ySize, 8: zSize, 9: canBreakDoors, 10: canEnterDoors Returns the significant (e.g LAVA if the entity were half in lava) node type at the location taking the surroundings and the entity size in account
method: getNode (III)Lnet/minecraft/world/level/pathfinder/Node; params: 1: x, 2: y, 3: z Returns a mapped point or creates and adds one
method: setCanFloat method: setCanOpenDoors (Z)V params: 1: canOpenDoors method: setCanPassDoors (Z)V params: 1: canEnterDoors class: Path path: net/minecraft/world/level/pathfinder/Path method: advance ()V Directs this path to the next point in its array
method: createFromStream (Lnet/minecraft/network/FriendlyByteBuf;)Lnet/minecraft/world/level/pathfinder/Path; params: 0: buf method: getEndNode ()Lnet/minecraft/world/level/pathfinder/Node; returns the last PathPoint of the Array
method: getEntityPosAtNode (Lnet/minecraft/world/entity/Entity;I)Lnet/minecraft/world/phys/Vec3; params: 1: entity, 2: index Gets the vector of the PathPoint associated with the given index.
method: getNextEntityPos (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/phys/Vec3; params: 1: entity returns the current PathEntity target node as Vec3D
method: getNode (I)Lnet/minecraft/world/level/pathfinder/Node; params: 1: index return the PathPoint located at the specified PathIndex, usually the current one
method: isDone ()Z Returns true if this path has reached the end
method: replaceNode (ILnet/minecraft/world/level/pathfinder/Node;)V params: 1: index, 2: point method: sameAs (Lnet/minecraft/world/level/pathfinder/Path;)Z params: 1: pathentity Returns true if the EntityPath are the same. Non instance related equals.
method: setNextNodeIndex (I)V params: 1: currentPathIndex method: truncateNodes class: PathFinder path: net/minecraft/world/level/pathfinder/PathFinder method: findPath (Lnet/minecraft/world/level/PathNavigationRegion;Lnet/minecraft/world/entity/Mob;Ljava/util/Set;FIF)Lnet/minecraft/world/level/pathfinder/Path; params: 1: region, 2: mob, 3: targetPositions, 4: maxRange, 5: accuracy, 6: searchDepthMultiplier Finds a path to one of the specified positions and post-processes it or returns null if no path could be found within given accuracy
method: reconstructPath (Lnet/minecraft/world/level/pathfinder/Node;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/level/pathfinder/Path; params: 1: point, 2: targetPos, 3: reachesTarget Converts a recursive path point structure into a path
class: SwimNodeEvaluator path: net/minecraft/world/level/pathfinder/SwimNodeEvaluator method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;III)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: x, 3: y, 4: z Returns the node type at the specified postion taking the block below into account
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;IIILnet/minecraft/world/entity/Mob;IIIZZ)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: blockaccess, 2: x, 3: y, 4: z, 5: entityliving, 6: xSize, 7: ySize, 8: zSize, 9: canBreakDoors, 10: canEnterDoors Returns the significant (e.g LAVA if the entity were half in lava) node type at the location taking the surroundings and the entity size in account
method: getNode (III)Lnet/minecraft/world/level/pathfinder/Node; params: 1: x, 2: y, 3: z Returns a mapped point or creates and adds one
class: Target path: net/minecraft/world/level/pathfinder/Target field: bestNode Lnet/minecraft/world/level/pathfinder/Node; The nearest path point of the path that is constructed
method: getBestNode ()Lnet/minecraft/world/level/pathfinder/Node; Gets the nearest path point of the path that is constructed
class: WalkNodeEvaluator path: net/minecraft/world/level/pathfinder/WalkNodeEvaluator method: checkNeighbourBlocks (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/world/level/pathfinder/BlockPathTypes;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 0: level, 1: centerPos, 2: nodeType Returns possible dangers in a 3x3 cube, otherwise nodeType
method: done ()V This method is called when all nodes have been processed and PathEntity is created.
{@link net.minecraft.world.pathfinder.WalkNodeProcessor WalkNodeProcessor} uses this to change its field {@link net.minecraft.world.pathfinder.WalkNodeProcessor#avoidsWater avoidsWater}
method: evaluateBlockPathType (Lnet/minecraft/world/level/BlockGetter;ZZLnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/pathfinder/BlockPathTypes;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: canOpenDoors, 3: canEnterDoors, 4: pos, 5: nodeType Returns the exact path node type according to abilities and settings of the entity
method: getBlockPathType (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: entityliving, 2: pos Returns a significant cached path node type for specified position or calculates it
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;III)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: x, 3: y, 4: z Returns the node type at the specified postion taking the block below into account
method: getBlockPathType (Lnet/minecraft/world/level/BlockGetter;IIILnet/minecraft/world/entity/Mob;IIIZZ)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: blockaccess, 2: x, 3: y, 4: z, 5: entityliving, 6: xSize, 7: ySize, 8: zSize, 9: canBreakDoors, 10: canEnterDoors Returns the significant (e.g LAVA if the entity were half in lava) node type at the location taking the surroundings and the entity size in account
method: getBlockPathTypeStatic (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos$MutableBlockPos;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 0: level, 1: pos Returns the node type at the specified postion taking the block below into account
method: getBlockPathTypes (Lnet/minecraft/world/level/BlockGetter;IIIIIIZZLjava/util/EnumSet;Lnet/minecraft/world/level/pathfinder/BlockPathTypes;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: level, 2: x, 3: y, 4: z, 5: xSize, 6: ySize, 7: zSize, 8: canOpenDoors, 9: canEnterDoors, 10: nodeTypeEnum, 11: nodeType, 12: pos Populates the nodeTypeEnum with all the surrounding node types and returns the center one
method: getCachedBlockType (Lnet/minecraft/world/entity/Mob;III)Lnet/minecraft/world/level/pathfinder/BlockPathTypes; params: 1: entity, 2: x, 3: y, 4: z Returns a cached path node type for specified position or calculates it
method: getFloorLevel (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)D params: 0: level, 1: pos method: isBurningBlock (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state Checks whether the specified block state can cause burn damage
portal class: PortalForcer path: net/minecraft/world/level/portal/PortalForcer method: canHostFrame (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/core/Direction;I)Z params: 1: originalPos, 2: offsetPos, 3: direction, 4: offsetScale method: createPortal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction$Axis;)Ljava/util/Optional; params: 1: pos, 2: axis method: findPortalAround (Lnet/minecraft/core/BlockPos;Z)Ljava/util/Optional; params: 1: pos, 2: isNether class: PortalShape path: net/minecraft/world/level/portal/PortalShape method: isEmpty (Lnet/minecraft/world/level/block/state/BlockState;)Z params: 0: state saveddata maps class: MapBanner path: net/minecraft/world/level/saveddata/maps/MapBanner method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/network/chat/Component;)V params: 1: pos, 2: color, 3: name method: fromWorld (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/saveddata/maps/MapBanner; params: 0: level, 1: pos method: load (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/saveddata/maps/MapBanner; params: 0: compoundTag class: MapDecoration path: net/minecraft/world/level/saveddata/maps/MapDecoration method: <init> (Lnet/minecraft/world/level/saveddata/maps/MapDecoration$Type;BBBLnet/minecraft/network/chat/Component;)V params: 1: type, 2: x, 3: y, 4: rot, 5: name class: MapDecoration$Type path: net/minecraft/world/level/saveddata/maps/MapDecoration$Type method: byIcon (B)Lnet/minecraft/world/level/saveddata/maps/MapDecoration$Type; params: 0: iconId class: MapFrame path: net/minecraft/world/level/saveddata/maps/MapFrame method: <init> (Lnet/minecraft/core/BlockPos;II)V params: 1: pos, 2: rotation, 3: entityId method: frameId (Lnet/minecraft/core/BlockPos;)Ljava/lang/String; params: 0: pos method: load (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/saveddata/maps/MapFrame; params: 0: compoundTag class: MapIndex path: net/minecraft/world/level/saveddata/maps/MapIndex method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
class: MapItemSavedData path: net/minecraft/world/level/saveddata/maps/MapItemSavedData method: addDecoration (Lnet/minecraft/world/level/saveddata/maps/MapDecoration$Type;Lnet/minecraft/world/level/LevelAccessor;Ljava/lang/String;DDDLnet/minecraft/network/chat/Component;)V params: 1: type, 2: level, 3: decorationName, 4: levelX, 6: levelZ, 8: rotation, 10: name method: addTargetDecoration (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/BlockPos;Ljava/lang/String;Lnet/minecraft/world/level/saveddata/maps/MapDecoration$Type;)V params: 0: map, 1: target, 2: decorationName, 3: type method: checkBanners (Lnet/minecraft/world/level/BlockGetter;II)V params: 1: reader, 2: x, 3: z method: getHoldingPlayer (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData$HoldingPlayer; params: 1: player method: removedFromFrame (Lnet/minecraft/core/BlockPos;I)V params: 1: pos, 2: entityId method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
method: tickCarriedBy (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)V params: 1: player, 2: mapStack Adds the player passed to the list of visible players and checks to see which players are visible
class: MapItemSavedData$HoldingPlayer path: net/minecraft/world/level/saveddata/maps/MapItemSavedData$HoldingPlayer field: maxDirtyX I The highest dirty x value
field: maxDirtyY I The highest dirty z value
field: minDirtyX I The lowest dirty x value
field: minDirtyY I The lowest dirty z value
method: <init> (Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData;Lnet/minecraft/world/entity/player/Player;)V params: 2: player class: SavedData path: net/minecraft/world/level/saveddata/SavedData method: isDirty ()Z Whether this {@code SavedData} needs saving to disk.
method: save (Ljava/io/File;)V params: 1: file Saves the {@code SavedData} to disc
method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compoundTag Used to save the {@code SavedData} to a {@code CompoundTag}
method: setDirty ()V Marks this {@code SavedData} dirty, to be saved to disk when the level next saves.
method: setDirty (Z)V params: 1: dirty Sets the dirty state of this {@code SavedData}, whether it needs saving to disk.
storage loot entries class: AlternativesEntry path: net/minecraft/world/level/storage/loot/entries/AlternativesEntry A composite loot pool entry container that expands all its children in order until one of them succeeds.
This container succeeds if one of its children succeeds.
method: alternatives ([Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/entries/AlternativesEntry$Builder; params: 0: children method: compose ([Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer;)Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; params: 1: entries Compose the given children into one container.
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: validationContext class: AlternativesEntry$Builder path: net/minecraft/world/level/storage/loot/entries/AlternativesEntry$Builder method: <init> ([Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)V params: 1: children method: otherwise (Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/entries/AlternativesEntry$Builder; params: 1: childBuilder class: ComposableEntryContainer path: net/minecraft/world/level/storage/loot/entries/ComposableEntryContainer Base interface for loot pool entry containers.
A loot pool entry container holds one or more loot pools and will expand into those.
Additionally, the container can either succeed or fail, based on its conditions.
field: ALWAYS_FALSE Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; A container which always fails.
field: ALWAYS_TRUE Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; A container that always succeeds.
method: and (Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer;)Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; params: 1: entry method: expand (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)Z params: 1: lootContext, 2: entryConsumer Expand this loot pool entry container by calling {@code entryConsumer} with any applicable entries
@return whether this loot pool entry container successfully expanded or not
method: or (Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer;)Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; params: 1: entry class: CompositeEntryBase path: net/minecraft/world/level/storage/loot/entries/CompositeEntryBase Base class for loot pool entry containers that delegate to one or more children.
The actual functionality is provided by composing the children into one composed container (see {@link #compose}).
method: <init> ([Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)V params: 1: children, 2: conditions method: compose ([Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer;)Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; params: 1: entries Compose the given children into one container.
method: createSerializer (Lnet/minecraft/world/level/storage/loot/entries/CompositeEntryBase$CompositeEntryConstructor;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Serializer; params: 0: factory method: expand (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)Z params: 1: lootContext, 2: entryConsumer Expand this loot pool entry container by calling {@code entryConsumer} with any applicable entries
@return whether this loot pool entry container successfully expanded or not
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: validationContext class: CompositeEntryBase$1 path: net/minecraft/world/level/storage/loot/entries/CompositeEntryBase$1 method: deserializeCustom (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/entries/CompositeEntryBase; params: 1: object, 2: context, 3: conditions method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/CompositeEntryBase;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions class: DynamicLoot path: net/minecraft/world/level/storage/loot/entries/DynamicLoot A loot pool entry container that will genererate the dynamic drops with a given name.
@see LootContext.DynamicDrops
method: <init> (Lnet/minecraft/resources/ResourceLocation;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)V params: 1: dynamicDropsName, 2: weight, 3: quality, 4: conditions, 5: functions method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
method: dynamicEntry (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 0: dynamicDropsName class: DynamicLoot$Serializer path: net/minecraft/world/level/storage/loot/entries/DynamicLoot$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)Lnet/minecraft/world/level/storage/loot/entries/DynamicLoot; params: 1: object, 2: context, 3: weight, 4: quality, 5: conditions, 6: functions method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/DynamicLoot;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions class: EmptyLootItem path: net/minecraft/world/level/storage/loot/entries/EmptyLootItem A loot pool entry that does not generate any items.
method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
class: EmptyLootItem$Serializer path: net/minecraft/world/level/storage/loot/entries/EmptyLootItem$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)Lnet/minecraft/world/level/storage/loot/entries/EmptyLootItem; params: 1: object, 2: context, 3: weight, 4: quality, 5: conditions, 6: functions class: EntryGroup path: net/minecraft/world/level/storage/loot/entries/EntryGroup A composite loot pool entry container that expands all its children in order.
This container always succeeds.
method: compose ([Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer;)Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; params: 1: entries Compose the given children into one container.
class: LootItem path: net/minecraft/world/level/storage/loot/entries/LootItem A loot pool entry that always generates a given item.
method: <init> (Lnet/minecraft/world/item/Item;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)V params: 1: item, 2: weight, 3: quality, 4: conditions, 5: functions method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
method: lootTableItem (Lnet/minecraft/world/level/ItemLike;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 0: item class: LootItem$Serializer path: net/minecraft/world/level/storage/loot/entries/LootItem$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)Lnet/minecraft/world/level/storage/loot/entries/LootItem; params: 1: object, 2: context, 3: weight, 4: quality, 5: conditions, 6: functions method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/LootItem;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions class: LootPoolEntries path: net/minecraft/world/level/storage/loot/entries/LootPoolEntries Registration for {@link LootPoolEntryType}.
method: register (Ljava/lang/String;Lnet/minecraft/world/level/storage/loot/Serializer;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryType; params: 0: name, 1: serializer class: LootPoolEntry path: net/minecraft/world/level/storage/loot/entries/LootPoolEntry A loot pool entry generates zero or more stacks of items based on the LootContext.
Each loot pool entry has a weight that determines how likely it is to be generated within a given loot pool.
method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
method: getWeight (F)I params: 1: luck Gets the effective weight based on the loot entry's weight and quality multiplied by looter's luck.
class: LootPoolEntryContainer path: net/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer Base class for loot pool entry containers. This class just stores a list of conditions that are checked before the entry generates loot.
field: conditions [Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition; Conditions for the loot entry to be applied.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)V params: 1: conditions method: canRun (Lnet/minecraft/world/level/storage/loot/LootContext;)Z params: 1: lootContext method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: validationContext class: LootPoolEntryContainer$Builder path: net/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder method: otherwise (Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/entries/AlternativesEntry$Builder; params: 1: childBuilder method: when (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder; params: 1: conditionBuilder class: LootPoolEntryContainer$Serializer path: net/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer; params: 1: json, 2: serializationContext Deserialize a value by reading it from the JsonObject.
method: deserializeCustom (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer; params: 1: object, 2: context, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions class: LootPoolEntryType path: net/minecraft/world/level/storage/loot/entries/LootPoolEntryType The SerializerType for {@link LootPoolEntryContainer}.
class: LootPoolSingletonContainer path: net/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer A LootPoolEntryContainer that expands into a single LootPoolEntry.
field: functions [Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction; Functions that are ran on the entry.
field: quality I The quality of the entry.
field: weight I The weight of the entry.
method: <init> (II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)V params: 1: weight, 2: quality, 3: conditions, 4: functions method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
method: expand (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)Z params: 1: lootContext, 2: entryConsumer Expand this loot pool entry container by calling {@code entryConsumer} with any applicable entries
@return whether this loot pool entry container successfully expanded or not
method: simpleBuilder (Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$EntryConstructor;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 0: entryBuilder method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: validationContext class: LootPoolSingletonContainer$Builder path: net/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder method: apply (Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 1: functionBuilder method: getFunctions ()[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction; Creates an array from the functions list
method: setQuality (I)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 1: quality method: setWeight (I)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 1: weight class: LootPoolSingletonContainer$EntryBase path: net/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$EntryBase method: getWeight (F)I params: 1: luck Gets the effective weight based on the loot entry's weight and quality multiplied by looter's luck.
class: LootPoolSingletonContainer$Serializer path: net/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer; params: 1: object, 2: context, 3: weight, 4: quality, 5: conditions, 6: functions method: deserializeCustom (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer; params: 1: object, 2: context, 3: conditions method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions class: LootTableReference path: net/minecraft/world/level/storage/loot/entries/LootTableReference A loot pool entry container that generates loot by referencing another loot table.
method: <init> (Lnet/minecraft/resources/ResourceLocation;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)V params: 1: lootTableId, 2: weight, 3: quality, 4: conditions, 5: functions method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
method: lootTableReference (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 0: table method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: validationContext class: LootTableReference$Serializer path: net/minecraft/world/level/storage/loot/entries/LootTableReference$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)Lnet/minecraft/world/level/storage/loot/entries/LootTableReference; params: 1: object, 2: context, 3: weight, 4: quality, 5: conditions, 6: functions method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/LootTableReference;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions class: SequentialEntry path: net/minecraft/world/level/storage/loot/entries/SequentialEntry A composite loot pool entry container that expands all its children in order until one of them fails.
This container succeeds if all children succeed.
method: compose ([Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer;)Lnet/minecraft/world/level/storage/loot/entries/ComposableEntryContainer; params: 1: entries Compose the given children into one container.
class: TagEntry path: net/minecraft/world/level/storage/loot/entries/TagEntry A loot pool entry container that generates based on an item tag.
If {@code expand} is set to true, it will expand into separate LootPoolEntries for every item in the tag, otherwise it will simply generate all items in the tag.
method: <init> (Lnet/minecraft/tags/Tag;ZII[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)V params: 1: tag, 2: expand, 3: weight, 4: quality, 5: conditions, 6: functions method: createItemStack (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the loot stacks of this entry.
Contrary to the method name this method does not always generate one stack, it can also generate zero or multiple stacks.
method: expand (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)Z params: 1: lootContext, 2: entryConsumer Expand this loot pool entry container by calling {@code entryConsumer} with any applicable entries
@return whether this loot pool entry container successfully expanded or not
method: expandTag (Lnet/minecraft/tags/Tag;)Lnet/minecraft/world/level/storage/loot/entries/LootPoolSingletonContainer$Builder; params: 0: tag method: expandTag (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)Z params: 1: context, 2: generatorConsumer class: TagEntry$Serializer path: net/minecraft/world/level/storage/loot/entries/TagEntry$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)Lnet/minecraft/world/level/storage/loot/entries/TagEntry; params: 1: object, 2: context, 3: weight, 4: quality, 5: conditions, 6: functions method: serializeCustom (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/entries/TagEntry;Lcom/google/gson/JsonSerializationContext;)V params: 1: object, 2: context, 3: conditions functions class: ApplyBonusCount path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount LootItemFunction that modifies the stack's count based on an enchantment level on the {@linkplain LootContextParams#TOOL tool} using various formulas.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/world/item/enchantment/Enchantment;Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Formula;)V params: 1: conditions, 2: enchantment, 3: formula method: addBonusBinomialDistributionCount (Lnet/minecraft/world/item/enchantment/Enchantment;FI)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 0: enchantment, 1: probability, 2: extraRounds method: addUniformBonusCount (Lnet/minecraft/world/item/enchantment/Enchantment;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 0: enchantment method: addUniformBonusCount (Lnet/minecraft/world/item/enchantment/Enchantment;I)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 0: enchantment, 1: bonusMultiplier method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: ApplyBonusCount$BinomialWithBonusCount path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount$BinomialWithBonusCount Applies a bonus based on a binomial distribution with {@code n = enchantmentLevel + extraRounds} and {@code p = probability}.
method: <init> (IF)V params: 1: extraRounds, 2: probability method: calculateNewCount (Ljava/util/Random;II)I params: 1: random, 2: originalCount, 3: enchantmentLevel method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Formula; params: 0: json, 1: deserializationContext method: serializeParams (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: serializationContext class: ApplyBonusCount$Formula path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Formula method: calculateNewCount (Ljava/util/Random;II)I params: 1: random, 2: originalCount, 3: enchantmentLevel method: serializeParams (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: serializationContext class: ApplyBonusCount$FormulaDeserializer path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount$FormulaDeserializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Formula; params: 1: json, 2: deserializationContext class: ApplyBonusCount$OreDrops path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount$OreDrops Applies a bonus count with a special formula used for fortune ore drops.
method: calculateNewCount (Ljava/util/Random;II)I params: 1: random, 2: originalCount, 3: enchantmentLevel method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Formula; params: 0: json, 1: deserializationContext method: serializeParams (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: serializationContext class: ApplyBonusCount$Serializer path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: ApplyBonusCount$UniformBonusCount path: net/minecraft/world/level/storage/loot/functions/ApplyBonusCount$UniformBonusCount Adds a bonus count based on the enchantment level scaled by a constant multiplier.
method: <init> (I)V params: 1: bonusMultiplier method: calculateNewCount (Ljava/util/Random;II)I params: 1: random, 2: originalCount, 3: enchantmentLevel method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/functions/ApplyBonusCount$Formula; params: 0: json, 1: deserializationContext method: serializeParams (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: serializationContext class: ApplyExplosionDecay path: net/minecraft/world/level/storage/loot/functions/ApplyExplosionDecay LootItemFunction that reduces a stack's count based on the {@linkplain LootContextParams#EXPLOSION_RADIUS explosion radius}.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: ApplyExplosionDecay$Serializer path: net/minecraft/world/level/storage/loot/functions/ApplyExplosionDecay$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/ApplyExplosionDecay; params: 1: object, 2: deserializationContext, 3: conditions class: CopyBlockState path: net/minecraft/world/level/storage/loot/functions/CopyBlockState LootItemFunction that copies a set of block state properties to the {@code "BlockStateTag"} NBT tag of the ItemStack.
This tag is checked when the block is placed.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/world/level/block/Block;Ljava/util/Set;)V params: 1: conditions, 2: block, 3: properties method: copyState (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/functions/CopyBlockState$Builder; params: 0: block method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
method: serialize (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;)Ljava/lang/String; params: 0: blockState, 1: property class: CopyBlockState$Builder path: net/minecraft/world/level/storage/loot/functions/CopyBlockState$Builder method: <init> (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: copy (Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/world/level/storage/loot/functions/CopyBlockState$Builder; params: 1: property class: CopyBlockState$Serializer path: net/minecraft/world/level/storage/loot/functions/CopyBlockState$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/CopyBlockState; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/CopyBlockState;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: CopyNameFunction path: net/minecraft/world/level/storage/loot/functions/CopyNameFunction LootItemFunction that sets the stack's name by copying it from somewhere else, such as the killing player.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/world/level/storage/loot/functions/CopyNameFunction$NameSource;)V params: 1: conditions, 2: nameSource method: copyName (Lnet/minecraft/world/level/storage/loot/functions/CopyNameFunction$NameSource;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 0: source method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: CopyNameFunction$NameSource path: net/minecraft/world/level/storage/loot/functions/CopyNameFunction$NameSource method: <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)V params: 3: name, 4: param method: getByName (Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/functions/CopyNameFunction$NameSource; params: 0: name class: CopyNameFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/CopyNameFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/CopyNameFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/CopyNameFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: CopyNbtFunction path: net/minecraft/world/level/storage/loot/functions/CopyNbtFunction LootItemFunction that takes the NBT from an {@link NbtProvider} and applies a set of copy operations that copy from that source NBT into the stack's NBT.
method: compileNbtPath (Ljava/lang/String;)Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath; params: 0: nbtPath method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: CopyNbtFunction$Builder path: net/minecraft/world/level/storage/loot/functions/CopyNbtFunction$Builder method: copy (Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction$Builder; params: 1: sourcePath, 2: targetPath method: copy (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction$MergeStrategy;)Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction$Builder; params: 1: sourcePath, 2: targetPath, 3: copyAction class: CopyNbtFunction$CopyOperation path: net/minecraft/world/level/storage/loot/functions/CopyNbtFunction$CopyOperation method: <init> (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction$MergeStrategy;)V params: 1: sourcePathText, 2: targetPathText, 3: mergeStrategy method: apply (Ljava/util/function/Supplier;Lnet/minecraft/nbt/Tag;)V params: 1: targetTag, 2: sourceTag method: fromJson (Lcom/google/gson/JsonObject;)Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction$CopyOperation; params: 0: json class: CopyNbtFunction$MergeStrategy path: net/minecraft/world/level/storage/loot/functions/CopyNbtFunction$MergeStrategy method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: getByName (Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction$MergeStrategy; params: 0: name method: merge (Lnet/minecraft/nbt/Tag;Lnet/minecraft/commands/arguments/NbtPathArgument$NbtPath;Ljava/util/List;)V params: 1: targetNbt, 2: nbtPath, 3: sourceNbt class: CopyNbtFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/CopyNbtFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/CopyNbtFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: EnchantRandomlyFunction path: net/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction LootItemFunction that applies a random enchantment to the stack. If an empty list is given, chooses from all enchantments.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Ljava/util/Collection;)V params: 1: conditions, 2: possibleEnchantments method: enchantItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/enchantment/Enchantment;Ljava/util/Random;)Lnet/minecraft/world/item/ItemStack; params: 0: stack, 1: enchantment, 2: random method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: EnchantRandomlyFunction$Builder path: net/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction$Builder method: withEnchantment (Lnet/minecraft/world/item/enchantment/Enchantment;)Lnet/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction$Builder; params: 1: enchantment class: EnchantRandomlyFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/EnchantRandomlyFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: EnchantWithLevelsFunction path: net/minecraft/world/level/storage/loot/functions/EnchantWithLevelsFunction Applies a random enchantment to the stack.
@see EnchantmentHelper#enchantItem
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: EnchantWithLevelsFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/EnchantWithLevelsFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/EnchantWithLevelsFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/EnchantWithLevelsFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: ExplorationMapFunction path: net/minecraft/world/level/storage/loot/functions/ExplorationMapFunction Convert any empty maps into explorer maps that lead to a structure that is nearest to the current {@linkplain LootContextParams.ORIGIN}, if present.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/saveddata/maps/MapDecoration$Type;BIZ)V params: 1: conditions, 2: destination, 3: mapDecoration, 4: zoom, 5: searchRadius, 6: skipKnownStructures method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: ExplorationMapFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/ExplorationMapFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/ExplorationMapFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/ExplorationMapFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: FillPlayerHead path: net/minecraft/world/level/storage/loot/functions/FillPlayerHead LootItemFunction that applies the {@code "SkullOwner"} NBT tag to any player heads based on the given {@link LootContext.EntityTarget}.
If the given target does not resolve to a player, nothing happens.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)V params: 1: conditions, 2: entityTarget method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: FillPlayerHead$Serializer path: net/minecraft/world/level/storage/loot/functions/FillPlayerHead$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/FillPlayerHead; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/FillPlayerHead;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: FunctionUserBuilder path: net/minecraft/world/level/storage/loot/functions/FunctionUserBuilder Base interface for builders that accept loot functions.
@see LootItemFunction
method: apply (Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder;)Ljava/lang/Object; params: 1: functionBuilder class: LimitCount path: net/minecraft/world/level/storage/loot/functions/LimitCount A LootItemFunction that limits the stack's count to fall within a given {@link IntRange}.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: LimitCount$Serializer path: net/minecraft/world/level/storage/loot/functions/LimitCount$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/LimitCount; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/LimitCount;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: LootItemConditionalFunction path: net/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction A LootItemFunction that only modifies the stacks if a list of {@linkplain LootItemCondition predicates} passes.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)V params: 1: conditions method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
method: simpleBuilder (Ljava/util/function/Function;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 0: constructor method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: LootItemConditionalFunction$Builder path: net/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder method: when (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 1: conditionBuilder class: LootItemConditionalFunction$DummyBuilder path: net/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$DummyBuilder method: <init> (Ljava/util/function/Function;)V params: 1: constructor class: LootItemConditionalFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction; params: 1: json, 2: serializationContext Deserialize a value by reading it from the JsonObject.
method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: LootItemFunction path: net/minecraft/world/level/storage/loot/functions/LootItemFunction A LootItemFunction modifies an ItemStack based on the current LootContext.
@see LootItemFunctions
method: decorate (Ljava/util/function/BiFunction;Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)Ljava/util/function/Consumer; params: 0: stackModification, 1: originalConsumer, 2: lootContext Create a decorated Consumer. The resulting consumer will first apply {@code stackModification} to all stacks before passing them on to {@code originalConsumer}.
class: LootItemFunctionType path: net/minecraft/world/level/storage/loot/functions/LootItemFunctionType The SerializerType for {@link LootItemFunction}.
class: LootItemFunctions path: net/minecraft/world/level/storage/loot/functions/LootItemFunctions Registry for {@link LootItemFunction}
method: compose ([Ljava/util/function/BiFunction;)Ljava/util/function/BiFunction; params: 0: functions Compose the given list of functions, applying them in order.
method: register (Ljava/lang/String;Lnet/minecraft/world/level/storage/loot/Serializer;)Lnet/minecraft/world/level/storage/loot/functions/LootItemFunctionType; params: 0: id, 1: serializer class: LootingEnchantFunction path: net/minecraft/world/level/storage/loot/functions/LootingEnchantFunction LootItemFunction that grows the stack's count by multiplying the {@linkplain LootContextParams#KILLER_ENTITY killer}'s looting enchantment level with some multiplier. Optionally a limit to the stack size is applied.
method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: LootingEnchantFunction$Builder path: net/minecraft/world/level/storage/loot/functions/LootingEnchantFunction$Builder method: setLimit (I)Lnet/minecraft/world/level/storage/loot/functions/LootingEnchantFunction$Builder; params: 1: limit class: LootingEnchantFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/LootingEnchantFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/LootingEnchantFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/LootingEnchantFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetAttributesFunction path: net/minecraft/world/level/storage/loot/functions/SetAttributesFunction LootItemFunction that adds a list of attribute modifiers to the stacks.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Ljava/util/List;)V params: 1: conditions, 2: modifiers method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SetAttributesFunction$Modifier path: net/minecraft/world/level/storage/loot/functions/SetAttributesFunction$Modifier method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/world/level/storage/loot/functions/SetAttributesFunction$Modifier; params: 0: jsonObj, 1: context method: operationFromString (Ljava/lang/String;)Lnet/minecraft/world/entity/ai/attributes/AttributeModifier$Operation; params: 0: name method: operationToString (Lnet/minecraft/world/entity/ai/attributes/AttributeModifier$Operation;)Ljava/lang/String; params: 0: operation method: serialize (Lcom/google/gson/JsonSerializationContext;)Lcom/google/gson/JsonObject; params: 1: context class: SetAttributesFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetAttributesFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetAttributesFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetAttributesFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetContainerContents path: net/minecraft/world/level/storage/loot/functions/SetContainerContents LootItemFunction that sets the contents of a container such as a chest by setting the {@code BlocKEntityTag} of the stacks.
The contents are based on a list of loot pools.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Ljava/util/List;)V params: 1: conditions method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: SetContainerContents$Builder path: net/minecraft/world/level/storage/loot/functions/SetContainerContents$Builder method: withEntry (Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/functions/SetContainerContents$Builder; params: 1: lootEntryBuilder class: SetContainerContents$Serializer path: net/minecraft/world/level/storage/loot/functions/SetContainerContents$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetContainerContents; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetContainerContents;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetContainerLootTable path: net/minecraft/world/level/storage/loot/functions/SetContainerLootTable LootItemFunction that sets the LootTable and optionally the loot table seed on the stack's {@code BlockEntityTag}. The effect of this is that containers such as chests will receive the given LootTable when placed.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/resources/ResourceLocation;J)V params: 1: conditions, 2: lootTableId, 3: lootTableSeed method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: SetContainerLootTable$Serializer path: net/minecraft/world/level/storage/loot/functions/SetContainerLootTable$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetContainerLootTable; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetContainerLootTable;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetItemCountFunction path: net/minecraft/world/level/storage/loot/functions/SetItemCountFunction LootItemFunction that sets the stack's count based on a {@link NumberProvider}, optionally adding to any existing count.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SetItemCountFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetItemCountFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetItemCountFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetItemCountFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetItemDamageFunction path: net/minecraft/world/level/storage/loot/functions/SetItemDamageFunction LootItemFunction that sets the stack's damage based on a {@link NumberProvider}, optionally adding to any existing damage.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SetItemDamageFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetItemDamageFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetItemDamageFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetItemDamageFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetLoreFunction path: net/minecraft/world/level/storage/loot/functions/SetLoreFunction LootItemFunction that sets a stack's lore tag, optionally replacing any previously present lore.
The Components for the lore tag are optionally resolved relative to a given {@link LootContext.EntityTarget} for entity-sensitive component data such as scoreboard scores.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;ZLjava/util/List;Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)V params: 1: conditions, 2: replace, 3: lore, 4: resolutionContext method: getLoreTag (Lnet/minecraft/world/item/ItemStack;Z)Lnet/minecraft/nbt/ListTag; params: 1: stack, 2: createIfMissing method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SetLoreFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetLoreFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetLoreFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetLoreFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetNameFunction path: net/minecraft/world/level/storage/loot/functions/SetNameFunction LootItemFunction that sets a stack's name.
The Component for the name is optionally resolved relative to a given {@link LootContext.EntityTarget} for entity-sensitive component data such as scoreboard scores.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)V params: 1: conditions, 2: name, 3: resolutionContext method: createResolver (Lnet/minecraft/world/level/storage/loot/LootContext;Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)Ljava/util/function/UnaryOperator; params: 0: lootContext, 1: resolutionContext Create a UnaryOperator that resolves Components based on the given LootContext and EntityTarget.
This will replace for example score components.
method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SetNameFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetNameFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetNameFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetNameFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetNbtFunction path: net/minecraft/world/level/storage/loot/functions/SetNbtFunction LootItemFunction that merges a given CompoundTag into the stack's NBT tag.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Lnet/minecraft/nbt/CompoundTag;)V params: 1: conditions, 2: tag method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
method: setTag (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/level/storage/loot/functions/LootItemConditionalFunction$Builder; params: 0: tag class: SetNbtFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetNbtFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetNbtFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetNbtFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SetStewEffectFunction path: net/minecraft/world/level/storage/loot/functions/SetStewEffectFunction LootItemFunction that adds an effect to any suspicious stew items. A random effect is chosen from the given map every time.
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;Ljava/util/Map;)V params: 1: conditions, 2: effectDurationMap method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SetStewEffectFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SetStewEffectFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SetStewEffectFunction; params: 1: object, 2: deserializationContext, 3: conditions method: serialize (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/storage/loot/functions/SetStewEffectFunction;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SmeltItemFunction path: net/minecraft/world/level/storage/loot/functions/SmeltItemFunction LootItemFunction that tries to smelt any items using {@link RecipeType.SMELTING}.
method: run (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/storage/loot/LootContext;)Lnet/minecraft/world/item/ItemStack; params: 1: stack, 2: context Called to perform the actual action of this function, after conditions have been checked.
class: SmeltItemFunction$Serializer path: net/minecraft/world/level/storage/loot/functions/SmeltItemFunction$Serializer method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Lnet/minecraft/world/level/storage/loot/functions/SmeltItemFunction; params: 1: object, 2: deserializationContext, 3: conditions parameters class: LootContextParam path: net/minecraft/world/level/storage/loot/parameters/LootContextParam A parameter of a {@link LootContext}.
@see LootContextParams
method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: name class: LootContextParamSet path: net/minecraft/world/level/storage/loot/parameters/LootContextParamSet A LootContextParamSet defines a set of required and optional {@link LootContextParam}s.
This is used to validate that conditions, functions and other {@link LootContextUser}s only use those parameters that are present for the given loot table.
@see LootContextParamSets
@see ValidationContext
method: <init> (Ljava/util/Set;Ljava/util/Set;)V params: 1: required, 2: optional method: getAllowed ()Ljava/util/Set; Gets the required and optional parameters
method: getRequired ()Ljava/util/Set; Gets only the required parameters
method: validateUser (Lnet/minecraft/world/level/storage/loot/ValidationContext;Lnet/minecraft/world/level/storage/loot/LootContextUser;)V params: 1: validationContext, 2: lootContextUser Validate that all parameters referenced by the given LootContextUser are present in this set.
class: LootContextParamSet$Builder path: net/minecraft/world/level/storage/loot/parameters/LootContextParamSet$Builder method: optional (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet$Builder; params: 1: parameter method: required (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet$Builder; params: 1: parameter class: LootContextParamSets path: net/minecraft/world/level/storage/loot/parameters/LootContextParamSets Registry for {@link LootContextParamSet}s.
method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet; params: 0: registryName method: getKey (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;)Lnet/minecraft/resources/ResourceLocation; params: 0: parameterSet method: register (Ljava/lang/String;Ljava/util/function/Consumer;)Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet; params: 0: registryName, 1: builderConsumer class: LootContextParams path: net/minecraft/world/level/storage/loot/parameters/LootContextParams Holds all known LootContextParams.
method: create (Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam; params: 0: id predicates class: AlternativeLootItemCondition path: net/minecraft/world/level/storage/loot/predicates/AlternativeLootItemCondition A LootItemCondition that combines a list of other conditions using "or".
@see LootItemConditions#orConditions
method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)V params: 1: terms method: alternative ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/AlternativeLootItemCondition$Builder; params: 0: builders method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: AlternativeLootItemCondition$Builder path: net/minecraft/world/level/storage/loot/predicates/AlternativeLootItemCondition$Builder method: or (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/AlternativeLootItemCondition$Builder; params: 1: builder class: BonusLevelTableCondition path: net/minecraft/world/level/storage/loot/predicates/BonusLevelTableCondition A LootItemCondition that provides a random chance based on the level of a certain enchantment on the {@linkplain LootContextParams#TOOL tool}.
The chances are given as an array of float values that represent the given chance (0..1) for the enchantment level corresponding to the index.
{@code [0.2, 0.3, 0.6]} would provide a 20% chance for not enchanted, 30% chance for enchanted at level 1 and 60% chance for enchanted at level 2 or above.
method: <init> (Lnet/minecraft/world/item/enchantment/Enchantment;[F)V params: 1: enchantment, 2: chances method: bonusLevelFlatChance (Lnet/minecraft/world/item/enchantment/Enchantment;[F)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: enchantment, 1: chances method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
class: ConditionReference path: net/minecraft/world/level/storage/loot/predicates/ConditionReference A LootItemCondition that refers to another LootItemCondition by its ID.
method: <init> (Lnet/minecraft/resources/ResourceLocation;)V params: 1: name method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: ConditionUserBuilder path: net/minecraft/world/level/storage/loot/predicates/ConditionUserBuilder Base interface for builders that can accept loot conditions.
@see LootItemCondition
method: when (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Ljava/lang/Object; params: 1: conditionBuilder class: DamageSourceCondition path: net/minecraft/world/level/storage/loot/predicates/DamageSourceCondition A LootItemCondition which checks {@link LootContextParams#ORIGIN} and {@link LootContextParams#DAMAGE_SOURCE} against a {@link DamageSourcePredicate}.
method: <init> (Lnet/minecraft/advancements/critereon/DamageSourcePredicate;)V params: 1: damageSourcePredicate method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: hasDamageSource (Lnet/minecraft/advancements/critereon/DamageSourcePredicate$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: builder class: EntityHasScoreCondition path: net/minecraft/world/level/storage/loot/predicates/EntityHasScoreCondition A LootItemCondition that checks if an Entity selected by a {@link LootContext.EntityTarget} has a given set of scores.
If one of the given objectives does not exist or the entity does not have a score for that objective, the condition fails.
method: <init> (Ljava/util/Map;Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)V params: 1: scoreRanges, 2: entityTarget method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
class: ExplosionCondition path: net/minecraft/world/level/storage/loot/predicates/ExplosionCondition A LootItemCondition that checks whether an item should survive from an explosion or not.
This condition checks the {@linkplain LootContextParams#EXPLOSION_RADIUS explosion radius loot parameter}.
method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
class: InvertedLootItemCondition path: net/minecraft/world/level/storage/loot/predicates/InvertedLootItemCondition A LootItemCondition that inverts the output of another one.
method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: invert (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: toInvert method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: LocationCheck path: net/minecraft/world/level/storage/loot/predicates/LocationCheck LootItemCondition that checks the {@link LootContextParams.ORIGIN} position against a {@link LocationPredicate} after applying an offset to the origin position.
method: <init> (Lnet/minecraft/advancements/critereon/LocationPredicate;Lnet/minecraft/core/BlockPos;)V params: 1: locationPredicate, 2: offset method: checkLocation (Lnet/minecraft/advancements/critereon/LocationPredicate$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: locationPredicateBuilder method: checkLocation (Lnet/minecraft/advancements/critereon/LocationPredicate$Builder;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: locationPredicateBuilder, 1: offset class: LootItemBlockStatePropertyCondition path: net/minecraft/world/level/storage/loot/predicates/LootItemBlockStatePropertyCondition A LootItemCondition that checks whether the {@linkplain LootContextParams#BLOCK_STATE block state} matches a given Block and {@link StatePropertiesPredicate}.
method: <init> (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/advancements/critereon/StatePropertiesPredicate;)V params: 1: block, 2: statePredicate method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: hasBlockStateProperties (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemBlockStatePropertyCondition$Builder; params: 0: block class: LootItemBlockStatePropertyCondition$Builder path: net/minecraft/world/level/storage/loot/predicates/LootItemBlockStatePropertyCondition$Builder method: <init> (Lnet/minecraft/world/level/block/Block;)V params: 1: block method: setProperties (Lnet/minecraft/advancements/critereon/StatePropertiesPredicate$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemBlockStatePropertyCondition$Builder; params: 1: statePredicateBuilder class: LootItemCondition path: net/minecraft/world/level/storage/loot/predicates/LootItemCondition A condition based on {@link LootContext}.
@see {@link LootItemConditions}
@see {@link PredicateManager}
class: LootItemCondition$Builder path: net/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder method: or (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/AlternativeLootItemCondition$Builder; params: 1: builder class: LootItemConditionType path: net/minecraft/world/level/storage/loot/predicates/LootItemConditionType The SerializerType for {@link LootItemCondition}.
class: LootItemConditions path: net/minecraft/world/level/storage/loot/predicates/LootItemConditions Registry for {@link LootItemConditionType}.
@see LootItemCondition
method: andConditions ([Ljava/util/function/Predicate;)Ljava/util/function/Predicate; params: 0: conditions method: orConditions ([Ljava/util/function/Predicate;)Ljava/util/function/Predicate; params: 0: conditions method: register (Ljava/lang/String;Lnet/minecraft/world/level/storage/loot/Serializer;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemConditionType; params: 0: registryName, 1: serializer class: LootItemEntityPropertyCondition path: net/minecraft/world/level/storage/loot/predicates/LootItemEntityPropertyCondition A LootItemCondition that checks a given {@link EntityPredicate} against a given {@link LootContext.EntityTarget}.
method: <init> (Lnet/minecraft/advancements/critereon/EntityPredicate;Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)V params: 1: entityPredicate, 2: entityTarget method: entityPresent (Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: target method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: hasProperties (Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;Lnet/minecraft/advancements/critereon/EntityPredicate$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: target, 1: predicateBuilder method: hasProperties (Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget;Lnet/minecraft/advancements/critereon/EntityPredicate;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: target, 1: entityPredicate class: LootItemKilledByPlayerCondition path: net/minecraft/world/level/storage/loot/predicates/LootItemKilledByPlayerCondition A LootItemCondition that matches if the last damage to an entity was done by a player.
@see LootContextParams#LAST_DAMAGE_PLAYER
method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
class: LootItemRandomChanceCondition path: net/minecraft/world/level/storage/loot/predicates/LootItemRandomChanceCondition A LootItemCondition that succeeds with a given probability.
method: <init> (F)V params: 1: probability method: randomChance (F)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: probability class: LootItemRandomChanceWithLootingCondition path: net/minecraft/world/level/storage/loot/predicates/LootItemRandomChanceWithLootingCondition A LootItemCondition that does a random chance check with a bonus based on the {@linkplain EnchantmentHelper#getMobLooting looting enchantment}.
method: <init> (FF)V params: 1: percent, 2: lootingMultiplier method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: randomChanceAndLootingBoost (FF)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: chance, 1: lootingMultiplier class: MatchTool path: net/minecraft/world/level/storage/loot/predicates/MatchTool A LootItemCondition that checks the {@linkplain LootContextParams#TOOL tool} against an {@link ItemPredicate}.
method: <init> (Lnet/minecraft/advancements/critereon/ItemPredicate;)V params: 1: toolPredicate method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: toolMatches (Lnet/minecraft/advancements/critereon/ItemPredicate$Builder;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder; params: 0: toolPredicateBuilder class: TimeCheck path: net/minecraft/world/level/storage/loot/predicates/TimeCheck A LootItemCondition that checks the {@linkplain ServerLevel#getDayTime day time} against an {@link IntRange} after applying an optional modulo division.
class: WeatherCheck path: net/minecraft/world/level/storage/loot/predicates/WeatherCheck A LootItemCondition that checks whether it currently raining or trhundering.
Both checks are optional.
method: <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;)V params: 1: isRaining, 2: isThundering class: BuiltInLootTables path: net/minecraft/world/level/storage/loot/BuiltInLootTables Stores IDs for built in loot tables, i.e. loot tables which are not based directly on a block or entity ID.
method: register (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; params: 0: id method: register (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; params: 0: id class: Deserializers path: net/minecraft/world/level/storage/loot/Deserializers method: createConditionSerializer ()Lcom/google/gson/GsonBuilder; Create a GsonBuilder that can deserialize {@link LootItemCondition}.
method: createFunctionSerializer ()Lcom/google/gson/GsonBuilder; Create a GsonBuilder that can deserialize {@link LootItemFunction}.
method: createLootTableSerializer ()Lcom/google/gson/GsonBuilder; Create a GsonBuilder that can deserialize {@link LootTable}.
class: GsonAdapterFactory path: net/minecraft/world/level/storage/loot/GsonAdapterFactory Creates Gson serializers based on {@link SerializerType} and {@link Serializer}.
The resulting serializers handle JSON in the following structure:
<code>
{
"type": "minecraft:example",
"otherProperties": "go here"
}
</code>
The {@code "type"} property is read (with a fallback to {@code defaultType}) and then looked up in the provided registry to produce the {@code SerializerType}. The type's {@code Serializer} is then used to deserialize the rest of the JSON object.
If the serializer receives a JSON element that is not an object, it will try to use the {@code InlineSerializer} if provided.
method: builder (Lnet/minecraft/core/Registry;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)Lnet/minecraft/world/level/storage/loot/GsonAdapterFactory$Builder; params: 0: registry, 1: id, 2: name, 3: typeFunction class: GsonAdapterFactory$Builder path: net/minecraft/world/level/storage/loot/GsonAdapterFactory$Builder method: <init> (Lnet/minecraft/core/Registry;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)V params: 1: registry, 2: elementName, 3: typeKey, 4: typeGetter class: LootContext path: net/minecraft/world/level/storage/loot/LootContext LootContext stores various context information for loot generation.
This includes the Level as well as any known {@link LootContextParam}s.
method: <init> (Ljava/util/Random;FLnet/minecraft/server/level/ServerLevel;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/Map;Ljava/util/Map;)V params: 1: random, 2: luck, 3: level, 4: lootTables, 5: conditions, 6: params, 7: dynamicDrops method: addDynamicDrops (Lnet/minecraft/resources/ResourceLocation;Ljava/util/function/Consumer;)V params: 1: name, 2: consumer Add the dynamic drops for the given dynamic drops name to the given consumer.
If no dynamic drops provider for the given name has been registered to this LootContext, nothing is generated.
@see DynamicDrops
method: addVisitedCondition (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)Z params: 1: condition method: addVisitedTable (Lnet/minecraft/world/level/storage/loot/LootTable;)Z params: 1: lootTable method: getCondition (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition; params: 1: conditionId method: getLootTable (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/LootTable; params: 1: tableId method: getLuck ()F The luck value for this loot context. This is usually just the player's {@linkplain Attributes#LUCK luck value}, however it may be modified depending on the context of the looting.
When fishing for example it is increased based on the Luck of the Sea enchantment.
method: getParamOrNull (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)Ljava/lang/Object; params: 1: parameter Get the value of the given parameter if it is present in this context, null otherwise.
method: hasParam (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)Z params: 1: parameter Check whether the given parameter is present in this context.
method: removeVisitedCondition (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)V params: 1: condition method: removeVisitedTable (Lnet/minecraft/world/level/storage/loot/LootTable;)V params: 1: lootTable class: LootContext$Builder path: net/minecraft/world/level/storage/loot/LootContext$Builder method: <init> (Lnet/minecraft/server/level/ServerLevel;)V params: 1: level method: create (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;)Lnet/minecraft/world/level/storage/loot/LootContext; params: 1: parameterSet method: getOptionalParameter (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)Ljava/lang/Object; params: 1: parameter method: getParameter (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)Ljava/lang/Object; params: 1: parameter method: withDynamicDrop (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/storage/loot/LootContext$DynamicDrop;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: dynamicDropId, 2: dynamicDrop Registers a DynamicDrop to the LootContext.
@see LootContext.DynamicDrop
method: withLuck (F)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: luck method: withOptionalParameter (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;Ljava/lang/Object;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: parameter, 2: value method: withOptionalRandomSeed (J)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: seed method: withOptionalRandomSeed (JLjava/util/Random;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: seed, 3: random method: withParameter (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;Ljava/lang/Object;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: parameter, 2: value method: withRandom (Ljava/util/Random;)Lnet/minecraft/world/level/storage/loot/LootContext$Builder; params: 1: random class: LootContext$DynamicDrop path: net/minecraft/world/level/storage/loot/LootContext$DynamicDrop DynamicDrop allows a loot generating object (e.g. a Block or Entity) to provide dynamic drops to a loot table.
An example of this are shulker boxes, which provide their contents as a dynamic drop source.
Dynamic drops are registered with a name using {@link LootContext.Builder#withDynamicDrop}.
These dynamic drops can then be referenced from a loot table using {@link DynamicLoot}.
method: add (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)V params: 1: lootContext, 2: stackConsumer class: LootContext$EntityTarget path: net/minecraft/world/level/storage/loot/LootContext$EntityTarget Represents a type of entity that can be looked up in a {@link LootContext} using a {@link LootContextParam}.
field: DIRECT_KILLER Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget; Looks up {@link LootContextParams#DIRECT_KILLER_ENTITY}.
field: KILLER Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget; Looks up {@link LootContextParams#KILLER_ENTITY}.
field: KILLER_PLAYER Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget; Looks up {@link LootContextParams#LAST_DAMAGE_PLAYER}.
field: THIS Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget; Looks up {@link LootContextParams#THIS_ENTITY}.
method: <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;)V params: 3: name, 4: param method: getByName (Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/LootContext$EntityTarget; params: 0: name class: LootContextUser path: net/minecraft/world/level/storage/loot/LootContextUser An object that will use some parameters from a LootContext. Used for validation purposes to validate that the correct parameters are present.
method: getReferencedContextParams ()Ljava/util/Set; Get the parameters used by this object.
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: LootPool path: net/minecraft/world/level/storage/loot/LootPool method: addRandomItems (Ljava/util/function/Consumer;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: stackConsumer, 2: lootContext Generate the random items from this LootPool to the given {@code stackConsumer}.
This first checks this pool's conditions, generating nothing if they do not match.
Then the random items are generated based on the {@link LootPoolEntry LootPoolEntries} in this pool according to the rolls and bonusRools, applying any loot functions.
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate this LootPool according to the given context.
class: LootPool$Builder path: net/minecraft/world/level/storage/loot/LootPool$Builder method: add (Lnet/minecraft/world/level/storage/loot/entries/LootPoolEntryContainer$Builder;)Lnet/minecraft/world/level/storage/loot/LootPool$Builder; params: 1: entriesBuilder method: apply (Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder;)Lnet/minecraft/world/level/storage/loot/LootPool$Builder; params: 1: functionBuilder method: when (Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/LootPool$Builder; params: 1: conditionBuilder class: LootTable path: net/minecraft/world/level/storage/loot/LootTable method: <init> (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;[Lnet/minecraft/world/level/storage/loot/LootPool;[Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction;)V params: 1: paramSet, 2: pools, 3: functions method: createStackSplitter (Ljava/util/function/Consumer;)Ljava/util/function/Consumer; params: 0: stackConsumer Create a wrapped Consumer which will split stacks according to their maximum stack size before passing them on to the given stackConsumer.
method: fill (Lnet/minecraft/world/Container;Lnet/minecraft/world/level/storage/loot/LootContext;)V params: 1: container, 2: context Fill the given container with random items from this loot table.
method: getAvailableSlots (Lnet/minecraft/world/Container;Ljava/util/Random;)Ljava/util/List; params: 1: inventory, 2: rand method: getParamSet ()Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet; Get the parameter set for this LootTable.
method: getRandomItems (Lnet/minecraft/world/level/storage/loot/LootContext;)Ljava/util/List; params: 1: context Generate random items to a List.
method: getRandomItems (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)V params: 1: contextData, 2: stacksOut Generate random items to the given Consumer, ensuring they do not exeed their maximum stack size.
method: getRandomItemsRaw (Lnet/minecraft/world/level/storage/loot/LootContext;Ljava/util/function/Consumer;)V params: 1: context, 2: stacksOut Generate items to the given Consumer, ignoring maximum stack size.
method: shuffleAndSplitItems (Ljava/util/List;ILjava/util/Random;)V params: 1: stacks, 2: emptySlotsCount, 3: rand shuffles items by changing their order and splitting stacks
method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: validator Validate this LootTable using the given ValidationContext.
class: LootTable$Builder path: net/minecraft/world/level/storage/loot/LootTable$Builder method: apply (Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 1: functionBuilder method: setParamSet (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 1: parameterSet method: withPool (Lnet/minecraft/world/level/storage/loot/LootPool$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; params: 1: lootPool class: LootTables path: net/minecraft/world/level/storage/loot/LootTables DataPack reload listener that reads loot tables from the ResourceManager and stores them.
@see LootTable
method: <init> (Lnet/minecraft/world/level/storage/loot/PredicateManager;)V params: 1: predicateManager method: apply (Ljava/util/Map;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/LootTable; params: 1: lootTableId Get a LootTable by its ID. Returns the empty loot table if no such table exists.
method: getIds ()Ljava/util/Set; Get all known LootTable IDs.
method: serialize (Lnet/minecraft/world/level/storage/loot/LootTable;)Lcom/google/gson/JsonElement; params: 0: lootTable method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/storage/loot/LootTable;)V params: 0: validator, 1: id, 2: lootTable Validate the given LootTable with the given ID using the given ValidationContext.
class: PredicateManager path: net/minecraft/world/level/storage/loot/PredicateManager DataPack reload listener that reads loot conditions from the ResourceManager and stores them.
@see LootItemCondition
method: apply (Ljava/util/Map;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V params: 1: object, 2: resourceManager, 3: profiler method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition; params: 1: id Get the LootItemCondition with the given ID. Returns null if no such condition exists.
method: getKeys ()Ljava/util/Set; Get all known condition IDs.
class: PredicateManager$CompositePredicate path: net/minecraft/world/level/storage/loot/PredicateManager$CompositePredicate method: <init> ([Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition;)V params: 1: terms method: validate (Lnet/minecraft/world/level/storage/loot/ValidationContext;)V params: 1: context Validate that this object is used correctly according to the given ValidationContext.
class: Serializer path: net/minecraft/world/level/storage/loot/Serializer A serializer and deserializer for values of type {@code T} to and from JSON.
method: deserialize (Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ljava/lang/Object; params: 1: json, 2: serializationContext Deserialize a value by reading it from the JsonObject.
method: serialize (Lcom/google/gson/JsonObject;Ljava/lang/Object;Lcom/google/gson/JsonSerializationContext;)V params: 1: json, 2: value, 3: serializationContext Serialize the value by putting its data into the JsonObject.
class: SerializerType path: net/minecraft/world/level/storage/loot/SerializerType Represents the registry entry for a serializer for some type T. For example every type of {@link NumberProvider} has a {@link LootNumberProviderType} (which extends SerializerType) that stores its serializer and is registered to a registry to provide the type name in form of the registry ResourceLocation.
method: <init> (Lnet/minecraft/world/level/storage/loot/Serializer;)V params: 1: serializer class: ValidationContext path: net/minecraft/world/level/storage/loot/ValidationContext Context for validating loot tables. Loot tables are validated recursively by checking that all functions, conditions, etc. (implementing {@link LootContextUser}) are valid according to their LootTable's {@link LootContextParamSet}.
method: <init> (Lcom/google/common/collect/Multimap;Ljava/util/function/Supplier;Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;Ljava/util/function/Function;Ljava/util/Set;Ljava/util/function/Function;Ljava/util/Set;)V params: 1: problems, 2: context, 3: params, 4: conditionResolver, 5: visitedConditions, 6: tableResolver, 7: visitedTables method: <init> (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;Ljava/util/function/Function;Ljava/util/function/Function;)V params: 1: params, 2: conditionResolver, 3: tableResolver method: enterCondition (Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/ValidationContext; params: 1: contextName, 2: conditionId Create a new ValidationContext for validating a given LootItemCondition.
method: enterTable (Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/ValidationContext; params: 1: contextName, 2: lootTableId Create a new ValidationContext for validating a given LootTable
method: forChild (Ljava/lang/String;)Lnet/minecraft/world/level/storage/loot/ValidationContext; params: 1: childName Create a new ValidationContext with {@code childName} being added to the context.
method: getProblems ()Lcom/google/common/collect/Multimap; Get all problems that have been recorded. The resulting Multimap maps the {@linkplain #getContext context} at the time the problem occured to the problems.
method: hasVisitedCondition (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: conditionId Check whether a loot condition with the given ID has been validated by this context.
method: hasVisitedTable (Lnet/minecraft/resources/ResourceLocation;)Z params: 1: lootTableId Check whether a LootTable with the given ID has been validated with this context.
method: reportProblem (Ljava/lang/String;)V params: 1: problem Report a problem to this ValidationContext.
method: resolveCondition (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition; params: 1: conditionId method: resolveLootTable (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/level/storage/loot/LootTable; params: 1: lootTableId method: setParams (Lnet/minecraft/world/level/storage/loot/parameters/LootContextParamSet;)Lnet/minecraft/world/level/storage/loot/ValidationContext; params: 1: params Create a new ValidationContext with the given LootContextParamSet.
method: validateUser (Lnet/minecraft/world/level/storage/loot/LootContextUser;)V params: 1: lootContextUser Validate the given LootContextUser.
class: CommandStorage path: net/minecraft/world/level/storage/CommandStorage method: createId (Ljava/lang/String;)Ljava/lang/String; params: 0: namespace method: get (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/nbt/CompoundTag; params: 1: id method: set (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/nbt/CompoundTag;)V params: 1: id, 2: nbt class: CommandStorage$Container path: net/minecraft/world/level/storage/CommandStorage$Container method: get (Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag; params: 1: id method: getKeys (Ljava/lang/String;)Ljava/util/stream/Stream; params: 1: namespace method: put (Ljava/lang/String;Lnet/minecraft/nbt/CompoundTag;)V params: 1: id, 2: nbt method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
class: DerivedLevelData path: net/minecraft/world/level/storage/DerivedLevelData method: getAllowCommands ()Z Returns true if commands are allowed on this World.
method: getDayTime ()J Get current world time
method: getGameRules ()Lnet/minecraft/world/level/GameRules; Gets the GameRules class Instance.
method: getGameType ()Lnet/minecraft/world/level/GameType; Gets the GameType.
method: getLevelName ()Ljava/lang/String; Get current world name
method: getRainTime ()I Return the number of ticks until rain.
method: getThunderTime ()I Returns the number of ticks until next thunderbolt.
method: getXSpawn ()I Returns the x spawn position
method: getYSpawn ()I Return the Y axis spawning point of the player.
method: getZSpawn ()I Returns the z spawn position
method: isHardcore ()Z Returns true if hardcore mode is enabled, otherwise false
method: isInitialized ()Z Returns true if the World is initialized.
method: isRaining ()Z Returns true if it is raining, false otherwise.
method: isThundering ()Z Returns true if it is thundering, false otherwise.
method: setClearWeatherTime method: setDayTime (J)V params: 1: time Set current world time
method: setGameTime method: setGameType (Lnet/minecraft/world/level/GameType;)V params: 1: type method: setInitialized (Z)V params: 1: initialized Sets the initialization status of the World.
method: setRainTime (I)V params: 1: time Sets the number of ticks until rain.
method: setRaining (Z)V params: 1: isRaining Sets whether it is raining or not.
method: setSpawn (Lnet/minecraft/core/BlockPos;F)V params: 1: spawnPoint, 2: angle method: setSpawnAngle method: setThunderTime (I)V params: 1: time Defines the number of ticks until next thunderbolt.
method: setThundering (Z)V params: 1: thundering Sets whether it is thundering or not.
method: setWanderingTraderId (Ljava/util/UUID;)V params: 1: id method: setWanderingTraderSpawnChance method: setWanderingTraderSpawnDelay method: setWorldBorder (Lnet/minecraft/world/level/border/WorldBorder$Settings;)V params: 1: serializer method: setXSpawn (I)V params: 1: x Set the x spawn position to the passed in value
method: setYSpawn (I)V params: 1: y Sets the y spawn position
method: setZSpawn (I)V params: 1: z Set the z spawn position to the passed in value
class: DimensionDataStorage path: net/minecraft/world/level/storage/DimensionDataStorage method: getDataFile (Ljava/lang/String;)Ljava/io/File; params: 1: name method: isGzip (Ljava/io/PushbackInputStream;)Z params: 1: inputStream method: readTagFromDisk (Ljava/lang/String;I)Lnet/minecraft/nbt/CompoundTag; params: 1: name, 2: levelVersion class: LevelData path: net/minecraft/world/level/storage/LevelData method: getDayTime ()J Get current world time
method: getGameRules ()Lnet/minecraft/world/level/GameRules; Gets the GameRules class Instance.
method: getXSpawn ()I Returns the x spawn position
method: getYSpawn ()I Return the Y axis spawning point of the player.
method: getZSpawn ()I Returns the z spawn position
method: isHardcore ()Z Returns true if hardcore mode is enabled, otherwise false
method: isRaining ()Z Returns true if it is raining, false otherwise.
method: isThundering ()Z Returns true if it is thundering, false otherwise.
method: setRaining (Z)V params: 1: isRaining Sets whether it is raining or not.
class: LevelStorageSource path: net/minecraft/world/level/storage/LevelStorageSource method: createAccess (Ljava/lang/String;)Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess; params: 1: saveName method: createDefault (Ljava/nio/file/Path;)Lnet/minecraft/world/level/storage/LevelStorageSource; params: 0: savesDir method: getBackupPath ()Ljava/nio/file/Path; Gets the folder where backups are stored
method: getDataPacks (Ljava/io/File;Lcom/mojang/datafixers/DataFixer;)Lnet/minecraft/world/level/DataPackConfig; params: 0: levelDat, 1: fixer method: getLevelData (Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/world/level/DataPackConfig;)Ljava/util/function/BiFunction; params: 0: nbt, 1: datapackCodec method: isNewLevelIdAcceptable (Ljava/lang/String;)Z params: 1: saveName method: levelExists (Ljava/lang/String;)Z params: 1: saveName Return whether the given world can be loaded.
method: levelSummaryReader (Ljava/io/File;Z)Ljava/util/function/BiFunction; params: 1: saveDir, 2: locked method: readDataPackConfig (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/level/DataPackConfig; params: 0: nbt method: readLevelData (Ljava/io/File;Ljava/util/function/BiFunction;)Ljava/lang/Object; params: 1: saveDir, 2: levelDatReader method: readWorldGenSettings (Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;I)Lcom/mojang/datafixers/util/Pair; params: 0: nbt, 1: fixer, 2: version class: LevelStorageSource$LevelStorageAccess path: net/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess method: convertLevel (Lnet/minecraft/util/ProgressListener;)Z params: 1: progress method: getDataTag (Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/world/level/DataPackConfig;)Lnet/minecraft/world/level/storage/WorldData; params: 1: nbt, 2: datapackCodec method: getDimensionPath (Lnet/minecraft/resources/ResourceKey;)Ljava/io/File; params: 1: dimensionKey method: getLevelPath (Lnet/minecraft/world/level/storage/LevelResource;)Ljava/nio/file/Path; params: 1: folderName method: renameLevel (Ljava/lang/String;)V params: 1: saveName method: saveDataTag (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/storage/WorldData;)V params: 1: registries, 2: serverConfiguration method: saveDataTag (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/storage/WorldData;Lnet/minecraft/nbt/CompoundTag;)V params: 1: registries, 2: serverConfiguration, 3: hostPlayerNBT class: LevelSummary path: net/minecraft/world/level/storage/LevelSummary method: getGameMode ()Lnet/minecraft/world/level/GameType; Gets the EnumGameType.
method: getLevelId ()Ljava/lang/String; return the file name
method: getLevelName ()Ljava/lang/String; return the display name of the save
method: hasCheats ()Z @return {@code true} if cheats are enabled for this world
class: LevelVersion path: net/minecraft/world/level/storage/LevelVersion method: parse (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/world/level/storage/LevelVersion; params: 0: nbt class: McRegionUpgrader path: net/minecraft/world/level/storage/McRegionUpgrader method: addRegionFiles (Ljava/io/File;Ljava/util/Collection;)V params: 0: saveFolder, 1: files method: convertLevel (Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;Lnet/minecraft/util/ProgressListener;)Z params: 0: levelSave, 1: progress method: makeMcrLevelDatBackup (Lnet/minecraft/world/level/storage/LevelStorageSource$LevelStorageAccess;)V params: 0: levelSave class: PlayerDataStorage path: net/minecraft/world/level/storage/PlayerDataStorage method: load (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/nbt/CompoundTag; params: 1: player method: save (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: PrimaryLevelData path: net/minecraft/world/level/storage/PrimaryLevelData method: createTag (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: registries, 2: hostPlayerNBT method: getAllowCommands ()Z Returns true if commands are allowed on this World.
method: getDayTime ()J Get current world time
method: getGameRules ()Lnet/minecraft/world/level/GameRules; Gets the GameRules class Instance.
method: getGameType ()Lnet/minecraft/world/level/GameType; Gets the GameType.
method: getLevelName ()Ljava/lang/String; Get current world name
method: getRainTime ()I Return the number of ticks until rain.
method: getThunderTime ()I Returns the number of ticks until next thunderbolt.
method: getXSpawn ()I Returns the x spawn position
method: getYSpawn ()I Return the Y axis spawning point of the player.
method: getZSpawn ()I Returns the z spawn position
method: isHardcore ()Z Returns true if hardcore mode is enabled, otherwise false
method: isInitialized ()Z Returns true if the World is initialized.
method: isRaining ()Z Returns true if it is raining, false otherwise.
method: isThundering ()Z Returns true if it is thundering, false otherwise.
method: parse (Lcom/mojang/serialization/Dynamic;Lcom/mojang/datafixers/DataFixer;ILnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/LevelSettings;Lnet/minecraft/world/level/storage/LevelVersion;Lnet/minecraft/world/level/levelgen/WorldGenSettings;Lcom/mojang/serialization/Lifecycle;)Lnet/minecraft/world/level/storage/PrimaryLevelData; params: 0: dynamic, 1: dataFixer, 2: version, 3: playerNBT, 4: levelSettings, 5: versionData, 6: generatorSettings, 7: lifecycle method: setClearWeatherTime method: setCustomBossEvents (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setDataPackConfig (Lnet/minecraft/world/level/DataPackConfig;)V params: 1: codec method: setDayTime (J)V params: 1: time Set current world time
method: setDifficulty (Lnet/minecraft/world/Difficulty;)V params: 1: difficulty method: setDifficultyLocked method: setEndDragonFightData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setGameTime method: setGameType (Lnet/minecraft/world/level/GameType;)V params: 1: type method: setInitialized (Z)V params: 1: initialized Sets the initialization status of the World.
method: setModdedInfo (Ljava/lang/String;Z)V params: 1: name, 2: isModded method: setRainTime (I)V params: 1: time Sets the number of ticks until rain.
method: setRaining (Z)V params: 1: isRaining Sets whether it is raining or not.
method: setSpawn (Lnet/minecraft/core/BlockPos;F)V params: 1: spawnPoint, 2: angle method: setSpawnAngle method: setTagData (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/CompoundTag;)V params: 1: registry, 2: nbt, 3: playerNBT method: setThunderTime (I)V params: 1: time Defines the number of ticks until next thunderbolt.
method: setThundering (Z)V params: 1: thundering Sets whether it is thundering or not.
method: setWanderingTraderId (Ljava/util/UUID;)V params: 1: id method: setWanderingTraderSpawnChance method: setWanderingTraderSpawnDelay method: setWorldBorder (Lnet/minecraft/world/level/border/WorldBorder$Settings;)V params: 1: serializer method: setXSpawn (I)V params: 1: x Set the x spawn position to the passed in value
method: setYSpawn (I)V params: 1: y Sets the y spawn position
method: setZSpawn (I)V params: 1: z Set the z spawn position to the passed in value
class: ServerLevelData path: net/minecraft/world/level/storage/ServerLevelData method: getAllowCommands ()Z Returns true if commands are allowed on this World.
method: getGameType ()Lnet/minecraft/world/level/GameType; Gets the GameType.
method: getLevelName ()Ljava/lang/String; Get current world name
method: getRainTime ()I Return the number of ticks until rain.
method: getThunderTime ()I Returns the number of ticks until next thunderbolt.
method: isInitialized ()Z Returns true if the World is initialized.
method: setClearWeatherTime method: setDayTime (J)V params: 1: time Set current world time
method: setGameTime method: setGameType (Lnet/minecraft/world/level/GameType;)V params: 1: type method: setInitialized (Z)V params: 1: initialized Sets the initialization status of the World.
method: setRainTime (I)V params: 1: time Sets the number of ticks until rain.
method: setThunderTime (I)V params: 1: time Defines the number of ticks until next thunderbolt.
method: setThundering (Z)V params: 1: thundering Sets whether it is thundering or not.
method: setWanderingTraderId (Ljava/util/UUID;)V params: 1: id method: setWanderingTraderSpawnChance method: setWanderingTraderSpawnDelay method: setWorldBorder (Lnet/minecraft/world/level/border/WorldBorder$Settings;)V params: 1: serializer class: WorldData path: net/minecraft/world/level/storage/WorldData method: createTag (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: registries, 2: hostPlayerNBT method: getAllowCommands ()Z Returns true if commands are allowed on this World.
method: getGameRules ()Lnet/minecraft/world/level/GameRules; Gets the GameRules class Instance.
method: getGameType ()Lnet/minecraft/world/level/GameType; Gets the GameType.
method: getLevelName ()Ljava/lang/String; Get current world name
method: getStorageVersionName (I)Ljava/lang/String; params: 1: storageVersionId method: isHardcore ()Z Returns true if hardcore mode is enabled, otherwise false
method: setCustomBossEvents (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setDataPackConfig (Lnet/minecraft/world/level/DataPackConfig;)V params: 1: codec method: setDifficulty (Lnet/minecraft/world/Difficulty;)V params: 1: difficulty method: setDifficultyLocked method: setEndDragonFightData (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: setGameType (Lnet/minecraft/world/level/GameType;)V params: 1: type method: setModdedInfo (Ljava/lang/String;Z)V params: 1: name, 2: isModded class: WritableLevelData path: net/minecraft/world/level/storage/WritableLevelData method: setSpawn (Lnet/minecraft/core/BlockPos;F)V params: 1: spawnPoint, 2: angle method: setSpawnAngle method: setXSpawn (I)V params: 1: x Set the x spawn position to the passed in value
method: setYSpawn (I)V params: 1: y Sets the y spawn position
method: setZSpawn (I)V params: 1: z Set the z spawn position to the passed in value
timers class: FunctionCallback path: net/minecraft/world/level/timers/FunctionCallback method: handle (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/level/timers/TimerQueue;J)V params: 1: obj, 2: manager, 3: gameTime class: FunctionTagCallback path: net/minecraft/world/level/timers/FunctionTagCallback method: handle (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/level/timers/TimerQueue;J)V params: 1: obj, 2: manager, 3: gameTime class: TimerCallback path: net/minecraft/world/level/timers/TimerCallback method: handle (Ljava/lang/Object;Lnet/minecraft/world/level/timers/TimerQueue;J)V params: 1: obj, 2: manager, 3: gameTime class: TimerQueue path: net/minecraft/world/level/timers/TimerQueue method: tick (Ljava/lang/Object;J)V params: 2: gameTime class: BaseCommandBlock path: net/minecraft/world/level/BaseCommandBlock field: TIME_FORMAT Ljava/text/SimpleDateFormat; The formatting for the timestamp on commands run.
field: command Ljava/lang/String; The command stored in the command block.
field: lastOutput Lnet/minecraft/network/chat/Component; The previously run command.
field: name Lnet/minecraft/network/chat/Component; The custom name of the command block. (defaults to "@")
field: successCount I The number of successful commands run. (used for redstone output)
method: getCommand ()Ljava/lang/String; Returns the command of the command block.
method: getLastOutput ()Lnet/minecraft/network/chat/Component; Returns the lastOutput.
method: getSuccessCount ()I returns the successCount int.
method: load (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt Reads NBT formatting and stored data into variables.
method: performCommand (Lnet/minecraft/world/level/Level;)Z params: 1: level method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound method: sendMessage (Lnet/minecraft/network/chat/Component;Ljava/util/UUID;)V params: 1: component, 2: senderUUID Send a chat message to the CommandSender
method: setCommand (Ljava/lang/String;)V params: 1: command Sets the command.
method: setLastOutput (Lnet/minecraft/network/chat/Component;)V params: 1: lastOutputMessage method: setName (Lnet/minecraft/network/chat/Component;)V params: 1: name method: setSuccessCount (I)V params: 1: successCount method: setTrackOutput (Z)V params: 1: shouldTrackOutput method: usedBy (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/InteractionResult; params: 1: player class: BaseSpawner path: net/minecraft/world/level/BaseSpawner field: displayEntity Lnet/minecraft/world/entity/Entity; Cached instance of the entity to render inside the spawner.
method: setEntityId (Lnet/minecraft/world/entity/EntityType;)V params: 1: type class: BlockAndTintGetter path: net/minecraft/world/level/BlockAndTintGetter method: canSeeSky (Lnet/minecraft/core/BlockPos;)Z params: 1: blockPos method: getBlockTint (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I params: 1: blockPos, 2: colorResolver method: getBrightness (Lnet/minecraft/world/level/LightLayer;Lnet/minecraft/core/BlockPos;)I params: 1: lightType, 2: blockPos method: getRawBrightness (Lnet/minecraft/core/BlockPos;I)I params: 1: blockPos, 2: amount method: getShade (Lnet/minecraft/core/Direction;Z)F params: 1: direction, 2: isShade class: BlockEventData path: net/minecraft/world/level/BlockEventData field: paramA I Different for each blockID
method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;II)V params: 1: pos, 2: block, 3: paramA, 4: paramB method: equals (Ljava/lang/Object;)Z params: 1: other method: getParamA ()I Get the Event ID (different for each BlockID)
class: BlockGetter path: net/minecraft/world/level/BlockGetter method: clip (Lnet/minecraft/world/level/ClipContext;)Lnet/minecraft/world/phys/BlockHitResult; params: 1: context method: clipWithInteractionOverride (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/BlockHitResult; params: 1: startVec, 2: endVec, 3: pos, 4: shape, 5: state method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockFloorHeight (Lnet/minecraft/core/BlockPos;)D params: 1: pos method: getBlockFloorHeight (Lnet/minecraft/world/phys/shapes/VoxelShape;Ljava/util/function/Supplier;)D params: 1: shape method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getBlockStates (Lnet/minecraft/world/phys/AABB;)Ljava/util/stream/Stream; params: 1: area method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getLightEmission (Lnet/minecraft/core/BlockPos;)I params: 1: pos class: ChunkPos path: net/minecraft/world/level/ChunkPos field: INVALID_CHUNK_POS J Value representing an absent or invalid chunkpos
method: <init> method: <init> (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: asLong (II)J params: 0: x, 1: z Converts the chunk coordinate pair to a long
method: equals (Ljava/lang/Object;)Z params: 1: other method: getChessboardDistance (Lnet/minecraft/world/level/ChunkPos;)I params: 1: chunkPos method: getMaxBlockX ()I Get the last world X coordinate that belongs to this Chunk
method: getMaxBlockZ ()I Get the last world Z coordinate that belongs to this Chunk
method: getMinBlockX ()I Get the first world X coordinate that belongs to this Chunk
method: getMinBlockZ ()I Get the first world Z coordinate that belongs to this Chunk
method: getRegionLocalX ()I Gets the x-coordinate of this chunk within the region file that contains it.
method: getRegionLocalZ ()I Gets the z-coordinate of this chunk within the region file that contains it.
method: getRegionX ()I Gets the x-coordinate of the region file containing this chunk.
method: getRegionZ ()I Gets the z-coordinate of the region file containing this chunk.
method: getX (J)I params: 0: chunkAsLong method: getZ (J)I params: 0: chunkAsLong method: rangeClosed (Lnet/minecraft/world/level/ChunkPos;I)Ljava/util/stream/Stream; params: 0: center, 1: radius method: rangeClosed (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/ChunkPos;)Ljava/util/stream/Stream; params: 0: start, 1: end class: ChunkPos$1 path: net/minecraft/world/level/ChunkPos$1 method: tryAdvance (Ljava/util/function/Consumer;)Z params: 1: consumer class: ChunkTickList path: net/minecraft/world/level/ChunkTickList method: <init> (Ljava/util/function/Function;Ljava/util/List;)V params: 1: toId, 2: ticks method: <init> (Ljava/util/function/Function;Ljava/util/List;J)V params: 1: toId, 2: ticks, 3: gameTime method: copyOut (Lnet/minecraft/world/level/TickList;)V params: 1: tickList method: create (Lnet/minecraft/nbt/ListTag;Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/world/level/ChunkTickList; params: 0: list method: hasScheduledTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: item method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: item, 3: scheduledTime, 4: priority method: willTickThisTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: obj Checks if this position/item is scheduled to be updated this tick
class: ChunkTickList$ScheduledTick path: net/minecraft/world/level/ChunkTickList$ScheduledTick method: <init> (Ljava/lang/Object;Lnet/minecraft/core/BlockPos;ILnet/minecraft/world/level/TickPriority;)V params: 1: type, 2: pos, 3: delay, 4: priority class: ClipContext path: net/minecraft/world/level/ClipContext method: <init> (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/level/ClipContext$Block;Lnet/minecraft/world/level/ClipContext$Fluid;Lnet/minecraft/world/entity/Entity;)V params: 1: from, 2: to, 3: block, 4: fluid, 5: entity method: getBlockShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: blockState, 2: level, 3: pos method: getFluidShape (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: level, 3: pos class: ClipContext$Block path: net/minecraft/world/level/ClipContext$Block method: <init> (Ljava/lang/String;ILnet/minecraft/world/level/ClipContext$ShapeGetter;)V params: 3: shapeGetter method: get (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: block, 3: pos, 4: collisionContext class: ClipContext$Fluid path: net/minecraft/world/level/ClipContext$Fluid method: <init> (Ljava/lang/String;ILjava/util/function/Predicate;)V params: 3: canPick method: canPick (Lnet/minecraft/world/level/material/FluidState;)Z params: 1: state class: ClipContext$ShapeGetter path: net/minecraft/world/level/ClipContext$ShapeGetter method: get (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: state, 2: block, 3: pos, 4: collisionContext class: CollisionGetter path: net/minecraft/world/level/CollisionGetter method: getBlockCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;)Ljava/util/stream/Stream; params: 1: entity, 2: collisionBox method: getBlockCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/BiPredicate;)Ljava/util/stream/Stream; params: 1: entity, 2: collisionBox, 3: filter method: getChunkForCollisions (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 1: entity, 2: collisionBox, 3: filter method: getEntityCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 1: entity, 2: collisionBox, 3: filter method: isUnobstructed (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: isUnobstructed (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/shapes/VoxelShape;)Z params: 1: entity, 2: shape method: isUnobstructed (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Z params: 1: state, 2: pos, 3: context method: noCollision (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: noCollision (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;)Z params: 1: entity, 2: collisionBox method: noCollision (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Z params: 1: entity, 2: collisionBox, 3: entityPredicate method: noCollision (Lnet/minecraft/world/phys/AABB;)Z params: 1: collisionBox class: CollisionSpliterator path: net/minecraft/world/level/CollisionSpliterator method: <init> (Lnet/minecraft/world/level/CollisionGetter;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;)V params: 1: getter, 2: entity, 3: collisionBox method: <init> (Lnet/minecraft/world/level/CollisionGetter;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/BiPredicate;)V params: 1: collisionGetter, 2: source, 3: box, 4: predicate method: collisionCheck (Ljava/util/function/Consumer;)Z params: 1: consumer method: getChunk (II)Lnet/minecraft/world/level/BlockGetter; params: 1: x, 2: z method: isBoxFullyWithinWorldBorder (Lnet/minecraft/world/level/border/WorldBorder;Lnet/minecraft/world/phys/AABB;)Z params: 0: border, 1: collisionBox method: isCloseToBorder (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/AABB;)Z params: 0: shape, 1: collisionBox method: isOutsideBorder (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/AABB;)Z params: 0: shape, 1: collisionBox method: tryAdvance (Ljava/util/function/Consumer;)Z params: 1: consumer method: worldBorderCheck (Ljava/util/function/Consumer;)Z params: 1: consumer class: CommonLevelAccessor path: net/minecraft/world/level/CommonLevelAccessor method: getBiomeName (Lnet/minecraft/core/BlockPos;)Ljava/util/Optional; params: 1: pos method: getEntityCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 1: entity, 2: area, 3: filter method: getHeightmapPos (Lnet/minecraft/world/level/levelgen/Heightmap$Types;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 1: heightmapType, 2: pos method: isUnobstructed (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/shapes/VoxelShape;)Z params: 1: entity, 2: shape class: CustomSpawner path: net/minecraft/world/level/CustomSpawner method: tick (Lnet/minecraft/server/level/ServerLevel;ZZ)I params: 1: level, 2: spawnHostiles, 3: spawnPassives class: DataPackConfig path: net/minecraft/world/level/DataPackConfig field: DEFAULT Lnet/minecraft/world/level/DataPackConfig; This is the default "Vanilla and nothing else" codec. Should have a more distinct name compared to field_234881_b_
method: <init> (Ljava/util/List;Ljava/util/List;)V params: 1: enabled, 2: disabled class: EmptyBlockGetter path: net/minecraft/world/level/EmptyBlockGetter method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos class: EmptyTickList path: net/minecraft/world/level/EmptyTickList method: hasScheduledTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: item method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;I)V params: 1: pos, 2: item, 3: scheduledTime method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: item, 3: scheduledTime, 4: priority method: willTickThisTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: obj Checks if this position/item is scheduled to be updated this tick
class: EntityBasedExplosionDamageCalculator path: net/minecraft/world/level/EntityBasedExplosionDamageCalculator method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: souce method: getBlockExplosionResistance (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Ljava/util/Optional; params: 1: explosion, 2: reader, 3: pos, 4: state, 5: fluid method: shouldBlockExplode (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)Z params: 1: explosion, 2: reader, 3: pos, 4: state, 5: power class: EntityGetter path: net/minecraft/world/level/EntityGetter method: getEntities (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;)Ljava/util/List; params: 1: entity, 2: area Will get all entities within the specified AABB excluding the one passed into it. Args: entityToExclude, aabb
method: getEntities (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: entity, 2: area, 3: predicate Gets all entities within the specified AABB excluding the one passed into it.
method: getEntitiesOfClass (Ljava/lang/Class;Lnet/minecraft/world/phys/AABB;)Ljava/util/List; params: 1: entityClass, 2: area method: getEntitiesOfClass (Ljava/lang/Class;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: clazz, 2: area, 3: filter method: getEntityCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 1: entity, 2: area, 3: filter method: getNearbyEntities (Ljava/lang/Class;Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/phys/AABB;)Ljava/util/List; params: 1: entityClazz, 2: entityPredicate, 3: entity, 4: area method: getNearbyPlayers (Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/phys/AABB;)Ljava/util/List; params: 1: predicate, 2: target, 3: area method: getNearestEntity (Ljava/lang/Class;Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;Lnet/minecraft/world/entity/LivingEntity;DDDLnet/minecraft/world/phys/AABB;)Lnet/minecraft/world/entity/LivingEntity; params: 1: entityClazz, 2: conditions, 3: target, 4: x, 6: y, 8: z, 10: boundingBox method: getNearestEntity (Ljava/util/List;Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;Lnet/minecraft/world/entity/LivingEntity;DDD)Lnet/minecraft/world/entity/LivingEntity; params: 1: entities, 2: predicate, 3: target, 4: x, 6: y, 8: z method: getNearestPlayer (DDDDLjava/util/function/Predicate;)Lnet/minecraft/world/entity/player/Player; params: 1: x, 3: y, 5: z, 7: distance, 9: predicate method: getNearestPlayer (DDDDZ)Lnet/minecraft/world/entity/player/Player; params: 1: x, 3: y, 5: z, 7: distance, 9: creativePlayers method: getNearestPlayer (Lnet/minecraft/world/entity/Entity;D)Lnet/minecraft/world/entity/player/Player; params: 1: entity, 2: distance method: getNearestPlayer (Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;DDD)Lnet/minecraft/world/entity/player/Player; params: 1: predicate, 2: x, 4: y, 6: z method: getNearestPlayer (Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/player/Player; params: 1: predicate, 2: target method: getNearestPlayer (Lnet/minecraft/world/entity/ai/targeting/TargetingConditions;Lnet/minecraft/world/entity/LivingEntity;DDD)Lnet/minecraft/world/entity/player/Player; params: 1: predicate, 2: target, 3: x, 5: y, 7: z method: getPlayerByUUID (Ljava/util/UUID;)Lnet/minecraft/world/entity/player/Player; params: 1: uniqueId method: hasNearbyAlivePlayer (DDDD)Z params: 1: x, 3: y, 5: z, 7: distance method: isUnobstructed (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/shapes/VoxelShape;)Z params: 1: entity, 2: shape class: Explosion path: net/minecraft/world/level/Explosion method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;DDDFLjava/util/List;)V params: 1: level, 2: source, 3: toBlowX, 5: toBlowY, 7: toBlowZ, 9: radius, 10: positions method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;DDDFZLnet/minecraft/world/level/Explosion$BlockInteraction;)V params: 1: level, 2: source, 3: toBlowX, 5: toBlowY, 7: toBlowZ, 9: radius, 10: fire, 11: blockInteraction method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;DDDFZLnet/minecraft/world/level/Explosion$BlockInteraction;Ljava/util/List;)V params: 1: level, 2: source, 3: toBlowX, 5: toBlowY, 7: toBlowZ, 9: radius, 10: fire, 11: blockInteraction, 12: positions method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/level/ExplosionDamageCalculator;DDDFZLnet/minecraft/world/level/Explosion$BlockInteraction;)V params: 1: level, 2: source, 3: damageSource, 4: damageCalculator, 5: toBlowX, 7: toBlowY, 9: toBlowZ, 11: radius, 12: fire, 13: blockInteraction method: addBlockDrops (Lit/unimi/dsi/fastutil/objects/ObjectArrayList;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/BlockPos;)V params: 0: dropPositionArray, 1: stack, 2: pos method: explode ()V Does the first part of the explosion (destroy blocks)
method: finalizeExplosion (Z)V params: 1: spawnParticles Does the second part of the explosion (sound, particles, drop spawn)
method: getSeenPercent (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/entity/Entity;)F params: 0: explosionVector, 1: entity method: getSourceMob ()Lnet/minecraft/world/entity/LivingEntity; Returns either the entity that placed the explosive block, the entity that caused the explosion or null.
method: makeDamageCalculator (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/level/ExplosionDamageCalculator; params: 1: entity class: ExplosionDamageCalculator path: net/minecraft/world/level/ExplosionDamageCalculator method: getBlockExplosionResistance (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;)Ljava/util/Optional; params: 1: explosion, 2: reader, 3: pos, 4: state, 5: fluid method: shouldBlockExplode (Lnet/minecraft/world/level/Explosion;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;F)Z params: 1: explosion, 2: reader, 3: pos, 4: state, 5: power class: FoliageColor path: net/minecraft/world/level/FoliageColor method: get (DD)I params: 0: temperature, 2: humidity method: init ([I)V params: 0: foliageBuffer class: ForcedChunksSavedData path: net/minecraft/world/level/ForcedChunksSavedData method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
class: GameRules path: net/minecraft/world/level/GameRules method: <init> (Ljava/util/Map;)V params: 1: rules method: assignCap (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules;Lnet/minecraft/server/MinecraftServer;)V params: 1: key, 2: rules, 3: server method: assignFrom (Lnet/minecraft/world/level/GameRules;Lnet/minecraft/server/MinecraftServer;)V params: 1: rules, 2: server method: callVisitorCap (Lnet/minecraft/world/level/GameRules$GameRuleTypeVisitor;Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 0: visitor, 1: key, 2: type method: createTag ()Lnet/minecraft/nbt/CompoundTag; Return the defined game rules as NBT.
method: getBoolean (Lnet/minecraft/world/level/GameRules$Key;)Z params: 1: key method: getInt (Lnet/minecraft/world/level/GameRules$Key;)I params: 1: key method: getRule (Lnet/minecraft/world/level/GameRules$Key;)Lnet/minecraft/world/level/GameRules$Value; params: 1: key method: loadFromTag (Lcom/mojang/serialization/DynamicLike;)V params: 1: dynamic method: register (Ljava/lang/String;Lnet/minecraft/world/level/GameRules$Category;Lnet/minecraft/world/level/GameRules$Type;)Lnet/minecraft/world/level/GameRules$Key; params: 0: name, 1: category, 2: type method: visitGameRuleTypes (Lnet/minecraft/world/level/GameRules$GameRuleTypeVisitor;)V params: 0: visitor class: GameRules$BooleanValue path: net/minecraft/world/level/GameRules$BooleanValue method: <init> (Lnet/minecraft/world/level/GameRules$Type;Z)V params: 1: type, 2: value method: create (Z)Lnet/minecraft/world/level/GameRules$Type; params: 0: defaultValue method: create (ZLjava/util/function/BiConsumer;)Lnet/minecraft/world/level/GameRules$Type; params: 0: defaultValue, 1: changeListener method: deserialize (Ljava/lang/String;)V params: 1: value method: set (ZLnet/minecraft/server/MinecraftServer;)V params: 1: value, 2: server method: setFrom (Lnet/minecraft/world/level/GameRules$BooleanValue;Lnet/minecraft/server/MinecraftServer;)V params: 1: value, 2: server method: updateFromArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)V params: 1: context, 2: paramName class: GameRules$Category path: net/minecraft/world/level/GameRules$Category method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: descriptionId class: GameRules$GameRuleTypeVisitor path: net/minecraft/world/level/GameRules$GameRuleTypeVisitor method: visit (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: key, 2: type method: visitBoolean (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: key, 2: type method: visitInteger (Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: key, 2: type class: GameRules$IntegerValue path: net/minecraft/world/level/GameRules$IntegerValue method: <init> (Lnet/minecraft/world/level/GameRules$Type;I)V params: 1: type, 2: value method: create (I)Lnet/minecraft/world/level/GameRules$Type; params: 0: defaultValue method: create (ILjava/util/function/BiConsumer;)Lnet/minecraft/world/level/GameRules$Type; params: 0: defaultValue, 1: changeListener method: deserialize (Ljava/lang/String;)V params: 1: value method: safeParse (Ljava/lang/String;)I params: 0: strValue method: setFrom (Lnet/minecraft/world/level/GameRules$IntegerValue;Lnet/minecraft/server/MinecraftServer;)V params: 1: value, 2: server method: tryDeserialize (Ljava/lang/String;)Z params: 1: name method: updateFromArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)V params: 1: context, 2: paramName class: GameRules$Key path: net/minecraft/world/level/GameRules$Key method: <init> (Ljava/lang/String;Lnet/minecraft/world/level/GameRules$Category;)V params: 1: id, 2: category method: equals (Ljava/lang/Object;)Z params: 1: other class: GameRules$Type path: net/minecraft/world/level/GameRules$Type method: <init> (Ljava/util/function/Supplier;Ljava/util/function/Function;Ljava/util/function/BiConsumer;Lnet/minecraft/world/level/GameRules$VisitorCaller;)V params: 1: argument, 2: constructor, 3: callback, 4: visitorCaller method: callVisitor (Lnet/minecraft/world/level/GameRules$GameRuleTypeVisitor;Lnet/minecraft/world/level/GameRules$Key;)V params: 1: visitor, 2: key method: createArgument (Ljava/lang/String;)Lcom/mojang/brigadier/builder/RequiredArgumentBuilder; params: 1: name class: GameRules$Value path: net/minecraft/world/level/GameRules$Value method: <init> (Lnet/minecraft/world/level/GameRules$Type;)V params: 1: type method: deserialize (Ljava/lang/String;)V params: 1: value method: onChanged (Lnet/minecraft/server/MinecraftServer;)V params: 1: server method: setFrom (Lnet/minecraft/world/level/GameRules$Value;Lnet/minecraft/server/MinecraftServer;)V params: 1: value, 2: server method: setFromArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)V params: 1: context, 2: paramName method: updateFromArgument (Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)V params: 1: context, 2: paramName class: GameRules$VisitorCaller path: net/minecraft/world/level/GameRules$VisitorCaller method: call (Lnet/minecraft/world/level/GameRules$GameRuleTypeVisitor;Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V params: 1: visitor, 2: key, 3: type class: GameType path: net/minecraft/world/level/GameType method: <init> (Ljava/lang/String;IILjava/lang/String;)V params: 3: id, 4: name method: byId (I)Lnet/minecraft/world/level/GameType; params: 0: id Gets the game type by it's ID. Will be survival if none was found.
method: byId (ILnet/minecraft/world/level/GameType;)Lnet/minecraft/world/level/GameType; params: 0: targetId, 1: fallback method: byName (Ljava/lang/String;)Lnet/minecraft/world/level/GameType; params: 0: gamemodeName Gets the game type registered with the specified name. If no matches were found, survival will be returned.
method: byName (Ljava/lang/String;Lnet/minecraft/world/level/GameType;)Lnet/minecraft/world/level/GameType; params: 0: targetName, 1: fallback method: getId ()I Returns the ID of this game type
method: getName ()Ljava/lang/String; Returns the name of this game type
method: isBlockPlacingRestricted ()Z Returns true if this is the ADVENTURE game type
method: isCreative ()Z Returns true if this is the CREATIVE game type
method: isSurvival ()Z Returns true if this is the SURVIVAL or ADVENTURE game type
method: updatePlayerAbilities (Lnet/minecraft/world/entity/player/Abilities;)V params: 1: capabilities Configures the player capabilities based on the game type
class: GrassColor path: net/minecraft/world/level/GrassColor method: get (DD)I params: 0: temperature, 2: humidity method: init ([I)V params: 0: grassBuffer class: Level path: net/minecraft/world/level/Level field: randValue I Contains the current Linear Congruential Generator seed for block updates. Used with an A value of 3 and a C value of 0x3c6ef35f, producing a highly planar series of values ill-suited for choosing random blocks in a 16x128x16 field.
method: <init> (Lnet/minecraft/world/level/storage/WritableLevelData;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/level/dimension/DimensionType;Ljava/util/function/Supplier;ZZJ)V params: 1: levelData, 2: dimension, 3: dimensionType, 4: profiler, 5: isClientSide, 6: isDebug, 7: biomeZoomSeed method: addAlwaysVisibleParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: addAlwaysVisibleParticle (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)V params: 1: particleData, 2: ignoreRange, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)V params: 1: particleData, 2: forceAlwaysRender, 3: x, 5: y, 7: z, 9: xSpeed, 11: ySpeed, 13: zSpeed method: blockEvent (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;II)V params: 1: pos, 2: block, 3: eventID, 4: eventParam method: broadcastEntityEvent (Lnet/minecraft/world/entity/Entity;B)V params: 1: entity, 2: state sends a Packet 38 (Entity Status) to all tracked players of that entity
method: createFireworks (DDDDDDLnet/minecraft/nbt/CompoundTag;)V params: 1: x, 3: y, 5: z, 7: motionX, 9: motionY, 11: motionZ, 13: compound method: destroyBlock (Lnet/minecraft/core/BlockPos;ZLnet/minecraft/world/entity/Entity;I)Z params: 1: pos, 2: dropBlock, 3: entity, 4: recursionLeft method: destroyBlockProgress (ILnet/minecraft/core/BlockPos;I)V params: 1: breakerId, 2: pos, 3: progress method: disconnect ()V If on MP, sends a quitting packet.
method: explode (Lnet/minecraft/world/entity/Entity;DDDFLnet/minecraft/world/level/Explosion$BlockInteraction;)Lnet/minecraft/world/level/Explosion; params: 1: entity, 2: x, 4: y, 6: z, 8: explosionRadius, 9: mode method: explode (Lnet/minecraft/world/entity/Entity;DDDFZLnet/minecraft/world/level/Explosion$BlockInteraction;)Lnet/minecraft/world/level/Explosion; params: 1: entity, 2: x, 4: y, 6: z, 8: explosionRadius, 9: causesFire, 10: mode method: explode (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/damagesource/DamageSource;Lnet/minecraft/world/level/ExplosionDamageCalculator;DDDFZLnet/minecraft/world/level/Explosion$BlockInteraction;)Lnet/minecraft/world/level/Explosion; params: 1: exploder, 2: damageSource, 3: context, 4: x, 6: y, 8: z, 10: size, 11: causesFire, 12: mode method: fillReportDetails (Lnet/minecraft/CrashReport;)Lnet/minecraft/CrashReportCategory; params: 1: report Adds some basic stats of the world to the given crash report.
method: gatherChunkSourceStats ()Ljava/lang/String; Returns the name of the current chunk provider, by calling chunkprovider.makeString()
method: getBestNeighborSignal (Lnet/minecraft/core/BlockPos;)I params: 1: pos Checks if the specified block or its neighbors are powered by a neighboring block. Used by blocks like TNT and Doors.
method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockRandomPos (IIII)Lnet/minecraft/core/BlockPos; params: 1: x, 2: y, 3: z, 4: yMask method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getChunk (II)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: chunkX, 2: chunkZ method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;Z)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: x, 2: z, 3: requiredStatus, 4: nonnull method: getChunkAt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/chunk/LevelChunk; params: 1: pos method: getChunkForCollisions (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getCurrentDifficultyAt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/DifficultyInstance; params: 1: pos method: getDirectSignalTo (Lnet/minecraft/core/BlockPos;)I params: 1: pos Returns the single highest strong power out of all directions using getStrongPower(BlockPos, EnumFacing)
method: getEntities (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: entity, 2: boundingBox, 3: predicate Gets all entities within the specified AABB excluding the one passed into it.
method: getEntitiesOfClass (Ljava/lang/Class;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; params: 1: clazz, 2: area, 3: filter method: getEntity (I)Lnet/minecraft/world/entity/Entity; params: 1: id Returns the Entity with the given ID, or null if it doesn't exist in this World.
method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos method: getGameRules ()Lnet/minecraft/world/level/GameRules; Gets the GameRules instance.
method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getLevelData ()Lnet/minecraft/world/level/storage/LevelData; Returns the world's WorldInfo object
method: getMapData (Ljava/lang/String;)Lnet/minecraft/world/level/saveddata/maps/MapItemSavedData; params: 1: mapName method: getRainLevel (F)F params: 1: delta Returns rain strength.
method: getSignal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: pos, 2: facing method: getSunAngle (F)F params: 1: partialTicks Return getCelestialAngle()*2*PI
method: getThunderLevel method: globalLevelEvent (ILnet/minecraft/core/BlockPos;I)V params: 1: id, 2: pos, 3: data method: guardEntityTick (Ljava/util/function/Consumer;Lnet/minecraft/world/entity/Entity;)V params: 1: consumerEntity, 2: entity method: hasNeighborSignal (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: hasSignal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z params: 1: pos, 2: side method: isDay ()Z Checks whether its daytime by seeing if the light subtracted from the skylight is less than 4. Always returns true on the client because vanilla has no need for it on the client, therefore it is not synced to the client
method: isHumidAt (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isInSpawnableBounds (Lnet/minecraft/core/BlockPos;)Z params: 0: pos method: isInWorldBounds (Lnet/minecraft/core/BlockPos;)Z params: 0: pos Check if the given BlockPos has valid coordinates
method: isInWorldBoundsHorizontal (Lnet/minecraft/core/BlockPos;)Z params: 0: pos method: isLoaded (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: isOutsideSpawnableHeight method: isRaining ()Z Returns true if the current rain strength is greater than 0.2
method: isRainingAt (Lnet/minecraft/core/BlockPos;)Z params: 1: position Check if precipitation is currently happening at a position
method: isStateAtPosition (Lnet/minecraft/core/BlockPos;Ljava/util/function/Predicate;)Z params: 1: pos, 2: state method: isThundering ()Z Returns true if the current thunder strength (weighted with the rain strength) is greater than 0.9
method: loadedAndEntityCanStandOn (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)Z params: 1: pos, 2: entity method: loadedAndEntityCanStandOnFace (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Direction;)Z params: 1: pos, 2: entity, 3: direction method: mayInteract (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;)Z params: 1: player, 2: pos method: neighborChanged (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/BlockPos;)V params: 1: pos, 2: block, 3: fromPos method: onBlockStateChange (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: pos, 2: blockState, 3: newState method: playLocalSound (DDDLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FFZ)V params: 1: x, 3: y, 5: z, 7: sound, 8: category, 9: volume, 10: pitch, 11: distanceDelay method: playSound (Lnet/minecraft/world/entity/player/Player;DDDLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: x, 4: y, 6: z, 8: sound, 9: category, 10: volume, 11: pitch method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: pos, 3: sound, 4: category, 5: volume, 6: pitch Plays a sound. On the server, the sound is broadcast to all nearby <em>except</em> the given player. On the client, the sound only plays if the given player is the client player. Thus, this method is intended to be called from code running on both sides. The client plays it locally and the server plays it for everyone else.
method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: entity, 3: event, 4: category, 5: volume, 6: pitch method: prepareWeather ()V Called from World constructor to set rainingStrength and thunderingStrength
method: removeBlock (Lnet/minecraft/core/BlockPos;Z)Z params: 1: pos, 2: isMoving method: removeBlockEntity (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: sendBlockUpdated (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;I)V params: 1: pos, 2: oldState, 3: newState, 4: flags Flags are as in setBlockState
method: sendPacketToServer (Lnet/minecraft/network/protocol/Packet;)V params: 1: packet method: setBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z params: 1: pos, 2: newState, 3: flags Sets a block state into this world.Flags are as follows:
1 will cause a block update.
2 will send the change to clients.
4 will prevent the block from being re-rendered.
8 will force any re-renders to run on the main thread instead
16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing).
32 will prevent neighbor reactions from spawning drops.
64 will signify the block is being moved.
Flags can be OR-ed
method: setBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;II)Z params: 1: pos, 2: state, 3: flags, 4: recursionLeft method: setBlockAndUpdate (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z params: 1: pos, 2: state Convenience method to update the block on both the client and server
method: setBlocksDirty (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V params: 1: blockPos, 2: oldState, 3: newState method: setRainLevel (F)V params: 1: strength Sets the strength of the rain.
method: setSkyFlashTime method: setSpawnSettings (ZZ)V params: 1: hostile, 2: peaceful first boolean for hostile mobs and second for peaceful mobs
method: setThunderLevel (F)V params: 1: strength Sets the strength of the thunder.
method: updateNeighborsAt (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: pos, 2: block method: updateNeighborsAtExceptFromFacing (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/Direction;)V params: 1: pos, 2: blockType, 3: skipSide method: updateNeighbourForOutputSignal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: pos, 2: block method: updateSkyBrightness ()V Called on construction of the World class to setup the initial skylight values
class: LevelAccessor path: net/minecraft/world/level/LevelAccessor method: addParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V params: 1: particleData, 2: x, 4: y, 6: z, 8: xSpeed, 10: ySpeed, 12: zSpeed method: blockUpdated (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V params: 1: pos, 2: block method: getChunkSource ()Lnet/minecraft/world/level/chunk/ChunkSource; Gets the world's chunk provider
method: getCurrentDifficultyAt (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/DifficultyInstance; params: 1: pos method: getLevelData ()Lnet/minecraft/world/level/storage/LevelData; Returns the world's WorldInfo object
method: hasChunk (II)Z params: 1: chunkX, 2: chunkZ method: levelEvent (ILnet/minecraft/core/BlockPos;I)V params: 1: type, 2: pos, 3: data method: levelEvent (Lnet/minecraft/world/entity/player/Player;ILnet/minecraft/core/BlockPos;I)V params: 1: player, 2: type, 3: pos, 4: data method: playSound (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/BlockPos;Lnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundSource;FF)V params: 1: player, 2: pos, 3: sound, 4: category, 5: volume, 6: pitch Plays a sound. On the server, the sound is broadcast to all nearby <em>except</em> the given player. On the client, the sound only plays if the given player is the client player. Thus, this method is intended to be called from code running on both sides. The client plays it locally and the server plays it for everyone else.
class: LevelReader path: net/minecraft/world/level/LevelReader method: canSeeSkyFromBelowWater (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: containsAnyLiquid (Lnet/minecraft/world/phys/AABB;)Z params: 1: bb Checks if any of the blocks within the aabb are liquids.
method: getBiome (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/biome/Biome; params: 1: pos method: getBlockStatesIfLoaded (Lnet/minecraft/world/phys/AABB;)Ljava/util/stream/Stream; params: 1: aabb method: getBlockTint (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/ColorResolver;)I params: 1: blockPos, 2: colorResolver method: getBrightness (Lnet/minecraft/core/BlockPos;)F params: 1: pos method: getChunk (II)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: chunkX, 2: chunkZ method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: chunkX, 2: chunkZ, 3: requiredStatus method: getChunk (IILnet/minecraft/world/level/chunk/ChunkStatus;Z)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: x, 2: z, 3: requiredStatus, 4: nonnull method: getChunk (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: pos method: getChunkForCollisions (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getDirectSignal (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)I params: 1: pos, 2: direction method: getHeight (Lnet/minecraft/world/level/levelgen/Heightmap$Types;II)I params: 1: heightmapType, 2: x, 3: z method: getHeightmapPos (Lnet/minecraft/world/level/levelgen/Heightmap$Types;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 1: heightmapType, 2: pos method: getMaxLocalRawBrightness (Lnet/minecraft/core/BlockPos;)I params: 1: pos method: getMaxLocalRawBrightness (Lnet/minecraft/core/BlockPos;I)I params: 1: pos, 2: amount method: getNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: getUncachedNoiseBiome (III)Lnet/minecraft/world/level/biome/Biome; params: 1: x, 2: y, 3: z method: hasChunk (II)Z params: 1: chunkX, 2: chunkZ method: hasChunkAt (Lnet/minecraft/core/BlockPos;)Z params: 1: pos method: hasChunksAt (IIIIII)Z params: 1: fromX, 2: fromY, 3: fromZ, 4: toX, 5: toY, 6: toZ method: hasChunksAt (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Z params: 1: from, 2: to method: isEmptyBlock (Lnet/minecraft/core/BlockPos;)Z params: 1: pos Checks to see if an air block exists at the provided location. Note that this only checks to see if the blocks material is set to air, meaning it is possible for non-vanilla blocks to still pass this check.
method: isWaterAt (Lnet/minecraft/core/BlockPos;)Z params: 1: pos class: LevelSettings path: net/minecraft/world/level/LevelSettings method: <init> (Ljava/lang/String;Lnet/minecraft/world/level/GameType;ZLnet/minecraft/world/Difficulty;ZLnet/minecraft/world/level/GameRules;Lnet/minecraft/world/level/DataPackConfig;)V params: 1: levelName, 2: gameType, 3: hardcore, 4: difficulty, 5: allowCommands, 6: gameRules, 7: dataPackConfig method: parse (Lcom/mojang/serialization/Dynamic;Lnet/minecraft/world/level/DataPackConfig;)Lnet/minecraft/world/level/LevelSettings; params: 0: dynamic, 1: codec method: withDataPackConfig (Lnet/minecraft/world/level/DataPackConfig;)Lnet/minecraft/world/level/LevelSettings; params: 1: datapackCodec method: withDifficulty (Lnet/minecraft/world/Difficulty;)Lnet/minecraft/world/level/LevelSettings; params: 1: difficulty method: withGameType (Lnet/minecraft/world/level/GameType;)Lnet/minecraft/world/level/LevelSettings; params: 1: gameType class: LevelSimulatedReader path: net/minecraft/world/level/LevelSimulatedReader method: getHeightmapPos (Lnet/minecraft/world/level/levelgen/Heightmap$Types;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos; params: 1: heightmapType, 2: pos method: isStateAtPosition (Lnet/minecraft/core/BlockPos;Ljava/util/function/Predicate;)Z params: 1: pos, 2: state class: LevelWriter path: net/minecraft/world/level/LevelWriter method: addFreshEntity (Lnet/minecraft/world/entity/Entity;)Z params: 1: entity method: destroyBlock (Lnet/minecraft/core/BlockPos;Z)Z params: 1: pos, 2: dropBlock Sets a block to air, but also plays the sound and particles and can spawn drops
method: destroyBlock (Lnet/minecraft/core/BlockPos;ZLnet/minecraft/world/entity/Entity;)Z params: 1: pos, 2: dropBlock, 3: entity method: destroyBlock (Lnet/minecraft/core/BlockPos;ZLnet/minecraft/world/entity/Entity;I)Z params: 1: pos, 2: dropBlock, 3: entity, 4: recursionLeft method: removeBlock (Lnet/minecraft/core/BlockPos;Z)Z params: 1: pos, 2: isMoving method: setBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;I)Z params: 1: pos, 2: newState, 3: flags Sets a block state into this world.Flags are as follows:
1 will cause a block update.
2 will send the change to clients.
4 will prevent the block from being re-rendered.
8 will force any re-renders to run on the main thread instead
16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing).
32 will prevent neighbor reactions from spawning drops.
64 will signify the block is being moved.
Flags can be OR-ed
method: setBlock (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;II)Z params: 1: pos, 2: state, 3: flags, 4: recursionLeft class: LightLayer path: net/minecraft/world/level/LightLayer method: <init> (Ljava/lang/String;II)V params: 3: surrounding class: NaturalSpawner path: net/minecraft/world/level/NaturalSpawner method: canSpawnMobAt (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/entity/MobCategory;Lnet/minecraft/world/level/biome/MobSpawnSettings$SpawnerData;Lnet/minecraft/core/BlockPos;)Z params: 0: level, 1: structureManager, 2: generator, 3: category, 4: data, 5: pos method: createState (ILjava/lang/Iterable;Lnet/minecraft/world/level/NaturalSpawner$ChunkGetter;)Lnet/minecraft/world/level/NaturalSpawner$SpawnState; params: 0: spawnableChunkCount, 1: entities, 2: chunkGetter method: getMobForSpawn (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/entity/Mob; params: 0: level, 1: entityType method: getRandomPosWithin (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/level/chunk/LevelChunk;)Lnet/minecraft/core/BlockPos; params: 0: level, 1: chunk method: getRoughBiome (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/ChunkAccess;)Lnet/minecraft/world/level/biome/Biome; params: 0: pos, 1: chunk method: getTopNonCollidingPos (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/world/entity/EntityType;II)Lnet/minecraft/core/BlockPos; params: 0: level, 1: entityType, 2: x, 3: z method: isRightDistanceToPlayerAndSpawnPoint (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/core/BlockPos$MutableBlockPos;D)Z params: 0: level, 1: chunk, 2: pos, 3: distance method: isSpawnPositionOk (Lnet/minecraft/world/entity/SpawnPlacements$Type;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/EntityType;)Z params: 0: placeType, 1: level, 2: pos, 3: entityType method: isValidEmptySpawnBlock (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/entity/EntityType;)Z params: 0: block, 1: pos, 2: blockState, 3: fluidState, 4: entityType method: isValidPositionForMob (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/Mob;D)Z params: 0: level, 1: mob, 2: distance method: isValidSpawnPostitionForType (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/MobCategory;Lnet/minecraft/world/level/StructureFeatureManager;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/level/biome/MobSpawnSettings$SpawnerData;Lnet/minecraft/core/BlockPos$MutableBlockPos;D)Z params: 0: level, 1: category, 2: structureManager, 3: generator, 4: data, 5: pos, 6: distance method: spawnCategoryForChunk (Lnet/minecraft/world/entity/MobCategory;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/LevelChunk;Lnet/minecraft/world/level/NaturalSpawner$SpawnPredicate;Lnet/minecraft/world/level/NaturalSpawner$AfterSpawnCallback;)V params: 0: category, 1: level, 2: chunk, 3: filter, 4: callback method: spawnCategoryForPosition (Lnet/minecraft/world/entity/MobCategory;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/NaturalSpawner$SpawnPredicate;Lnet/minecraft/world/level/NaturalSpawner$AfterSpawnCallback;)V params: 0: category, 1: level, 2: chunk, 3: pos, 4: filter, 5: callback method: spawnForChunk (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/chunk/LevelChunk;Lnet/minecraft/world/level/NaturalSpawner$SpawnState;ZZZ)V params: 0: level, 1: chunk, 2: spawnState, 3: spawnFriendlies, 4: spawnMonsters class: NaturalSpawner$AfterSpawnCallback path: net/minecraft/world/level/NaturalSpawner$AfterSpawnCallback method: run (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: mob, 2: chunk class: NaturalSpawner$SpawnPredicate path: net/minecraft/world/level/NaturalSpawner$SpawnPredicate method: test (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/ChunkAccess;)Z params: 1: entityType, 2: pos, 3: chunk class: NaturalSpawner$SpawnState path: net/minecraft/world/level/NaturalSpawner$SpawnState method: <init> (ILit/unimi/dsi/fastutil/objects/Object2IntOpenHashMap;Lnet/minecraft/world/level/PotentialCalculator;)V params: 1: spawnableChunkCount, 2: mobCategoryCounts, 3: spawnPotential method: afterSpawn (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/level/chunk/ChunkAccess;)V params: 1: mob, 2: chunk method: canSpawn (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/ChunkAccess;)Z params: 1: entityType, 2: pos, 3: chunk method: canSpawnForCategory (Lnet/minecraft/world/entity/MobCategory;)Z params: 1: category class: PathNavigationRegion path: net/minecraft/world/level/PathNavigationRegion method: <init> (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)V params: 1: level, 2: centerPos, 3: offsetPos method: getBlockEntity (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/entity/BlockEntity; params: 1: pos method: getBlockState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; params: 1: pos method: getChunk (II)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: x, 2: z method: getChunk (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/chunk/ChunkAccess; params: 1: pos method: getChunkForCollisions (II)Lnet/minecraft/world/level/BlockGetter; params: 1: chunkX, 2: chunkZ method: getCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 1: entity, 2: collisionBox, 3: filter method: getEntityCollisions (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/stream/Stream; params: 1: entity, 2: collisionBox, 3: filter method: getFluidState (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/material/FluidState; params: 1: pos class: PotentialCalculator path: net/minecraft/world/level/PotentialCalculator method: addCharge (Lnet/minecraft/core/BlockPos;D)V params: 1: pos, 2: charge method: getPotentialEnergyChange (Lnet/minecraft/core/BlockPos;D)D params: 1: pos, 2: charge class: PotentialCalculator$PointCharge path: net/minecraft/world/level/PotentialCalculator$PointCharge method: <init> (Lnet/minecraft/core/BlockPos;D)V params: 1: pos, 2: charge method: getPotentialChange (Lnet/minecraft/core/BlockPos;)D params: 1: pos class: ServerLevelAccessor path: net/minecraft/world/level/ServerLevelAccessor method: addFreshEntityWithPassengers (Lnet/minecraft/world/entity/Entity;)V params: 1: entity class: ServerTickList path: net/minecraft/world/level/ServerTickList field: alreadyTicked Ljava/util/List; Entries from {@link #pendingTickListEntriesThisTick} that have already run this tick.
method: <init> (Lnet/minecraft/server/level/ServerLevel;Ljava/util/function/Predicate;Ljava/util/function/Function;Ljava/util/function/Consumer;)V params: 1: level, 2: ignore, 3: toId, 4: ticker method: addTickData (Lnet/minecraft/world/level/TickNextTickData;)V params: 1: entry method: copy (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/core/BlockPos;)V params: 1: area, 2: offset method: fetchTicksInArea (Ljava/util/List;Ljava/util/Collection;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Z)Ljava/util/List; params: 1: result, 2: entries, 3: bb, 4: remove method: fetchTicksInArea (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;ZZ)Ljava/util/List; params: 1: area, 2: remove, 3: skipCompleted method: fetchTicksInChunk (Lnet/minecraft/world/level/ChunkPos;ZZ)Ljava/util/List; params: 1: pos, 2: remove, 3: skipCompleted method: hasScheduledTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: item method: save (Lnet/minecraft/world/level/ChunkPos;)Lnet/minecraft/nbt/ListTag; params: 1: pos method: saveTickList (Ljava/util/function/Function;Ljava/lang/Iterable;J)Lnet/minecraft/nbt/ListTag; params: 0: targetNameFunction, 1: tickEntries, 2: time method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: item, 3: scheduledTime, 4: priority method: willTickThisTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: obj Checks if this position/item is scheduled to be updated this tick
class: SpawnData path: net/minecraft/world/level/SpawnData method: <init> (ILnet/minecraft/nbt/CompoundTag;)V params: 1: weight, 2: tag method: <init> (Lnet/minecraft/nbt/CompoundTag;)V params: 1: tag class: StructureFeatureManager path: net/minecraft/world/level/StructureFeatureManager method: <init> (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/level/levelgen/WorldGenSettings;)V params: 1: level, 2: worldGenSettings method: addReferenceForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;JLnet/minecraft/world/level/chunk/FeatureAccess;)V params: 1: sectionPos, 2: structure, 3: chunkValue, 5: reader method: forWorldGenRegion (Lnet/minecraft/server/level/WorldGenRegion;)Lnet/minecraft/world/level/StructureFeatureManager; params: 1: region method: getStartForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/chunk/FeatureAccess;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; params: 1: sectionPos, 2: structure, 3: reader method: getStructureAt (Lnet/minecraft/core/BlockPos;ZLnet/minecraft/world/level/levelgen/feature/StructureFeature;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; params: 1: pos, 3: structure method: setStartForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;Lnet/minecraft/world/level/levelgen/structure/StructureStart;Lnet/minecraft/world/level/chunk/FeatureAccess;)V params: 1: sectionPos, 2: structure, 3: start, 4: reader method: startsForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Ljava/util/stream/Stream; params: 1: pos, 2: structure class: TickList path: net/minecraft/world/level/TickList method: hasScheduledTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: item method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;I)V params: 1: pos, 2: item, 3: scheduledTime method: scheduleTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;ILnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: item, 3: scheduledTime, 4: priority method: willTickThisTick (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)Z params: 1: pos, 2: obj Checks if this position/item is scheduled to be updated this tick
class: TickNextTickData path: net/minecraft/world/level/TickNextTickData method: <init> (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;)V params: 1: pos, 2: type method: <init> (Lnet/minecraft/core/BlockPos;Ljava/lang/Object;JLnet/minecraft/world/level/TickPriority;)V params: 1: pos, 2: type, 3: triggerTick, 5: priority method: equals (Ljava/lang/Object;)Z params: 1: other class: TickPriority path: net/minecraft/world/level/TickPriority method: <init> (Ljava/lang/String;II)V params: 3: value method: byValue (I)Lnet/minecraft/world/level/TickPriority; params: 0: priority class: WorldGenLevel path: net/minecraft/world/level/WorldGenLevel method: getSeed ()J gets the random world seed
method: startsForFeature (Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/feature/StructureFeature;)Ljava/util/stream/Stream; params: 1: pos, 2: structure phys shapes class: ArrayVoxelShape path: net/minecraft/world/phys/shapes/ArrayVoxelShape method: <init> (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;)V params: 1: shape, 2: xs, 3: ys, 4: zs method: <init> (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;[D[D[D)V params: 1: shape, 2: xs, 3: ys, 4: zs method: getCoords (Lnet/minecraft/core/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList; params: 1: axis class: BitSetDiscreteVoxelShape path: net/minecraft/world/phys/shapes/BitSetDiscreteVoxelShape method: <init> (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;)V params: 1: shape method: firstFull (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis method: getIndex (III)I params: 1: x, 2: y, 3: z method: isFull (III)Z params: 1: x, 2: y, 3: z method: join (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/BooleanOp;)Lnet/minecraft/world/phys/shapes/BitSetDiscreteVoxelShape; params: 0: mainShape, 1: secondaryShape, 2: mergerX, 3: mergerY, 4: mergerZ, 5: operator method: lambda$join$2 (Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/BooleanOp;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/BitSetDiscreteVoxelShape;[IIII)Z params: 7: x1, 8: x2, 9: x3 method: lastFull (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis class: BooleanOp path: net/minecraft/world/phys/shapes/BooleanOp method: apply (ZZ)Z params: 1: primaryBool, 2: secondaryBool method: lambda$static$0 (ZZ)Z params: 0: left, 1: right method: lambda$static$1 (ZZ)Z params: 0: left, 1: right method: lambda$static$10 (ZZ)Z params: 0: left, 1: right method: lambda$static$11 (ZZ)Z params: 0: left, 1: right method: lambda$static$12 (ZZ)Z params: 0: left, 1: right method: lambda$static$13 (ZZ)Z params: 0: left, 1: right method: lambda$static$14 (ZZ)Z params: 0: left, 1: right method: lambda$static$15 (ZZ)Z params: 0: left, 1: right method: lambda$static$2 (ZZ)Z params: 0: left, 1: right method: lambda$static$3 (ZZ)Z params: 0: left, 1: right method: lambda$static$4 (ZZ)Z params: 0: left, 1: right method: lambda$static$5 (ZZ)Z params: 0: left, 1: right method: lambda$static$6 (ZZ)Z params: 0: left, 1: right method: lambda$static$7 (ZZ)Z params: 0: left, 1: right method: lambda$static$8 (ZZ)Z params: 0: left, 1: right method: lambda$static$9 (ZZ)Z params: 0: left, 1: right class: CollisionContext path: net/minecraft/world/phys/shapes/CollisionContext method: canStandOnFluid (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/material/FlowingFluid;)Z params: 1: state, 2: flowing method: isAbove (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/BlockPos;Z)Z params: 1: shape, 2: pos, 3: canAscend method: isHoldingItem (Lnet/minecraft/world/item/Item;)Z params: 1: item method: of (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/phys/shapes/CollisionContext; params: 0: entity class: CubePointRange path: net/minecraft/world/phys/shapes/CubePointRange method: <init> method: getDouble class: CubeVoxelShape path: net/minecraft/world/phys/shapes/CubeVoxelShape method: findIndex (Lnet/minecraft/core/Direction$Axis;D)I params: 1: axis, 2: position method: getCoords (Lnet/minecraft/core/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList; params: 1: axis class: DiscreteCubeMerger path: net/minecraft/world/phys/shapes/DiscreteCubeMerger method: <init> (II)V params: 1: aa, 2: bb method: forMergedIndexes (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;)Z params: 1: consumer class: DiscreteVoxelShape path: net/minecraft/world/phys/shapes/DiscreteVoxelShape method: <init> (III)V params: 1: xSize, 2: ySize, 3: zSize method: firstFull (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis method: forAllAxisEdges (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape$IntLineConsumer;Lnet/minecraft/core/AxisCycle;Z)V params: 1: lineConsumer, 2: axis, 3: combine method: forAllAxisFaces (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape$IntFaceConsumer;Lnet/minecraft/core/AxisCycle;)V params: 1: faceConsumer, 2: axisRotation method: forAllBoxes (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape$IntLineConsumer;Z)V params: 1: consumer, 2: combine method: forAllEdges (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape$IntLineConsumer;Z)V params: 1: consumer, 2: combine method: forAllFaces (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape$IntFaceConsumer;)V params: 1: faceConsumer method: getSize (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis method: isFull (III)Z params: 1: x, 2: y, 3: z method: isFull (Lnet/minecraft/core/AxisCycle;III)Z params: 1: rotation, 2: x, 3: y, 4: z method: isFullWide (III)Z params: 1: x, 2: y, 3: z method: isFullWide (Lnet/minecraft/core/AxisCycle;III)Z params: 1: axis, 2: x, 3: y, 4: z method: lastFull (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis method: lastFull (Lnet/minecraft/core/Direction$Axis;II)I params: 1: axis, 2: y, 3: z gives the index of the last filled part in the column
class: DiscreteVoxelShape$IntFaceConsumer path: net/minecraft/world/phys/shapes/DiscreteVoxelShape$IntFaceConsumer method: consume (Lnet/minecraft/core/Direction;III)V params: 1: direction, 2: x, 3: y, 4: z class: DiscreteVoxelShape$IntLineConsumer path: net/minecraft/world/phys/shapes/DiscreteVoxelShape$IntLineConsumer method: consume (IIIIII)V params: 1: x1, 2: y1, 3: z1, 4: x2, 5: y2, 6: z2 class: EntityCollisionContext path: net/minecraft/world/phys/shapes/EntityCollisionContext method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: canStandOnFluid (Lnet/minecraft/world/level/material/FluidState;Lnet/minecraft/world/level/material/FlowingFluid;)Z params: 1: state, 2: flowing method: isAbove (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/BlockPos;Z)Z params: 1: shape, 2: pos, 3: canAscend method: isHoldingItem (Lnet/minecraft/world/item/Item;)Z params: 1: item method: lambda$static$0 (Lnet/minecraft/world/level/material/Fluid;)Z params: 0: fluid class: IdenticalMerger path: net/minecraft/world/phys/shapes/IdenticalMerger method: <init> (Lit/unimi/dsi/fastutil/doubles/DoubleList;)V params: 1: coords method: forMergedIndexes (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;)Z params: 1: consumer class: IndexMerger path: net/minecraft/world/phys/shapes/IndexMerger method: forMergedIndexes (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;)Z params: 1: consumer class: IndexMerger$IndexConsumer path: net/minecraft/world/phys/shapes/IndexMerger$IndexConsumer method: merge (III)Z params: 1: firstValue, 2: secondValue, 3: thirdValue class: IndirectMerger path: net/minecraft/world/phys/shapes/IndirectMerger method: <init> (Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;ZZ)V params: 1: lower, 2: upper method: forMergedIndexes (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;)Z params: 1: consumer class: NonOverlappingMerger path: net/minecraft/world/phys/shapes/NonOverlappingMerger method: <init> (Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)V params: 1: lower, 2: upper, 3: swap method: forMergedIndexes (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;)Z params: 1: consumer method: forNonSwappedIndexes (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;)Z params: 1: consumer method: getDouble method: lambda$forMergedIndexes$0 (Lnet/minecraft/world/phys/shapes/IndexMerger$IndexConsumer;III)Z params: 1: x, 2: y, 3: z class: OffsetDoubleList path: net/minecraft/world/phys/shapes/OffsetDoubleList method: <init> (Lit/unimi/dsi/fastutil/doubles/DoubleList;D)V params: 1: delegate, 2: offset method: getDouble class: Shapes path: net/minecraft/world/phys/shapes/Shapes method: blockOccudes (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/Direction;)Z params: 0: shape, 1: adjacentShape, 2: side method: box (DDDDDD)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: minX, 2: minY, 4: minZ, 6: maxX, 8: maxY, 10: maxZ method: collide (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/world/phys/AABB;Ljava/util/stream/Stream;D)D params: 0: movementAxis, 1: collisionBox, 2: possibleHits, 3: desiredOffset method: collide (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/level/LevelReader;DLnet/minecraft/world/phys/shapes/CollisionContext;Ljava/util/stream/Stream;)D params: 0: movementAxis, 1: collisionBox, 2: levelReader, 3: desiredOffset, 5: selectionContext, 6: possibleHits method: collide (Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/level/LevelReader;DLnet/minecraft/world/phys/shapes/CollisionContext;Lnet/minecraft/core/AxisCycle;Ljava/util/stream/Stream;)D params: 0: collisionBox, 1: levelReader, 2: desiredOffset, 4: selectionContext, 5: rotationAxis, 6: possibleHits method: create (Lnet/minecraft/world/phys/AABB;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: aabb method: createIndexMerger (ILit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;ZZ)Lnet/minecraft/world/phys/shapes/IndexMerger; params: 0: size, 1: list1, 2: list2 method: faceShapeOccludes (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;)Z params: 0: voxelShape1, 1: voxelShape2 method: findBits (DD)I params: 0: minBits, 2: maxBits method: getFaceShape (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: voxelShape, 1: direction method: join (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/BooleanOp;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: shape1, 1: shape2, 2: function method: joinIsNotEmpty (Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/BooleanOp;)Z params: 0: mergerX, 1: mergerY, 2: mergerZ, 3: primaryShape, 4: secondaryShape, 5: resultOperator method: joinIsNotEmpty (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/BooleanOp;)Z params: 0: shape1, 1: shape2, 2: resultOperator method: joinUnoptimized (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/BooleanOp;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: shape1, 1: shape2, 2: function method: lambda$collide$4 ([DLnet/minecraft/core/Direction$Axis;Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/phys/shapes/VoxelShape;)V params: 3: shape method: lambda$joinIsNotEmpty$3 (Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/IndexMerger;Lnet/minecraft/world/phys/shapes/BooleanOp;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;III)Z params: 5: x1, 6: y1, 7: z1 method: lastC (DDD)I params: 0: desiredOffset, 2: min, 4: max method: lcm (II)J params: 0: aa, 1: bb method: mergedFaceOccludes (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/Direction;)Z params: 0: shape, 1: adjacentShape, 2: side method: or (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/world/phys/shapes/VoxelShape;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 0: shape1, 1: shape2 class: Shapes$DoubleLineConsumer path: net/minecraft/world/phys/shapes/Shapes$DoubleLineConsumer method: consume (DDDDDD)V params: 1: minX, 3: minY, 5: minZ, 7: maxX, 9: maxY, 11: maxZ class: SliceShape path: net/minecraft/world/phys/shapes/SliceShape method: <init> (Lnet/minecraft/world/phys/shapes/VoxelShape;Lnet/minecraft/core/Direction$Axis;I)V params: 1: delegate, 2: axis, 3: index method: getCoords (Lnet/minecraft/core/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList; params: 1: axis method: makeSlice (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;Lnet/minecraft/core/Direction$Axis;I)Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape; params: 0: shape, 1: axis, 2: index class: SubShape path: net/minecraft/world/phys/shapes/SubShape method: <init> (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;IIIIII)V params: 1: parent, 2: startX, 3: startY, 4: startZ, 5: endX, 6: endY, 7: endZ method: firstFull (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis method: isFull (III)Z params: 1: x, 2: y, 3: z method: lastFull (Lnet/minecraft/core/Direction$Axis;)I params: 1: axis class: VoxelShape path: net/minecraft/world/phys/shapes/VoxelShape method: <init> (Lnet/minecraft/world/phys/shapes/DiscreteVoxelShape;)V params: 1: shape method: calculateFace (Lnet/minecraft/core/Direction;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: side method: clip (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/BlockHitResult; params: 1: startVec, 2: endVec, 3: pos method: collide (Lnet/minecraft/core/Direction$Axis;Lnet/minecraft/world/phys/AABB;D)D params: 1: movementAxis, 2: collisionBox, 3: desiredOffset method: collideX (Lnet/minecraft/core/AxisCycle;Lnet/minecraft/world/phys/AABB;D)D params: 1: movementAxis, 2: collisionBox, 3: desiredOffset method: findIndex (Lnet/minecraft/core/Direction$Axis;D)I params: 1: axis, 2: position method: forAllBoxes (Lnet/minecraft/world/phys/shapes/Shapes$DoubleLineConsumer;)V params: 1: action method: forAllEdges (Lnet/minecraft/world/phys/shapes/Shapes$DoubleLineConsumer;)V params: 1: action method: get (Lnet/minecraft/core/Direction$Axis;I)D params: 1: axis, 2: index method: getCoords (Lnet/minecraft/core/Direction$Axis;)Lit/unimi/dsi/fastutil/doubles/DoubleList; params: 1: axis method: getFaceShape (Lnet/minecraft/core/Direction;)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: side Projects" this shape onto the given side. For each box in the shape, if it does not touch the given side, it is eliminated. Otherwise, the box is extended in the given axis to cover the entire range [0, 1].
method: lambda$forAllBoxes$2 (Lnet/minecraft/world/phys/shapes/Shapes$DoubleLineConsumer;Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;IIIIII)V params: 4: x1, 5: y1, 6: z1, 7: x2, 8: y2, 9: z2 method: lambda$forAllEdges$1 (Lnet/minecraft/world/phys/shapes/Shapes$DoubleLineConsumer;IIIIII)V params: 2: x1, 3: y1, 4: z1, 5: x2, 6: y2, 7: z2 method: lambda$optimize$0 ([Lnet/minecraft/world/phys/shapes/VoxelShape;DDDDDD)V params: 1: x1, 3: y1, 5: z1, 7: x2, 9: y2, 11: z2 method: lambda$toAabbs$3 (Ljava/util/List;DDDDDD)V params: 1: x1, 3: y1, 5: z1, 7: x2, 9: y2, 11: z2 method: max (Lnet/minecraft/core/Direction$Axis;)D params: 1: axis method: max (Lnet/minecraft/core/Direction$Axis;DD)D params: 1: axis, 2: primaryPosition, 4: secondaryPosition method: min (Lnet/minecraft/core/Direction$Axis;)D params: 1: axis method: move (DDD)Lnet/minecraft/world/phys/shapes/VoxelShape; params: 1: xOffset, 3: yOffset, 5: zOffset class: AABB path: net/minecraft/world/phys/AABB method: <init> (DDDDDD)V params: 1: x1, 3: y1, 5: z1, 7: x2, 9: y2, 11: z2 method: <init> (Lnet/minecraft/core/BlockPos;)V params: 1: pos method: <init> (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)V params: 1: start, 2: end method: <init> (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;)V params: 1: start, 2: end method: clip (Ljava/lang/Iterable;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/BlockHitResult; params: 0: boxes, 1: start, 2: end, 3: pos method: clip (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;)Ljava/util/Optional; params: 1: from, 2: to method: clipPoint ([DLnet/minecraft/core/Direction;DDDDDDDDLnet/minecraft/core/Direction;DDD)Lnet/minecraft/core/Direction; params: 0: minDistance, 1: prevDirection, 2: distanceSide, 4: distanceOtherA, 6: distanceOtherB, 8: minSide, 10: minOtherA, 12: maxOtherA, 14: minOtherB, 16: maxOtherB, 18: hitSide, 19: startSide, 21: startOtherA, 23: startOtherB method: contains (DDD)Z params: 1: x, 3: y, 5: z method: contains (Lnet/minecraft/world/phys/Vec3;)Z params: 1: vec Returns if the supplied Vec3D is completely inside the bounding box
method: contract (DDD)Lnet/minecraft/world/phys/AABB; params: 1: x, 3: y, 5: z Creates a new {@link AxisAlignedBB} that has been contracted by the given amount, with positive changes decreasing max values and negative changes increasing min values.
<br/>
If the amount to contract by is larger than the length of a side, then the side will wrap (still creating a valid AABB - see last sample).
<h3>Samples:</h3>
<table>
<tr><th>Input</th><th>Result</th></tr>
<tr><td><pre><code>new AxisAlignedBB(0, 0, 0, 4, 4, 4).contract(2, 2, 2)</code></pre></td><td><pre><samp>box[0.0, 0.0, 0.0 -> 2.0, 2.0, 2.0]</samp></pre></td></tr>
<tr><td><pre><code>new AxisAlignedBB(0, 0, 0, 4, 4, 4).contract(-2, -2, -2)</code></pre></td><td><pre><samp>box[2.0, 2.0, 2.0 -> 4.0, 4.0, 4.0]</samp></pre></td></tr>
<tr><td><pre><code>new AxisAlignedBB(5, 5, 5, 7, 7, 7).contract(0, 1, -1)</code></pre></td><td><pre><samp>box[5.0, 5.0, 6.0 -> 7.0, 6.0, 7.0]</samp></pre></td></tr>
<tr><td><pre><code>new AxisAlignedBB(-2, -2, -2, 2, 2, 2).contract(4, -4, 0)</code></pre></td><td><pre><samp>box[-8.0, 2.0, -2.0 -> -2.0, 8.0, 2.0]</samp></pre></td></tr>
</table>
<h3>See Also:</h3>
<ul>
<li>{@link #expand(double, double, double)} - like this, except for expanding.</li>
<li>{@link #grow(double, double, double)} and {@link #grow(double)} - expands in all directions.</li>
<li>{@link #shrink(double)} - contracts in all directions (like {@link #grow(double)})</li>
</ul>
@return A new modified bounding box.
method: deflate (D)Lnet/minecraft/world/phys/AABB; params: 1: value Creates a new {@link AxisAlignedBB} that is expanded by the given value in all directions. Equivalent to {@link #grow(double)} with value set to the negative of the value provided here. Passing a negative value to this method values will grow the AABB.
<br/>
Side lengths will be decreased by 2 times the value of the parameter, since both min and max are changed.
<br/>
If contracting and the amount to contract by is larger than the length of a side, then the side will wrap (still creating a valid AABB - see samples on {@link #grow(double, double, double)}).
@return A modified AABB.
method: expandTowards (DDD)Lnet/minecraft/world/phys/AABB; params: 1: x, 3: y, 5: z Creates a new {@link AxisAlignedBB} that has been expanded by the given amount, with positive changes increasing max values and negative changes decreasing min values.
<h3>Samples:</h3>
<table>
<tr><th>Input</th><th>Result</th></tr>
<tr><td><pre><code>new AxisAlignedBB(0, 0, 0, 1, 1, 1).expand(2, 2, 2)</code></pre></td><td><pre><samp>box[0, 0, 0 -> 3, 3, 3]</samp></pre></td><td>
<tr><td><pre><code>new AxisAlignedBB(0, 0, 0, 1, 1, 1).expand(-2, -2, -2)</code></pre></td><td><pre><samp>box[-2, -2, -2 -> 1, 1, 1]</samp></pre></td><td>
<tr><td><pre><code>new AxisAlignedBB(5, 5, 5, 7, 7, 7).expand(0, 1, -1)</code></pre></td><td><pre><samp>box[5, 5, 4, 7, 8, 7]</samp></pre></td><td>
</table>
<h3>See Also:</h3>
<ul>
<li>{@link #contract(double, double, double)} - like this, except for shrinking.</li>
<li>{@link #grow(double, double, double)} and {@link #grow(double)} - expands in all directions.</li>
<li>{@link #shrink(double)} - contracts in all directions (like {@link #grow(double)})</li>
</ul>
@return A modified bounding box that will always be equal or greater in volume to this bounding box.
method: expandTowards (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/AABB; params: 1: vector method: getDirection (Lnet/minecraft/world/phys/AABB;Lnet/minecraft/world/phys/Vec3;[DLnet/minecraft/core/Direction;DDD)Lnet/minecraft/core/Direction; params: 0: aabb, 1: start, 2: minDistance, 3: facing, 4: deltaX, 6: deltaY, 8: deltaZ method: getSize ()D Returns the average length of the edges of the bounding box.
method: inflate (D)Lnet/minecraft/world/phys/AABB; params: 1: value Creates a new {@link AxisAlignedBB} that is expanded by the given value in all directions. Equivalent to {@link #grow(double, double, double)} with the given value for all 3 params. Negative values will shrink the AABB.
<br/>
Side lengths will be increased by 2 times the value of the parameter, since both min and max are changed.
<br/>
If contracting and the amount to contract by is larger than the length of a side, then the side will wrap (still creating a valid AABB - see samples on {@link #grow(double, double, double)}).
@return A modified AABB.
method: inflate (DDD)Lnet/minecraft/world/phys/AABB; params: 1: x, 3: y, 5: z Creates a new {@link AxisAlignedBB} that has been contracted by the given amount in both directions. Negative values will shrink the AABB instead of expanding it.
<br/>
Side lengths will be increased by 2 times the value of the parameters, since both min and max are changed.
<br/>
If contracting and the amount to contract by is larger than the length of a side, then the side will wrap (still creating a valid AABB - see last ample).
<h3>Samples:</h3>
<table>
<tr><th>Input</th><th>Result</th></tr>
<tr><td><pre><code>new AxisAlignedBB(0, 0, 0, 1, 1, 1).grow(2, 2, 2)</code></pre></td><td><pre><samp>box[-2.0, -2.0, -2.0 -> 3.0, 3.0, 3.0]</samp></pre></td></tr>
<tr><td><pre><code>new AxisAlignedBB(0, 0, 0, 6, 6, 6).grow(-2, -2, -2)</code></pre></td><td><pre><samp>box[2.0, 2.0, 2.0 -> 4.0, 4.0, 4.0]</samp></pre></td></tr>
<tr><td><pre><code>new AxisAlignedBB(5, 5, 5, 7, 7, 7).grow(0, 1, -1)</code></pre></td><td><pre><samp>box[5.0, 4.0, 6.0 -> 7.0, 8.0, 6.0]</samp></pre></td></tr>
<tr><td><pre><code>new AxisAlignedBB(1, 1, 1, 3, 3, 3).grow(-4, -2, -3)</code></pre></td><td><pre><samp>box[-1.0, 1.0, 0.0 -> 5.0, 3.0, 4.0]</samp></pre></td></tr>
</table>
<h3>See Also:</h3>
<ul>
<li>{@link #expand(double, double, double)} - expands in only one direction.</li>
<li>{@link #contract(double, double, double)} - contracts in only one direction.</li>
<lu>{@link #grow(double)} - version of this that expands in all directions from one parameter.</li>
<li>{@link #shrink(double)} - contracts in all directions</li>
</ul>
@return A modified bounding box.
method: intersect (Lnet/minecraft/world/phys/AABB;)Lnet/minecraft/world/phys/AABB; params: 1: other method: intersects (DDDDDD)Z params: 1: x1, 3: y1, 5: z1, 7: x2, 9: y2, 11: z2 method: intersects (Lnet/minecraft/world/phys/AABB;)Z params: 1: other Checks if the bounding box intersects with another.
method: intersects (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/phys/Vec3;)Z params: 1: min, 2: max method: max (Lnet/minecraft/core/Direction$Axis;)D params: 1: axis method: min (Lnet/minecraft/core/Direction$Axis;)D params: 1: axis method: minmax (Lnet/minecraft/world/phys/AABB;)Lnet/minecraft/world/phys/AABB; params: 1: other method: move (DDD)Lnet/minecraft/world/phys/AABB; params: 1: x, 3: y, 5: z Offsets the current bounding box by the specified amount.
method: move (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/AABB; params: 1: pos method: move (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/AABB; params: 1: vec method: of (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Lnet/minecraft/world/phys/AABB; params: 0: mutableBox method: unitCubeFromLowerCorner (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/AABB; params: 0: vector class: BlockHitResult path: net/minecraft/world/phys/BlockHitResult method: <init> (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;Z)V params: 1: location, 2: direction, 3: blockPos, 4: inside method: <init> (ZLnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;Z)V params: 1: miss, 2: location, 3: direction, 4: blockPos, 5: inside method: getDirection ()Lnet/minecraft/core/Direction; Gets the face of the block that was clicked
method: isInside ()Z True if the player's head is inside of a block (used by scaffolding)
method: miss (Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/BlockHitResult; params: 0: location, 1: face, 2: pos Creates a new BlockRayTraceResult marked as a miss.
method: withDirection (Lnet/minecraft/core/Direction;)Lnet/minecraft/world/phys/BlockHitResult; params: 1: newFace Creates a new BlockRayTraceResult, with the clicked face replaced with the given one
method: withPosition (Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/BlockHitResult; params: 1: pos class: EntityHitResult path: net/minecraft/world/phys/EntityHitResult method: <init> (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: <init> (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;)V params: 1: entity, 2: location class: HitResult path: net/minecraft/world/phys/HitResult method: <init> (Lnet/minecraft/world/phys/Vec3;)V params: 1: location method: distanceTo (Lnet/minecraft/world/entity/Entity;)D params: 1: entity method: getLocation ()Lnet/minecraft/world/phys/Vec3; Returns the hit position of the raycast, in absolute world coordinates
class: Vec2 path: net/minecraft/world/phys/Vec2 method: <init> method: equals (Lnet/minecraft/world/phys/Vec2;)Z params: 1: other class: Vec3 path: net/minecraft/world/phys/Vec3 method: <init> (DDD)V params: 1: x, 3: y, 5: z method: <init> (Lcom/mojang/math/Vector3f;)V params: 1: floatVector method: add (DDD)Lnet/minecraft/world/phys/Vec3; params: 1: x, 3: y, 5: z Adds the specified x,y,z vector components to this vector and returns the resulting vector. Does not change this vector.
method: add (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vec method: align (Ljava/util/EnumSet;)Lnet/minecraft/world/phys/Vec3; params: 1: axes method: atBottomCenterOf (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/world/phys/Vec3; params: 0: toCopy Copies the coordinates of an int vector and centers them horizontally (x and z)
method: atCenterOf (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/world/phys/Vec3; params: 0: toCopy Copies the coordinates of an Int vector and centers them.
method: atLowerCornerOf (Lnet/minecraft/core/Vec3i;)Lnet/minecraft/world/phys/Vec3; params: 0: toCopy Copies the coordinates of an int vector exactly.
method: closerThan (Lnet/minecraft/core/Position;D)Z params: 1: pos, 2: distance Checks if a position is within a certain distance of the coordinates.
method: cross (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vec Returns a new vector with the result of this vector x the specified vector.
method: directionFromRotation (FF)Lnet/minecraft/world/phys/Vec3; params: 0: pitch, 1: yaw returns a Vec3d from given pitch and yaw degrees
method: directionFromRotation (Lnet/minecraft/world/phys/Vec2;)Lnet/minecraft/world/phys/Vec3; params: 0: vec returns a Vec3d from given pitch and yaw degrees as Vec2f
method: distanceTo (Lnet/minecraft/world/phys/Vec3;)D params: 1: vec Euclidean distance between this and the specified vector, returned as double.
method: distanceToSqr (DDD)D params: 1: x, 3: y, 5: z method: distanceToSqr (Lnet/minecraft/world/phys/Vec3;)D params: 1: vec The square of the Euclidean distance between this and the specified vector.
method: dot (Lnet/minecraft/world/phys/Vec3;)D params: 1: vec method: fromRGB24 (I)Lnet/minecraft/world/phys/Vec3; params: 0: packed method: get (Lnet/minecraft/core/Direction$Axis;)D params: 1: axis method: length ()D Returns the length of the vector.
method: multiply (DDD)Lnet/minecraft/world/phys/Vec3; params: 1: factorX, 3: factorY, 5: factorZ method: multiply (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vec method: normalize ()Lnet/minecraft/world/phys/Vec3; Normalizes the vector to a length of 1 (except if it is the zero vector)
method: scale (D)Lnet/minecraft/world/phys/Vec3; params: 1: factor method: subtract (DDD)Lnet/minecraft/world/phys/Vec3; params: 1: x, 3: y, 5: z method: subtract (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vec method: upFromBottomCenterOf (Lnet/minecraft/core/Vec3i;D)Lnet/minecraft/world/phys/Vec3; params: 0: toCopy, 1: verticalOffset Copies the coordinates of an int vector and centers them horizontally and applies a vertical offset.
method: vectorTo (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; params: 1: vec Returns a new vector with the result of the specified vector minus this.
method: xRot (F)Lnet/minecraft/world/phys/Vec3; params: 1: pitch method: yRot (F)Lnet/minecraft/world/phys/Vec3; params: 1: yaw method: zRot (F)Lnet/minecraft/world/phys/Vec3; params: 1: roll scores criteria class: ObjectiveCriteria path: net/minecraft/world/scores/criteria/ObjectiveCriteria method: <init> (Ljava/lang/String;)V params: 1: name method: <init> (Ljava/lang/String;ZLnet/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType;)V params: 1: name, 2: readOnly, 3: renderType method: byName (Ljava/lang/String;)Ljava/util/Optional; params: 0: name method: getStat (Lnet/minecraft/stats/StatType;Lnet/minecraft/resources/ResourceLocation;)Ljava/util/Optional; params: 0: statType, 1: resourceLocation class: ObjectiveCriteria$RenderType path: net/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: id method: byId (Ljava/lang/String;)Lnet/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType; params: 0: renderType class: Objective path: net/minecraft/world/scores/Objective method: <init> (Lnet/minecraft/world/scores/Scoreboard;Ljava/lang/String;Lnet/minecraft/world/scores/criteria/ObjectiveCriteria;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType;)V params: 1: scoreboard, 2: name, 3: criteria, 4: displayName, 5: renderType method: lambda$createFormattedDisplayName$0 (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; params: 1: style method: setDisplayName (Lnet/minecraft/network/chat/Component;)V params: 1: displayName method: setRenderType (Lnet/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType;)V params: 1: renderType class: PlayerTeam path: net/minecraft/world/scores/PlayerTeam method: <init> (Lnet/minecraft/world/scores/Scoreboard;Ljava/lang/String;)V params: 1: scoreboard, 2: name method: canSeeFriendlyInvisibles ()Z Checks whether members of this team can see other members that are invisible.
method: formatNameForTeam (Lnet/minecraft/world/scores/Team;Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/MutableComponent; params: 0: playerTeam, 1: playerName method: getCollisionRule ()Lnet/minecraft/world/scores/Team$CollisionRule; Gets the rule to be used for handling collisions with members of this team.
method: getColor ()Lnet/minecraft/ChatFormatting; Gets the color for this team. The team color is used mainly for team kill objectives and team-specific setDisplay usage" it does _not_ affect all situations (for instance, the prefix is used for the glowing effect).
method: getDeathMessageVisibility ()Lnet/minecraft/world/scores/Team$Visibility; Gets the visibility flags for player death messages.
method: getDisplayName ()Lnet/minecraft/network/chat/Component; Gets the display name for this team.
method: getFormattedName (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/MutableComponent; params: 1: formattedName method: getName ()Ljava/lang/String; Retrieve the name by which this team is registered in the scoreboard
method: getNameTagVisibility ()Lnet/minecraft/world/scores/Team$Visibility; Gets the visibility flags for player name tags.
method: getPlayers ()Ljava/util/Collection; Gets a collection of all members of this team.
method: isAllowFriendlyFire ()Z Checks whether friendly fire (PVP between members of the team) is allowed.
method: packOptions ()I Gets a bitmask containing the friendly fire and invisibles flags.
method: setAllowFriendlyFire (Z)V params: 1: friendlyFire Sets whether friendly fire (PVP between members of the team) is allowed.
method: setCollisionRule (Lnet/minecraft/world/scores/Team$CollisionRule;)V params: 1: rule Sets the rule to be used for handling collisions with members of this team.
method: setColor (Lnet/minecraft/ChatFormatting;)V params: 1: color Sets the color for this team. The team color is used mainly for team kill objectives and team-specific setDisplay usage" it does _not_ affect all situations (for instance, the prefix is used for the glowing effect).
method: setDeathMessageVisibility (Lnet/minecraft/world/scores/Team$Visibility;)V params: 1: visibility Sets the visibility flags for player death messages.
method: setDisplayName (Lnet/minecraft/network/chat/Component;)V params: 1: name Sets the display name for this team.
method: setNameTagVisibility (Lnet/minecraft/world/scores/Team$Visibility;)V params: 1: visibility Sets the visibility flags for player name tags.
method: setPlayerPrefix (Lnet/minecraft/network/chat/Component;)V params: 1: playerPrefix method: setPlayerSuffix (Lnet/minecraft/network/chat/Component;)V params: 1: playerSuffix method: setSeeFriendlyInvisibles (Z)V params: 1: friendlyInvisibles Sets whether members of this team can see other members that are invisible.
method: unpackOptions (I)V params: 1: flags Sets friendly fire and invisibles flags based off of the given bitmask.
class: Score path: net/minecraft/world/scores/Score method: <init> (Lnet/minecraft/world/scores/Scoreboard;Lnet/minecraft/world/scores/Objective;Ljava/lang/String;)V params: 1: scoreboard, 2: objective, 3: owner method: add method: getOwner ()Ljava/lang/String; Returns the name of the player this score belongs to
method: lambda$static$0 (Lnet/minecraft/world/scores/Score;Lnet/minecraft/world/scores/Score;)I params: 0: score1, 1: score2 method: setLocked method: setScore class: Scoreboard path: net/minecraft/world/scores/Scoreboard method: addObjective (Ljava/lang/String;Lnet/minecraft/world/scores/criteria/ObjectiveCriteria;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/scores/criteria/ObjectiveCriteria$RenderType;)Lnet/minecraft/world/scores/Objective; params: 1: name, 2: criteria, 3: displayName, 4: renderType method: addPlayerTeam (Ljava/lang/String;)Lnet/minecraft/world/scores/PlayerTeam; params: 1: name method: addPlayerToTeam (Ljava/lang/String;Lnet/minecraft/world/scores/PlayerTeam;)Z params: 1: playerName, 2: team method: entityRemoved (Lnet/minecraft/world/entity/Entity;)V params: 1: entity method: forAllObjectives (Lnet/minecraft/world/scores/criteria/ObjectiveCriteria;Ljava/lang/String;Ljava/util/function/Consumer;)V params: 1: criteria, 2: scoreboardName, 3: points method: getDisplayObjective (I)Lnet/minecraft/world/scores/Objective; params: 1: slot 0 is tab menu, 1 is sidebar, 2 is below name
method: getDisplaySlotByName (Ljava/lang/String;)I params: 0: name Returns 0 for (case-insensitive) 'list', 1 for 'sidebar', 2 for 'belowName', otherwise -1.
method: getDisplaySlotName (I)Ljava/lang/String; params: 0: id Returns 'list' for 0, 'sidebar' for 1, 'belowName for 2, otherwise null.
method: getObjective (Ljava/lang/String;)Lnet/minecraft/world/scores/Objective; params: 1: name Returns a ScoreObjective for the objective name
method: getOrCreateObjective (Ljava/lang/String;)Lnet/minecraft/world/scores/Objective; params: 1: objective method: getOrCreatePlayerScore (Ljava/lang/String;Lnet/minecraft/world/scores/Objective;)Lnet/minecraft/world/scores/Score; params: 1: username, 2: objective Get a player's score or create it if it does not exist
method: getPlayerScores (Ljava/lang/String;)Ljava/util/Map; params: 1: name Returns all the objectives for the given entity
method: getPlayerScores (Lnet/minecraft/world/scores/Objective;)Ljava/util/Collection; params: 1: objective Returns an array of Score objects, sorting by Score.getScorePoints()
method: getPlayerTeam (Ljava/lang/String;)Lnet/minecraft/world/scores/PlayerTeam; params: 1: teamName Retrieve the ScorePlayerTeam instance identified by the passed team name
method: getPlayerTeams ()Ljava/util/Collection; Retrieve all registered ScorePlayerTeam instances
method: getPlayersTeam (Ljava/lang/String;)Lnet/minecraft/world/scores/PlayerTeam; params: 1: username Gets the ScorePlayerTeam object for the given username.
method: getTeamNames ()Ljava/util/Collection; Retrieve all registered ScorePlayerTeam names
method: hasObjective (Ljava/lang/String;)Z params: 1: objective method: hasPlayerScore (Ljava/lang/String;Lnet/minecraft/world/scores/Objective;)Z params: 1: name, 2: objective Returns if the entity has the given ScoreObjective
method: lambda$null$5 (Lnet/minecraft/nbt/ListTag;Lnet/minecraft/world/scores/Score;)V params: 1: player method: loadPlayerScores (Lnet/minecraft/nbt/ListTag;)V params: 1: tag method: onObjectiveAdded (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: onObjectiveChanged (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: onObjectiveRemoved (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: onPlayerRemoved (Ljava/lang/String;)V params: 1: scoreName method: onPlayerScoreRemoved (Ljava/lang/String;Lnet/minecraft/world/scores/Objective;)V params: 1: scoreName, 2: objective method: onScoreChanged (Lnet/minecraft/world/scores/Score;)V params: 1: score method: onTeamAdded (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam method: onTeamChanged (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam method: onTeamRemoved (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam method: removeObjective (Lnet/minecraft/world/scores/Objective;)V params: 1: objective method: removePlayerFromTeam (Ljava/lang/String;)Z params: 1: playerName method: removePlayerFromTeam (Ljava/lang/String;Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: username, 2: playerTeam Removes the given username from the given ScorePlayerTeam. If the player is not on the team then an IllegalStateException is thrown.
method: removePlayerTeam (Lnet/minecraft/world/scores/PlayerTeam;)V params: 1: playerTeam Removes the team from the scoreboard, updates all player memberships and broadcasts the deletion to all players
method: resetPlayerScore (Ljava/lang/String;Lnet/minecraft/world/scores/Objective;)V params: 1: name, 2: objective Remove the given ScoreObjective for the given Entity name.
method: setDisplayObjective (ILnet/minecraft/world/scores/Objective;)V params: 1: objectiveSlot, 2: objective 0 is tab menu, 1 is sidebar, 2 is below name
class: ScoreboardSaveData path: net/minecraft/world/scores/ScoreboardSaveData method: loadDisplaySlots (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: loadObjectives (Lnet/minecraft/nbt/ListTag;)V params: 1: nbt method: loadTeamPlayers (Lnet/minecraft/world/scores/PlayerTeam;Lnet/minecraft/nbt/ListTag;)V params: 1: playerTeam, 2: tagList method: loadTeams (Lnet/minecraft/nbt/ListTag;)V params: 1: tagList method: save (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag; params: 1: compound Used to save the {@code SavedData} to a {@code CompoundTag}
method: saveDisplaySlots (Lnet/minecraft/nbt/CompoundTag;)V params: 1: compound method: setScoreboard (Lnet/minecraft/world/scores/Scoreboard;)V params: 1: scoreboard class: Team path: net/minecraft/world/scores/Team method: canSeeFriendlyInvisibles ()Z Checks whether members of this team can see other members that are invisible.
method: getCollisionRule ()Lnet/minecraft/world/scores/Team$CollisionRule; Gets the rule to be used for handling collisions with members of this team.
method: getColor ()Lnet/minecraft/ChatFormatting; Gets the color for this team. The team color is used mainly for team kill objectives and team-specific setDisplay usage" it does _not_ affect all situations (for instance, the prefix is used for the glowing effect).
method: getDeathMessageVisibility ()Lnet/minecraft/world/scores/Team$Visibility; Gets the visibility flags for player death messages.
method: getFormattedName (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/network/chat/MutableComponent; params: 1: formattedName method: getName ()Ljava/lang/String; Retrieve the name by which this team is registered in the scoreboard
method: getNameTagVisibility ()Lnet/minecraft/world/scores/Team$Visibility; Gets the visibility flags for player name tags.
method: getPlayers ()Ljava/util/Collection; Gets a collection of all members of this team.
method: isAlliedTo (Lnet/minecraft/world/scores/Team;)Z params: 1: other Same as ==
method: isAllowFriendlyFire ()Z Checks whether friendly fire (PVP between members of the team) is allowed.
class: Team$CollisionRule path: net/minecraft/world/scores/Team$CollisionRule method: <init> (Ljava/lang/String;ILjava/lang/String;I)V params: 3: name, 4: id method: byName (Ljava/lang/String;)Lnet/minecraft/world/scores/Team$CollisionRule; params: 0: name class: Team$Visibility path: net/minecraft/world/scores/Team$Visibility method: <init> (Ljava/lang/String;ILjava/lang/String;I)V params: 3: name, 4: id method: byName (Ljava/lang/String;)Lnet/minecraft/world/scores/Team$Visibility; params: 0: name class: BossEvent path: net/minecraft/world/BossEvent method: <init> (Ljava/util/UUID;Lnet/minecraft/network/chat/Component;Lnet/minecraft/world/BossEvent$BossBarColor;Lnet/minecraft/world/BossEvent$BossBarOverlay;)V params: 1: id, 2: name, 3: color, 4: overlay method: setColor (Lnet/minecraft/world/BossEvent$BossBarColor;)V params: 1: color method: setCreateWorldFog (Z)Lnet/minecraft/world/BossEvent; params: 1: createFog method: setDarkenScreen (Z)Lnet/minecraft/world/BossEvent; params: 1: darkenSky method: setName (Lnet/minecraft/network/chat/Component;)V params: 1: name method: setOverlay (Lnet/minecraft/world/BossEvent$BossBarOverlay;)V params: 1: overlay method: setPlayBossMusic (Z)Lnet/minecraft/world/BossEvent; params: 1: playEndBossMusic class: BossEvent$BossBarColor path: net/minecraft/world/BossEvent$BossBarColor method: <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/ChatFormatting;)V params: 3: name, 4: formatting method: byName (Ljava/lang/String;)Lnet/minecraft/world/BossEvent$BossBarColor; params: 0: name class: BossEvent$BossBarOverlay path: net/minecraft/world/BossEvent$BossBarOverlay method: <init> (Ljava/lang/String;ILjava/lang/String;)V params: 3: name method: byName (Ljava/lang/String;)Lnet/minecraft/world/BossEvent$BossBarOverlay; params: 0: name class: Clearable path: net/minecraft/world/Clearable method: tryClear (Ljava/lang/Object;)V params: 0: object class: CompoundContainer path: net/minecraft/world/CompoundContainer method: <init> (Lnet/minecraft/world/Container;Lnet/minecraft/world/Container;)V params: 1: container1, 2: container2 method: canPlaceItem (ILnet/minecraft/world/item/ItemStack;)Z params: 1: index, 2: stack Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. For guis use Slot.isItemValid
method: contains (Lnet/minecraft/world/Container;)Z params: 1: inventory Return whether the given inventory is part of this large chest.
method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: getMaxStackSize ()I Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: startOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
method: stopOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: Container path: net/minecraft/world/Container method: canPlaceItem (ILnet/minecraft/world/item/ItemStack;)Z params: 1: index, 2: stack Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot. For guis use Slot.isItemValid
method: countItem (Lnet/minecraft/world/item/Item;)I params: 1: item Returns the total amount of the specified item in this inventory. This method does not check for nbt.
method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: getMaxStackSize ()I Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.
method: hasAnyOf (Ljava/util/Set;)Z params: 1: set Returns true if any item from the passed set exists in this inventory.
method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: startOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
method: stopOpen (Lnet/minecraft/world/entity/player/Player;)V params: 1: player class: ContainerHelper path: net/minecraft/world/ContainerHelper method: clearOrCountMatchingItems (Lnet/minecraft/world/Container;Ljava/util/function/Predicate;IZ)I params: 0: container, 1: itemPredicate, 2: maxItems, 3: simulate Clears items from the inventory matching a predicate.
@return The amount of items cleared
method: clearOrCountMatchingItems (Lnet/minecraft/world/item/ItemStack;Ljava/util/function/Predicate;IZ)I params: 0: stack, 1: itemPredicate, 2: maxItems, 3: simulate method: loadAllItems (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/core/NonNullList;)V params: 0: tag, 1: list method: removeItem (Ljava/util/List;II)Lnet/minecraft/world/item/ItemStack; params: 0: stacks, 1: index, 2: amount method: saveAllItems (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/core/NonNullList;)Lnet/minecraft/nbt/CompoundTag; params: 0: tag, 1: list method: saveAllItems (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/core/NonNullList;Z)Lnet/minecraft/nbt/CompoundTag; params: 0: tag, 1: list, 2: saveEmpty method: takeItem (Ljava/util/List;I)Lnet/minecraft/world/item/ItemStack; params: 0: stacks, 1: index class: ContainerListener path: net/minecraft/world/ContainerListener method: containerChanged (Lnet/minecraft/world/Container;)V params: 1: invBasic Called by InventoryBasic.onInventoryChanged() on a array that is never filled.
class: Containers path: net/minecraft/world/Containers method: dropContents (Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/Container;)V params: 0: level, 1: x, 3: y, 5: z, 7: inventory method: dropContents (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/NonNullList;)V params: 0: level, 1: pos, 2: stackList method: dropContents (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/Container;)V params: 0: level, 1: pos, 2: inventory method: dropContents (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/Container;)V params: 0: level, 1: entityAt, 2: inventory method: dropItemStack (Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/item/ItemStack;)V params: 0: level, 1: x, 3: y, 5: z, 7: stack class: Difficulty path: net/minecraft/world/Difficulty method: <init> (Ljava/lang/String;IILjava/lang/String;)V params: 3: id, 4: key method: byId (I)Lnet/minecraft/world/Difficulty; params: 0: id method: byName (Ljava/lang/String;)Lnet/minecraft/world/Difficulty; params: 0: name class: DifficultyInstance path: net/minecraft/world/DifficultyInstance method: <init> (Lnet/minecraft/world/Difficulty;JJF)V params: 1: base, 2: levelTime, 4: chunkInhabitedTime, 6: moonPhaseFactor method: calculateDifficulty (Lnet/minecraft/world/Difficulty;JJF)F params: 1: difficulty, 2: levelTime, 4: chunkInhabitedTime, 6: moonPhaseFactor method: isHarderThan (F)Z params: 1: difficulty class: InteractionResult path: net/minecraft/world/InteractionResult method: sidedSuccess (Z)Lnet/minecraft/world/InteractionResult; params: 0: isClientSide class: InteractionResultHolder path: net/minecraft/world/InteractionResultHolder method: <init> (Lnet/minecraft/world/InteractionResult;Ljava/lang/Object;)V params: 1: result, 2: object method: consume (Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; params: 0: type method: fail (Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; params: 0: type method: pass (Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; params: 0: type method: sidedSuccess (Ljava/lang/Object;Z)Lnet/minecraft/world/InteractionResultHolder; params: 0: object, 1: isClientSide method: success (Ljava/lang/Object;)Lnet/minecraft/world/InteractionResultHolder; params: 0: type class: LockCode path: net/minecraft/world/LockCode method: <init> (Ljava/lang/String;)V params: 1: key method: addToTag (Lnet/minecraft/nbt/CompoundTag;)V params: 1: nbt method: fromTag (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/LockCode; params: 0: nbt method: unlocksWith (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack class: SimpleContainer path: net/minecraft/world/SimpleContainer method: <init> method: <init> ([Lnet/minecraft/world/item/ItemStack;)V params: 1: items method: addItem (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/ItemStack; params: 1: stack method: addListener (Lnet/minecraft/world/ContainerListener;)V params: 1: listener Add a listener that will be notified when any item in this inventory is modified.
method: canAddItem (Lnet/minecraft/world/item/ItemStack;)Z params: 1: stack method: fillStackedContents (Lnet/minecraft/world/entity/player/StackedContents;)V params: 1: helper method: fromTag (Lnet/minecraft/nbt/ListTag;)V params: 1: containerNbt method: getContainerSize ()I Returns the number of slots in the inventory.
method: getItem (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Returns the stack in the given slot.
method: moveItemToEmptySlots (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: moveItemToOccupiedSlotsWithSameType (Lnet/minecraft/world/item/ItemStack;)V params: 1: stack method: removeItem (II)Lnet/minecraft/world/item/ItemStack; params: 1: index, 2: count Removes up to a specified number of items from an inventory slot and returns them in a new stack.
method: removeItemNoUpdate (I)Lnet/minecraft/world/item/ItemStack; params: 1: index Removes a stack from the given slot and returns it.
method: removeItemType (Lnet/minecraft/world/item/Item;I)Lnet/minecraft/world/item/ItemStack; params: 1: item, 2: amount method: removeListener (Lnet/minecraft/world/ContainerListener;)V params: 1: listener removes the specified IInvBasic from receiving further change notices
method: setChanged ()V For tile entities, ensures the chunk containing the tile entity is saved to disk later - the game won't think it hasn't changed and skip it.
method: setItem (ILnet/minecraft/world/item/ItemStack;)V params: 1: index, 2: stack Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
method: stillValid (Lnet/minecraft/world/entity/player/Player;)Z params: 1: player Don't rename this method to canInteractWith due to conflicts with Container
class: SimpleMenuProvider path: net/minecraft/world/SimpleMenuProvider method: <init> (Lnet/minecraft/world/inventory/MenuConstructor;Lnet/minecraft/network/chat/Component;)V params: 1: menuConstructor, 2: title method: createMenu (ILnet/minecraft/world/entity/player/Inventory;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/inventory/AbstractContainerMenu; params: 1: containerId, 2: inventory, 3: player class: Snooper path: net/minecraft/world/Snooper field: dynamicData Ljava/util/Map; The client Map of stats
field: fixedData Ljava/util/Map; The snooper Map of stats
method: getStartupTime ()J Returns the saved value of System#currentTimeMillis when the game started
method: setDynamicData (Ljava/lang/String;Ljava/lang/Object;)V params: 1: statName, 2: statValue method: setFixedData (Ljava/lang/String;Ljava/lang/Object;)V params: 1: statName, 2: statValue method: start ()V Note issuing start multiple times is not an error.
class: SnooperPopulator path: net/minecraft/world/SnooperPopulator method: populateSnooper (Lnet/minecraft/world/Snooper;)V params: 1: snooper class: WorldlyContainer path: net/minecraft/world/WorldlyContainer method: canPlaceItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: itemStack, 3: direction Returns true if automation can insert the given item in the given slot from the given side.
method: canTakeItemThroughFace (ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/core/Direction;)Z params: 1: index, 2: stack, 3: direction Returns true if automation can extract the given item in the given slot from the given side.
method: getSlotsForFace (Lnet/minecraft/core/Direction;)[I params: 1: side class: WorldlyContainerHolder path: net/minecraft/world/WorldlyContainerHolder method: getContainer (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/WorldlyContainer; params: 1: state, 2: level, 3: pos class: BlockUtil path: net/minecraft/BlockUtil method: getLargestRectangleAround (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction$Axis;ILnet/minecraft/core/Direction$Axis;ILjava/util/function/Predicate;)Lnet/minecraft/BlockUtil$FoundRectangle; params: 0: centerPos, 1: axis1, 2: max1, 3: axis2, 4: max2, 5: posPredicate Finds the rectangle with the largest area containing centerPos within the blocks specified by the predicate
method: getLimit (Ljava/util/function/Predicate;Lnet/minecraft/core/BlockPos$MutableBlockPos;Lnet/minecraft/core/Direction;I)I params: 0: posPredicate, 1: centerPos, 2: direction, 3: max Finds the distance we can travel in the given direction while the predicate returns true
method: getMaxRectangleLocation ([I)Lcom/mojang/datafixers/util/Pair; params: 0: heights Finds the largest rectangle within the array of heights
class: BlockUtil$FoundRectangle path: net/minecraft/BlockUtil$FoundRectangle field: axis1Size I Distance between minimum and maximum values on the first axis argument
field: axis2Size I Distance between minimum and maximum values on the second axis argument
field: minCorner Lnet/minecraft/core/BlockPos; Starting position of the rectangle represented by this result
method: <init> (Lnet/minecraft/core/BlockPos;II)V params: 1: minCorner, 2: axis1Size, 3: axis2Size class: BlockUtil$IntBounds path: net/minecraft/BlockUtil$IntBounds field: max field: min method: <init> (II)V params: 1: min, 2: max class: CharPredicate path: net/minecraft/CharPredicate method: test class: ChatFormatting path: net/minecraft/ChatFormatting field: id I The numerical index that represents this color
field: name Ljava/lang/String; The name of this color/formatting
method: <init> (Ljava/lang/String;ILjava/lang/String;CILjava/lang/Integer;)V params: 3: name, 4: code, 5: id, 6: color method: <init> (Ljava/lang/String;ILjava/lang/String;CZ)V params: 3: name, 4: code, 5: isFormat method: <init> (Ljava/lang/String;ILjava/lang/String;CZILjava/lang/Integer;)V params: 3: name, 4: code, 5: isFormat, 6: id, 7: color method: cleanName (Ljava/lang/String;)Ljava/lang/String; params: 0: string method: getByCode (C)Lnet/minecraft/ChatFormatting; params: 0: formattingCode method: getById (I)Lnet/minecraft/ChatFormatting; params: 0: index Get a TextFormatting from it's color index
method: getByName (Ljava/lang/String;)Lnet/minecraft/ChatFormatting; params: 0: friendlyName Gets a value by its friendly name null if the given name does not map to a defined value.
method: getId ()I Returns the numerical color index that represents this formatting
method: getName ()Ljava/lang/String; Gets the friendly name of this value.
method: getNames (ZZ)Ljava/util/Collection; params: 0: getColor, 1: getFancyStyling Gets all the valid values.
method: isColor ()Z Checks if this is a color code.
method: isFormat ()Z False if this is just changing the color or resetting true otherwise.
method: lambda$static$0 (Lnet/minecraft/ChatFormatting;)Ljava/lang/String; params: 0: formatting method: lambda$static$1 (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/ChatFormatting; params: 0: chatFormatter method: stripFormatting (Ljava/lang/String;)Ljava/lang/String; params: 0: text Returns a copy of the given string, with formatting codes stripped away.
class: CrashReport path: net/minecraft/CrashReport method: <init> (Ljava/lang/String;Ljava/lang/Throwable;)V params: 1: title, 2: exception method: addCategory (Ljava/lang/String;)Lnet/minecraft/CrashReportCategory; params: 1: name Creates a CrashReportCategory
method: addCategory (Ljava/lang/String;I)Lnet/minecraft/CrashReportCategory; params: 1: categoryName, 2: stacktraceLength Creates a CrashReportCategory for the given stack trace depth
method: forThrowable (Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/CrashReport; params: 0: cause, 1: description Creates a crash report for the exception
method: getDetails (Ljava/lang/StringBuilder;)V params: 1: builder Gets the various sections of the crash report into the given StringBuilder
method: getErrorComment ()Ljava/lang/String; Gets a random witty comment for inclusion in this CrashReport
method: getException ()Ljava/lang/Throwable; Returns the Throwable object that is the cause for the crash and Crash Report.
method: getExceptionMessage ()Ljava/lang/String; Gets the stack trace of the Throwable that caused this crash report, or if that fails, the cause .toString().
method: getFriendlyReport ()Ljava/lang/String; Gets the complete report with headers, stack trace, and different sections as a string.
method: getSaveFile ()Ljava/io/File; Gets the file this crash report is saved into.
method: getTitle ()Ljava/lang/String; Returns the description of the Crash Report.
method: saveToFile (Ljava/io/File;)Z params: 1: toFile Saves this CrashReport to the given file and returns a value indicating whether we were successful at doing so.
class: CrashReportCategory path: net/minecraft/CrashReportCategory method: fillInStackTrace (I)I params: 1: size Resets our stack trace according to the current trace, pruning the deepest 3 entries. The parameter indicates how many additional deepest entries to prune. Returns the number of entries in the resulting pruned stack trace.
method: getDetails (Ljava/lang/StringBuilder;)V params: 1: builder method: setDetail (Ljava/lang/String;Ljava/lang/Object;)Lnet/minecraft/CrashReportCategory; params: 1: sectionName, 2: value Adds a Crashreport section with the given name with the given value (convered .toString())
method: setDetail (Ljava/lang/String;Lnet/minecraft/CrashReportDetail;)Lnet/minecraft/CrashReportCategory; params: 1: name, 2: detail Adds an additional section to this crash report category, resolved by calling the given callable.
If the given callable throws an exception, a detail containing that exception will be created instead.
method: setDetailError (Ljava/lang/String;Ljava/lang/Throwable;)V params: 1: sectionName, 2: throwable Adds a Crashreport section with the given name with the given Throwable
method: trimStacktrace (I)V params: 1: amount Removes the given number entries from the bottom of the stack trace.
method: validateStackTrace (Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z params: 1: s1, 2: s2 Do the deepest two elements of our saved stack trace match the given elements, in order from the deepest?
class: CrashReportCategory$Entry path: net/minecraft/CrashReportCategory$Entry method: <init> (Ljava/lang/String;Ljava/lang/Object;)V params: 1: key, 2: value class: DefaultUncaughtExceptionHandler path: net/minecraft/DefaultUncaughtExceptionHandler method: <init> (Lorg/apache/logging/log4j/Logger;)V params: 1: logger method: uncaughtException (Ljava/lang/Thread;Ljava/lang/Throwable;)V params: 1: thread, 2: exception class: DefaultUncaughtExceptionHandlerWithName path: net/minecraft/DefaultUncaughtExceptionHandlerWithName method: <init> (Lorg/apache/logging/log4j/Logger;)V params: 1: logger method: uncaughtException (Ljava/lang/Thread;Ljava/lang/Throwable;)V params: 1: thread, 2: exception class: DetectedVersion path: net/minecraft/DetectedVersion method: <init> (Lcom/google/gson/JsonObject;)V params: 1: json method: tryDetectVersion ()Lcom/mojang/bridge/game/GameVersion; Creates a new instance containing game version data from version.json (or fallback data if necessary).
For getting data, use {@link SharedConstants#getVersion} instead, as that is cached.
class: FileUtil path: net/minecraft/FileUtil method: createPathToResource (Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;)Ljava/nio/file/Path; params: 0: dirPath, 1: locationPath, 2: fileFormat method: findAvailableName (Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; params: 0: dirPath, 1: fileName, 2: fileFormat method: isPathNormalized (Ljava/nio/file/Path;)Z params: 0: path method: isPathPortable (Ljava/nio/file/Path;)Z params: 0: path class: ReportedException path: net/minecraft/ReportedException method: <init> (Lnet/minecraft/CrashReport;)V params: 1: report method: getReport ()Lnet/minecraft/CrashReport; Gets the CrashReport wrapped by this exception.
class: ResourceLocationException path: net/minecraft/ResourceLocationException method: <init> (Ljava/lang/String;)V params: 1: error method: <init> (Ljava/lang/String;Ljava/lang/Throwable;)V params: 1: message, 2: cause class: SharedConstants path: net/minecraft/SharedConstants method: filterText (Ljava/lang/String;)Ljava/lang/String; params: 0: input Filter a string, keeping only characters for which {@link #isAllowedCharacter(char)} returns true.
Note that this method strips line breaks, as {@link #isAllowedCharacter(char)} returns false for those.
@return A filtered version of the input string
method: isAllowedChatCharacter (C)Z params: 0: character Checks if the given character is allowed to be put into chat.
class: Util path: net/minecraft/Util method: copyBetweenDirs (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V params: 0: fromDirectory, 1: toDirectory, 2: filePath method: createDeleter (Ljava/nio/file/Path;)Ljava/util/function/BooleanSupplier; params: 0: filePath method: createFileCreatedCheck (Ljava/nio/file/Path;)Ljava/util/function/BooleanSupplier; params: 0: filePath method: createFileDeletedCheck (Ljava/nio/file/Path;)Ljava/util/function/BooleanSupplier; params: 0: filePath method: createRenamer (Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/util/function/BooleanSupplier; params: 0: filePath, 1: newName method: describeError (Ljava/lang/Throwable;)Ljava/lang/String; params: 0: throwable method: doFetchChoiceType (Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)Lcom/mojang/datafixers/types/Type; params: 0: type, 1: choiceName method: executeInSequence ([Ljava/util/function/BooleanSupplier;)Z params: 0: suppliers method: failedFuture (Ljava/lang/Throwable;)Ljava/util/concurrent/CompletableFuture; params: 0: throwable method: fetchChoiceType (Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)Lcom/mojang/datafixers/types/Type; params: 0: type, 1: choiceName method: findNextInIterable (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object; params: 0: iterable, 1: element method: findPreviousInIterable (Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object; params: 0: iterable, 1: current method: fixedSize (Ljava/util/stream/IntStream;I)Lcom/mojang/serialization/DataResult; params: 0: stream, 1: size method: getPropertyName (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Object;)Ljava/lang/String; params: 0: property, 1: value method: getRandom ([ILjava/util/Random;)I params: 0: selections, 1: rand method: getRandom ([Ljava/lang/Object;Ljava/util/Random;)Ljava/lang/Object; params: 0: selections, 1: rand method: ifElse (Ljava/util/Optional;Ljava/util/function/Consumer;Ljava/lang/Runnable;)Ljava/util/Optional; params: 0: opt, 1: consumer, 2: orElse method: lastOf (Ljava/util/List;)Ljava/lang/Object; params: 0: list method: make (Ljava/lang/Object;Ljava/util/function/Consumer;)Ljava/lang/Object; params: 0: object, 1: consumer method: make (Ljava/util/function/Supplier;)Ljava/lang/Object; params: 0: supplier method: makeDescriptionId (Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/String; params: 0: type, 1: id method: makeExecutor (Ljava/lang/String;)Ljava/util/concurrent/ExecutorService; params: 0: serviceName method: name (Ljava/lang/Runnable;Ljava/util/function/Supplier;)Ljava/lang/Runnable; params: 0: runnable, 1: supplier method: offsetByCodepoints (Ljava/lang/String;II)I params: 0: text, 1: cursorPos, 2: direction method: onThreadException (Ljava/lang/Thread;Ljava/lang/Throwable;)V params: 0: thread, 1: throwable method: pauseInIde (Ljava/lang/Throwable;)Ljava/lang/Throwable; params: 0: throwable method: prefix (Ljava/lang/String;Ljava/util/function/Consumer;)Ljava/util/function/Consumer; params: 0: prefix, 1: consumer method: runWithRetries (ILjava/lang/String;[Ljava/util/function/BooleanSupplier;)Z params: 0: maxTries, 1: actionName, 2: suppliers method: safeReplaceFile (Ljava/io/File;Ljava/io/File;Ljava/io/File;)V params: 0: current, 1: latest, 2: oldBackup method: safeReplaceFile (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V params: 0: current, 1: latest, 2: oldBackup method: sanitizeName (Ljava/lang/String;Lnet/minecraft/CharPredicate;)Ljava/lang/String; params: 0: fileName, 1: characterValidator method: sequence (Ljava/util/List;)Ljava/util/concurrent/CompletableFuture; params: 0: futures Takes a list of futures and returns a future of list that completes when all of them succeed or any of them error,
method: shutdownExecutor (Ljava/util/concurrent/ExecutorService;)V params: 0: service method: throwAsRuntime (Ljava/lang/Throwable;)V params: 0: throwable method: toStream (Ljava/util/Optional;)Ljava/util/stream/Stream; params: 0: optional class: Util$1 path: net/minecraft/Util$1 method: onTermination (Ljava/lang/Throwable;)V params: 1: throwOnTermination class: Util$OS path: net/minecraft/Util$OS method: getOpenUrlArguments (Ljava/net/URL;)[Ljava/lang/String; params: 1: url method: openFile (Ljava/io/File;)V params: 1: file method: openUri (Ljava/lang/String;)V params: 1: uri method: openUri (Ljava/net/URI;)V params: 1: uri method: openUrl (Ljava/net/URL;)V params: 1: url class: Util$OS$1 path: net/minecraft/Util$OS$1 method: getOpenUrlArguments (Ljava/net/URL;)[Ljava/lang/String; params: 1: url class: Util$OS$2 path: net/minecraft/Util$OS$2 method: getOpenUrlArguments (Ljava/net/URL;)[Ljava/lang/String; params: 1: url