mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 16:58:34 +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.event.entity.player.ItemTooltipEvent;
|
||||||
import net.minecraftforge.oredict.OreDictionary;
|
import net.minecraftforge.oredict.OreDictionary;
|
||||||
|
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
public class TooltipEvent{
|
public class TooltipEvent{
|
||||||
|
|
||||||
private static final String TEXT_PRE = StringUtil.GRAY+" ";
|
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(HEADER_PRE+StringUtil.localize("tooltip."+ModUtil.MOD_ID_LOWER+".unlocName.desc")+":");
|
||||||
event.toolTip.add(TEXT_PRE+metaName);
|
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{
|
else{
|
||||||
if(ConfigBoolValues.CTRL_INFO_FOR_EXTRA_INFO.isEnabled()){
|
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.codeName.desc=Code Name
|
||||||
tooltip.actuallyadditions.baseUnlocName.desc=Item's Unlocalized Name
|
tooltip.actuallyadditions.baseUnlocName.desc=Item's Unlocalized Name
|
||||||
tooltip.actuallyadditions.unlocName.desc=Meta'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
|
tile.actuallyadditions.blockXPSolidifier.name=Experience Solidifier
|
||||||
tooltip.actuallyadditions.blockXPSolidifier.desc.1=Turns a Player's Experience into Solidified Experience!
|
tooltip.actuallyadditions.blockXPSolidifier.desc.1=Turns a Player's Experience into Solidified Experience!
|
||||||
|
|
Loading…
Reference in a new issue