public class CopyBookEvent
extends net.minecraftforge.eventbus.api.Event
Constructor and Description |
---|
CopyBookEvent(IBookHolder bookHolder,
net.minecraft.entity.player.PlayerEntity copier,
net.minecraft.util.Hand writingHand,
net.minecraft.item.ItemStack writingUtensil,
net.minecraft.item.DyeColor inkColor) |
Modifier and Type | Method and Description |
---|---|
IBookHolder |
getBookHolder() |
net.minecraft.entity.player.PlayerEntity |
getCopier() |
net.minecraft.item.DyeColor |
getInkColor() |
net.minecraft.util.Hand |
getWritingHand() |
net.minecraft.item.ItemStack |
getWritingUtensil() |
boolean |
isCopied() |
void |
setCopied(boolean copied) |
void |
useInk() |
public CopyBookEvent(IBookHolder bookHolder, net.minecraft.entity.player.PlayerEntity copier, net.minecraft.util.Hand writingHand, net.minecraft.item.ItemStack writingUtensil, net.minecraft.item.DyeColor inkColor)
public IBookHolder getBookHolder()
public net.minecraft.entity.player.PlayerEntity getCopier()
public net.minecraft.item.ItemStack getWritingUtensil()
public net.minecraft.item.DyeColor getInkColor()
public boolean isCopied()
public void setCopied(boolean copied)
public net.minecraft.util.Hand getWritingHand()
public void useInk()