Skip to content

Instantly share code, notes, and snippets.

View Brottweiler's full-sized avatar
Big up

Christoffer Tibell Brottweiler

Big up
View GitHub Profile
Brottweiler / minecraftwiki.user.js
Last active November 17, 2023 21:05 — forked from andre-paulo98/minecraftwiki.user.js
Redirect automatically from the old Minecraft Wiki (Fandom) to the new Wiki
// ==UserScript==
// @name simple redirect
// @namespace
// @match*
// @match*
// @icon
// @grant none
// @version 0.1
// @description Simple redirect script to the new wiki.
// ==/UserScript==
Brottweiler / discord.css
Last active August 23, 2022 20:03
Darker discord theme
.theme-dark {
--background-primary: #000;
--background-secondary: #000;
--background-secondary-alt: #000;
--background-tertiary: #000;
--background-floating: #000;
--status-warning-text: #000;
--scrollbar-thin-thumb: #111;
--scrollbar-auto-thumb: #111;
--scrollbar-auto-scrollbar-color-thumb: #111;
Brottweiler /
Last active April 23, 2022 12:54
CSGO launch options

Launch settings

Setting Type Description
-novid Option disable intro video
-nojoy Option disable joystick
-softparticlesdefaultoff Option render particles without feathering
-limitvsconst Option limits vertex shaders to 256
-nohltv Option disables Source TV features
+mat_disable_fancy_blending 1 Command disables fancy blending
Description=Empty trash older than 30 days
ExecStart=/usr/bin/trash-empty 30
[Desktop Entry]
Name=Simple Terminal
Comment=Suckless terminal emulator for X
Exec=st -t "Simple Terminal"
Brottweiler /
Last active January 24, 2023 05:20
Full block chest model using Enhanced Block Entities mod for Fabric

Full block chests

There are a few resourcepacks out there trying to reimplement the alpha and beta Minecraft full block chest. Usually this is done using Custom Entity Models, either using Optifine or Fabric, but it's still an entity model.

Block model

Instead, we can use a mod called Enhanced Block Entities which turns chests (and other entities) into block models. This by itself makes the chests lag less since they are rendered as a block and not an entity, but we can now easily turn those 14x14 block models into 16x16, and disable the opening animation, to get that alpha/beta feel.

Note: Also works with FastChest since v0.4. FastChest only provides functionality for chests and no other blocks. EBE is still recommended over FastChest

GIMP Palette
Name: Minecraft Chat Colors
Columns: 16
0 0 0 Black
0 0 170 Dark Blue
0 170 0 Dark Green
0 170 170 Dark Aqua
170 0 0 Dark Red
170 0 170 Dark Purple
Brottweiler /
Created December 11, 2020 16:27
List of resource packs optimized for PvP (from Overcast)
Brottweiler /
Last active September 23, 2023 20:22 — forked from pwign/ImageMagick Minecraft Skin
For converting 64x32 Minecraft skin to 64x64 format using ImageMagick

ImageMagic Mineraft Skin Converter


chmod +x
./ skin.png
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- Change the string in the family tag to whatever font -->
<prefer><family>Noto Serif</family></prefer>