Class FactoryPanelConnection

java.lang.Object
com.simibubi.create.content.logistics.factoryBoard.FactoryPanelConnection

public class FactoryPanelConnection extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<FactoryPanelConnection> CODEC
    • from

      public FactoryPanelPosition from
    • amount

      public int amount
    • path

      public List<net.minecraft.core.Direction> path
    • arrowBendMode

      public int arrowBendMode
    • success

      public boolean success
    • cachedSource

      public WeakReference<Object> cachedSource
  • Constructor Details

    • FactoryPanelConnection

      public FactoryPanelConnection(FactoryPanelPosition from, int amount)
    • FactoryPanelConnection

      public FactoryPanelConnection(FactoryPanelPosition from, int amount, int arrowBendMode)
  • 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)