Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧
yo

Christoffer Tibell Brottweiler

🐧
yo
View GitHub Profile
View trash-empty.service
[Unit]
Description=Empty trash older than 30 days
[Service]
Type=oneshot
ExecStart=/usr/bin/trash-empty 30
View st.desktop
[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 Aug 13, 2021
Full block chest model using Enhanced Block Entities mod for Fabric
View README.md

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.

All this really does is that we can create separate textures for all the sides of chests.

View Minecraft-Chat-Colors.gpl
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 Dec 11, 2020
List of resource packs optimized for PvP (from Overcast)
View packs.md
@Brottweiler
Brottweiler / README.md
Last active Aug 1, 2020 — forked from pwign/ImageMagick Minecraft Skin
For converting 64x32 Minecraft skin to 64x64 format using ImageMagick
View README.md

ImageMagic Mineraft Skin Converter

Usage

chmod +x skin-convert.sh
./skin-convert.sh skin.png
View 01-emoji.conf
<?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>
@Brottweiler
Brottweiler / preset.md
Last active May 21, 2019
Minecraft Beta Customized Terrain Generator Preset "Neo-Beta"
View preset.md

Presets

Neo-Beta Preset

{"coordinateScale":684.412,"heightScale":684.412,"lowerLimitScale":512.000,"upperLimitScale":512.000,"depthNoiseScaleX":200.000,"depthNoiseScaleZ":200.000,"depthNoiseScaleExponent":0.5,"mainNoiseScaleX":80.0,"mainNoiseScaleY":160.0,"mainNoiseScaleZ":80.0,"baseSize":8.5,"stretchY":12.0,"biomeDepthWeight":0.0,"biomeDepthOffset":0.370,"biomeScaleWeight":0.0,"biomeScaleOffset":0.5,"seaLevel":64,"useCaves":true,"useDungeons":true,"dungeonChance":8,"useStrongholds":false,"useVillages":false,"useMineShafts":false,"useTemples":false,"useRavines":false,"useWaterLakes":true,"waterLakeChance":4,"useLavaLakes":true,"lavaLakeChance":80,"useLavaOceans":false,"fixedBiome":-1,"biomeSize":2,"riverSize":5,"dirtSize":33,"dirtCount":20,"dirtMinHeight":0,"dirtMaxHeight":128,"gravelSize":33,"gravelCount":10,"gravelMinHeight":0,"gravelMaxHeight":128,"graniteSize":33,"graniteCount":10,"graniteMinHeight":0,"graniteMaxHeight":80,"dioriteSize":33,"dioriteCount":10,"dioriteMinHeight":0,"dioriteMaxHe
@Brottweiler
Brottweiler / st.txt
Created Mar 26, 2019
st crash error
View st.txt
erresc: unknown private set/reset mode 1005
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 30165
Current serial number in output stream: 31491
@Brottweiler
Brottweiler / syyu.md
Created Feb 22, 2019
pacman -Syyu vs. pacman -Syu
View syyu.md

pacman -Syu

  • User: Hey server do you have any new packages or updates or changes at all
  • Server: no
  • User: Ok bye

pacman -Syyu

  • User: hey server do you have any new packages or updates at all
  • Server: no