This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am attempting to make a chest like item and this is one of my biggest problems
public boolean canInteractWith(EntityPlayer playerIn) {
return this.tileentity.isUsableByPlayer(playerIn);
}
the isUsableByPlayer is IInventory and I have been told to avoid that at all costs
I am attempting to make a chest like item and this is one of my biggest problems
public boolean canInteractWith(EntityPlayer playerIn) {
public boolean canInteractWith(EntityPlayer playerIn) {
return this.tileentity.isUsableByPlayer(playerIn);
}
}
the isUsableByPlayer is IInventory and I have been told to avoid that at all costs