use of org.lanternpowered.server.inventory.constructor.InventoryConstructorFactory in project LanternServer by LanternPowered.
the class CarriedInventoryTest method test.
@Test
public void test() {
final InventoryConstructorFactory factory = InventoryConstructorFactory.get();
final InventoryConstructor<LanternGridInventory> constructor = factory.getConstructor(LanternGridInventory.class);
System.out.println(constructor.construct(false).getClass().getName());
System.out.println(constructor.construct(true).getClass().getName());
}
Aggregations