ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/laser/IConnectionPair.java
2016-09-12 20:45:29 +02:00

34 lines
852 B
Java

/*
* 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
*
* © 2015-2016 Ellpeck
*/
package de.ellpeck.actuallyadditions.api.laser;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.math.BlockPos;
public interface IConnectionPair{
void writeToNBT(NBTTagCompound compound);
void readFromNBT(NBTTagCompound compound);
BlockPos[] getPositions();
boolean doesSuppressRender();
LaserType getType();
boolean contains(BlockPos pos);
@Deprecated
//TODO Remove this once removing the temporary type fixer
void setType(LaserType type);
}