Renderer settings per side for correct UV regardless of block bounds:
Side | field_152631_f | flipTexture |
---|---|---|
XPos | ||
XNeg | ||
YPos | ||
YNeg | ||
Zpos | ||
ZNeg |
#!/usr/bin/env sh | |
# Implements: OSC 8 <URL> ST <Link-text> OSC 8 ST | |
# Prints a terminal-clickable hyperlink | |
# See: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda | |
# | |
# @Params | |
# $1: The hyperlink URL | |
# $2: The optional hyperlink text (defaults to URL) | |
# |
#!/usr/bin/env bash | |
print_basket() { | |
# Print remaining keys (content of basket) | |
for fruit in "${!basket[@]}"; do | |
printf '%d %s\n' "${basket[$fruit]}" "${fruit,,}" | |
done | |
} | |
declare -a all_fruits=( |
#!/usr/bin/env sh | |
# | |
# Modified version of bash mandelbrot from Mecki stackoverflow.com/users/15809 | |
# found at https://stackoverflow.com/a/63749612/1765658 | |
# Avoiding forks and running bc as background task, reducing | |
# execution time, from many hours to less than 10' (on my desktop) | |
# | |
# Modified version for POSIX shell by Léa Gris: | |
# https://gist.github.com/leagris/59e1b7e72462024b278652696f375e71 | |
# Improved to addressing fifos by FDs. |
#!/usr/bin/env sh | |
# Domain name to retrieve ghost host RR from | |
__ARG_DOMAIN=${1:-example.com} | |
# Setup the name or IP of the ghost OVH mutu hosting DNS | |
__ARG_GHOST_NS=${2:-dns200.anycast.me.} | |
old_ip=$( | |
dig +short +norecurs "$__ARG_DOMAIN" "@$__ARG_GHOST_NS" -t A 2>/dev/null |
@Override | |
public void renderYNeg(RenderBlocks aRenderer, Block aBlock, int aX, int aY, int aZ) { | |
Tessellator.instance.setColorRGBA((int) (mRGBa[0] * 0.5F), (int) (mRGBa[1] * 0.5F), (int) (mRGBa[2] * 0.5F), mAllowAlpha ? 255 - mRGBa[3] : 255); | |
IIcon aIcon = mIconContainer[0].getIcon(); | |
float minU = aIcon.getInterpolatedU((1.0D - aRenderer.renderMaxX) * 16.0D); | |
float maxU = aIcon.getInterpolatedU((1.0D - aRenderer.renderMinX) * 16.0D); | |
float minV = aIcon.getInterpolatedV(aRenderer.renderMinZ * 16.0D); | |
float maxV = aIcon.getInterpolatedV(aRenderer.renderMaxZ * 16.0D); |
Side | field_152631_f | flipTexture |
---|---|---|
XPos | ||
XNeg | ||
YPos | ||
YNeg | ||
Zpos | ||
ZNeg |
#!/usr/bin/env bash | |
# mapfile_assoc_shim.sh | |
# If mapfile does not have a -A associative array mode | |
# then implement it | |
# Usage: | |
# include mapfile_assoc_shim.sh | |
# or | |
# . mapfile_assoc_shim.bash | |
# | |
# Example: |
# rule:[notifications@github.com] | |
#require ["fileinto", "mailbox", "variables", "imap4flags", "regex"]; | |
if address :is "from" "notifications@github.com" { | |
set "gitfolder" "Lists.GitHub"; | |
if header :matches "List-ID" "*<*.*.github.com>" { | |
set "gituser" "${3}"; | |
set "gitrepository" "${2}"; | |
# Replace . or + by dashes for proper IMAP folder name | |
# Sieve has no regex global replace, so do it at max 3 occurences | |
if string :regex "${gitrepository}" "(.*)[.+]+(.*)" { |
---- Minecraft Crash Report ---- | |
// Don't do that. | |
Time: 3/8/20 10:21 PM | |
Description: Unexpected error | |
java.util.ConcurrentModificationException | |
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) | |
at java.util.ArrayList$Itr.next(ArrayList.java:859) | |
at com.github.bartimaeusnek.ASM.BWCoreStaticReplacementMethodes.findCachedMatchingRecipe(BWCoreStaticReplacementMethodes.java:100) |
---- Minecraft Crash Report ---- | |
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] | |
Time: 1/7/20 7:21 PM | |
Description: Rendering screen | |
java.lang.NoSuchFieldError: showStateButtons | |
at tconstruct.tools.gui.PartCrafterGui.modifyVisiblity(PartCrafterGui.java:249) | |
at codechicken.nei.LayoutManager.layout(LayoutManager.java:301) | |
at codechicken.nei.LayoutManager.renderObjects(LayoutManager.java:237) |