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
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 https://greasyfork.org/en/scripts/476065-redirect-to-new-minecraft-wiki
// ==UserScript==
// @name simple minecraft.wiki redirect
// @namespace https://gist.github.com/7f4704f8f189c4f08307a6eccc9be621
// @match https://minecraft.fandom.com/wiki/*
// @match https://minecraft-archive.fandom.com/wiki/*
// @icon https://minecraft.wiki/favicon.ico
// @grant none
// @version 0.1
// @description Simple redirect script to the new wiki.
// ==/UserScript==
@Brottweiler
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
Brottweiler / launch-options.md
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
[Unit]
Description=Empty trash older than 30 days
[Service]
Type=oneshot
ExecStart=/usr/bin/trash-empty 30
[Desktop Entry]
Name=Simple Terminal
GenericName=Terminal
Comment=Suckless terminal emulator for X
Exec=st -t "Simple Terminal"
Terminal=false
Type=Application
Encoding=UTF-8
Icon=utilities-terminal
Categories=System;TerminalEmulator;
@Brottweiler
Brottweiler / README.md
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
Brottweiler / packs.md
Created December 11, 2020 16:27
List of resource packs optimized for PvP (from Overcast)
@Brottweiler
Brottweiler / README.md
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

Usage

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