use of org.bukkit.craftbukkit.v.inventory.CraftInventoryView in project Arclight by IzzelAliz.
the class BeaconContainerMixin method getBukkitView.
@Override
public CraftInventoryView getBukkitView() {
if (bukkitEntity != null) {
return bukkitEntity;
}
CraftInventory inventory = new CraftInventoryBeacon(this.tileBeacon);
bukkitEntity = new CraftInventoryView(((PlayerEntityBridge) this.playerInventory.player).bridge$getBukkitEntity(), inventory, (Container) (Object) this);
return bukkitEntity;
}
Aggregations