Search in sources :

Example 1 with CraftInventoryCartography

use of org.bukkit.craftbukkit.v.inventory.CraftInventoryCartography in project Arclight by IzzelAliz.

the class CartographyContainerMixin method getBukkitView.

@Override
public CraftInventoryView getBukkitView() {
    if (bukkitEntity != null) {
        return bukkitEntity;
    }
    CraftInventoryCartography inventory = new CraftInventoryCartography(this.tableInventory, this.field_217001_f);
    bukkitEntity = new CraftInventoryView(this.player, inventory, (Container) (Object) this);
    return bukkitEntity;
}
Also used : CartographyContainer(net.minecraft.inventory.container.CartographyContainer) Container(net.minecraft.inventory.container.Container) CraftInventoryView(org.bukkit.craftbukkit.v.inventory.CraftInventoryView) CraftInventoryCartography(org.bukkit.craftbukkit.v.inventory.CraftInventoryCartography)

Aggregations

CartographyContainer (net.minecraft.inventory.container.CartographyContainer)1 Container (net.minecraft.inventory.container.Container)1 CraftInventoryCartography (org.bukkit.craftbukkit.v.inventory.CraftInventoryCartography)1 CraftInventoryView (org.bukkit.craftbukkit.v.inventory.CraftInventoryView)1