cn.nukkit.inventory.FakeBlockMenu Maven / Gradle / Ivy
package cn.nukkit.inventory;
import cn.nukkit.level.Position;
/**
* @author MagicDroidX (Nukkit Project)
*/
public class FakeBlockMenu extends Position implements InventoryHolder {
private final Inventory inventory;
public FakeBlockMenu(Inventory inventory, Position pos) {
super(pos.x, pos.y, pos.z, pos.level);
this.inventory = inventory;
}
@Override
public Inventory getInventory() {
return inventory;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy