Skip to content

Instantly share code, notes, and snippets.

View Bendimester23's full-sized avatar
😎
Minecraft is the best game engine

Bendi Bendimester23

😎
Minecraft is the best game engine
View GitHub Profile

It's been almost a year since the first "Snapshot Note" series! Anyway here's the 23w03a stuff info.

Fabric toolchain

Fabric Loader 0.14.13 should be used for this version.

Fabric API 0.72.1 is released for this version. Biome API received 1 breaking change; setPrecipitation method in BiomeModificationContext.WeatherContext now takes a boolean.

Minecraft Changes

Packet Bundling

Multiple S2C packets can now be bundled into a single packet, so that they are processed in the same client tick. The bundled packets are still sent separately, but is re-bundled in the client.

@PetiDev
PetiDev / JSON_sort_by_value.js
Last active August 15, 2022 14:05
Sort JSON by value
/**
*
* Uses bubble sort to sort JSON Objects by value,
* useing the condition defined in the callback
*
* @category Object
* @param {Function} callback sorting condition
* @returns {Object} Returns the sorted Object
*
*
@Raffy27
Raffy27 / keylogger_linux.c
Last active August 23, 2022 18:09
Simple keylogger demo
#include <stdio.h>
#include <fcntl.h>
#include <linux/input.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>
FILE *logfile;
int key_count = 0;
const char code_map[][20] = {

22w16b docs

Known issues

  • Game can crash while ticking some mobs (parrots, allays, etc). MC-250321

Changes

Loader/Loom update required

Minecraft now uses LWJGL version 3.3.1, which contains Java 19-compiled class files. While you do not need Java 19 to play or build mods, this means Fabric Loader needs to be updated to version 0.14.0 (currently beta), and the same goes to Loom (refresh dependencies). The new Fabric Loader also contains some new features and improvements; the most significant one being ability to mixin into libraries like authlib.

Big Text refactor

Texts were split into text contents and structures. "Text contents" include what was previously called LiteralText, TranslatableText, etc (which no longer subclass or implement Text), and "text structure" is Text/MutableText (now a class with implementation). Text contents implement class_7417/TextContent. Various NBT text implementations have now been changed to "data so

@jdah
jdah / .vimrc
Created June 14, 2021 11:54
jdh's NeoVim .vimrc
call plug#begin()
Plug 'drewtempelmeyer/palenight.vim'
Plug 'vim-airline/vim-airline'
Plug 'wlangstroth/vim-racket'
Plug 'sheerun/vim-polyglot'
Plug 'rust-lang/rust.vim'
Plug 'preservim/tagbar'
Plug 'universal-ctags/ctags'
Plug 'luochen1990/rainbow'
Plug 'vim-syntastic/syntastic'
@Bendimester23
Bendimester23 / Discord embedded application codes.md
Last active January 19, 2024 12:01
Application ids for embedded applications in discord

What is an embedded application?

It is an web application that runs inside of the Discord window

Currently supported applications(that i know the id of):

Name ID
Youtube 755600276941176913
Betray.io 773336526917861400
Poker Night 755827207812677713
Fishington.io 814288819477020702
Chess in the Park 832012774040141894
@JeffM2501
JeffM2501 / pan.c
Last active January 14, 2024 10:27
Raylib example of mouse drag panning for 2D camera.
/*******************************************************************************************
*
* raylib [2D] example - world space panning
*
* Welcome to raylib!
*
* To test examples, just press F6 and execute raylib_compile_execute script
* Note that compiled executable is placed in the same folder as .c file
*
* You can find all basic examples on C:\raylib\raylib\examples folder or
import com.mojang.datafixers.util.Function3;
import com.mojang.serialization.Codec;
import com.mojang.serialization.codecs.RecordCodecBuilder;
import net.minecraft.block.BlockState;
import java.util.List;
public class CodecExample {
public static final Codec<CodecExample> CODEC = RecordCodecBuilder.create(
instance -> instance.group(
@comp500
comp500 / fabricserversidemods.md
Last active April 15, 2024 20:13
Useful Fabric server side mods
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 7, 2024 18:40
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?