mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-26 21:09:23 +01:00
Renamed bags like toast told me to
This commit is contained in:
parent
e4039d776e
commit
dca179fce4
3 changed files with 23 additions and 8 deletions
|
@ -16,6 +16,8 @@ import de.ellpeck.actuallyadditions.mod.blocks.base.ItemBlockBase;
|
|||
import de.ellpeck.actuallyadditions.mod.inventory.GuiHandler;
|
||||
import de.ellpeck.actuallyadditions.mod.proxy.ClientProxy;
|
||||
import de.ellpeck.actuallyadditions.mod.tile.TileEntityFurnaceDouble;
|
||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.SoundType;
|
||||
import net.minecraft.block.material.Material;
|
||||
|
@ -160,7 +162,7 @@ public class BlockFurnaceDouble extends BlockContainerBase{
|
|||
|
||||
@Override
|
||||
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced){
|
||||
tooltip.add(TextFormatting.ITALIC+"Previously Double Furnace");
|
||||
tooltip.add(TextFormatting.ITALIC+StringUtil.localize("tooltip."+ModUtil.MOD_ID+".previouslyDoubleFurnace"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@ import de.ellpeck.actuallyadditions.mod.inventory.GuiHandler.GuiTypes;
|
|||
import de.ellpeck.actuallyadditions.mod.items.base.ItemBase;
|
||||
import de.ellpeck.actuallyadditions.mod.tile.FilterSettings;
|
||||
import de.ellpeck.actuallyadditions.mod.util.ItemUtil;
|
||||
import de.ellpeck.actuallyadditions.mod.util.ModUtil;
|
||||
import de.ellpeck.actuallyadditions.mod.util.StringUtil;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.EnumRarity;
|
||||
|
@ -26,6 +28,7 @@ import net.minecraft.util.EnumActionResult;
|
|||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.EnumHand;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.text.TextFormatting;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.entity.player.EntityItemPickupEvent;
|
||||
|
@ -34,6 +37,8 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
|||
import net.minecraftforge.items.CapabilityItemHandler;
|
||||
import net.minecraftforge.items.IItemHandler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ItemBag extends ItemBase{
|
||||
|
||||
private final boolean isVoid;
|
||||
|
@ -48,6 +53,11 @@ public class ItemBag extends ItemBase{
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced){
|
||||
tooltip.add(TextFormatting.ITALIC+StringUtil.localize("tooltip."+ModUtil.MOD_ID+".previously"+(this.isVoid ? "VoidBag" : "Bag")));
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void onItemPickup(EntityItemPickupEvent event){
|
||||
EntityPlayer player = event.getEntityPlayer();
|
||||
|
|
|
@ -518,8 +518,8 @@ item.actuallyadditions.itemMiscBiomass.name=Biomass
|
|||
item.actuallyadditions.itemMiscBiocoal.name=Bio Coal
|
||||
item.actuallyadditions.itemPlayerProbe.name=Player Probe
|
||||
item.actuallyadditions.itemWorm.name=Worm
|
||||
item.actuallyadditions.itemBag.name=Bag
|
||||
item.actuallyadditions.itemVoidBag.name=Void Bag
|
||||
item.actuallyadditions.itemBag.name=Traveler's Sack
|
||||
item.actuallyadditions.itemVoidBag.name=Void Sack
|
||||
|
||||
#Tooltips
|
||||
tooltip.actuallyadditions.onSuffix.desc=On
|
||||
|
@ -557,6 +557,9 @@ tooltip.actuallyadditions.playerProbe.notice=Look out! Someone tried to probe yo
|
|||
tooltip.actuallyadditions.battery.discharge=Charging other items in inventory
|
||||
tooltip.actuallyadditions.battery.noDischarge=Not charging other items in inventory
|
||||
tooltip.actuallyadditions.battery.changeMode=Sneak-right-click to toggle.
|
||||
tooltip.actuallyadditions.previouslyDoubleFurnace=Previously "Double Furnace"
|
||||
tooltip.actuallyadditions.previouslyBag=Previously "Bag"
|
||||
tooltip.actuallyadditions.previouslyVoidBag=Previously "Void Bag"
|
||||
|
||||
#Gui Information
|
||||
info.actuallyadditions.gui.animals=Animals
|
||||
|
@ -635,8 +638,8 @@ container.actuallyadditions.rangedCollector.name=Ranged Collector
|
|||
container.actuallyadditions.miner.name=Vertical Digger
|
||||
container.actuallyadditions.laserRelayItemWhitelist.name=Laser Relay
|
||||
container.actuallyadditions.filter.name=Item Filter
|
||||
container.actuallyadditions.bag.name=Bag
|
||||
container.actuallyadditions.voidBag.name=Void Bag
|
||||
container.actuallyadditions.bag.name=Traveler's Sack
|
||||
container.actuallyadditions.voidBag.name=Void Sack
|
||||
|
||||
#Update Information
|
||||
info.actuallyadditions.update.generic=[{"text":"There is an Update for "},{"text":"Actually Additions ","color":"dark_green"},{"text":"available!","color":"none"}]
|
||||
|
@ -1013,9 +1016,9 @@ booklet.actuallyadditions.chapter.worms.name=Worms
|
|||
booklet.actuallyadditions.chapter.worms.text.1=The <item>Worms<r> are a pretty useful species. <n>They will, once <imp>placed down on dirt or grass<r>, help you <imp>till the land<r> around them in a 3x3 area and <imp>keep it wet<r>. <n>Additionally, they will help the crops <imp>grow faster<r> by making the ground nice and soft. <n><n><item>Worms<r> can be gotten by simply <imp>tilling grass<r> with a hoe.
|
||||
booklet.actuallyadditions.chapter.worms.text.2=<i>A worm at work
|
||||
|
||||
booklet.actuallyadditions.chapter.bags.name=Bag and Void Bag
|
||||
booklet.actuallyadditions.chapter.bags.text.1=<item>Bags<r> are an easy way to <imp>transport items around<r>, however, they have some additional functions. <n>First of all, in their GUI that is accessed by <imp>right-clicking<r>, they can be set to automatically <imp>suck up items on the ground<r>. Also, they have a couple of <imp>filter slots<r> where you can configure what can actually go into the bags. <n><n><item>Void Bags<r> have the same functionality as normal bags, however, they <imp>remove items<r> from the world instead of storing them.
|
||||
booklet.actuallyadditions.chapter.bags.text.2=Additionally, <item>Bags<r> can be, when filled up with a lot of items, <imp>right-clicked on a container<r> like a Chest or a <item>Storage Crate<r> to quickly <imp>move all of the items<r> in the bag into the chest.
|
||||
booklet.actuallyadditions.chapter.bags.name=Traveler's Sack and Void Sack
|
||||
booklet.actuallyadditions.chapter.bags.text.1=<item>Sacks<r> are an easy way to <imp>transport items around<r>, however, they have some additional functions. <n>First of all, in their GUI that is accessed by <imp>right-clicking<r>, they can be set to automatically <imp>suck up items on the ground<r>. Also, they have a couple of <imp>filter slots<r> where you can configure what can actually go into the sacks. <n><n><item>Void Sacks<r> have the same functionality as normal ones, however, they <imp>remove items<r> from the world instead of storing them.
|
||||
booklet.actuallyadditions.chapter.bags.text.2=Additionally, <item>Sacks<r> can be, when filled up with a lot of items, <imp>right-clicked on a container<r> like a Chest or a <item>Storage Crate<r> to quickly <imp>move all of the items<r> in the sack into the chest.
|
||||
|
||||
booklet.actuallyadditions.chapter.empowerer.name=Empowerer
|
||||
booklet.actuallyadditions.chapter.empowerer.text.1=The <item>Empowerer<r> is a mid-tier block that can be used to <imp>empower<r> crystals and other items. <n>To use it, items that should be empowered can be <imp>right-clicked onto the Empowerer<r>, and empowering items need to be placed on <item>Display Stands<r> that are <imp>two blocks away<r>, like seen in the <imp>picture on the next page<r>. <n>To then activate the process, <imp>every Display Stand needs to be powered with a lot of RF<r> that is then drained to empower the item on the Empowerer.
|
||||
|
|
Loading…
Reference in a new issue