code: public static <T> T getTileEntity(Class<T> clazz, IBlockAccess world, BlockPos pos)
  	{
  		if (world == null)
  			return null;
  
  		TileEntity te = world.getTileEntity(pos);
  		return te != null && clazz.isAssignableFrom(te.getClass()) ? Silenced.get(() -> clazz.cast(te)) : null;
  	}
docs: Gets the {@link TileEntity} of type <b>T</b> at the specified {@link BlockPos}.<br>
  If no <code>TileEntity</code> was found at the coordinates, or if the <code>TileEntity</code> is not of type <b>T</b>, returns
  <code>null</code> instead.
  
  @param <T> type of TileEntity requested
  @param clazz the class of the TileEntity
  @param world the world
  @param pos the pos
  @return the tile entity at the coordinates, or null if no tile entity, or not of type T