Update IdConfig.java
This commit is contained in:
parent
33f3d6d8d0
commit
e65df9fbef
1 changed files with 0 additions and 20 deletions
|
@ -27,26 +27,6 @@ public class IdConfig extends Config {
|
||||||
return this.keyFactory.apply(id, key);
|
return this.keyFactory.apply(id, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
|
||||||
public IntegerEntry getIntEntry(Identifier id, String key) {
|
|
||||||
return this.getEntry(createKey(id, key), IntegerEntry.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
|
||||||
public FloatEntry getFloatEntry(Identifier id, String key) {
|
|
||||||
return this.getEntry(createKey(id, key), FloatEntry.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
|
||||||
public BooleanEntry getBoolEntry(Identifier id, String key) {
|
|
||||||
return this.getEntry(createKey(id, key), BooleanEntry.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
|
||||||
public StringEntry getStringEntry(Identifier id, String key) {
|
|
||||||
return this.getEntry(createKey(id, key), StringEntry.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public <T, E extends Entry<T>> E getEntry(Identifier id, String key, Class<E> type) {
|
public <T, E extends Entry<T>> E getEntry(Identifier id, String key, Class<E> type) {
|
||||||
return this.getEntry(createKey(id, key), type);
|
return this.getEntry(createKey(id, key), type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue