Skip to content

Instantly share code, notes, and snippets.

Avatar
🔥
🤔

Max Lee Phoenix616

🔥
🤔
View GitHub Profile
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active May 17, 2021
Recommended OptiFine alternatives on Fabric
View optifine_alternatives_fabric.md

Why?

OptiFine was originally a great mod offering many quality of life improvements for player in the beginning. However, over the years, its benefits have dwindled and has caused many issues for modders. This is due to Minecraft's codebase improving over the years and OptiFine's aggressiveness towards replacing entire swaths of code while being closed source making it very difficult to figure out why OptiFine has broken another modder's mod. Also worth noting that OptiFine natively doesn't support Fabric and it's hard to maintain OptiFabric.

In the modern Minecraft era, with Fabric's community effort, modders have begun to create alternatives for most of OptiFine's features to allow players to maintain better performance, better mod compatibility, and better support.

OptiFabric: A note about the 1.16 crashes

@mikroskeem
mikroskeem / fw.sh
Last active Jan 6, 2021
meh, maybe someone finds them useful
View fw.sh
#!/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
@Drovolon
Drovolon / 1.14.x-chunk-loading-final.md
Created Aug 11, 2019
An overview of chunk loading mechanics in Minecraft 1.14, tested empirically in 1.14.4.
View 1.14.x-chunk-loading-final.md

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
View Voicemeeter Banana & Discord Setup.md

Objective

The goal is being able to mix your microphone and desktop audio into a single track, while leaving Discord out of the equation. This allows you to stream your desktop audio and talk while in a call, without your partners hearing themselves.

Voicemeeter Setup

Download Voicemeeter

Voicemeeter Banana

@MiniDigger
MiniDigger / GlobalEventListener.java
Created May 29, 2017
GlobalEventListener for Spigot/Bukkit, licenced under GPLv3
View GlobalEventListener.java
package me.minidigger.test.test;
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@MiniDigger
MiniDigger / StructureUtil.java
Last active Jun 16, 2020
Small util to load and save structures, using nms and reflection
View StructureUtil.java
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.util.Vector;
/**
* Small util to load and save structures<br>
View StructureUtil.java
import net.minecraft.server.v1_10_R1.Block;
import net.minecraft.server.v1_10_R1.BlockPosition;
import net.minecraft.server.v1_10_R1.Blocks;
import net.minecraft.server.v1_10_R1.ChunkCoordIntPair;
import net.minecraft.server.v1_10_R1.DefinedStructure;
import net.minecraft.server.v1_10_R1.DefinedStructureInfo;
import net.minecraft.server.v1_10_R1.DefinedStructureManager;
import net.minecraft.server.v1_10_R1.EnumBlockMirror;
import net.minecraft.server.v1_10_R1.EnumBlockRotation;
import net.minecraft.server.v1_10_R1.MinecraftKey;
View ModelPlane.java
package com.brohoof.minelittlepony.model;
import com.brohoof.minelittlepony.renderer.PlaneRenderer;
import net.minecraft.client.model.ModelBox;
import net.minecraft.client.model.PositionTextureVertex;
import net.minecraft.client.model.TexturedQuad;
import net.minecraft.client.renderer.VertexBuffer;
public class ModelPlane extends ModelBox {
@zachbr
zachbr / paper.md
Last active Jan 22, 2016
PaperSpigot paper.yml temporary "wiki" (air quotes) : Please use https://paper.readthedocs.org/
View paper.md
View db_AsyncDbQueue.java
package com.empireminecraft.systems.db;
import com.empireminecraft.util.Util;
import java.sql.SQLException;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;