use of io.github.bananapuncher714.crafters.implementation.api.PublicCraftingInventory in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_18_R1 method remove.
@Override
public void remove(Location location) {
if (benches.containsKey(location)) {
PublicCraftingInventory bench = benches.get(location);
bench.remove();
benches.remove(location);
}
}
use of io.github.bananapuncher714.crafters.implementation.api.PublicCraftingInventory in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_17_1 method remove.
@Override
public void remove(Location location) {
if (benches.containsKey(location)) {
PublicCraftingInventory bench = benches.get(location);
bench.remove();
benches.remove(location);
}
}
use of io.github.bananapuncher714.crafters.implementation.api.PublicCraftingInventory in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_17_R1 method remove.
@Override
public void remove(Location location) {
if (benches.containsKey(location)) {
PublicCraftingInventory bench = benches.get(location);
bench.remove();
benches.remove(location);
}
}
use of io.github.bananapuncher714.crafters.implementation.api.PublicCraftingInventory in project PublicCrafters by BananaPuncher714.
the class CustomInventoryCrafting method move.
@Override
public PublicCraftingInventory move(Location location) {
display.stop();
if (manager.get(bloc) == this) {
manager.benches.remove(bloc);
}
bloc = location;
CustomInventoryCrafting whatsHere = manager.put(location, this);
display = new CraftDisplay(this);
display.update();
return whatsHere;
}
use of io.github.bananapuncher714.crafters.implementation.api.PublicCraftingInventory in project PublicCrafters by BananaPuncher714.
the class ContainerManager_v1_9_R2 method remove.
@Override
public void remove(Location location) {
if (benches.containsKey(location)) {
PublicCraftingInventory bench = benches.get(location);
bench.remove();
benches.remove(location);
}
}
Aggregations