Added radius viewer functionality to the Manaseer Monocle.

This commit is contained in:
Lizbeth Rika committed 2015-03-31 16:59:36 +01:00
1 parent fe62632408
commit 0b945e1084
35 files changed
+592 -110

No files matched your search

@@ -152,6 +152,22 @@ public class SubTileEntity {
public ChunkCoordinates getBinding() {
return null;
}
/**
* Returns a descriptor for the radius of this sub tile. This is called while a player
* is looking at the block with a Manaseer Monocle (IBurstViewerBauble).
*/
@SideOnly(Side.CLIENT)
public RadiusDescriptor getRadius() {
return null;
}
/**
* Gets a ChunkCoordinates instance with the position of this sub tile.
*/
public ChunkCoordinates toChunkCoordinates() {
return new ChunkCoordinates(supertile.xCoord, supertile.yCoord, supertile.zCoord);
}
/**
* @see IWandBindable#canSelect(EntityPlayer, ItemStack, int, int, int, int)