use of net.minecraft.world.NextTickListEntry in project SpongeCommon by SpongePowered.
the class MixinWorldServer method getScheduledUpdates.
@Override
public Collection<ScheduledBlockUpdate> getScheduledUpdates(int x, int y, int z) {
BlockPos position = new BlockPos(x, y, z);
ImmutableList.Builder<ScheduledBlockUpdate> builder = ImmutableList.builder();
for (NextTickListEntry sbu : this.pendingTickListEntriesTreeSet) {
if (sbu.position.equals(position)) {
builder.add((ScheduledBlockUpdate) sbu);
}
}
return builder.build();
}
Aggregations