Add tooltip for ore generation depths.
Will only work in SP for now, will need to create a packet to send the data from the server.
This commit is contained in:
parent
5ce0881f56
commit
27c684d376
4 changed files with 87 additions and 5 deletions
src/main/java/techreborn/init
|
@ -432,10 +432,14 @@ public class TRContent {
|
|||
return block.asItem();
|
||||
}
|
||||
|
||||
public TRContent.Ores getDeeplate() {
|
||||
Preconditions.checkArgument(!name.startsWith("deepslate_"));
|
||||
public TRContent.Ores getDeepslate() {
|
||||
Preconditions.checkArgument(!isDeepslate());
|
||||
return deepslateMap.get(this);
|
||||
}
|
||||
|
||||
public boolean isDeepslate() {
|
||||
return name.startsWith("deepslate_");
|
||||
}
|
||||
}
|
||||
|
||||
public enum StorageBlocks implements ItemConvertible {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue