mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Added something to the stuff with the guff
This commit is contained in:
parent
d89bfe8cb1
commit
c522477177
2 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,8 @@ import net.minecraft.item.Item;
|
|||
import net.minecraftforge.event.entity.player.ItemTooltipEvent;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public class TooltipEvent{
|
||||
|
||||
private static final String TEXT_PRE = StringUtil.GRAY+" ";
|
||||
|
@ -50,6 +52,11 @@ public class TooltipEvent{
|
|||
event.toolTip.add(HEADER_PRE+StringUtil.localize("tooltip."+ModUtil.MOD_ID_LOWER+".unlocName.desc")+":");
|
||||
event.toolTip.add(TEXT_PRE+metaName);
|
||||
}
|
||||
|
||||
//Disabling Info
|
||||
for(String str : StringUtil.localize("tooltip."+ModUtil.MOD_ID_LOWER+".disablingInfo.desc").split(Pattern.quote("|"))){
|
||||
event.toolTip.add(StringUtil.ITALIC+str);
|
||||
}
|
||||
}
|
||||
else{
|
||||
if(ConfigBoolValues.CTRL_INFO_FOR_EXTRA_INFO.isEnabled()){
|
||||
|
|
|
@ -419,6 +419,7 @@ tooltip.actuallyadditions.noOredictNameAvail.desc=None
|
|||
tooltip.actuallyadditions.codeName.desc=Code Name
|
||||
tooltip.actuallyadditions.baseUnlocName.desc=Item's Unlocalized Name
|
||||
tooltip.actuallyadditions.unlocName.desc=Meta's Unlocalized Name
|
||||
tooltip.actuallyadditions.disablingInfo.desc=If you don't want this Information |to appear, disable it in the |Actually Additions Config!
|
||||
|
||||
tile.actuallyadditions.blockXPSolidifier.name=Experience Solidifier
|
||||
tooltip.actuallyadditions.blockXPSolidifier.desc.1=Turns a Player's Experience into Solidified Experience!
|
||||
|
|
Loading…
Reference in a new issue