2016-09-12 16:13:39 +02:00
|
|
|
package de.ellpeck.actuallyadditions.api.laser;
|
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
import net.minecraft.nbt.CompoundNBT;
|
2016-09-12 16:13:39 +02:00
|
|
|
import net.minecraft.util.math.BlockPos;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public interface IConnectionPair {
|
2016-09-12 16:13:39 +02:00
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
void writeToNBT(CompoundNBT compound);
|
2016-09-12 16:13:39 +02:00
|
|
|
|
2020-09-07 16:24:04 +02:00
|
|
|
void readFromNBT(CompoundNBT compound);
|
2016-09-12 16:13:39 +02:00
|
|
|
|
|
|
|
BlockPos[] getPositions();
|
|
|
|
|
|
|
|
boolean doesSuppressRender();
|
|
|
|
|
|
|
|
LaserType getType();
|
|
|
|
|
|
|
|
boolean contains(BlockPos pos);
|
|
|
|
}
|