public static interface CubeDetector.IDetectionListener
| Modifier and Type | Method and Description |
|---|---|
void |
onDetect(net.minecraft.world.World world,
net.minecraft.util.BlockPos location,
net.minecraft.util.Vec3i size,
boolean valid)
Called when a new structure has been detected.
|
void onDetect(net.minecraft.world.World world,
net.minecraft.util.BlockPos location,
net.minecraft.util.Vec3i size,
boolean valid)
world - The world.location - The location of a blockState of the structure.size - The size of the structure.valid - True if the structure should be validated, false if it should be invalidated.