mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
whatever
This commit is contained in:
parent
0c71bb1a42
commit
315bb8d449
16
changelog
16
changelog
@ -1,15 +1,9 @@
|
|||||||
## Changed
|
## Changed
|
||||||
* Updated chinese localization
|
* Updated chinese localization
|
||||||
* Due to the HTR-01 being incompatible with the new launch pad, it is no longer craftable and is being retired
|
* Tweaked super shotgun animations, added config for changing the animation style
|
||||||
* Any remaining rockets can be crafted into a Soyuz
|
* The benelli now has reloading animations and the drum mag as advertised
|
||||||
* All Soyuz launcher components now have double the yield in crafting recipes, making the launcher half as expensive
|
* Tom will now explode close to bedrock even when not hitting a block
|
||||||
* There is now a config for disabling fluid container oredict (i.e. anything with the "container" prefix) which also disables TrainCraft diesel compatibility
|
|
||||||
* Silo structures now spawn with launch pads again
|
|
||||||
* This is strictly speaking a progression skip since silo launch pads are post vacuum oil, the structure will be overhauled soon
|
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
* Fixed missile loading process being skipped when a new missile is inserted in the same tick as the launch pad is triggered
|
* Fixed the structure toggle on the world creation screen not working correctly on most world types
|
||||||
* Fixed super shotgun's centered model causing it to permanently have the ironsights accuracy bonus
|
* Fixed antiknock having a broken sprite and localization
|
||||||
* The shield bar now renders as part of the armor HUD (but still below it), which should fix the issue of the bar not rendering with Tinker's Construct installed for good
|
|
||||||
* Fixed launch pad redstone interaction breaking after the first time the redstone state changes
|
|
||||||
* Fallout layers now use the sand material, fixing an issue where grass blocks with fallout on top look snowy
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ public class EntityTom extends EntityThrowable {
|
|||||||
|
|
||||||
motionY = -0.5;
|
motionY = -0.5;
|
||||||
|
|
||||||
if(this.worldObj.getBlock((int) this.posX, (int) this.posY, (int) this.posZ) != Blocks.air) {
|
if(this.worldObj.getBlock((int) this.posX, (int) this.posY, (int) this.posZ) != Blocks.air || this.posY < 10) {
|
||||||
if(!this.worldObj.isRemote) {
|
if(!this.worldObj.isRemote) {
|
||||||
EntityTomBlast tom = new EntityTomBlast(worldObj);
|
EntityTomBlast tom = new EntityTomBlast(worldObj);
|
||||||
tom.posX = posX;
|
tom.posX = posX;
|
||||||
|
|||||||
@ -3313,7 +3313,7 @@ public class ModItems {
|
|||||||
thermo_element = new Item().setUnlocalizedName("thermo_element").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":thermo_element");
|
thermo_element = new Item().setUnlocalizedName("thermo_element").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":thermo_element");
|
||||||
catalytic_converter = new Item().setUnlocalizedName("catalytic_converter").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":catalytic_converter");
|
catalytic_converter = new Item().setUnlocalizedName("catalytic_converter").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":catalytic_converter");
|
||||||
|
|
||||||
fuel_additive = new ItemEnumMulti(ItemEnums.EnumFuelAdditive.class, true, true).setUnlocalizedName("antiknock").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":antiknock");
|
fuel_additive = new ItemEnumMulti(ItemEnums.EnumFuelAdditive.class, true, true).setUnlocalizedName("fuel_additive").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":fuel_additive");
|
||||||
|
|
||||||
canister_empty = new ItemCustomLore().setUnlocalizedName("canister_empty").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":canister_empty");
|
canister_empty = new ItemCustomLore().setUnlocalizedName("canister_empty").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":canister_empty");
|
||||||
canister_full = new ItemCanister().setUnlocalizedName("canister_full").setCreativeTab(MainRegistry.controlTab).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_empty");
|
canister_full = new ItemCanister().setUnlocalizedName("canister_full").setCreativeTab(MainRegistry.controlTab).setContainerItem(ModItems.canister_empty).setTextureName(RefStrings.MODID + ":canister_empty");
|
||||||
|
|||||||
@ -49,7 +49,6 @@ import net.minecraft.world.biome.BiomeGenForest;
|
|||||||
import net.minecraft.world.biome.BiomeGenJungle;
|
import net.minecraft.world.biome.BiomeGenJungle;
|
||||||
import net.minecraft.world.biome.BiomeGenRiver;
|
import net.minecraft.world.biome.BiomeGenRiver;
|
||||||
import net.minecraft.world.chunk.IChunkProvider;
|
import net.minecraft.world.chunk.IChunkProvider;
|
||||||
import net.minecraft.world.gen.ChunkProviderFlat;
|
|
||||||
import net.minecraft.world.gen.feature.WorldGenMinable;
|
import net.minecraft.world.gen.feature.WorldGenMinable;
|
||||||
import net.minecraftforge.common.util.ForgeDirection;
|
import net.minecraftforge.common.util.ForgeDirection;
|
||||||
import cpw.mods.fml.common.IWorldGenerator;
|
import cpw.mods.fml.common.IWorldGenerator;
|
||||||
@ -218,13 +217,8 @@ public class HbmWorldGen implements IWorldGenerator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean enableDungeons = true;
|
boolean enableDungeons = world.getWorldInfo().isMapFeaturesEnabled();
|
||||||
|
|
||||||
if(world.getChunkProvider() instanceof ChunkProviderFlat) {
|
|
||||||
ChunkProviderFlat provider = (ChunkProviderFlat) world.getChunkProvider();
|
|
||||||
enableDungeons = provider.hasDungeons;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(GeneralConfig.enableDungeons && world.provider.dimensionId == 0 && enableDungeons) {
|
if(GeneralConfig.enableDungeons && world.provider.dimensionId == 0 && enableDungeons) {
|
||||||
|
|
||||||
if(MobConfig.enableHives && rand.nextInt(MobConfig.hiveSpawn) == 0) {
|
if(MobConfig.enableHives && rand.nextInt(MobConfig.hiveSpawn) == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user