Class FactoryPanelConnection
java.lang.Object
com.simibubi.create.content.logistics.factoryBoard.FactoryPanelConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintstatic final com.mojang.serialization.Codec<FactoryPanelConnection> List<net.minecraft.core.Direction> boolean -
Constructor Summary
ConstructorsConstructorDescriptionFactoryPanelConnection(FactoryPanelPosition from, int amount) FactoryPanelConnection(FactoryPanelPosition from, int amount, int arrowBendMode) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3calculatePathDiff(net.minecraft.world.level.block.state.BlockState state, FactoryPanelPosition to) List<net.minecraft.core.Direction> getPath(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, FactoryPanelPosition to)
-
Field Details
-
CODEC
-
from
-
amount
public int amount -
path
-
arrowBendMode
public int arrowBendMode -
success
public boolean success -
cachedSource
-
-
Constructor Details
-
FactoryPanelConnection
-
FactoryPanelConnection
-
-
Method Details
-
getPath
public List<net.minecraft.core.Direction> getPath(net.minecraft.world.level.Level level, net.minecraft.world.level.block.state.BlockState state, FactoryPanelPosition to) -
calculatePathDiff
public net.minecraft.world.phys.Vec3 calculatePathDiff(net.minecraft.world.level.block.state.BlockState state, FactoryPanelPosition to)
-