All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.inventory.FakeBlockMenu Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
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