Skip to content

Commit

Permalink
finished coker, tau remodel, biden blast
Browse files Browse the repository at this point in the history
  • Loading branch information
HbmMods committed Apr 30, 2023
1 parent ba3a0a1 commit 30e2fef
Show file tree
Hide file tree
Showing 40 changed files with 7,286 additions and 178 deletions.
16 changes: 12 additions & 4 deletions src/main/java/com/hbm/blocks/machine/MachineCoker.java
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
package com.hbm.blocks.machine;

import java.util.List;

import com.hbm.blocks.BlockDummyable;
import com.hbm.blocks.ITooltipProvider;
import com.hbm.handler.MultiblockHandlerXR;
import com.hbm.tileentity.TileEntityProxyCombo;
import com.hbm.tileentity.machine.oil.TileEntityMachineCoker;

import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.common.util.ForgeDirection;

public class MachineCoker extends BlockDummyable {
public class MachineCoker extends BlockDummyable implements ITooltipProvider {

public MachineCoker(Material mat) {
super(mat);
Expand All @@ -21,8 +25,7 @@ public MachineCoker(Material mat) {
public TileEntity createNewTileEntity(World world, int meta) {

if(meta >= 12) return new TileEntityMachineCoker();
if(meta >= 6) return new TileEntityProxyCombo().inventory().fluid();

if(meta >= extra) return new TileEntityProxyCombo().inventory().fluid();
return null;
}

Expand All @@ -38,7 +41,7 @@ public int[] getDimensions() {

@Override
public int getOffset() {
return 2;
return 1;
}

@Override
Expand Down Expand Up @@ -76,4 +79,9 @@ protected void fillSpace(World world, int x, int y, int z, ForgeDirection dir, i
this.makeExtra(world, x - 1, y, z + 1);
this.makeExtra(world, x - 1, y, z - 1);
}

@Override
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean ext) {
this.addStandardInfo(stack, player, list, ext);
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/hbm/crafting/WeaponRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public static void register() {
CraftingManager.addRecipeAuto(new ItemStack(ModItems.gun_fireext, 1), new Object[] { "HB", " T", 'H', ModItems.hull_small_steel, 'B', ModItems.bolt_tungsten, 'T', ModItems.tank_steel });
CraftingManager.addRecipeAuto(new ItemStack(ModItems.gun_spas12, 1), new Object[] { "TPS", "HHR", " L", 'T', ModItems.bolt_tungsten, 'P', STEEL.plate(), 'S', STEEL.ingot(), 'H', ModItems.hull_small_steel, 'R', ModItems.mechanism_rifle_1, 'L', ANY_PLASTIC.ingot()});
CraftingManager.addRecipeAuto(new ItemStack(ModItems.gun_glass_cannon, 1), new Object[] { "GGC", "GTM", 'G', Item.getItemFromBlock(ModBlocks.glass_quartz), 'C', ModItems.battery_lithium_cell, 'T', ModItems.crt_display, 'M', ModItems.mechanism_special });
CraftingManager.addRecipeAuto(new ItemStack(ModItems.gun_remington, 1), new Object[] { "PPM", "S L", 'P', STEEL.plate(), 'M', ModItems.mechanism_rifle_1, 'S', KEY_SLAB, 'L', KEY_LOG });

//Ammo assemblies
CraftingManager.addRecipeAuto(new ItemStack(ModItems.pellet_flechette, 1), new Object[] { " L ", " L ", "LLL", 'L', PB.nugget() });
Expand Down Expand Up @@ -187,7 +188,6 @@ public static void register() {
CraftingManager.addRecipeAuto(new ItemStack(ModItems.ammo_12gauge, 12), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot, 'L', ModItems.plate_polymer });
CraftingManager.addRecipeAuto(ModItems.ammo_12gauge.stackFromEnum(12, Ammo12Gauge.PERCUSSION), new Object[] { "G", "C", "P", 'G', ModItems.ballistite, 'C', ModItems.casing_buckshot, 'P', ModItems.primer_buckshot });
CraftingManager.addRecipeAuto(new ItemStack(ModItems.ammo_4gauge, 12), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.cordite, 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'L', ModItems.plate_polymer });
CraftingManager.addRecipeAuto(new ItemStack(ModItems.ammo_4gauge, 12), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_buckshot, 'G', ModItems.ballistite, 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'L', ModItems.plate_polymer });
CraftingManager.addRecipeAuto(ModItems.ammo_4gauge.stackFromEnum(12, Ammo4Gauge.SLUG), new Object[] { " I ", "GCL", " P ", 'I', PB.ingot(), 'G', ANY_SMOKELESS.dust(), 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'L', ModItems.plate_polymer });
CraftingManager.addRecipeAuto(ModItems.ammo_4gauge.stackFromEnum(12, Ammo4Gauge.FLECHETTE), new Object[] { " I ", "GCL", " P ", 'I', ModItems.pellet_flechette, 'G', ANY_SMOKELESS.dust(), 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'L', ModItems.plate_polymer });
CraftingManager.addRecipeAuto(ModItems.ammo_4gauge.stackFromEnum(4, Ammo4Gauge.EXPLOSIVE), new Object[] { " I ", "GCL", " P ", 'I', ModBlocks.tnt, 'G', ANY_SMOKELESS.dust(), 'C', ModItems.casing_50, 'P', ModItems.primer_50, 'L', ModItems.plate_polymer });
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/hbm/entity/projectile/EntityBulletBase.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.hbm.entity.projectile;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;

import com.hbm.blocks.ModBlocks;
Expand All @@ -22,6 +23,7 @@
import com.hbm.potion.HbmPotion;
import com.hbm.util.ArmorUtil;
import com.hbm.util.BobMathUtil;
import com.hbm.util.Tuple.Pair;

import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
import cpw.mods.fml.relauncher.ReflectionHelper;
Expand Down Expand Up @@ -50,6 +52,11 @@ public class EntityBulletBase extends Entity implements IProjectile {
private BulletConfiguration config;
public EntityLivingBase shooter;
public float overrideDamage;

public double prevRenderX;
public double prevRenderY;
public double prevRenderZ;
public final List<Pair<Vec3, Double>> trailNodes = new ArrayList();

public BulletConfiguration getConfig() {
return config;
Expand Down Expand Up @@ -236,6 +243,15 @@ public void onUpdate() {
return;
}

if(worldObj.isRemote && config.style == config.STYLE_TAU) {
if(trailNodes.isEmpty()) {
this.ignoreFrustumCheck = true;
trailNodes.add(new Pair<Vec3, Double>(Vec3.createVectorHelper(-motionX * 2, -motionY * 2, -motionZ * 2), 0D));
} else {
trailNodes.add(new Pair<Vec3, Double>(Vec3.createVectorHelper(0, 0, 0), 1D));
}
}

if(this.config.blackPowder && this.ticksExisted == 1) {

for(int i = 0; i < 15; i++) {
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/com/hbm/handler/BulletConfigSyncingUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ public class BulletConfigSyncingUtil {
public static int G12_SLEEK = i++;
public static int G12_PERCUSSION = i++;

public static int G12HS_NORMAL = i++;
public static int G12HS_INCENDIARY = i++;
public static int G12HS_SHRAPNEL = i++;
public static int G12HS_DU = i++;
public static int G12HS_AM = i++;
public static int G12HS_SLEEK = i++;
public static int G12HS_PERCUSSION = i++;

public static int LR22_NORMAL = i++;
public static int LR22_AP = i++;
public static int LR22_NORMAL_FIRE = i++;
Expand Down Expand Up @@ -359,6 +367,13 @@ public static void loadConfigsForSync() {
configSet.put(G12_AM, Gun12GaugeFactory.get12GaugeAMConfig());
configSet.put(G12_SLEEK, Gun12GaugeFactory.get12GaugeSleekConfig());
configSet.put(G12_PERCUSSION, Gun12GaugeFactory.get12GaugePercussionConfig());
configSet.put(G12HS_NORMAL, Gun12GaugeFactory.get12GaugeConfig().setHeadshot(2F));
configSet.put(G12HS_INCENDIARY, Gun12GaugeFactory.get12GaugeFireConfig().setHeadshot(2F));
configSet.put(G12HS_SHRAPNEL, Gun12GaugeFactory.get12GaugeShrapnelConfig().setHeadshot(2F));
configSet.put(G12HS_DU, Gun12GaugeFactory.get12GaugeDUConfig().setHeadshot(2F));
configSet.put(G12HS_AM, Gun12GaugeFactory.get12GaugeAMConfig().setHeadshot(2F));
configSet.put(G12HS_SLEEK, Gun12GaugeFactory.get12GaugeSleekConfig().setHeadshot(2F));
configSet.put(G12HS_PERCUSSION, Gun12GaugeFactory.get12GaugePercussionConfig().setHeadshot(2F));

configSet.put(LR22_NORMAL, Gun22LRFactory.get22LRConfig());
configSet.put(LR22_AP, Gun22LRFactory.get22LRAPConfig());
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/hbm/handler/BulletConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public class BulletConfiguration implements Cloneable {
public static final int STYLE_APDS = 14;
public static final int STYLE_BLADE = 15;
public static final int STYLE_BARREL = 16;
public static final int STYLE_TAU = 17;

public static final int PLINK_NONE = 0;
public static final int PLINK_BULLET = 1;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/hbm/handler/GunConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class GunConfiguration implements Cloneable {
public String reloadSound = "";
//sound path to the shooting sound
public String firingSound = "";
public float firingVolume = 1.0F;
public float firingPitch = 1.0F;
//whether the reload sound should be played at the beginning or at the end of the reload
public boolean reloadSoundEnd = true;
Expand Down
45 changes: 41 additions & 4 deletions src/main/java/com/hbm/handler/guncfg/Gun12GaugeFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,44 @@ public class Gun12GaugeFactory {

CASING12GAUGE = new SpentCasing(CasingType.SHOTGUN).setScale(1.5F).setBounceMotion(0.05F, 0.02F).setupSmoke(0.5F, 0.5D, 60, 20);
}

public static GunConfiguration getRemington870Config() {
GunConfiguration config = new GunConfiguration();

config.rateOfFire = 25;
config.roundsPerCycle = 1;
config.gunMode = GunConfiguration.MODE_NORMAL;
config.firingMode = GunConfiguration.FIRE_MANUAL;
config.reloadDuration = 10;
config.firingDuration = 5;
config.ammoCap = 5;
config.durability = 1000;
config.reloadType = GunConfiguration.RELOAD_SINGLE;
config.allowsInfinity = true;
config.crosshair = Crosshair.CIRCLE;
config.reloadSound = GunConfiguration.RSOUND_SHOTGUN;
config.firingSound = "hbm:weapon.shotgunPump";

config.name = "remington870";
config.manufacturer = EnumGunManufacturer.REMINGTON;

config.config = HbmCollection.g12hs;

config.animations.put(AnimType.CYCLE, new BusAnimation()
.addBus("RECOIL_TRANSLATE", new BusAnimationSequence()
.addKeyframe(new BusAnimationKeyframe(0, 0, -2, 100))
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 200))
)
.addBus("PUMP", new BusAnimationSequence()
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 450))
.addKeyframe(new BusAnimationKeyframe(0, 0, -1.8, 200))
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 200))
)
);

config.ejector = EJECTOR_SPAS;
return config;
}

public static GunConfiguration getSpas12Config() {

Expand Down Expand Up @@ -109,7 +147,7 @@ public static GunConfiguration getSpas12AltConfig() {
config.firingSound = "hbm:weapon.shotgunPump";
config.reloadType = GunConfiguration.RELOAD_SINGLE;

config.config = HbmCollection.g12;
config.config = HbmCollection.g12hs;

config.ejector = EJECTOR_SPAS_ALT;

Expand Down Expand Up @@ -137,7 +175,7 @@ public static GunConfiguration getUboinikConfig() {
config.name = "uboinik";
config.manufacturer = EnumGunManufacturer.METRO;

config.config = HbmCollection.g12;
config.config = HbmCollection.g12hs;

config.ejector = EJECTOR_UBOINIK;

Expand Down Expand Up @@ -190,7 +228,7 @@ public static GunConfiguration getShottyConfig() {
config.manufacturer = EnumGunManufacturer.UAC;
config.comment.add("God-damned ARCH-VILES!");

config.config = HbmCollection.g12;
config.config = HbmCollection.g12hs;

config.ejector = EJECTOR_SSG;

Expand Down Expand Up @@ -346,5 +384,4 @@ public void behaveUpdate(EntityBulletBase bullet) {

return bullet;
}

}
25 changes: 18 additions & 7 deletions src/main/java/com/hbm/handler/guncfg/GunGaussFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
import com.hbm.inventory.RecipesCommon.ComparableStack;
import com.hbm.items.ModItems;
import com.hbm.lib.HbmCollection.EnumGunManufacturer;
import com.hbm.render.anim.BusAnimation;
import com.hbm.render.anim.BusAnimationKeyframe;
import com.hbm.render.anim.BusAnimationSequence;
import com.hbm.render.anim.HbmAnimations.AnimType;
import com.hbm.render.util.RenderScreenOverlay.Crosshair;

public class GunGaussFactory {
Expand All @@ -25,16 +29,24 @@ public static GunConfiguration getXVLConfig() {
config.ammoCap = 0;
config.reloadType = GunConfiguration.RELOAD_NONE;
config.allowsInfinity = true;
config.crosshair = Crosshair.L_RAD;
config.durability = 6000;
config.crosshair = Crosshair.CIRCLE;
config.durability = 15000;
config.firingSound = "hbm:weapon.tauShoot";
config.firingVolume = 0.5F;

config.name = "tau";
config.manufacturer = EnumGunManufacturer.BLACK_MESA;

config.config = new ArrayList<Integer>();
config.config.add(BulletConfigSyncingUtil.SPECIAL_GAUSS);

config.animations.put(AnimType.CYCLE, new BusAnimation()
.addBus("RECOIL", new BusAnimationSequence()
.addKeyframe(new BusAnimationKeyframe(1, 0, 0, 25))
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 75))
)
);

return config;
}

Expand Down Expand Up @@ -63,10 +75,9 @@ public static BulletConfiguration getGaussConfig() {
BulletConfiguration bullet = BulletConfigFactory.standardBulletConfig();

bullet.ammo = new ComparableStack(ModItems.gun_xvl1456_ammo);
bullet.dmgMin = 6;
bullet.dmgMax = 9;
bullet.trail = 1;
bullet.vPFX = "fireworksSpark";
bullet.dmgMin = 18;
bullet.dmgMax = 27;
bullet.style = bullet.STYLE_TAU;
bullet.LBRC = 80;
bullet.HBRC = 5;

Expand All @@ -77,7 +88,7 @@ public static BulletConfiguration getAltConfig() {

BulletConfiguration bullet = getGaussConfig();

bullet.vPFX = "reddust";
bullet.trail = 1;

return bullet;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ private static void registerDefaults() {
makeRecipe(new ComparableStack(ModBlocks.machine_well, 1), new AStack[] {new ComparableStack(ModBlocks.steel_scaffold, 20), new ComparableStack(ModBlocks.steel_beam, 8), new ComparableStack(ModItems.tank_steel, 2), new ComparableStack(ModItems.motor, 1), new ComparableStack(ModItems.pipes_steel, 3), new ComparableStack(ModItems.drill_titanium, 1), new ComparableStack(ModItems.wire_red_copper, 6), },250);
makeRecipe(new ComparableStack(ModBlocks.machine_pumpjack, 1), new AStack[] {new ComparableStack(ModBlocks.steel_scaffold, 8), new OreDictStack(STEEL.block(), 8), new ComparableStack(ModItems.pipes_steel, 4), new ComparableStack(ModItems.tank_steel, 4), new OreDictStack(STEEL.ingot(), 24), new OreDictStack(STEEL.plate(), 16), new OreDictStack(AL.plate(), 6), new ComparableStack(ModItems.drill_titanium, 1), new ComparableStack(ModItems.motor, 2), new ComparableStack(ModItems.wire_red_copper, 8), },400);
makeRecipe(new ComparableStack(ModBlocks.machine_flare, 1), new AStack[] {new OreDictStack(STEEL.ingot(), 12), new OreDictStack(IRON.ingot(), 12), new OreDictStack(CU.plate528(), 4), new ComparableStack(ModItems.tank_steel, 1), new ComparableStack(ModBlocks.deco_pipe_quad, 8), new ComparableStack(ModItems.hull_small_steel, 4), new ComparableStack(ModItems.thermo_element, 3), },200);
makeRecipe(new ComparableStack(ModBlocks.machine_coker, 1), new AStack[] {new OreDictStack(STEEL.plate(), 24), new OreDictStack(IRON.ingot(), 12), new OreDictStack(CU.plate528(), 8), new OreDictStack(RUBBER.ingot(), 4), new ComparableStack(ModItems.tank_steel, 2), new ComparableStack(ModBlocks.steel_grate, 4) },200);
makeRecipe(new ComparableStack(ModBlocks.machine_refinery, 1), new AStack[] {new OreDictStack(STEEL.plate528(), 16), new OreDictStack(CU.plate(), 16), new ComparableStack(ModItems.hull_big_steel, 6), new ComparableStack(ModItems.pipes_steel, 2), new ComparableStack(ModItems.plate_polymer, 8), new ComparableStack(ModItems.circuit_red_copper, 1) },350);
makeRecipe(new ComparableStack(ModBlocks.machine_epress, 1), new AStack[] {new OreDictStack(STEEL.plate(), 8), new ComparableStack(ModItems.plate_polymer, 4), new ComparableStack(ModItems.bolt_tungsten, 4), new ComparableStack(ModItems.coil_copper, 2), new ComparableStack(ModItems.motor, 1), new ComparableStack(ModItems.circuit_copper, 1), new ComparableStack(ModItems.canister_full, 1, Fluids.LUBRICANT.getID()), },160);
makeRecipe(new ComparableStack(ModBlocks.machine_chemplant, 1), new AStack[] {new OreDictStack(STEEL.ingot(), 8), new OreDictStack(CU.plate528(), 6), new ComparableStack(ModItems.tank_steel, 4), new ComparableStack(ModItems.hull_big_steel, 1), new ComparableStack(ModItems.coil_tungsten, 3), new ComparableStack(ModItems.circuit_copper, 2), new ComparableStack(ModItems.circuit_red_copper, 1), new ComparableStack(ModItems.plate_polymer, 8), },200);
Expand Down
49 changes: 27 additions & 22 deletions src/main/java/com/hbm/inventory/recipes/CokerRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.hbm.inventory.FluidStack;
import com.hbm.inventory.OreDictManager.DictFrame;
import com.hbm.inventory.fluid.FluidType;
import com.hbm.inventory.fluid.Fluids;
import com.hbm.inventory.fluid.trait.FT_Combustible;
import com.hbm.inventory.fluid.trait.FT_Flammable;
import com.hbm.inventory.recipes.loader.SerializableRecipe;
Expand All @@ -21,6 +20,7 @@
import com.hbm.items.machine.ItemFluidIcon;
import com.hbm.util.Tuple.Triplet;

import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;

public class CokerRecipes extends SerializableRecipe {
Expand All @@ -30,27 +30,32 @@ public class CokerRecipes extends SerializableRecipe {
@Override
public void registerDefaults() {

registerAuto(HEAVYOIL, Fluids.OIL_COKER);
registerAuto(HEAVYOIL_VACUUM, Fluids.REFORMATE);
registerAuto(COALCREOSOTE, Fluids.NAPHTHA_COKER);
registerAuto(WOODOIL, Fluids.NAPHTHA_COKER);
registerAuto(SMEAR, Fluids.OIL_COKER);
registerAuto(HEATINGOIL, Fluids.OIL_COKER);
registerAuto(HEATINGOIL_VACUUM, Fluids.OIL_COKER);
registerAuto(RECLAIMED, Fluids.NAPHTHA_COKER);
registerAuto(NAPHTHA, Fluids.NAPHTHA_COKER);
registerAuto(NAPHTHA_CRACK, Fluids.NAPHTHA_COKER);
registerAuto(DIESEL, Fluids.NAPHTHA_COKER);
registerAuto(DIESEL_REFORM, Fluids.NAPHTHA_COKER);
registerAuto(DIESEL_CRACK, Fluids.GAS_COKER);
registerAuto(DIESEL_CRACK_REFORM, Fluids.GAS_COKER);
registerAuto(LIGHTOIL, Fluids.GAS_COKER);
registerAuto(LIGHTOIL_CRACK, Fluids.GAS_COKER);
registerAuto(LIGHTOIL_VACUUM, Fluids.GAS_COKER);
registerAuto(BIOFUEL, Fluids.GAS_COKER);
registerAuto(AROMATICS, Fluids.GAS_COKER);
registerAuto(REFORMATE, Fluids.GAS_COKER);
registerAuto(XYLENE, Fluids.GAS_COKER);
registerAuto(HEAVYOIL, OIL_COKER);
registerAuto(HEAVYOIL_VACUUM, REFORMATE);
registerAuto(COALCREOSOTE, NAPHTHA_COKER);
registerAuto(SMEAR, OIL_COKER);
registerAuto(HEATINGOIL, OIL_COKER);
registerAuto(HEATINGOIL_VACUUM, OIL_COKER);
registerAuto(RECLAIMED, NAPHTHA_COKER);
registerAuto(NAPHTHA, NAPHTHA_COKER);
registerAuto(NAPHTHA_CRACK, NAPHTHA_COKER);
registerAuto(DIESEL, NAPHTHA_COKER);
registerAuto(DIESEL_REFORM, NAPHTHA_COKER);
registerAuto(DIESEL_CRACK, GAS_COKER);
registerAuto(DIESEL_CRACK_REFORM, GAS_COKER);
registerAuto(LIGHTOIL, GAS_COKER);
registerAuto(LIGHTOIL_CRACK, GAS_COKER);
registerAuto(LIGHTOIL_VACUUM, GAS_COKER);
registerAuto(BIOFUEL, GAS_COKER);
registerAuto(AROMATICS, GAS_COKER);
registerAuto(REFORMATE, GAS_COKER);
registerAuto(XYLENE, GAS_COKER);

registerSFAuto(WOODOIL, 340_000L, new ItemStack(Items.coal, 1, 1), GAS_COKER);

registerRecipe(WATZ, 4_000, new ItemStack(ModItems.ingot_mud, 4), null);
registerRecipe(BITUMEN, 16_000, DictFrame.fromOne(ModItems.coke, EnumCokeType.PETROLEUM), new FluidStack(OIL_COKER, 1_600));
registerRecipe(LUBRICANT, 12_000, DictFrame.fromOne(ModItems.coke, EnumCokeType.PETROLEUM), new FluidStack(OIL_COKER, 1_200));
}

private static void registerAuto(FluidType fluid, FluidType type) {
Expand Down
Loading

0 comments on commit 30e2fef

Please sign in to comment.