test fluid ducts, hazard tweaks

This commit is contained in:
Bob 2022-03-27 21:50:29 +02:00
parent d517d665df
commit 6e3f40f0d2
6 changed files with 13 additions and 12 deletions

View File

@ -153,23 +153,18 @@ public class HazardRegistry {
HazardSystem.register(Items.pumpkin_pie, makeData(EXPLOSIVE, 1F));
HazardSystem.register(ball_dynamite, makeData(EXPLOSIVE, 2F));
HazardSystem.register(ball_tnt, makeData(EXPLOSIVE, 3F));
HazardSystem.register(ingot_semtex, makeData(EXPLOSIVE, 5F));
HazardSystem.register(ingot_c4, makeData(EXPLOSIVE, 5F));
HazardSystem.register(stick_dynamite, makeData(EXPLOSIVE, 1F));
HazardSystem.register(stick_tnt, makeData(EXPLOSIVE, 1.5F));
HazardSystem.register(stick_semtex, makeData(EXPLOSIVE, 2.5F));
HazardSystem.register(stick_c4, makeData(EXPLOSIVE, 2.5F));
HazardSystem.register(cordite, makeData(EXPLOSIVE, 2F));
HazardSystem.register(ballistite, makeData(EXPLOSIVE, 1F));
HazardSystem.register("dustCoal", makeData(COAL, powder));
HazardSystem.register("dustTinyCoal", makeData(COAL, powder_tiny));
HazardSystem.register("dustLignite", makeData(COAL, powder));
HazardSystem.register("dustTinyLignite", makeData(COAL, powder_tiny));
HazardSystem.register(block_semtex, makeData(EXPLOSIVE, 25F));
HazardSystem.register(block_c4, makeData(EXPLOSIVE, 25F));
HazardSystem.register(cordite, makeData(EXPLOSIVE, 2F));
HazardSystem.register(ballistite, makeData(EXPLOSIVE, 1F));
HazardSystem.register(insert_polonium, makeData(RADIATION, 100F));

View File

@ -3,7 +3,7 @@ package com.hbm.lib;
public class RefStrings {
public static final String MODID = "hbm";
public static final String NAME = "Hbm's Nuclear Tech Mod";
public static final String VERSION = "1.0.27 BETA (4179)";
public static final String VERSION = "1.0.27 BETA (4186)";
//HBM's Beta Naming Convention:
//V T (X)
//V -> next release version

View File

@ -23,6 +23,8 @@ public class RenderTNTPrimedBase extends Render {
public void doRender(EntityTNTPrimedBase tnt, double x, double y, double z, float f0, float f1) {
GL11.glPushMatrix();
GL11.glTranslatef((float) x, (float) y, (float) z);
GL11.glRotatef(-90F, 0F, 1F, 0F);
float f2;
if((float) tnt.fuse - f1 + 1.0F < 10.0F) {

View File

@ -75,7 +75,11 @@ public class TileEntityPipeBaseNT extends TileEntity implements IFluidConductor
@Override
public long transferFluid(FluidType type, long fluid) {
return 0;
if(this.network == null)
return fluid;
return this.network.transferFluid(fluid);
}
@Override

View File

@ -1839,7 +1839,7 @@ item.ingot_am241.name=Americium-241 Ingot
item.ingot_am242.name=Americium-242 Ingot
item.ingot_americium_fuel.name=Ingot of Americium Fuel
item.ingot_asbestos.name=Asbestos Sheet
item.ingot_asbestos.desc=§o\"Filled with life, self-doubt and asbestos. That comes with the air.\"§r
item.ingot_asbestos.desc=§o"Filled with life, self-doubt and asbestos. That comes with the air."§r
item.ingot_au198.name=Gold-198 Ingot
item.ingot_australium.name=Australium Ingot
item.ingot_bakelite.name=Bakelite Bar

View File

@ -3,7 +3,7 @@
"modid": "hbm",
"name": "Hbm's Nuclear Tech",
"description": "A mod that adds weapons, nuclear themed stuff and machines",
"version":"1.0.27_X4179",
"version":"1.0.27_X4186",
"mcversion": "1.7.10",
"url": "",
"updateUrl": "",