diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/claybuckets/IguanaItems.java b/src/main/java/iguanaman/iguanatweakstconstruct/claybuckets/IguanaItems.java index d17438f..4633433 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/claybuckets/IguanaItems.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/claybuckets/IguanaItems.java @@ -38,7 +38,7 @@ public class IguanaItems { public void preInit(FMLPreInitializationEvent event) { Log.info("Adding Items"); - // unfired clay bucket is a regular prefix + // unfired clay bucket is a regular item clayBucketUnfired = new Item().setUnlocalizedName(Reference.prefix("clayBucketUnfired")).setTextureName(Reference.resource("clayBucketUnfired")).setMaxStackSize(16).setCreativeTab(CreativeTabs.tabMisc); GameRegistry.registerItem(clayBucketUnfired, "clayBucketUnfired"); diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/HarvestLevelTweaks.java b/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/HarvestLevelTweaks.java index b6dd4cb..eaecc79 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/HarvestLevelTweaks.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/HarvestLevelTweaks.java @@ -70,7 +70,7 @@ public abstract class HarvestLevelTweaks { // dense nether ore variants for (ItemStack oreStack : OreDictionary.getOres("denseoreNether" + materialName)) modifyBlock(oreStack, i); // full blocks (metal-blocks) - for (ItemStack oreStack : OreDictionary.getOres("prefix" + materialName)) modifyBlock(oreStack, i); + for (ItemStack oreStack : OreDictionary.getOres("block" + materialName)) modifyBlock(oreStack, i); // stone-ores? dunno which mod adds that. leave it in for compatibility for (ItemStack oreStack : OreDictionary.getOres("stone" + materialName)) modifyBlock(oreStack, i); // bricks from metallurgy diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/IguanaHarvestLevelTweaks.java b/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/IguanaHarvestLevelTweaks.java index 60c7988..4d7ce5a 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/IguanaHarvestLevelTweaks.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/harvestlevels/IguanaHarvestLevelTweaks.java @@ -31,7 +31,7 @@ import java.lang.reflect.Field; * Check the oreDictlevels to get an idea of what can be harvested with each tier. */ -@Pulse(id = Reference.PULSE_HARVESTTWEAKS, description = "Modify tool and prefix mining levels to create a tiered-ish progression") +@Pulse(id = Reference.PULSE_HARVESTTWEAKS, description = "Modify tool and item mining levels to create a tiered-ish progression") public class IguanaHarvestLevelTweaks { @SidedProxy(clientSide = "iguanaman.iguanatweakstconstruct.harvestlevels.proxy.HarvestClientProxy", serverSide = "iguanaman.iguanatweakstconstruct.harvestlevels.proxy.HarvestCommonProxy") public static HarvestCommonProxy proxy; diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/leveling/LevelingActiveToolMod.java b/src/main/java/iguanaman/iguanatweakstconstruct/leveling/LevelingActiveToolMod.java index b3b0488..ca00e2c 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/leveling/LevelingActiveToolMod.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/leveling/LevelingActiveToolMod.java @@ -28,7 +28,7 @@ public class LevelingActiveToolMod extends ActiveToolMod { if (!(entity instanceof EntityPlayer)) return false; // nope, you don't use an autonomous activator! if(entity instanceof FakePlayer) return false; - // why are you breaking this prefix with that tool! It's not a harvest tool derp! + // why are you breaking this block with that tool! It's not a harvest tool derp! if(!(tool instanceof HarvestTool)) return false; Block block = entity.worldObj.getBlock(x, y, z); @@ -49,11 +49,9 @@ public class LevelingActiveToolMod extends ActiveToolMod { strong = strength >= 1.0f; effective = harvestTool.isEffective(block.getMaterial()); - //Log.trace("Tool is [harvestable: '" + harvestable + "', effective: '" + effective + "', strong: '" + strong + "']"); - // only give xp if the use makes sense if(harvestable && effective && strong) - // TODO: maybe give xp depending on WHAT prefix was mined? (xp determined by hardness, if it was an ore, etc.) + // TODO: maybe give xp depending on WHAT block was mined? (xp determined by hardness, if it was an ore, etc.) LevelingLogic.addXP(stack, (EntityPlayer) entity, 1); return false; @@ -61,7 +59,7 @@ public class LevelingActiveToolMod extends ActiveToolMod { @Override public boolean afterBlockBreak() { - Log.debug("afterBlockBreak is implemented. Somebody tell me that so I can update xp giving."); + Log.info("afterBlockBreak is implemented. Somebody tell me that so I can update xp giving."); return super.afterBlockBreak(); } } diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/leveling/RandomBonuses.java b/src/main/java/iguanaman/iguanatweakstconstruct/leveling/RandomBonuses.java index 863cc11..58b425e 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/leveling/RandomBonuses.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/leveling/RandomBonuses.java @@ -24,9 +24,9 @@ import java.util.Map; /* todo: On doing stuff, add data what was done. Apply data to weights. Basically on action add an NBT tag that knows how much. - - Redstone: mining a regular prefix - - Luck: mining a prefix that drops stuff. Maybe miningan ore. Hitting an enemy (simply assume every enemy drops stuff for simplicity) - - autosmelt: ...hitting furnaces maybe? + - Redstone: mining a regular block + - Luck: mining a block that drops stuff. Maybe miningan ore. Hitting an enemy (simply assume every enemy drops stuff for simplicity) + - autosmelt: ...hitting furnaces maybe? No, digging blocks that are submerged in lava! :D - silktouch: nope. we don't a higher silktouch chance. - diamond: this is probably not useful enough to warrant an increased chance. leave it at base chance. - emerald: same as diamond diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/blocks/IguanaSkullBlock.java b/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/blocks/IguanaSkullBlock.java index 0365ff1..216f456 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/blocks/IguanaSkullBlock.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/blocks/IguanaSkullBlock.java @@ -25,7 +25,7 @@ public class IguanaSkullBlock extends BlockSkull { } /** - * Returns a new instance of a prefix's tile entity class. Called on placing the prefix. + * Returns a new instance of a block's tile entity class. Called on placing the block. */ @Override public TileEntity createNewTileEntity(World world, int metadata) diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/items/IguanaSkull.java b/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/items/IguanaSkull.java index 0168fe8..172b521 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/items/IguanaSkull.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/mobheads/items/IguanaSkull.java @@ -65,7 +65,7 @@ public class IguanaSkull extends ItemSkull { } /** - * Returns the unlocalized name of this prefix. This version accepts an ItemStack so different stacks can have + * Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have * different names based on their damage or NBT. */ @Override @@ -91,7 +91,7 @@ public class IguanaSkull extends ItemSkull { } /** - * Gets an icon index based on an prefix's damage value + * Gets an icon index based on an items's damage value */ @Override @SideOnly(Side.CLIENT) diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/old/IguanaConfig.java b/src/main/java/iguanaman/iguanatweakstconstruct/old/IguanaConfig.java index 4f3a806..5909dbc 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/old/IguanaConfig.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/old/IguanaConfig.java @@ -425,7 +425,7 @@ public class IguanaConfig { moreExpensiveSilkyCloth = moreExpensiveSilkyClothProperty.getBoolean(true); Property moreExpensiveSilkyJewelProperty = config.get("modifiers", "moreExpensiveSilkyJewel", true); - moreExpensiveSilkyJewelProperty.comment = "Silky Jewel needs emerald prefix, instead of one emerald"; + moreExpensiveSilkyJewelProperty.comment = "Silky Jewel needs emerald block, instead of one emerald"; moreExpensiveSilkyJewel = moreExpensiveSilkyJewelProperty.getBoolean(true); Property mossRepairSpeedProperty = config.get("modifiers", "mossRepairSpeed", 3); @@ -444,7 +444,7 @@ public class IguanaConfig { debugCategory.setComment("Debugging options"); Property logHarvestLevelChangesProperty = config.get("debug", "logHarvestLevelChanges", false); - logHarvestLevelChangesProperty.comment = "Outputs to the log when the harvest level of a prefix is changed"; + logHarvestLevelChangesProperty.comment = "Outputs to the log when the harvest level of a block is changed"; logHarvestLevelChanges = logHarvestLevelChangesProperty.getBoolean(false); Property logMiningLevelChangesProperty = config.get("debug", "logMiningLevelChanges", false); diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/reference/Config.java b/src/main/java/iguanaman/iguanatweakstconstruct/reference/Config.java index 2c62d28..3365904 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/reference/Config.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/reference/Config.java @@ -192,7 +192,7 @@ public class Config { showDebugXP = configfile.getBoolean("showDebugXP", CATEGORY_Debug, false, "Current Tool/Pick XP is shown as debug (F3) text"); - logHarvestLevelChanges = configfile.getBoolean("logBlockHarvestLevelChange", CATEGORY_Debug, true, "Logs when the harvest level of a prefix is changed"); + logHarvestLevelChanges = configfile.getBoolean("logBlockHarvestLevelChange", CATEGORY_Debug, true, "Logs when the harvest level of a block is changed"); logMiningLevelChanges = configfile.getBoolean("logToolMiningLevelChange", CATEGORY_Debug, true, "Logs when the mining level of a (non-tinker) tool is changed"); logToolMaterialChanges = configfile.getBoolean("logTinkerMaterialChange", CATEGORY_Debug, true, "Logs when the mining level of a tinkers tool material is changed"); diff --git a/src/main/java/iguanaman/iguanatweakstconstruct/replacing/ModPartReplacement.java b/src/main/java/iguanaman/iguanatweakstconstruct/replacing/ModPartReplacement.java index 057f259..3b5260a 100644 --- a/src/main/java/iguanaman/iguanatweakstconstruct/replacing/ModPartReplacement.java +++ b/src/main/java/iguanaman/iguanatweakstconstruct/replacing/ModPartReplacement.java @@ -123,7 +123,7 @@ public class ModPartReplacement extends ItemModifier { ToolRecipe recipe = findRecipe(tool); NBTTagCompound tags = itemStack.getTagCompound().getCompoundTag("InfiTool"); - // get prefix + // get item Item replacementPartItem = null; int partIndex = -1; for(int i = 0; i < parts.length; i++) {