Interface Block.Getter

All Known Subinterfaces:
ChunkSnapshot, InstanceSnapshot
All Known Implementing Classes:
Chunk, ChunkCache, DynamicChunk, Instance, InstanceContainer, LightingChunk, SharedInstance, SnapshotImpl.Chunk, SnapshotImpl.Instance
Enclosing interface:
Block

public static interface Block.Getter
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Represents a hint to retrieve blocks more efficiently.
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull Block
    getBlock(int x, int y, int z)
     
    @UnknownNullability Block
    getBlock(int x, int y, int z, @NotNull Block.Getter.Condition condition)
     
    default @NotNull Block
    getBlock(@NotNull net.minestom.server.coordinate.Point point)
     
    default @UnknownNullability Block
    getBlock(@NotNull net.minestom.server.coordinate.Point point, @NotNull Block.Getter.Condition condition)
     
  • Method Details

    • getBlock

      @UnknownNullability Block getBlock(int x, int y, int z, @NotNull @NotNull Block.Getter.Condition condition)
    • getBlock

      default @UnknownNullability Block getBlock(@NotNull @NotNull net.minestom.server.coordinate.Point point, @NotNull @NotNull Block.Getter.Condition condition)
    • getBlock

      @NotNull default @NotNull Block getBlock(int x, int y, int z)
    • getBlock

      @NotNull default @NotNull Block getBlock(@NotNull @NotNull net.minestom.server.coordinate.Point point)