Skip to content

Commit c505367

Browse files
author
Daniel Naylor
committed
As Chunk is a part of a World, it's also a PhysicsAwareMutableBlockVolume
1 parent 483515a commit c505367

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/org/spongepowered/api/world/chunk

1 file changed

+2
-1
lines changed

src/main/java/org/spongepowered/api/world/chunk/Chunk.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.spongepowered.api.util.Ticks;
3030
import org.spongepowered.api.util.annotation.DoNotStore;
3131
import org.spongepowered.api.world.World;
32+
import org.spongepowered.api.world.volume.block.PhysicsAwareMutableBlockVolume;
3233
import org.spongepowered.api.world.volume.entity.EntityVolume;
3334
import org.spongepowered.math.vector.Vector3i;
3435

@@ -40,7 +41,7 @@
4041
* <p>In Minecraft, the chunk is 16 by 16 blocks on the X and Z axes. The height
4142
* of each chunk varies between worlds.</p>
4243
*/
43-
public interface Chunk extends ProtoChunk<Chunk>, EntityVolume.Mutable<Chunk> {
44+
public interface Chunk extends ProtoChunk<Chunk>, EntityVolume.Mutable<Chunk>, PhysicsAwareMutableBlockVolume<Chunk> {
4445

4546
/**
4647
* Gets the world the chunk is in.

0 commit comments

Comments
 (0)