mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Added back the addTextReplacement thing :v
This commit is contained in:
parent
b667b1a257
commit
83eb47787f
3 changed files with 7 additions and 2 deletions
|
@ -31,7 +31,7 @@ public final class ActuallyAdditionsAPI{
|
|||
|
||||
public static final String MOD_ID = "actuallyadditions";
|
||||
public static final String API_ID = MOD_ID+"api";
|
||||
public static final String API_VERSION = "27";
|
||||
public static final String API_VERSION = "28";
|
||||
|
||||
public static final List<CrusherRecipe> CRUSHER_RECIPES = new ArrayList<CrusherRecipe>();
|
||||
public static final List<BallOfFurReturn> BALL_OF_FUR_RETURN_ITEMS = new ArrayList<BallOfFurReturn>();
|
||||
|
|
|
@ -58,4 +58,8 @@ public interface IBookletPage{
|
|||
boolean shouldBeOnLeftSide();
|
||||
|
||||
String getIdentifier();
|
||||
|
||||
IBookletPage addTextReplacement(String key, String value);
|
||||
|
||||
IBookletPage addTextReplacement(String key, float value);
|
||||
}
|
||||
|
|
|
@ -156,12 +156,13 @@ public class BookletPage implements IBookletPage{
|
|||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BookletPage addTextReplacement(String key, String value){
|
||||
this.textReplacements.put(key, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public BookletPage addTextReplacement(String key, float value){
|
||||
return this.addTextReplacement(key, Float.toString(value));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue