Skip to content

Instantly share code, notes, and snippets.

View Phoenix616's full-sized avatar
🔥
👀

Max Lee Phoenix616

🔥
👀
View GitHub Profile
@Drovolon
Drovolon / 1.14.x-chunk-loading-final.md
Created August 11, 2019 14:36
An overview of chunk loading mechanics in Minecraft 1.14, tested empirically in 1.14.4.

1.14.x Chunk Loading

Chunk loading operates differently in 1.14 than in previous Minecraft versions. This document is intended to be an overview of the 1.14 system.

In 1.14, chunk loading starts with tickets. A ticket is:

  • a ticket type
  • a load level
  • optionally, a time-to-live
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 6, 2024 03:46
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@mikroskeem
mikroskeem / fw.sh
Last active July 8, 2023 21:48
Allow only TCPShield IPs to connect to your server, using iptables & ipset
#!/bin/sh
iptables -A INPUT -m set --match-set tcpshield-ips src -p tcp --dport 32767 -j ACCEPT
iptables -A INPUT -p tcp --dport 32767 -j DROP
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active February 19, 2024 09:42
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?

@Owen1212055
Owen1212055 / custom-player-entity-names.md
Last active October 18, 2023 23:38
Custom Player Entity Names

Custom Player Names

alt text

This is meant as a resource to mimic setting player names whilst ensuring that it is positioned in the same way as an actual nametag.

The current issue

Currently, player entities ignore the custom DATA_CUSTOM_NAME EntityDataAccessor, which sadly means that we cannot just easily change the name of the player entity. Hopefully in the future this functionality will be provided so we do not have to apply such hacky methods.

My implementation (simplified)