content: package me.earth.phobot.util.world;
  
  import lombok.RequiredArgsConstructor;
  import net.minecraft.core.BlockPos;
  import net.minecraft.world.entity.Entity;
  import net.minecraft.world.level.BlockGetter;
  import net.minecraft.world.level.CollisionGetter;
  import net.minecraft.world.level.block.entity.BlockEntity;
  import net.minecraft.world.level.block.state.BlockState;
  import net.minecraft.world.level.border.WorldBorder;
  import net.minecraft.world.level.material.FluidState;
  import net.minecraft.world.phys.AABB;
  import net.minecraft.world.phys.shapes.VoxelShape;
  import org.jetbrains.annotations.Nullable;
  
  import java.util.List;
  
  @RequiredArgsConstructor
  public class DelegatingCollisionGetter implements CollisionGetter {
      private final CollisionGetter delegate;
  
      @Override
      public WorldBorder getWorldBorder() {
          return delegate.getWorldBorder();
      }
  
      @Nullable
      @Override
      public BlockGetter getChunkForCollisions(int x, int z) {
          return delegate.getChunkForCollisions(x, z);
      }
  
      @Override
      public List<VoxelShape> getEntityCollisions(@Nullable Entity entity, AABB bb) {
          return delegate.getEntityCollisions(entity, bb);
      }
  
      @Nullable
      @Override
      public BlockEntity getBlockEntity(BlockPos pos) {
          return delegate.getBlockEntity(pos);
      }
  
      @Override
      public BlockState getBlockState(BlockPos pos) {
          return delegate.getBlockState(pos);
      }
  
      @Override
      public FluidState getFluidState(BlockPos pos) {
          return delegate.getFluidState(pos);
      }
  
      @Override
      public int getHeight() {
          return delegate.getHeight();
      }
  
      @Override
      public int getMinBuildHeight() {
          return delegate.getMinBuildHeight();
      }
  
  }
  