Class PortalForcer

java.lang.Object
net.minecraft.world.PortalForcer

public class PortalForcer extends Object
Mappings:
Namespace Name
named net/minecraft/world/PortalForcer
intermediary net/minecraft/class_1946
official eov
  • Field Details

    • field_31810

      public static final int field_31810
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31810 Lnet/minecraft/world/PortalForcer;field_31810:I
      intermediary field_31810 Lnet/minecraft/class_1946;field_31810:I
      official a Leov;a:I
    • field_31811

      private static final int field_31811
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31811 Lnet/minecraft/world/PortalForcer;field_31811:I
      intermediary field_31811 Lnet/minecraft/class_1946;field_31811:I
      official b Leov;b:I
    • field_31812

      private static final int field_31812
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31812 Lnet/minecraft/world/PortalForcer;field_31812:I
      intermediary field_31812 Lnet/minecraft/class_1946;field_31812:I
      official c Leov;c:I
    • field_31813

      private static final int field_31813
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31813 Lnet/minecraft/world/PortalForcer;field_31813:I
      intermediary field_31813 Lnet/minecraft/class_1946;field_31813:I
      official d Leov;d:I
    • field_31814

      private static final int field_31814
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31814 Lnet/minecraft/world/PortalForcer;field_31814:I
      intermediary field_31814 Lnet/minecraft/class_1946;field_31814:I
      official e Leov;e:I
    • field_31815

      private static final int field_31815
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31815 Lnet/minecraft/world/PortalForcer;field_31815:I
      intermediary field_31815 Lnet/minecraft/class_1946;field_31815:I
      official f Leov;f:I
    • field_31816

      private static final int field_31816
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31816 Lnet/minecraft/world/PortalForcer;field_31816:I
      intermediary field_31816 Lnet/minecraft/class_1946;field_31816:I
      official g Leov;g:I
    • field_31817

      private static final int field_31817
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31817 Lnet/minecraft/world/PortalForcer;field_31817:I
      intermediary field_31817 Lnet/minecraft/class_1946;field_31817:I
      official h Leov;h:I
    • field_31818

      private static final int field_31818
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31818 Lnet/minecraft/world/PortalForcer;field_31818:I
      intermediary field_31818 Lnet/minecraft/class_1946;field_31818:I
      official i Leov;i:I
    • field_31819

      private static final int field_31819
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31819 Lnet/minecraft/world/PortalForcer;field_31819:I
      intermediary field_31819 Lnet/minecraft/class_1946;field_31819:I
      official j Leov;j:I
    • field_31820

      private static final int field_31820
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31820 Lnet/minecraft/world/PortalForcer;field_31820:I
      intermediary field_31820 Lnet/minecraft/class_1946;field_31820:I
      official k Leov;k:I
    • field_31821

      private static final int field_31821
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31821 Lnet/minecraft/world/PortalForcer;field_31821:I
      intermediary field_31821 Lnet/minecraft/class_1946;field_31821:I
      official l Leov;l:I
    • field_31822

      private static final int field_31822
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31822 Lnet/minecraft/world/PortalForcer;field_31822:I
      intermediary field_31822 Lnet/minecraft/class_1946;field_31822:I
      official m Leov;m:I
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/world/PortalForcer;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_9286 Lnet/minecraft/class_1946;field_9286:Lnet/minecraft/class_3218;
      official n Leov;n:Larf;
  • Constructor Details

    • PortalForcer

      public PortalForcer(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/PortalForcer;<init>(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary <init> Lnet/minecraft/class_1946;<init>(Lnet/minecraft/class_3218;)V
      official <init> Leov;<init>(Larf;)V
  • Method Details

    • getPortalRect

      public Optional<BlockLocating.Rectangle> getPortalRect(BlockPos pos, boolean destIsNether, WorldBorder worldBorder)
      Mappings:
      Namespace Name Mixin selector
      named getPortalRect Lnet/minecraft/world/PortalForcer;getPortalRect(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/world/border/WorldBorder;)Ljava/util/Optional;
      intermediary method_30483 Lnet/minecraft/class_1946;method_30483(Lnet/minecraft/class_2338;ZLnet/minecraft/class_2784;)Ljava/util/Optional;
      official a Leov;a(Liz;ZLdtv;)Ljava/util/Optional;
    • createPortal

      public Optional<BlockLocating.Rectangle> createPortal(BlockPos pos, Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      named createPortal Lnet/minecraft/world/PortalForcer;createPortal(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction$Axis;)Ljava/util/Optional;
      intermediary method_30482 Lnet/minecraft/class_1946;method_30482(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350$class_2351;)Ljava/util/Optional;
      official a Leov;a(Liz;Lje$a;)Ljava/util/Optional;
    • isBlockStateValid

      private boolean isBlockStateValid(BlockPos.Mutable pos)
      Mappings:
      Namespace Name Mixin selector
      named isBlockStateValid Lnet/minecraft/world/PortalForcer;isBlockStateValid(Lnet/minecraft/util/math/BlockPos$Mutable;)Z
      intermediary method_45550 Lnet/minecraft/class_1946;method_45550(Lnet/minecraft/class_2338$class_2339;)Z
      official a Leov;a(Liz$a;)Z
    • isValidPortalPos

      private boolean isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)
      Mappings:
      Namespace Name Mixin selector
      named isValidPortalPos Lnet/minecraft/world/PortalForcer;isValidPortalPos(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos$Mutable;Lnet/minecraft/util/math/Direction;I)Z
      intermediary method_30481 Lnet/minecraft/class_1946;method_30481(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338$class_2339;Lnet/minecraft/class_2350;I)Z
      official a Leov;a(Liz;Liz$a;Lje;I)Z