2016-09-12 16:13:39 +02:00
|
|
|
/*
|
|
|
|
* This file ("IConnectionPair.java") is part of the Actually Additions mod for Minecraft.
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
* http://ellpeck.de/actaddlicense
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2016-09-12 16:13:39 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
package de.ellpeck.actuallyadditions.api.laser;
|
|
|
|
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
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
|
|
|
|
|
|
|
void writeToNBT(NBTTagCompound compound);
|
|
|
|
|
|
|
|
void readFromNBT(NBTTagCompound compound);
|
|
|
|
|
|
|
|
BlockPos[] getPositions();
|
|
|
|
|
|
|
|
boolean doesSuppressRender();
|
|
|
|
|
|
|
|
LaserType getType();
|
|
|
|
|
|
|
|
boolean contains(BlockPos pos);
|
|
|
|
}
|