deprecation annihilation
This commit is contained in:
@@ -158,10 +158,6 @@ public class Blocks{
|
||||
|
||||
;
|
||||
|
||||
/** @deprecated use the blocks with proper names */
|
||||
@Deprecated
|
||||
public static Block blockForge, blockLoader, blockUnloader;
|
||||
|
||||
public static void load(){
|
||||
//region environment
|
||||
|
||||
@@ -3746,11 +3742,7 @@ public class Blocks{
|
||||
consumes.power(2f);
|
||||
size = 3;
|
||||
}};
|
||||
|
||||
//deprecated, will be removed.
|
||||
blockForge = constructor;
|
||||
blockLoader = payloadLoader;
|
||||
blockUnloader = payloadUnloader;
|
||||
//annihilation
|
||||
|
||||
//endregion
|
||||
//region sandbox
|
||||
|
||||
@@ -70,19 +70,6 @@ public class TechTree{
|
||||
return context;
|
||||
}
|
||||
|
||||
/** @deprecated use {@link UnlockableContent#techNode} instead. */
|
||||
@Deprecated
|
||||
public static @Nullable TechNode get(UnlockableContent content){
|
||||
return content.techNode;
|
||||
}
|
||||
|
||||
/** @deprecated use {@link UnlockableContent#techNode} instead. */
|
||||
@Deprecated
|
||||
public static TechNode getNotNull(UnlockableContent content){
|
||||
if(content.techNode == null) throw new RuntimeException(content + " does not have a tech node");
|
||||
return content.techNode;
|
||||
}
|
||||
|
||||
public static class TechNode{
|
||||
/** Depth in tech tree. */
|
||||
public int depth;
|
||||
|
||||
Reference in New Issue
Block a user