Skip to content

Instantly share code, notes, and snippets.

@mDiyo
mDiyo / gist:b5c42ee4b93adccb0dbd5e15c916e645
Created January 22, 2023 02:53
Tinkers' Construct 1 What-If Tool Variants
Precise Tools
Pickaxe - A precise tool capable of mining stone and ores. Functions as the main progression method throughout the game. [ Pick Head, Handle, Variant Binding ]
Variant: Prospector's Pick - Comes with the ability to locate ores with right-click. -1 Ability Slot
Variant: Ice Axe - Naturally picks up ice and functions as a placeable hammer. -1 Ability Slot
Shovel - A precise tool for mining the ground. Low base potential, but comes with the pathing ability. [ Variant Shovel Head, Handle, Handle ]
Variant: Spade - The edge has been sharpened for battle. +Base Damage, +Bark Stripping, -Durabilty
Variant: Adze - The edge has been turned to allow for tilling. +Tilling
@mDiyo
mDiyo / insanelib-common.toml
Created March 24, 2022 16:54
insanelib for Tinkers NetherFlat Challenge
[Base]
#No more boring 3D Area of Effect Clouds
"Enable Area Effect Cloud 3D" = true
#A few fixes
"Enable Fixes" = true
#Set custom blocks appearing when fluids merge
"Enable Fluid Mixin" = true
#No more boring 3D Area of Effect Clouds
@mDiyo
mDiyo / gist:1df862a6bf0c9214f135d35ef2fdfd38
Last active November 19, 2021 12:55
Tool Material Alternate Names
Wood - Future Nickels
Stone - Rock
Flint - Firestarter
Bone - Ivory
String - Twine
Leather - Hide
Vine - Stringy Plant
Iron - Metal
This file has been truncated, but you can view the full file.
G] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\mDiyo\TinkersConstruct\build\fg_cache\net\minecraftforge\forge\1.15.2-31.2.8_mapped_snapshot_20200530-1.15.1\forge-1.15.2-31.2.8_mapped_snapshot_20200530-1.15.1-recomp.jar path /net/minecraft/client/util/SearchTreeReloadable.class
[07:46:24] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\mDiyo\TinkersConstruct\build\fg_cache\net\minecraftforge\forge\1.15.2-31.2.8_mapped_snapshot_20200530-1.15.1\forge-1.15.2-31.2.8_mapped_snapshot_20200530-1.15.1-recomp.jar path /net/minecraft/client/util/SearchTreeReloadable$JoinedIterator.class
[07:46:24] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Scanning Mod File: C:\Users\mDiyo\TinkersConstruct\build\fg_cache\net\minecraftforge\forge\1.15.2-31.2.8_mapped_snapshot_20200530-1.15.1\forge-1.15.2-31.2.8_mapped_snapshot_20200530-1.15.1-recomp.jar path /net/minecraft/client/util/SearchTreeManager.class
[07:46:24] [pool-2-thread-1/DEBUG] [ne.mi.fm.lo.mo.Scanner/SCAN]: Sca
- Engine/Examples -
Game Engine - https://unity3d.com/
2D Platformer - https://www.assetstore.unity3d.com/en/#!/content/11228
Other Examples - https://unity3d.com/learn/resources/downloads
- Art -
2D art creation - http://www.gimp.org/
3D model creation - https://www.blender.org/
Prototyping tiles - http://www.lostgarden.com/2007/05/dancs-miraculously-flexible-game.html
Sprites - http://opengameart.org/
@mDiyo
mDiyo / gist:5222539
Created March 22, 2013 16:09
Remove recipes
public static void removeShapedRecipe (ItemStack resultItem)
{
List<IRecipe> recipes = CraftingManager.getInstance().getRecipeList();
for (int i = 0; i < recipes.size(); i++)
{
IRecipe tmpRecipe = recipes.get(i);
if (tmpRecipe instanceof ShapedRecipes)
{
ShapedRecipes recipe = (ShapedRecipes) tmpRecipe;
ItemStack recipeResult = recipe.getRecipeOutput();
@mDiyo
mDiyo / gist:5178634
Created March 16, 2013 22:39
Basic Item for Icons and Names
public class CraftingItem extends Item
{
public String[] textureNames;
public String[] unlocalizedNames;
public String folder;
public Icon[] icons;
public CraftingItem(int id, String[] names, String[] tex, String f)
{
super(id);
this.setCreativeTab(TConstruct.materialTab);
@mDiyo
mDiyo / gist:5126313
Last active December 14, 2015 17:59
Icon base code
public Icon[] icons;
public abstract String[] getTextureNames();
public void updateIcons(IconRegister iconRegister)
{
String[] textureNames = getTextureNames();
this.icons = new Icon[textureNames.length];
for (int i = 0; i < this.icons.length; ++i)
{
@mDiyo
mDiyo / gist:5125931
Created March 9, 2013 21:59
Colored tooltip
/* Tags and information about the tool */
@Override
@SideOnly(Side.CLIENT)
public void addInformation (ItemStack stack, EntityPlayer player, List list, boolean par4)
{
if (!stack.hasTagCompound())
return;
NBTTagCompound tags = stack.getTagCompound();
if (tags.hasKey("charge"))
@mDiyo
mDiyo / gist:4993441
Last active December 13, 2015 23:39
Description Packet
public void readFromNBT (NBTTagCompound tags)
{
super.readFromNBT(tags);
readCustomNBT(tags);
}
public void readNetworkNBT(NBTTagCompound tags)
{
//Anything that needs synced in here
}