public class VolumeConnection extends MarkerConnection<VolumeConnection>
subCache
Constructor and Description |
---|
VolumeConnection(VolumeSubCache subCache) |
VolumeConnection(VolumeSubCache subCache,
java.util.Collection<net.minecraft.util.math.BlockPos> positions) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMarker(net.minecraft.util.math.BlockPos pos) |
boolean |
canAddMarker(net.minecraft.util.math.BlockPos to) |
static boolean |
canCreateConnection(VolumeSubCache subCache,
net.minecraft.util.math.BlockPos from,
net.minecraft.util.math.BlockPos to) |
boolean |
canMergeWith(VolumeConnection other) |
Box |
getBox() |
java.util.EnumSet<net.minecraft.util.EnumFacing.Axis> |
getConnectedAxis() |
java.util.Collection<net.minecraft.util.math.BlockPos> |
getMarkerPositions() |
boolean |
mergeWith(VolumeConnection other) |
void |
removeMarker(net.minecraft.util.math.BlockPos pos)
Removes the specified marker from this connection.
|
void |
renderInWorld() |
static boolean |
tryCreateConnection(VolumeSubCache subCache,
net.minecraft.util.math.BlockPos from,
net.minecraft.util.math.BlockPos to) |
getDebugInfo, getTypeInfo
public VolumeConnection(VolumeSubCache subCache)
public VolumeConnection(VolumeSubCache subCache, java.util.Collection<net.minecraft.util.math.BlockPos> positions)
public static boolean tryCreateConnection(VolumeSubCache subCache, net.minecraft.util.math.BlockPos from, net.minecraft.util.math.BlockPos to)
public static boolean canCreateConnection(VolumeSubCache subCache, net.minecraft.util.math.BlockPos from, net.minecraft.util.math.BlockPos to)
public void removeMarker(net.minecraft.util.math.BlockPos pos)
MarkerConnection
MarkerSubCache.removeMarker(BlockPos)
. This may need to remove itself and split itself up (if the resulting
connection is invalid).removeMarker
in class MarkerConnection<VolumeConnection>
public boolean addMarker(net.minecraft.util.math.BlockPos pos)
public boolean canAddMarker(net.minecraft.util.math.BlockPos to)
public boolean mergeWith(VolumeConnection other)
public boolean canMergeWith(VolumeConnection other)
public java.util.EnumSet<net.minecraft.util.EnumFacing.Axis> getConnectedAxis()
public java.util.Collection<net.minecraft.util.math.BlockPos> getMarkerPositions()
getMarkerPositions
in class MarkerConnection<VolumeConnection>
public Box getBox()
public void renderInWorld()
renderInWorld
in class MarkerConnection<VolumeConnection>