This commit is contained in:
DrMangoTea
2025-03-29 23:20:21 +01:00
parent 0b670cd2f9
commit 1403cc38c4
659 changed files with 21636 additions and 746 deletions

View File

@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "tfmg:block/engine_expansion"
}
}
}

View File

@@ -168,6 +168,7 @@
"block.tfmg.energy_meter.tooltip.behaviour2": "ʎbɹǝuǝ sǝɔɹnos ǝɥʇ uo oɟuıןıɐʇǝp sʍoɥS",
"block.tfmg.energy_meter.tooltip.summary": "ʎbɹǝuǝ sǝɹnsɐǝW",
"block.tfmg.engine_controller": "ɹǝןןoɹʇuoƆ ǝuıbuƎ",
"block.tfmg.engine_expansion": "uoısuɐdxƎ ǝuıbuƎ",
"block.tfmg.engine_gearbox": "xoqɹɐǝ⅁ ǝuıbuƎ",
"block.tfmg.exhaust": "ʇsnɐɥxƎ",
"block.tfmg.factory_floor": "ɹooןℲ ʎɹoʇɔɐℲ",
@@ -759,6 +760,7 @@
"item.tfmg.raw_lead": "pɐǝꞀ ʍɐᴚ",
"item.tfmg.raw_lithium": "ɯnıɥʇıꞀ ʍɐᴚ",
"item.tfmg.raw_nickel": "ןǝʞɔıN ʍɐᴚ",
"item.tfmg.rebar": "ɹɐqǝᴚ",
"item.tfmg.red_multimeter": "ɹǝʇǝɯıʇןnW pǝᴚ",
"item.tfmg.rubber_sheet": "ʇǝǝɥS ɹǝqqnᴚ",
"item.tfmg.screw": "ʍǝɹɔS",

View File

@@ -168,6 +168,7 @@
"block.tfmg.energy_meter.tooltip.behaviour2": "Shows detailed info on the sources energy",
"block.tfmg.energy_meter.tooltip.summary": "Measures energy",
"block.tfmg.engine_controller": "Engine Controller",
"block.tfmg.engine_expansion": "Engine Expansion",
"block.tfmg.engine_gearbox": "Engine Gearbox",
"block.tfmg.exhaust": "Exhaust",
"block.tfmg.factory_floor": "Factory Floor",
@@ -759,6 +760,7 @@
"item.tfmg.raw_lead": "Raw Lead",
"item.tfmg.raw_lithium": "Raw Lithium",
"item.tfmg.raw_nickel": "Raw Nickel",
"item.tfmg.rebar": "Rebar",
"item.tfmg.red_multimeter": "Red Multimeter",
"item.tfmg.rubber_sheet": "Rubber Sheet",
"item.tfmg.screw": "Screw",

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "tfmg:block/engine_expansion"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "tfmg:block/engine_expansion/item"
}

View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "tfmg:item/rebar"
}
}

View File

@@ -0,0 +1,5 @@
{
"values": [
"tfmg:rebar"
]
}

View File

@@ -0,0 +1,35 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_item": {
"conditions": {
"items": [
{
"items": [
"tfmg:aluminum_ingot"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "tfmg:crafting/kinetics/aluminum_fluid_tank"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"tfmg:crafting/kinetics/aluminum_fluid_tank"
]
},
"sends_telemetry_event": false
}

View File

@@ -0,0 +1,35 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_item": {
"conditions": {
"items": [
{
"items": [
"tfmg:cast_iron_ingot"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "tfmg:crafting/kinetics/cast_iron_fluid_tank"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_item",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"tfmg:crafting/kinetics/cast_iron_fluid_tank"
]
},
"sends_telemetry_event": false
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "tfmg:engine_expansion"
}
],
"rolls": 1.0
}
],
"random_sequence": "tfmg:blocks/engine_expansion"
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"B": {
"item": "minecraft:barrel"
},
"P": {
"tag": "forge:ingots/aluminum"
}
},
"pattern": [
" P ",
" B ",
" P "
],
"result": {
"item": "tfmg:aluminum_fluid_tank"
},
"show_notification": true
}

View File

@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"key": {
"B": {
"item": "minecraft:barrel"
},
"P": {
"tag": "forge:ingots/cast_iron"
}
},
"pattern": [
" P ",
" B ",
" P "
],
"result": {
"item": "tfmg:cast_iron_fluid_tank"
},
"show_notification": true
}

View File

@@ -12,7 +12,7 @@
"item": "tfmg:cast_iron_pipe"
},
"S": {
"item": "tfmg:spark_plug"
"item": "minecraft:flint_and_steel"
}
},
"pattern": [

View File

@@ -0,0 +1,14 @@
{
"type": "create:pressing",
"ingredients": [
{
"tag": "forge:ingots/aluminum"
}
],
"processingTime": 50,
"results": [
{
"item": "tfmg:aluminum_sheet"
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "create:pressing",
"ingredients": [
{
"tag": "forge:ingots/cast_iron"
}
],
"processingTime": 50,
"results": [
{
"item": "tfmg:cast_iron_sheet"
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "create:pressing",
"ingredients": [
{
"tag": "forge:ingots/lead"
}
],
"processingTime": 50,
"results": [
{
"item": "tfmg:lead_sheet"
}
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "create:pressing",
"ingredients": [
{
"tag": "forge:ingots/nickel"
}
],
"processingTime": 50,
"results": [
{
"item": "tfmg:nickel_sheet"
}
]
}

View File

@@ -23,6 +23,7 @@ import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.crafting.Ingredient;
import net.minecraft.world.level.ItemLike;
@@ -126,6 +127,9 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static TagKey<Item> leadNugget() {
return TFMGTags.forgeItemTag("nuggets/lead");
}
public static TagKey<Item> leadSheet() {
return TFMGTags.forgeItemTag("plates/lead");
}
public static TagKey<Item> leadBlock() {
return TFMGTags.forgeItemTag("storage_blocks/lead");
}
@@ -164,6 +168,11 @@ public class TFMGRecipeProvider extends RecipeProvider {
}
//
//
public static ItemLike bitumen() {
return TFMGItems.BITUMEN.get();
}
@@ -185,6 +194,9 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static ItemLike experienceNugget() {
return AllItems.EXP_NUGGET.get();
}
public static ItemLike capacitor() {
return TFMGItems.CAPACITOR;
}
public static ItemLike copperSulfate() {
return TFMGItems.COPPER_SULFATE.get();
}
@@ -194,6 +206,9 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static ItemLike blueDye() {
return Items.BLUE_DYE;
}
public static ItemLike greenDye() {
return Items.GREEN_DYE;
}
public static ItemLike cyanDye() {
return Items.CYAN_DYE;
}
@@ -209,6 +224,9 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static ItemLike dirt() {
return Items.DIRT;
}
public static ItemLike rebar() {
return TFMGItems.REBAR.get();
}
public static ItemLike nitrateDust() {
return TFMGItems.NITRATE_DUST.get();
}
@@ -228,19 +246,23 @@ public class TFMGRecipeProvider extends RecipeProvider {
return TFMGItems.NAPALM_POTATO.get();
}
public static ItemLike heavyMachineryCasing() {
return TFMGBlocks.HEAVY_MACHINERY_CASING.get();
}
public static ItemLike steelCasing() {
return TFMGBlocks.STEEL_CASING.get();
}
public static ItemLike aluminumCasing() {
return TFMGBlocks.ALUMINUM_CASING.get();
}
public static ItemLike heavyPlate() {
return TFMGItems.HEAVY_PLATE.get();
}
public static ItemLike castIronSheetTFMG() {
return TFMGItems.CAST_IRON_SHEET.get();
}
public static ItemLike nickelIronSheetTFMG() {
public static ItemLike nickelSheetTFMG() {
return TFMGItems.NICKEL_SHEET.get();
}
public static ItemLike leadSheetTFMG() {
@@ -273,6 +295,15 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static ItemLike gunpowder() {
return Items.GUNPOWDER;
}
public static ItemLike steelTank() {
return TFMGBlocks.STEEL_FLUID_TANK;
}
public static ItemLike castIronTank() {
return TFMGBlocks.CAST_IRON_FLUID_TANK;
}
public static ItemLike aluminumTank() {
return TFMGBlocks.ALUMINUM_FLUID_TANK;
}
public static ItemLike zincSulfate() {
return TFMGItems.ZINC_SULFATE.get();
}
@@ -294,9 +325,15 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static ItemLike steelPipe() {
return TFMGPipes.TFMG_PIPES.get(TFMGPipes.PipeMaterial.STEEL).get(0);
}
public static ItemLike brassPipe() {
return TFMGPipes.TFMG_PIPES.get(TFMGPipes.PipeMaterial.BRASS).get(0);
}
public static ItemLike castIronPipe() {
return TFMGPipes.TFMG_PIPES.get(TFMGPipes.PipeMaterial.CAST_IRON).get(0);
}
public static ItemLike aluminumPipe() {
return TFMGPipes.TFMG_PIPES.get(TFMGPipes.PipeMaterial.ALUMINUM).get(0);
}
public static ItemLike turbineBlade() {
return TFMGItems.TURBINE_BLADE.get();
}
@@ -325,6 +362,77 @@ public class TFMGRecipeProvider extends RecipeProvider {
return AllTags.forgeItemTag("ingots/gold");
}
public static ItemLike propeller() {
return AllItems.PROPELLER.get();
}
//"steel", "aluminum", "cast_iron", "lead", "nickel","constantan" , "copper", "zinc", "brass"
public static ItemLike steelTruss() {
return TFMGBlocks.TRUSSES.get(0).get();
}
public static ItemLike steelFrame() {
return TFMGBlocks.FRAMES.get(0).get();
}
public static ItemLike aluminumTruss() {
return TFMGBlocks.TRUSSES.get(1).get();
}
public static ItemLike aluminumFrame() {
return TFMGBlocks.FRAMES.get(1).get();
}
public static ItemLike castIronTruss() {
return TFMGBlocks.TRUSSES.get(2).get();
}
public static ItemLike castIronFrame() {
return TFMGBlocks.FRAMES.get(2).get();
}
public static ItemLike leadTruss() {
return TFMGBlocks.TRUSSES.get(3).get();
}
public static ItemLike leadFrame() {
return TFMGBlocks.FRAMES.get(3).get();
}
public static ItemLike nickelTruss() {
return TFMGBlocks.TRUSSES.get(4).get();
}
public static ItemLike nickelFrame() {
return TFMGBlocks.FRAMES.get(4).get();
}
public static ItemLike constantanTruss() {
return TFMGBlocks.TRUSSES.get(5).get();
}
public static ItemLike constantanFrame() {
return TFMGBlocks.FRAMES.get(5).get();
}
public static ItemLike copperTruss() {
return TFMGBlocks.TRUSSES.get(6).get();
}
public static ItemLike copperFrame() {
return TFMGBlocks.FRAMES.get(6).get();
}
public static ItemLike zincTruss() {
return TFMGBlocks.TRUSSES.get(7).get();
}
public static ItemLike zincFrame() {
return TFMGBlocks.FRAMES.get(7).get();
}
public static ItemLike brassTruss() {
return TFMGBlocks.TRUSSES.get(8).get();
}
public static ItemLike brassFrame() {
return TFMGBlocks.FRAMES.get(8).get();
}
public static TagKey<Item> goldSheet() {
return AllTags.forgeItemTag("plates/gold");
}
@@ -337,6 +445,10 @@ public class TFMGRecipeProvider extends RecipeProvider {
return AllItems.ANDESITE_ALLOY.get();
}
public static ItemLike fireproofBricks() {
return TFMGBlocks.FIREPROOF_BRICKS.get();
}
public static ItemLike shaft() {
return AllBlocks.SHAFT.get();
}
@@ -452,6 +564,23 @@ public class TFMGRecipeProvider extends RecipeProvider {
public static Ingredient netherite() {
return Ingredient.of(AllTags.forgeItemTag("ingots/netherite"));
}
public static Ingredient resistor100Ohms(){
ItemStack stack = TFMGBlocks.RESISTOR.asStack();
stack.getOrCreateTag().putInt("Resistance",100);
return Ingredient.of(stack);
}
public static Ingredient coil1000Ohms(){
ItemStack stack = TFMGItems.ELECTROMAGNETIC_COIL.asStack();
stack.getOrCreateTag().putInt("Turns",1000);
return Ingredient.of(stack);
}
}
public static class F {

View File

@@ -9,18 +9,18 @@ import static com.drmangotea.tfmg.datagen.recipes.TFMGRecipeProvider.I.*;
public class TFMGPressingRecipeGen extends TFMGProcessingRecipeGen {
GeneratedRecipe
CAST_IRON_SHEET = create("cast_iron_ingot", b -> b.require(castIronIngot())
.output(castIronSheetTFMG()).duration(50)),
ALUMINUM_SHEET = create("aluminum_ingot", b -> b.require(aluminumIngot())
.output(aluminumSheetTFMG()).duration(50)),
LEAD_SHEET = create("lead_ingot", b -> b.require(castIronIngot())
.output(castIronSheetTFMG()).duration(50)),
LEAD_SHEET = create("lead_ingot", b -> b.require(leadIngot())
.output(leadSheetTFMG()).duration(50)),
NICKEL_SHEET = create("nickel_ingot", b -> b.require(castIronIngot())
.output(castIronSheetTFMG()).duration(50));
NICKEL_SHEET = create("nickel_ingot", b -> b.require(nickelIngot())
.output(nickelSheetTFMG()).duration(50));
public TFMGPressingRecipeGen(PackOutput output) {
super(output);

View File

@@ -3,6 +3,7 @@ package com.drmangotea.tfmg.datagen.recipes.values;
import com.drmangotea.tfmg.TFMG;
import com.drmangotea.tfmg.datagen.recipes.TFMGRecipeProvider;
import com.drmangotea.tfmg.registry.TFMGBlocks;
import com.drmangotea.tfmg.registry.TFMGFluids;
import com.drmangotea.tfmg.registry.TFMGItems;
import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableList;
@@ -20,7 +21,6 @@ import net.minecraft.advancements.critereon.ItemPredicate;
import net.minecraft.data.PackOutput;
import net.minecraft.data.recipes.*;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.BlockTags;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Item;
@@ -200,7 +200,7 @@ public class TFMGStandardRecipeGen extends TFMGRecipeProvider {
.unlockedBy(TFMGItems.ALUMINUM_INGOT::get)
.viaShaped(b -> b
.define('B', Blocks.BARREL)
.define('P', aluminumIngot())
.define('P', aluminumSheet())
.pattern(" P ")
.pattern(" B ")
.pattern(" P ")),
@@ -209,7 +209,7 @@ public class TFMGStandardRecipeGen extends TFMGRecipeProvider {
.unlockedBy(TFMGItems.CAST_IRON_INGOT::get)
.viaShaped(b -> b
.define('B', Blocks.BARREL)
.define('P', castIronIngot())
.define('P', castIronSheet())
.pattern(" P ")
.pattern(" B ")
.pattern(" P ")),
@@ -230,11 +230,287 @@ public class TFMGStandardRecipeGen extends TFMGRecipeProvider {
.define('B', Blocks.IRON_BARS)
.define('P', castIronPipe())
.define('C', steelIngot())
.define('S', TFMGItems.SPARK_PLUG)
.define('S', Items.FLINT_AND_STEEL)
.pattern("SPS")
.pattern("BPB")
.pattern("CPC")),
SURFACE_SCANNER = create(TFMGBlocks.SURFACE_SCANNER)
.unlockedBy(TFMGBlocks.HEAVY_MACHINERY_CASING::get)
.viaShaped(b -> b
.define('H', heavyMachineryCasing())
.define('T', electronTube())
.define('M', steelMechanism())
.pattern("TTT")
.pattern("TTT")
.pattern("MHM")),
POLARIZER = create(TFMGBlocks.POLARIZER)
.unlockedBy(TFMGBlocks.STEEL_CASING::get)
.viaShaped(b -> b
.define('B', brassSheet())
.define('W', copperWire())
.define('V', TFMGBlocks.VOLTMETER)
.define('S', steelCasing())
.define('R', resistor100Ohms())
.define('C', capacitor())
.pattern("BWB")
.pattern("CVC")
.pattern("RST")),
ELECTRODE_HOLDER = create(TFMGBlocks.ELECTRODE_HOLDER)
.unlockedBy(TFMGBlocks.HEAVY_MACHINERY_CASING::get)
.viaShaped(b -> b
.define('S', steelIngot())
.define('W', copperWire())
.define('C', heavyMachineryCasing())
.define('L', leadSheet())
.pattern("SLS")
.pattern("WCW")
.pattern("SLS")),
TURBO = create(TFMGItems.TURBO)
.unlockedBy(TFMGItems.ALUMINUM_INGOT::get)
.viaShaped(b -> b
.define('P', aluminumPipe())
.define('F', propeller())
.define('B', TFMGBlocks.STEEL_BARS)
.pattern("PPP")
.pattern("BFP")
.pattern("PPP")),
TRANSFORMER = create(TFMGBlocks.TRANSFORMER)
.unlockedBy(TFMGBlocks.STEEL_CASING::get)
.viaShaped(b -> b
.define('C', steelCasing())
.define('M', magneticIngot())
.define('N', nickelSheet())
.define('W', copperWire())
.pattern("MMM")
.pattern("MNM")
.pattern("WCW")),
CONCRETE_HOSE = create(TFMGBlocks.CONCRETE_HOSE)
.unlockedBy(TFMGBlocks.STEEL_CASING::get)
.viaShaped(b -> b
.define('C', heavyMachineryCasing())
.define('K', Items.KELP)
.define('N', nickelSheet())
.define('P', steelPipe())
.pattern(" C ")
.pattern("SKP")
.pattern(" N ")),
ACCUMULATOR = create(TFMGBlocks.ACCUMULATOR)
.unlockedBy(TFMGFluids.SULFURIC_ACID.getBucket()::get)
.viaShaped(b -> b
.define('C', aluminumCasing())
.define('L', leadSheet())
.define('W', copperWire())
.define('S', TFMGFluids.SULFURIC_ACID.getBucket().get())
.define('B', leadBlock())
.pattern("LWL")
.pattern("SBS")
.pattern("LCL")),
ACCUMULATOR_LITHIUM = create(TFMGBlocks.ACCUMULATOR)
.unlockedBy(TFMGItems.LITHIUM_INGOT::get)
.viaShaped(b -> b
.define('C', aluminumCasing())
.define('L', lithiumBlock())
.define('A', aluminumSheet())
.define('I', lithiumIngot())
.pattern("AWA")
.pattern("ILI")
.pattern("ACA")),
STEEL_TRUSS = create(steelTruss()::asItem).returns(4)
.unlockedBy(TFMGItems.STEEL_INGOT::get)
.viaShaped(b -> b
.define('N', steelNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
ALUMINUM_TRUSS = create(aluminumTruss()::asItem).returns(4)
.unlockedBy(TFMGItems.ALUMINUM_INGOT::get)
.viaShaped(b -> b
.define('N', aluminumNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
CAST_IRON_TRUSS = create(castIronTruss()::asItem).returns(4)
.unlockedBy(TFMGItems.CAST_IRON_INGOT::get)
.viaShaped(b -> b
.define('N', castIronNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
LEAD_TRUSS = create(leadTruss()::asItem).returns(4)
.unlockedBy(TFMGItems.LEAD_INGOT::get)
.viaShaped(b -> b
.define('N', leadNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
NICKEL_TRUSS = create(nickelTruss()::asItem).returns(4)
.unlockedBy(TFMGItems.NICKEL_INGOT::get)
.viaShaped(b -> b
.define('N', nickelNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
CONSTANTAN_TRUSS = create(constantanTruss()::asItem).returns(4)
.unlockedBy(TFMGItems.CONSTANTAN_INGOT::get)
.viaShaped(b -> b
.define('N', constantanNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
COPPER_TRUSS = create(copperTruss()::asItem).returns(4)
.unlockedBy(Items.COPPER_INGOT::asItem)
.viaShaped(b -> b
.define('N', copperNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
ZINC_TRUSS = create(zincTruss()::asItem).returns(4)
.unlockedBy(AllItems.ZINC_INGOT::get)
.viaShaped(b -> b
.define('N', zincNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
BRASS_TRUSS = create(brassTruss()::asItem).returns(4)
.unlockedBy(AllItems.BRASS_INGOT::get)
.viaShaped(b -> b
.define('N', brassNugget())
.pattern("N N")
.pattern("NNN")
.pattern("N N")),
////////////////////////
STEEL_FRAME = create(steelFrame()::asItem).returns(4)
.unlockedBy(TFMGItems.STEEL_INGOT::get)
.viaShaped(b -> b
.define('N', steelNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
ALUMINUM_FRAME = create(aluminumFrame()::asItem).returns(4)
.unlockedBy(TFMGItems.ALUMINUM_INGOT::get)
.viaShaped(b -> b
.define('N', aluminumNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
CAST_IRON_FRAME = create(castIronFrame()::asItem).returns(4)
.unlockedBy(TFMGItems.CAST_IRON_INGOT::get)
.viaShaped(b -> b
.define('N', castIronNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
LEAD_FRAME = create(leadFrame()::asItem).returns(4)
.unlockedBy(TFMGItems.LEAD_INGOT::get)
.viaShaped(b -> b
.define('N', leadNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
NICKEL_FRAME = create(nickelFrame()::asItem).returns(4)
.unlockedBy(TFMGItems.NICKEL_INGOT::get)
.viaShaped(b -> b
.define('N', nickelNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
CONSTANTAN_FRAME = create(constantanFrame()::asItem).returns(4)
.unlockedBy(TFMGItems.CONSTANTAN_INGOT::get)
.viaShaped(b -> b
.define('N', constantanNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
COPPER_FRAME = create(copperFrame()::asItem).returns(4)
.unlockedBy(Items.COPPER_INGOT::asItem)
.viaShaped(b -> b
.define('N', copperNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
ZINC_FRAME = create(zincFrame()::asItem).returns(4)
.unlockedBy(AllItems.ZINC_INGOT::get)
.viaShaped(b -> b
.define('N', zincNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
BRASS_FRAME = create(brassFrame()::asItem).returns(4)
.unlockedBy(AllItems.BRASS_INGOT::get)
.viaShaped(b -> b
.define('N', brassNugget())
.pattern("NNN")
.pattern("N N")
.pattern("NNN")),
/// /////////////////////////
FIREBOX = create(TFMGBlocks.FIREBOX)
.unlockedBy(TFMGBlocks.INDUSTRIAL_PIPE::get)
.viaShaped(b -> b
.define('B', fireproofBricks())
.define('P', brassPipe())
.define('T', steelTank())
.pattern("BTB")
.pattern("PPP")
.pattern("BPB")),
EMPTY_CIRCUIT_BOARD = create(TFMGItems.EMPTY_CIRCUIT_BOARD)
.unlockedBy(TFMGItems.PLASTIC_SHEET::get)
.viaShaped(b -> b
.define('P', plasticSheet())
.define('G', greenDye())
.pattern(" ")
.pattern(" G ")
.pattern("PPP")),
INDUSTRIAL_MIXER = create(TFMGBlocks.INDUSTRIAL_MIXER)
.unlockedBy(TFMGBlocks.HEAVY_MACHINERY_CASING::get)
.viaShaped(b -> b
.define('M', steelMechanism())
.define('H', heavyMachineryCasing())
.define('C', TFMGBlocks.LARGE_STEEL_COGWHEEL)
.define('S', shaft())
.pattern(" S ")
.pattern("MHM")
.pattern(" C ")),
MACHINE_INPUT = create(TFMGBlocks.MACHINE_INPUT)
.unlockedBy(TFMGBlocks.HEAVY_MACHINERY_CASING::get)
.viaShaped(b -> b
.define('M', steelMechanism())
.define('H', heavyMachineryCasing())
.define('S', shaft())
.pattern(" S ")
.pattern("MHM")
.pattern(" M ")),
BRICK_SMOKESTACK = create(TFMGBlocks.BRICK_SMOKESTACK).returns(4)
.unlockedBy(TFMGBlocks.INDUSTRIAL_PIPE::get)
.viaShaped(b -> b
@@ -243,32 +519,25 @@ public class TFMGStandardRecipeGen extends TFMGRecipeProvider {
.pattern("BPB")
.pattern("BPB")
.pattern("BPB")),
CONCRETE_SMOKESTACK = create(TFMGBlocks.CONCRETE_SMOKESTACK).returns(4)
.unlockedBy(TFMGBlocks.INDUSTRIAL_PIPE::get)
.viaShaped(b -> b
.define('B', TFMGBlocks.CONCRETE.block)
.define('P', industrialPipe())
.pattern("BPB")
.pattern("BPB")
.pattern("BPB")),
METAL_SMOKESTACK = create(TFMGBlocks.METAL_SMOKESTACK).returns(4)
.unlockedBy(TFMGBlocks.INDUSTRIAL_PIPE::get)
.viaShaped(b -> b
.define('B', steelNugget())
.define('P', industrialPipe())
.pattern("BPB")
.pattern("BPB")
.pattern("BPB")),
INDUSTRIAL_MIXER = create(TFMGBlocks.INDUSTRIAL_MIXER)
.unlockedBy(TFMGBlocks.HEAVY_MACHINERY_CASING::get)
.viaShaped(b -> b
.define('S', shaft())
.define('C', heavyMachineryCasing())
.define('K', TFMGBlocks.STEEL_COGWHEEL)
.define('M', steelMechanism())
.pattern(" S ")
.pattern("KCM")
.pattern(" S ")),
CONCRETE_SMOKESTACK = create(TFMGBlocks.CONCRETE_SMOKESTACK).returns(4)
.unlockedBy(TFMGBlocks.INDUSTRIAL_PIPE::get)
.viaShaped(b -> b
.define('B', TFMGBlocks.CONCRETE.block)
.define('P', industrialPipe())
.pattern("BPB")
.pattern("BPB")
.pattern("BPB")),
METAL_SMOKESTACK = create(TFMGBlocks.METAL_SMOKESTACK).returns(4)
.unlockedBy(TFMGBlocks.INDUSTRIAL_PIPE::get)
.viaShaped(b -> b
.define('B', steelNugget())
.define('P', industrialPipe())
.pattern("BPB")
.pattern("BPB")
.pattern("BPB")),
HEAVY_PLATED_DOOR = create(TFMGBlocks.HEAVY_PLATED_DOOR).returns(3)
.unlockedBy(TFMGItems.STEEL_INGOT::get)
@@ -277,24 +546,26 @@ public class TFMGStandardRecipeGen extends TFMGRecipeProvider {
.pattern("II ")
.pattern("II ")
.pattern("II ")),
ALUMINUM_DOOR = create(TFMGBlocks.ALUMINUM_DOOR).returns(3)
.unlockedBy(TFMGItems.ALUMINUM_INGOT::get)
.viaShaped(b -> b
.define('I', aluminumIngot())
.pattern("II ")
.pattern("II ")
.pattern("II ")),
ALUMINUM_DOOR = create(TFMGBlocks.ALUMINUM_DOOR).returns(3)
.unlockedBy(TFMGItems.ALUMINUM_INGOT::get)
.viaShaped(b -> b
.define('I', aluminumIngot())
.pattern("II ")
.pattern("II ")
.pattern("II ")),
STEEL_CASING_DOOR = create(TFMGBlocks.STEEL_CASING_DOOR)
.unlockedBy(() -> TFMGItems.STEEL_INGOT)
.viaShapeless(b -> b
.requires(steelCasing())
.requires(ItemTags.WOODEN_DOORS)),
HEAVY_CASING_DOOR = create(TFMGBlocks.HEAVY_CASING_DOOR)
.unlockedBy(() -> TFMGItems.STEEL_INGOT)
.viaShapeless(b -> b
.requires(heavyMachineryCasing())
.requires(ItemTags.WOODEN_DOORS));
HEAVY_CASING_DOOR = create(TFMGBlocks.HEAVY_CASING_DOOR)
.unlockedBy(() -> TFMGItems.STEEL_INGOT)
.viaShapeless(b -> b
.requires(heavyMachineryCasing())
.requires(ItemTags.WOODEN_DOORS));
/// ////////////////////

View File

@@ -3,8 +3,7 @@ package com.drmangotea.tfmg.registry;
import com.drmangotea.tfmg.base.*;
import com.drmangotea.tfmg.config.TFMGStress;
import com.drmangotea.tfmg.content.decoration.LithiumTorchBlock;
import com.drmangotea.tfmg.content.decoration.LithiumTorchGenerator;
import com.drmangotea.tfmg.content.decoration.*;
import com.drmangotea.tfmg.content.decoration.cogs.TFMGCogWheelBlock;
import com.drmangotea.tfmg.content.decoration.cogs.TFMGCogwheelBlockItem;
import com.drmangotea.tfmg.content.decoration.concrete.*;
@@ -108,7 +107,6 @@ import com.drmangotea.tfmg.content.machinery.oil_processing.pumpjack.pumpjack.ha
import com.drmangotea.tfmg.content.machinery.oil_processing.pumpjack.pumpjack.hammer.parts.large.LargePumpjackHammerHeadBlock;
import com.drmangotea.tfmg.content.machinery.oil_processing.pumpjack.pumpjack.hammer.parts.large.LargePumpjackHammerPartBlock;
import com.drmangotea.tfmg.content.machinery.oil_processing.surface_scanner.SurfaceScannerBlock;
import com.drmangotea.tfmg.content.decoration.LithiumBlock;
import com.simibubi.create.AllTags;
import com.simibubi.create.api.stress.BlockStressValues;
import com.simibubi.create.content.contraptions.bearing.StabilizedBearingMovementBehaviour;
@@ -137,6 +135,9 @@ import net.minecraft.world.level.storage.loot.entries.LootItem;
import net.minecraft.world.level.storage.loot.functions.ApplyBonusCount;
import net.minecraftforge.common.Tags;
import java.util.ArrayList;
import java.util.List;
import static com.drmangotea.tfmg.TFMG.REGISTRATE;
import static com.drmangotea.tfmg.base.TFMGBuilderTransformers.*;
import static com.drmangotea.tfmg.content.electricity.lights.LightBulbBlock.LIGHT;
@@ -1392,6 +1393,7 @@ public class TFMGBlocks {
public static final BlockEntry<CasingBlock> ALUMINUM_CASING = REGISTRATE.block("industrial_aluminum_casing", CasingBlock::new)
.transform(BuilderTransformers.casing(() -> TFMGSpriteShifts.INDUSTRIAL_ALUMINUM_CASING))
.properties(p -> p.sound(SoundType.COPPER))
.lang("Aluminum Casing")
.register();
//------------------STORAGE_BLOCKS------------------//
public static final BlockEntry<Block> STEEL_BLOCK = REGISTRATE.block("steel_block", Block::new)
@@ -1722,12 +1724,15 @@ public class TFMGBlocks {
public static String[] DECOR_METALS = {"steel", "aluminum", "cast_iron", "lead", "nickel","constantan" , "copper", "zinc", "brass"};
public static final List<BlockEntry<TrussBlock>> TRUSSES = new ArrayList<>();
public static final List<BlockEntry<FrameBlock>> FRAMES = new ArrayList<>();
static {
//------------------TRUSSES------------------//
for (String metal : DECOR_METALS) {
truss(metal);
frame(metal);
TRUSSES.add(truss(metal));
FRAMES.add(frame(metal));
}
//------------------CAUTION_BLOCKS------------------//
generateCautionBlocks();

View File

@@ -55,18 +55,14 @@ public class TFMGFluids {
NAPHTHA = fuel("naphtha", 0x010101, TFMGTags.TFMGFluidTags.NAPHTHA.tag, TFMGTags.TFMGFluidTags.FIREBOX_FUEL.tag),
KEROSENE = fuel("kerosene", 0x010101, TFMGTags.TFMGFluidTags.KEROSENE.tag, TFMGTags.TFMGFluidTags.FIREBOX_FUEL.tag),
CREOSOTE = fuel("creosote", 0x010101, TFMGTags.TFMGFluidTags.CREOSOTE.tag, TFMGTags.TFMGFluidTags.BLAST_STOVE_FUEL.tag),
MOLTEN_STEEL = hotFluid("molten_steel", 0x010101, TFMGTags.TFMGFluidTags.MOLTEN_STEEL.tag),
MOLTEN_STEEL = hotFluid("molten_steel", 0x010101, TFMGTags.TFMGFluidTags.MOLTEN_STEEL.tag),
MOLTEN_SLAG = hotFluid("molten_slag", 0x010101),
MOLTEN_PLASTIC = hotFluid("molten_plastic", 0x010101),
LIQUID_SILICON = hotFluid("liquid_silicon", 0x010101),
LUBRICATION_OIL = fluid("lubrication_oil", 0x010101, TFMGTags.TFMGFluidTags.LUBRICATION_OIL.tag, TFMGTags.TFMGFluidTags.FLAMMABLE.tag),
COOLING_FLUID = fluid("cooling_fluid", 0x010101),
NAPALM = fluid("napalm", 0x010101),
SULFURIC_ACID = fluid("napalm", 0x010101),
LUBRICATION_OIL = fluid("lubrication_oil", 0x010101, TFMGTags.TFMGFluidTags.LUBRICATION_OIL.tag, TFMGTags.TFMGFluidTags.FLAMMABLE.tag),
COOLING_FLUID = fluid("cooling_fluid", 0x010101),
NAPALM = fluid("napalm", 0x010101),
SULFURIC_ACID = fluid("sulfuric_acid", 0x010101),
LIQUID_CONCRETE = concreteFluid("liquid_concrete", 0x010101, ConcreteFluid.Source::new),

View File

@@ -53,7 +53,7 @@ public class TFMGItems {
STEEL_INGOT = taggedIngredient("steel_ingot", forgeItemTag("ingots/steel"), CREATE_INGOTS.tag),
CAST_IRON_INGOT = taggedIngredient("cast_iron_ingot", forgeItemTag("ingots/cast_iron"), CREATE_INGOTS.tag),
ALUMINUM_INGOT = taggedIngredient("aluminum_ingot", forgeItemTag("ingots/aluminum"), CREATE_INGOTS.tag),
PLASTIC_SHEET = taggedIngredient("plastic_sheet", forgeItemTag("ingots/plastic"), CREATE_INGOTS.tag),
PLASTIC_SHEET = taggedIngredient("plastic_sheet", forgeItemTag("ingots/plastic"), CREATE_INGOTS.tag),
HEAVY_PLATE = taggedIngredient("heavy_plate", forgeItemTag("plates/steel")),
ALUMINUM_SHEET = taggedIngredient("aluminum_sheet", forgeItemTag("plates/aluminum")),
NICKEL_SHEET = taggedIngredient("nickel_sheet", forgeItemTag("plates/nickel")),
@@ -81,7 +81,8 @@ public class TFMGItems {
LIMESAND = taggedIngredient("limesand", TFMGTags.TFMGItemTags.FLUX.tag),
SULFUR_DUST = taggedIngredient("sulfur_dust", forgeItemTag("dusts/sulfur")),
RUBBER_SHEET = taggedIngredient("rubber_sheet", forgeItemTag("ingots/rubber")),
SILICON_INGOT = taggedIngredient("silicon_ingot", forgeItemTag("ingots/silicon"));
SILICON_INGOT = taggedIngredient("silicon_ingot", forgeItemTag("ingots/silicon")),
REBAR = taggedIngredient("rebar", forgeItemTag("rods/steel"));
public static final ItemEntry<Item>
SPARK_PLUG = REGISTRATE.item("spark_plug", Item::new).register(),
@@ -90,8 +91,7 @@ public class TFMGItems {
FIREPROOF_BRICK = REGISTRATE.item("fireproof_brick", Item::new).register(),
FIRECLAY_BALL = REGISTRATE.item("fireclay_ball", Item::new).register(),
SCREW = REGISTRATE.item("screw", Item::new).register(),
TURBINE_BLADE = REGISTRATE.item("turbine_blade", Item::new).register(),
TURBINE_BLADE = REGISTRATE.item("turbine_blade", Item::new).register(),
THERMITE_POWDER = REGISTRATE.item("thermite_powder", Item::new).register(),
STEEL_MECHANISM = REGISTRATE.item("steel_mechanism", Item::new).register(),
NITRATE_DUST = REGISTRATE.item("nitrate_dust", Item::new).register(),
@@ -109,11 +109,9 @@ public class TFMGItems {
LITHIUM_CHARGE = REGISTRATE.item("lithium_charge", Item::new).register(),
TURBO = REGISTRATE.item("turbo", Item::new).register(),
GOLDEN_TURBO = REGISTRATE.item("golden_turbo", Item::new).register(),
CINDERBLOCK = REGISTRATE.item("cinderblock", Item::new)
// .recipe((c, p) -> p.stonecutting(DataIngredient.items(TFMGBlocks.CONCRETE.get()), RecipeCategory.BUILDING_BLOCKS, c::get, 4))
.register(),
CINDERBLOCK = REGISTRATE.item("cinderblock", Item::new)
// .recipe((c, p) -> p.stonecutting(DataIngredient.items(TFMGBlocks.CONCRETE.get()), RecipeCategory.BUILDING_BLOCKS, c::get, 4))
.register(),
CINDERFLOURBLOCK = REGISTRATE.item("cinderflourblock", Item::new).register(),
NAPALM_POTATO = REGISTRATE.item("napalm_potato", Item::new).register(),
MIXER_BLADE = REGISTRATE.item("mixer_blade", Item::new).register(),
@@ -128,17 +126,14 @@ public class TFMGItems {
COPPER_ELECTRODE = REGISTRATE.item("copper_electrode", Item::new)
.properties(p -> p.stacksTo(1))
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/copper_electrode_model"))).register(),
ZINC_ELECTRODE = REGISTRATE.item("zinc_electrode", Item::new)
.properties(p -> p.stacksTo(1))
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/zinc_electrode_model"))).register(),
GRAPHITE_ELECTRODE = REGISTRATE.item("graphite_electrode", Item::new)
.properties(p -> p.stacksTo(1))
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/graphite_electrode_model"))).register(),
UNFIRED_INSULATOR = REGISTRATE.item("unfired_insulator", Item::new)
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/unfired_insulator_model"))).register(),
ZINC_ELECTRODE = REGISTRATE.item("zinc_electrode", Item::new)
.properties(p -> p.stacksTo(1))
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/zinc_electrode_model"))).register(),
GRAPHITE_ELECTRODE = REGISTRATE.item("graphite_electrode", Item::new)
.properties(p -> p.stacksTo(1))
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/graphite_electrode_model"))).register(),
UNFIRED_INSULATOR = REGISTRATE.item("unfired_insulator", Item::new)
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/unfired_insulator_model"))).register(),
UNFINISHED_INSULATOR = REGISTRATE.item("unfinished_insulator", Item::new)
.model((c, p) -> p.withExistingParent(c.getName(), TFMG.asResource("item/unfinished_insulator_model"))).register(),
GLASS_INSULATOR_SEGMENT = REGISTRATE.item("glass_insulator_segment", Item::new)
@@ -371,8 +366,8 @@ public class TFMGItems {
REGISTRATE.item("multimeter", MultimeterItem::new)
.register();
for(String color : COLORS){
REGISTRATE.item(color+"_multimeter", MultimeterItem::new)
for (String color : COLORS) {
REGISTRATE.item(color + "_multimeter", MultimeterItem::new)
.register();
}
}

View File

@@ -0,0 +1,23 @@
{
"credit": "Made with Blockbench",
"parent": "minecraft:block/block",
"textures": {
"0": "tfmg:block/blast_furnace_output",
"1": "tfmg:block/fireproof_bricks",
"particle": "tfmg:block/blast_furnace_output"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0"},
"east": {"uv": [0, 0, 16, 16], "texture": "#1"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1"},
"west": {"uv": [0, 0, 16, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1"},
"down": {"uv": [0, 0, 16, 16], "rotation": 180, "texture": "#1"}
}
}
]
}

View File

@@ -0,0 +1,23 @@
{
"credit": "Made with Blockbench",
"parent": "minecraft:block/block",
"textures": {
"0": "tfmg:block/blast_furnace_output",
"1": "tfmg:block/fireproof_bricks",
"particle": "tfmg:block/blast_furnace_output"
},
"elements": [
{
"from": [0, 0, -1],
"to": [16, 16, 15],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0"},
"east": {"uv": [0, 0, 16, 16], "texture": "#1"},
"south": {"uv": [0, 0, 16, 16], "texture": "#1"},
"west": {"uv": [0, 0, 16, 16], "texture": "#1"},
"up": {"uv": [0, 0, 16, 16], "texture": "#1"},
"down": {"uv": [0, 0, 16, 16], "rotation": 180, "texture": "#1"}
}
}
]
}

View File

@@ -136,18 +136,6 @@
"down": {"uv": [15.5, 0, 5.5, 2], "texture": "#0"}
}
},
{
"from": [-3, -3, 3],
"to": [19, 19, 13],
"faces": {
"north": {"uv": [0, 0, 5.5, 5.5], "texture": "#0"},
"east": {"uv": [7, 4, 9.5, 9.5], "texture": "#0"},
"south": {"uv": [0, 0, 5.5, 5.5], "texture": "#0"},
"west": {"uv": [7, 4, 9.5, 9.5], "texture": "#0"},
"up": {"uv": [7, 4, 9.5, 9.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [7, 4, 9.5, 9.5], "rotation": 90, "texture": "#0"}
}
},
{
"from": [0, 0, 2],
"to": [16, 16, 14],
@@ -522,19 +510,19 @@
"name": "single",
"origin": [8, 8, 0],
"color": 0,
"children": [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
"children": [10, 11, 12, 13, 14, 15, 16, 17, 18]
},
{
"name": "middle",
"origin": [8, 8, 0],
"color": 0,
"children": [20, 21, 22, 23, 24, 25, 26, 27, 28]
"children": [19, 20, 21, 22, 23, 24, 25, 26, 27]
},
{
"name": "front",
"origin": [8, 8, 0],
"color": 0,
"children": [29, 30, 31, 32, 33, 34, 35, 36, 37, 38]
"children": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37]
}
]
}

View File

@@ -0,0 +1,245 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "tfmg:block/shaft_top",
"1": "tfmg:block/shaft",
"2": "tfmg:block/engines/turbine_engine",
"particle": "tfmg:block/shaft_top"
},
"elements": [
{
"from": [28, 2, -16],
"to": [30, 14, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, -16]},
"faces": {
"north": {"uv": [0, 6.5, 0.5, 9.5], "texture": "#2"},
"east": {"uv": [8, 2.75, 12, 5.75], "texture": "#2"},
"south": {"uv": [8, 2.75, 8.5, 5.75], "texture": "#2"},
"west": {"uv": [8, 5.75, 12, 8.75], "texture": "#2"},
"up": {"uv": [12, 2.75, 8, 3.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [8, 5.75, 12, 5.25], "rotation": 90, "texture": "#2"}
}
},
{
"from": [18, 2, -16],
"to": [20, 14, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [6, 0, -16]},
"faces": {
"north": {"uv": [2.5, 6.5, 3, 9.5], "texture": "#2"},
"east": {"uv": [8, 5.75, 12, 8.75], "texture": "#2"},
"south": {"uv": [8, 2.75, 8.5, 5.75], "texture": "#2"},
"west": {"uv": [12, 2.75, 8, 5.75], "texture": "#2"},
"up": {"uv": [12, 5.25, 8, 5.75], "rotation": 90, "texture": "#2"},
"down": {"uv": [8, 3.25, 12, 2.75], "rotation": 90, "texture": "#2"}
}
},
{
"from": [19, 3, 16],
"to": [29, 13, 30],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 16]},
"faces": {
"north": {"uv": [0.5, 3.25, 3, 5.75], "texture": "#2"},
"east": {"uv": [2.75, 0, 6.25, 2.5], "texture": "#2"},
"south": {"uv": [0, 0, 2.5, 2.5], "texture": "#2"},
"west": {"uv": [6.25, 0, 2.75, 2.5], "texture": "#2"},
"up": {"uv": [6.25, 0, 2.75, 2.5], "rotation": 90, "texture": "#2"},
"down": {"uv": [2.75, 0, 6.25, 2.5], "rotation": 90, "texture": "#2"}
}
},
{
"from": [21.3, 0, 18],
"to": [27.3, 3, 27],
"rotation": {"angle": 0, "axis": "y", "origin": [16.3, 10, 18]},
"faces": {
"north": {"uv": [9.25, 0, 10, 1.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [8.25, 0, 9, 2.25], "rotation": 90, "texture": "#2"},
"south": {"uv": [9.25, 0, 10, 1.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [8.25, 0, 9, 2.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [12.25, 6.25, 13.75, 8.5], "texture": "#2"}
}
},
{
"from": [21, 13, 16],
"to": [27, 14, 25],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 23, 16]},
"faces": {
"north": {"uv": [9.75, 0, 10, 1.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [9, 0, 9.25, 2.25], "rotation": 90, "texture": "#2"},
"south": {"uv": [9.75, 0, 10, 1.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [9, 2.25, 9.25, 0], "rotation": 90, "texture": "#2"},
"up": {"uv": [6.5, 0, 8, 2.25], "texture": "#2"}
}
},
{
"from": [17, 1, 0],
"to": [31, 15, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, 0]},
"faces": {
"north": {"uv": [0, 2.75, 3.5, 6.25], "texture": "#2"},
"east": {"uv": [3.75, 2.75, 7.75, 6.25], "texture": "#2"},
"south": {"uv": [0, 2.75, 3.5, 6.25], "texture": "#2"},
"west": {"uv": [7.75, 2.75, 3.75, 6.25], "texture": "#2"},
"up": {"uv": [7.75, 6.5, 3.75, 10], "rotation": 90, "texture": "#2"},
"down": {"uv": [7.75, 10.25, 3.75, 13.75], "rotation": 90, "texture": "#2"}
}
},
{
"from": [19, 0, -8],
"to": [29, 2, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [14, -2, -15]},
"faces": {
"north": {"uv": [14.5, 2.75, 15, 5.25], "rotation": 90, "texture": "#2"},
"east": {"uv": [12.25, 5.5, 14.25, 6], "texture": "#2"},
"south": {"uv": [14.5, 2.75, 15, 5.25], "rotation": 90, "texture": "#2"},
"west": {"uv": [12.25, 5.5, 14.25, 6], "texture": "#2"},
"down": {"uv": [12.25, 2.75, 14.25, 5.25], "rotation": 90, "texture": "#2"}
}
},
{
"from": [17, 9, -12],
"to": [18, 11, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [15, 4, -14]},
"faces": {
"north": {"uv": [12.25, 0.5, 12.5, 1], "texture": "#2"},
"south": {"uv": [12.5, 0.5, 12.75, 1], "texture": "#2"},
"west": {"uv": [12.25, 0.5, 15.25, 1], "texture": "#2"},
"up": {"uv": [12.25, 0.5, 15.25, 0.75], "rotation": 90, "texture": "#2"},
"down": {"uv": [15.25, 0.5, 12.25, 0.75], "rotation": 90, "texture": "#2"}
}
},
{
"from": [17, 6, -12],
"to": [18, 9, -10],
"rotation": {"angle": 0, "axis": "y", "origin": [15, 2, -14]},
"faces": {
"north": {"uv": [12.25, 1, 12.5, 1.75], "texture": "#2"},
"south": {"uv": [12.5, 1, 12.75, 1.75], "texture": "#2"},
"west": {"uv": [12.25, 1, 12.75, 1.75], "texture": "#2"},
"down": {"uv": [12.25, 1.25, 12.75, 1.5], "rotation": 90, "texture": "#2"}
}
},
{
"from": [30, 9, -12],
"to": [31, 11, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [28, 4, -14]},
"faces": {
"north": {"uv": [12.25, 0.5, 12.5, 1], "texture": "#2"},
"east": {"uv": [15.25, 0.5, 12.25, 1], "texture": "#2"},
"south": {"uv": [12.5, 0.5, 12.75, 1], "texture": "#2"},
"up": {"uv": [12.25, 0.5, 15.25, 0.75], "rotation": 90, "texture": "#2"},
"down": {"uv": [15.25, 0.5, 12.25, 0.75], "rotation": 90, "texture": "#2"}
}
},
{
"from": [30, 6, -12],
"to": [31, 9, -10],
"rotation": {"angle": 0, "axis": "y", "origin": [28, 2, -14]},
"faces": {
"north": {"uv": [12.25, 1, 12.5, 1.75], "texture": "#2"},
"east": {"uv": [12.25, 1, 12.75, 1.75], "texture": "#2"},
"south": {"uv": [12.25, 1, 12.5, 1.75], "texture": "#2"},
"down": {"uv": [12.25, 1.25, 12.75, 1.5], "rotation": 90, "texture": "#2"}
}
},
{
"from": [27, 0, 2],
"to": [32, 5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [25, -2, 0]},
"faces": {
"north": {"uv": [0.5, 13.5, 1.75, 14.75], "texture": "#2"},
"east": {"uv": [0.5, 12, 3.5, 13.25], "texture": "#2"},
"south": {"uv": [0.5, 13.5, 1.75, 14.75], "texture": "#2"},
"west": {"uv": [0.5, 12, 3.5, 13.25], "texture": "#2"},
"up": {"uv": [0.5, 12, 3.5, 13.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [0.5, 12, 3.5, 13.25], "rotation": 90, "texture": "#2"}
}
},
{
"from": [16, 0, 2],
"to": [21, 5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [14, -2, 0]},
"faces": {
"north": {"uv": [0.5, 13.5, 1.75, 14.75], "texture": "#2"},
"east": {"uv": [0.5, 12, 3.5, 13.25], "texture": "#2"},
"south": {"uv": [0.5, 13.5, 1.75, 14.75], "texture": "#2"},
"west": {"uv": [0.5, 12, 3.5, 13.25], "texture": "#2"},
"up": {"uv": [0.5, 12, 3.5, 13.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [0.5, 12, 3.5, 13.25], "rotation": 90, "texture": "#2"}
}
},
{
"from": [20, 4, -14],
"to": [28, 12, -14],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, -14]},
"faces": {
"north": {"uv": [0.75, 9.75, 2.75, 11.75], "texture": "#2"},
"east": {"uv": [0, 0, 0, 8], "texture": "#missing"},
"west": {"uv": [0, 0, 0, 8], "texture": "#missing"},
"up": {"uv": [0, 0, 8, 0], "texture": "#missing"},
"down": {"uv": [0, 0, 8, 0], "texture": "#missing"}
}
},
{
"from": [20, 12, -16],
"to": [28, 14, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 0, -16]},
"faces": {
"north": {"uv": [0.5, 6.5, 2.5, 7], "texture": "#2"},
"east": {"uv": [0, 0, 0, 0], "texture": "#2"},
"south": {"uv": [12.25, 2.75, 14.25, 3.25], "texture": "#2"},
"west": {"uv": [0, 0, 0, 0], "texture": "#2"},
"up": {"uv": [12, 3.25, 8, 5.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [12, 6.25, 8, 8.25], "rotation": 90, "texture": "#2"}
}
},
{
"from": [20, 2, -16],
"to": [28, 4, 0],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -10, -16]},
"faces": {
"north": {"uv": [0.5, 9, 2.5, 9.5], "texture": "#2"},
"east": {"uv": [0, 0, 0, 0], "texture": "#2"},
"south": {"uv": [12.25, 2.75, 14.25, 3.25], "texture": "#2"},
"west": {"uv": [0, 0, 0, 0], "texture": "#2"},
"up": {"uv": [8, 6.25, 12, 8.25], "rotation": 90, "texture": "#2"},
"down": {"uv": [8, 3.25, 12, 5.25], "rotation": 90, "texture": "#2"}
}
},
{
"from": [20, 4, -15],
"to": [28, 12, -15],
"rotation": {"angle": 0, "axis": "y", "origin": [16, 0, -15]},
"faces": {
"north": {"uv": [0.5, 7, 2.5, 9], "texture": "#2"},
"east": {"uv": [0, 0, 0, 8], "texture": "#missing"},
"west": {"uv": [0, 0, 0, 8], "texture": "#missing"},
"up": {"uv": [0, 0, 8, 0], "texture": "#missing"},
"down": {"uv": [0, 0, 8, 0], "texture": "#missing"}
}
},
{
"from": [22, 6, 29],
"to": [26, 10, 32],
"rotation": {"angle": -22.5, "axis": "z", "origin": [24, 8, 30]},
"faces": {
"east": {"uv": [6, 0, 10, 3], "rotation": 90, "texture": "#1"},
"south": {"uv": [6, 6, 10, 10], "texture": "#0"},
"west": {"uv": [6, 0, 10, 3], "rotation": 90, "texture": "#1"},
"up": {"uv": [6, 0, 10, 3], "texture": "#1"},
"down": {"uv": [6, 0, 10, 3], "texture": "#1"}
}
},
{
"from": [23, 7, -16],
"to": [25, 9, -12],
"rotation": {"angle": 0, "axis": "y", "origin": [23, 7, -2]},
"faces": {
"north": {"uv": [1.25, 7.75, 1.75, 8.25], "texture": "#2"},
"east": {"uv": [0, 9.75, 0.5, 10.75], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 9.75, 0.5, 10.75], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 9.75, 0.5, 10.75], "texture": "#2"},
"down": {"uv": [0, 9.75, 0.5, 10.75], "texture": "#2"}
}
}
]
}

View File

@@ -1,15 +1,16 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"texture_size": [64, 64],
"parent":"block/block",
"textures": {
"0": "tfmg:block/voltmeter",
"particle": "tfmg:block/steel_block"
},
"elements": [
{
"from": [0, 13, 12],
"to": [16, 14, 13],
"from": [0, 13, 6],
"to": [16, 14, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6]},
"faces": {
"north": {"uv": [0, 0, 4, 0.25], "texture": "#0"},
"east": {"uv": [0, 6, 0.25, 6.25], "texture": "#0"},
@@ -20,8 +21,9 @@
}
},
{
"from": [0, 3, 12],
"to": [2, 13, 13],
"from": [0, 3, 6],
"to": [2, 13, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6]},
"faces": {
"north": {"uv": [3.5, 0.25, 4, 2.75], "texture": "#0"},
"east": {"uv": [3.5, 0.25, 3.75, 2.75], "texture": "#0"},
@@ -32,8 +34,9 @@
}
},
{
"from": [14, 3, 12],
"to": [16, 13, 13],
"from": [14, 3, 6],
"to": [16, 13, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6]},
"faces": {
"north": {"uv": [0, 0.25, 0.5, 2.75], "texture": "#0"},
"east": {"uv": [0, 6, 0.25, 8.5], "texture": "#0"},
@@ -44,8 +47,9 @@
}
},
{
"from": [0, 2, 12],
"to": [16, 3, 13],
"from": [0, 2, 6],
"to": [16, 3, 7],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6]},
"faces": {
"north": {"uv": [0, 2.75, 4, 3], "texture": "#0"},
"east": {"uv": [0.25, 8.25, 0.5, 8.5], "texture": "#0"},
@@ -56,8 +60,9 @@
}
},
{
"from": [0, 2, 13],
"to": [16, 14, 16],
"from": [0, 2, 7],
"to": [16, 14, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, -6]},
"faces": {
"north": {"uv": [0, 0, 4, 3], "texture": "#0"},
"east": {"uv": [4, 1.5, 4.75, 4.5], "texture": "#0"},