use of net.mcft.copy.betterstorage.attachment.Attachment in project BetterStorage by copygirl.
the class ClientProxy method getAttachmentPointsHighlightBox.
private AxisAlignedBB getAttachmentPointsHighlightBox(EntityPlayer player, TileEntity tileEntity, MovingObjectPosition target) {
Attachments attachments = ((IHasAttachments) tileEntity).getAttachments();
Attachment attachment = attachments.get(target.subHit);
if (attachment == null)
return null;
return attachment.getHighlightBox();
}
Aggregations