@@ -9,8 +9,8 @@
|
||||
});
|
||||
public static final Containers<ContainerLoom> LOOM = a("loom", ContainerLoom::new);
|
||||
public static final Containers<ContainerMerchant> MERCHANT = a("merchant", ContainerMerchant::new);
|
||||
@@ -30,12 +30,17 @@
|
||||
private final Containers.Supplier<T> x;
|
||||
@@ -31,12 +31,17 @@
|
||||
private final Containers.Supplier<T> y;
|
||||
|
||||
private static <T extends Container> Containers<T> a(String s, Containers.Supplier<T> containers_supplier) {
|
||||
- return (Containers) IRegistry.a(IRegistry.MENU, s, (Object) (new Containers<>(containers_supplier)));
|
||||
@@ -18,7 +18,7 @@
|
||||
}
|
||||
|
||||
private Containers(Containers.Supplier<T> containers_supplier) {
|
||||
this.x = containers_supplier;
|
||||
this.y = containers_supplier;
|
||||
}
|
||||
|
||||
- interface Supplier<T extends Container> {}
|
||||
|
||||
Reference in New Issue
Block a user