Interface HexPatternLike

All Known Implementing Classes:
HexPatternLike.HexPatternLikeBecauseItsActuallyAHexPattern, HexPatternLike.PureLines

public interface HexPatternLike
A simple wrapper around the parts of HexPattern that are actually used for rendering. This lets the pattern renderer work on arbitrary lists of vecs - this is never used in base hex but is included to future-proof and for if addons or something wants to use it.
  • Method Details

    • getNonZappyPoints

      List<net.minecraft.world.phys.Vec2> getNonZappyPoints()
    • getName

      String getName()
    • getDups

      Set<Integer> getDups()
    • of

      static HexPatternLike of(at.petrak.hexcasting.api.casting.math.HexPattern pat)
    • of

      static HexPatternLike of(List<net.minecraft.world.phys.Vec2> lines, String name)