Skip to content

Instantly share code, notes, and snippets.

@williewillus
williewillus / breakdown.txt
Last active June 20, 2016 20:22
Fluid Cap breakdown
Personal notes for fluid cap and general fluid grokking since this seems really unintuitive to me.
I have not worked with fluids before and the fluid cap seems very baggage-laden to me.
It feels held back by the previous implementation of Fluids,
and is not consistent with the interface of `IItemHandler`, the inventory cap.
Oh well. Here goes.
Classes:
- `IFluidHandler`: The Capability Interface for the fluid cap.
@Lance5057
Lance5057 / ArchimedesScrew.java
Created August 27, 2016 20:14
ArchimedesScrew Model
package IHaveNoIdea;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
/**
* ArchimedesScrew - Lance5057
* Created using Tabula 4.1.1
*/
@gwpantazes
gwpantazes / How to Install JDK MacOS Homebrew.md
Last active May 4, 2026 09:10
How to install different JDK versions on MacOS with Homebrew

How To Install Different JDK Versions on MacOS with Homebrew

Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew, Specific Version

This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew.

Table of Contents

package chisel.scripts;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.io.FileUtils;
@Commoble
Commoble / VoxelShapeGetters.java
Last active December 10, 2023 22:31
What's the difference between the different VoxelShape getters in forge for minecraft 1.16.4?
/**
AbstractBlock::getShape(BlockState, IBlockReader, BlockPos, ISelectionContext)
The primary shape for "selection" raytraces, like clicking a block.
Defaults to a full cube. Delegated to by AbstractBlockState::getShape(IBlockReader, BlockPos, ISelectionContext)
Most of the other shape getters either default to this or default to empty,
so just overriding this shape getter is sufficient if finer variations aren't needed.
AbstractBlock::getCollisionShape(BlockState, IBlockReader, BlockPos, ISelectionContext)
The primary shape for collision raytraces.
Delegated to by AbstractBlockState::getCollisionShape(IBlockReader, BlockPos, ISelectionContext)