mirror of
https://github.com/lukasabbe/bookshelf-inspector.git
synced 2026-04-30 10:40:53 +00:00
21 lines
497 B
Java
21 lines
497 B
Java
package me.lukasabbe.bookshelfinspector.data;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.util.math.BlockPos;
|
|
|
|
public class BookData {
|
|
public ItemStack itemStack;
|
|
public BlockPos pos;
|
|
public int slotId;
|
|
|
|
public BookData(ItemStack itemStack, BlockPos pos, int slotId) {
|
|
this.itemStack = itemStack;
|
|
this.pos = pos;
|
|
this.slotId = slotId;
|
|
}
|
|
|
|
public static BookData empty(){
|
|
return new BookData(ItemStack.EMPTY, null, -1);
|
|
}
|
|
}
|