Fix some invalid documantation

This commit is contained in:
Blue (Lukas Rieger) 2020-01-06 13:09:11 +01:00
parent b15fc534e6
commit 3e87768d25
2 changed files with 2 additions and 7 deletions

View File

@ -71,7 +71,6 @@ public class HiresModelManager {
/**
* Renders the given world tile with the provided render-settings
* @throws ChunkNotGeneratedException if a minecraft-chunk needed for thies tile is not yet generated
*/
public HiresModel render(WorldTile tile, RenderSettings renderSettings) {
HiresModel model = renderer.render(tile, getTileRegion(tile), renderSettings);

View File

@ -57,16 +57,12 @@ public interface World {
}
/**
* Returns the Block on the specified position.<br>
* <br>
* <i>(The implementation should not invoke the generation of new Terrain, it should rather throw a {@link ChunkNotGeneratedException} if a not generated block is requested)</i><br>
* Returns the Block on the specified position or an air-block if the block is not generated yet.
*/
Block getBlock(Vector3i pos);
/**
* Returns the Block on the specified position.<br>
* <br>
* <i>(The implementation should not invoke the generation of new Terrain, it should rather throw a {@link ChunkNotGeneratedException} if a not generated block is requested)</i><br>
* Returns the Block on the specified position or an air-block if the block is not generated yet.
*/
default Block getBlock(int x, int y, int z) {
return getBlock(new Vector3i(x, y, z));