forked from TheOriginalGolem/Hbm-s-Nuclear-Tech-GIT
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Radon Gas Mask Filter Added missing Actinium Fragment gathering Added rad resistant fluid ducts and cables Added oredict support to inferno coal Added uu mixer fluid blacklist/whitelist configs Added DFC fuel info to fluid tooltips Added upgrade slots to Fracking tower Added uranium block transmutation Added nullification upgrade to excavator Added bedrock ore support for oil detector Added 3 new advancements Changed plasma grenades to only destroy weak blocks Changed Tungsten Crate to be rad resistant Changed Gas mask filter to show more decimals and durability Changed some textures Fixed armor mod of other players not being rendered where the player is Fixed goggles clipping Fixed Bathwater mod not working Fixed effect upgrade assembler recipe Fixed hidden catalogue prices Fixed Small turret dmg being to high Fixed Gas Mask Filters not breaking Fixed Tungsten Crate gui not being hot Fixed NO_ID and NO_CONTAINER not working Fixed crude oil having unused temp Fixed potion effect of armors flickering Fixed survey scanner scan point distribution Fixed tau turret rotating off-axis Fixed Small reactor radblock scanning Fixed transmutation crash when input item is of count 1 Fixed bobmazon advanement triggers overlap Fixed missing blockstates and models Fixed solid fluid duct not showing extraction mode Fixed scaffold texture Fixed schrabidium armor texture
- Loading branch information
1 parent
0f139dd
commit 298a341
Showing
136 changed files
with
1,306 additions
and
971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/main/java/com/hbm/blocks/generic/BlockStorageCrateRadResistant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package com.hbm.blocks.generic; | ||
|
||
import java.util.List; | ||
|
||
import com.hbm.handler.RadiationSystemNT; | ||
import com.hbm.interfaces.IRadResistantBlock; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.block.state.IBlockState; | ||
import net.minecraft.client.util.ITooltipFlag; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.world.World; | ||
|
||
public class BlockStorageCrateRadResistant extends BlockStorageCrate implements IRadResistantBlock { | ||
|
||
public BlockStorageCrateRadResistant(Material materialIn, String s) { | ||
super(materialIn, s); | ||
} | ||
|
||
@Override | ||
public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { | ||
RadiationSystemNT.markChunkForRebuild(worldIn, pos); | ||
super.onBlockAdded(worldIn, pos, state); | ||
} | ||
|
||
@Override | ||
public void breakBlock(World worldIn, BlockPos pos, IBlockState state) { | ||
RadiationSystemNT.markChunkForRebuild(worldIn, pos); | ||
super.breakBlock(worldIn, pos, state); | ||
} | ||
|
||
@Override | ||
public boolean isRadResistant(World worldIn, BlockPos blockPos){ | ||
return true; | ||
} | ||
|
||
@Override | ||
public void addInformation(ItemStack stack, World player, List<String> tooltip, ITooltipFlag advanced) { | ||
super.addInformation(stack, player, tooltip, advanced); | ||
tooltip.add("§2[Radiation Shielding]§r"); | ||
float hardness = this.getExplosionResistance(null); | ||
if(hardness > 50){ | ||
tooltip.add("§6Blast Resistance: "+hardness+"§r"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/main/java/com/hbm/blocks/network/BlockFluidPipeSolidRadResistant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package com.hbm.blocks.network; | ||
|
||
import java.util.List; | ||
|
||
import com.hbm.handler.RadiationSystemNT; | ||
import com.hbm.interfaces.IRadResistantBlock; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.block.state.IBlockState; | ||
import net.minecraft.client.util.ITooltipFlag; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.world.World; | ||
|
||
public class BlockFluidPipeSolidRadResistant extends BlockFluidPipeSolid implements IRadResistantBlock { | ||
|
||
public BlockFluidPipeSolidRadResistant(Material materialIn, String s) { | ||
super(materialIn, s); | ||
} | ||
|
||
@Override | ||
public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { | ||
RadiationSystemNT.markChunkForRebuild(worldIn, pos); | ||
super.onBlockAdded(worldIn, pos, state); | ||
} | ||
|
||
@Override | ||
public void breakBlock(World worldIn, BlockPos pos, IBlockState state) { | ||
RadiationSystemNT.markChunkForRebuild(worldIn, pos); | ||
super.breakBlock(worldIn, pos, state); | ||
} | ||
|
||
@Override | ||
public boolean isRadResistant(World worldIn, BlockPos blockPos){ | ||
return true; | ||
} | ||
|
||
@Override | ||
public void addInformation(ItemStack stack, World player, List<String> tooltip, ITooltipFlag advanced) { | ||
super.addInformation(stack, player, tooltip, advanced); | ||
tooltip.add("§2[Radiation Shielding]§r"); | ||
float hardness = this.getExplosionResistance(null); | ||
if(hardness > 50){ | ||
tooltip.add("§6Blast Resistance: "+hardness+"§r"); | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
src/main/java/com/hbm/blocks/network/energy/WireCoatedRadResistant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package com.hbm.blocks.network.energy; | ||
|
||
import java.util.List; | ||
|
||
import com.hbm.handler.RadiationSystemNT; | ||
import com.hbm.interfaces.IRadResistantBlock; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.block.state.IBlockState; | ||
import net.minecraft.client.util.ITooltipFlag; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.world.World; | ||
|
||
public class WireCoatedRadResistant extends WireCoated implements IRadResistantBlock { | ||
|
||
public WireCoatedRadResistant(Material materialIn, String s) { | ||
super(materialIn, s); | ||
} | ||
|
||
@Override | ||
public void onBlockAdded(World worldIn, BlockPos pos, IBlockState state) { | ||
RadiationSystemNT.markChunkForRebuild(worldIn, pos); | ||
super.onBlockAdded(worldIn, pos, state); | ||
} | ||
|
||
@Override | ||
public void breakBlock(World worldIn, BlockPos pos, IBlockState state) { | ||
RadiationSystemNT.markChunkForRebuild(worldIn, pos); | ||
super.breakBlock(worldIn, pos, state); | ||
} | ||
|
||
@Override | ||
public boolean isRadResistant(World worldIn, BlockPos blockPos){ | ||
return true; | ||
} | ||
|
||
@Override | ||
public void addInformation(ItemStack stack, World player, List<String> tooltip, ITooltipFlag advanced) { | ||
super.addInformation(stack, player, tooltip, advanced); | ||
tooltip.add("§2[Radiation Shielding]§r"); | ||
float hardness = this.getExplosionResistance(null); | ||
if(hardness > 50){ | ||
tooltip.add("§6Blast Resistance: "+hardness+"§r"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.