Minecraft Datafixers and Datafixes are powerful tools that are extremely useful to modders, yet have seemingly no documentation. This documentation is mainly for 1.12.2, but can probably also be applied in later versions.
(This is still a W.I.P, so be warned that it's not finished.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* How to use any randomly retrieved VkImages in ffmpeg-related code. */ | |
| /* If you don't have a device initialized, but you have a VkDevice, | |
| * you have to import it. */ | |
| { | |
| AVBufferRef *ctx_ref = av_hwdevice_ctx_alloc(AV_HWDEVICE_TYPE_VULKAN); | |
| AVHWDeviceContext *ctx = (AVHWDeviceContext *)ctx_ref->data; | |
| AVVulkanDeviceContext *hwctx = ctx->hwctx; | |
| /* Mandatory. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.ByteArrayInputStream; | |
| import java.io.OutputStream; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import software.amazon.awssdk.core.sync.RequestBody; | |
| import software.amazon.awssdk.services.s3.S3Client; | |
| import software.amazon.awssdk.services.s3.model.AbortMultipartUploadRequest; | |
| import software.amazon.awssdk.services.s3.model.CompleteMultipartUploadRequest; | |
| import software.amazon.awssdk.services.s3.model.CompletedMultipartUpload; |
^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
- Semantic versioning http://semver.org/
- Source of the regex npm/node-semver#32