Localizing and some CreativeTab Adding

This commit is contained in:
Ellpeck 2015-07-17 13:24:33 +02:00
parent 0585e703dc
commit f96b692fb8
3 changed files with 14 additions and 2 deletions

View file

@ -36,6 +36,7 @@ public class CreativeTab extends CreativeTabs{
add(InitBlocks.blockInputterAdvanced); add(InitBlocks.blockInputterAdvanced);
add(InitBlocks.blockPhantomBooster); add(InitBlocks.blockPhantomBooster);
add(InitBlocks.blockCoffeeMachine); add(InitBlocks.blockCoffeeMachine);
add(InitBlocks.blockXPSolidifier);
add(InitBlocks.blockGreenhouseGlass); add(InitBlocks.blockGreenhouseGlass);
add(InitBlocks.blockGrinder); add(InitBlocks.blockGrinder);
@ -86,12 +87,18 @@ public class CreativeTab extends CreativeTabs{
add(InitItems.itemDrillUpgradeFiveByFive); add(InitItems.itemDrillUpgradeFiveByFive);
add(InitItems.itemDrillUpgradeBlockPlacing); add(InitItems.itemDrillUpgradeBlockPlacing);
add(InitItems.itemBattery); add(InitItems.itemBattery);
add(InitItems.itemBatteryDouble);
add(InitItems.itemBatteryTriple);
add(InitItems.itemBatteryQuadruple);
add(InitItems.itemBatteryQuintuple);
add(InitItems.itemTeleStaff); add(InitItems.itemTeleStaff);
add(InitItems.itemPhantomConnector); add(InitItems.itemPhantomConnector);
add(InitItems.itemBucketCanolaOil); add(InitItems.itemBucketCanolaOil);
add(InitItems.itemBucketOil); add(InitItems.itemBucketOil);
add(InitItems.itemWingsOfTheBats);
add(InitItems.itemCoffeeSeed); add(InitItems.itemCoffeeSeed);
add(InitItems.itemCoffeeBean); add(InitItems.itemCoffeeBean);
add(InitItems.itemRiceSeed); add(InitItems.itemRiceSeed);

View file

@ -33,8 +33,7 @@ public class EntityLivingEvent{
//Wings allowing Flight //Wings allowing Flight
if(event.entityLiving instanceof EntityPlayer){ if(event.entityLiving instanceof EntityPlayer){
EntityPlayer player = (EntityPlayer)event.entityLiving; EntityPlayer player = (EntityPlayer)event.entityLiving;
ItemStack wings = ItemWingsOfTheBats.getWingItem(player); boolean wingsEquipped = ItemWingsOfTheBats.getWingItem(player) != null;
boolean wingsEquipped = wings != null;
//If Player isn't (really) winged //If Player isn't (really) winged
if(!ItemWingsOfTheBats.isPlayerWinged(player)){ if(!ItemWingsOfTheBats.isPlayerWinged(player)){

View file

@ -124,6 +124,12 @@ tooltip.actuallyadditions.blockMiscLavaFactoryCase.desc=Helps the Lava Factory C
tile.actuallyadditions.blockFluidPlacer.name=Fluid Placer tile.actuallyadditions.blockFluidPlacer.name=Fluid Placer
tooltip.actuallyadditions.blockFluidPlacer.desc=Places Fluids stored inside it tooltip.actuallyadditions.blockFluidPlacer.desc=Places Fluids stored inside it
item.actuallyadditions.itemWingsOfTheBats.name=Wings Of The Bats
tooltip.actuallyadditions.itemWingsOfTheBats.desc=Give you the ability to fly when they're in your Inventory..
item.actuallyadditions.itemMiscBatWing.name=Bat's Wing
tooltip.actuallyadditions.itemMiscBatWing.desc=A Wing dropped from a bat.. might be useful..
tooltip.actuallyadditions.paxel.desc.1=It's an All-In-One-Tool! tooltip.actuallyadditions.paxel.desc.1=It's an All-In-One-Tool!
tooltip.actuallyadditions.paxel.desc.2=Pickaxe, Axe, Shovel, Sword AND Hoe! In One Tool! tooltip.actuallyadditions.paxel.desc.2=Pickaxe, Axe, Shovel, Sword AND Hoe! In One Tool!
item.actuallyadditions.woodenPaxel.name=Wooden AIOT item.actuallyadditions.woodenPaxel.name=Wooden AIOT