i'm creekflow (crashes into a mcdonalds drive thru)

This commit is contained in:
Bob 2025-10-21 23:09:30 +02:00
parent 38cd74536d
commit cde2d39631
5 changed files with 6 additions and 5 deletions

View File

@ -58,6 +58,7 @@
* PWR parts are now subject to expensive mode * PWR parts are now subject to expensive mode
* Fluid container items now keep their custom name when filling or emptying * Fluid container items now keep their custom name when filling or emptying
* Pneumatic tube endpoints now have a GUI that allows filters to be defined * Pneumatic tube endpoints now have a GUI that allows filters to be defined
* Fortune on drillbits affects the bedrock ore yield now, with each level of fortune adding 25%
## Fixed ## Fixed
* Fixed the T-51b set not having radiation resistance * Fixed the T-51b set not having radiation resistance

View File

@ -1,6 +1,6 @@
mod_version=1.0.27 mod_version=1.0.27
# Empty build number makes a release type # Empty build number makes a release type
mod_build_number=5467 mod_build_number=5490
credits=HbMinecraft,\ credits=HbMinecraft,\
\ rodolphito (explosion algorithms),\ \ rodolphito (explosion algorithms),\

View File

@ -26,7 +26,7 @@ public class ItemBedrockOreBase extends Item {
public void getSubItems(Item item, CreativeTabs tab, List list) { public void getSubItems(Item item, CreativeTabs tab, List list) {
ItemStack ore = new ItemStack(item); ItemStack ore = new ItemStack(item);
EntityPlayer player = MainRegistry.proxy.me(); EntityPlayer player = MainRegistry.proxy.me();
if(player != null) setOreAmount(ore, (int) Math.floor(player.posX), (int) Math.floor(player.posZ)); if(player != null) setOreAmount(ore, (int) Math.floor(player.posX), (int) Math.floor(player.posZ), 1D);
list.add(ore); list.add(ore);
} }
@ -36,7 +36,7 @@ public class ItemBedrockOreBase extends Item {
return data.getDouble(type.suffix); return data.getDouble(type.suffix);
} }
public static void setOreAmount(ItemStack stack, int x, int z) { public static void setOreAmount(ItemStack stack, int x, int z, double mult) {
if(!stack.hasTagCompound()) stack.stackTagCompound = new NBTTagCompound(); if(!stack.hasTagCompound()) stack.stackTagCompound = new NBTTagCompound();
NBTTagCompound data = stack.getTagCompound(); NBTTagCompound data = stack.getTagCompound();

View File

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

View File

@ -334,7 +334,7 @@ public class TileEntityMachineExcavator extends TileEntityMachineBase implements
stacks.add(stack); stacks.add(stack);
if(stack.getItem() == ModItems.bedrock_ore_base) { if(stack.getItem() == ModItems.bedrock_ore_base) {
ItemBedrockOreBase.setOreAmount(stack, pos.getX(), pos.getZ()); ItemBedrockOreBase.setOreAmount(stack, pos.getX(), pos.getZ(), 1D + this.getInstalledDrill().fortune * 0.25D);
} }
ForgeDirection dir = ForgeDirection.getOrientation(this.getBlockMetadata() - 10); ForgeDirection dir = ForgeDirection.getOrientation(this.getBlockMetadata() - 10);