Class PortalIgniter

java.lang.Object
tech.anonymoushacker1279.openportals.portal.PortalIgniter

public class PortalIgniter extends Object
  • Constructor Details

    • PortalIgniter

      public PortalIgniter()
  • Method Details

    • attemptPortalLight

      public static boolean attemptPortalLight(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos portalPos, PortalIgnitionSource ignitionSource)
      Attempts to light a portal at the specified position in the given level.
      Parameters:
      level - the level where the portal is to be lit
      portalPos - the position of the portal to be lit
      ignitionSource - the source of ignition for the portal
      Returns:
      true if the portal was successfully lit, false otherwise
    • attemptPortalLight

      public static boolean attemptPortalLight(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos portalPos, net.minecraft.core.BlockPos framePos, PortalIgnitionSource ignitionSource)
      Attempts to light a portal at the specified position in the given level.
      Parameters:
      level - the level where the portal is to be lit
      portalPos - the position of the portal to be lit
      framePos - the position of the frame block for the portal
      ignitionSource - the source of ignition for the portal
      Returns:
      true if the portal was successfully lit, false otherwise