Class PortalForcer

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

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

    • field_31810

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

      private static final int field_52248
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52248 Lnet/minecraft/world/dimension/PortalForcer;field_52248:I
      intermediary field_52248 Lnet/minecraft/class_1946;field_52248:I
      official b Leuu;b:I
    • field_52249

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

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

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

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

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

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

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

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

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

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

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

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

    • PortalForcer

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

    • getPortalPos

      public Optional<BlockPos> getPortalPos(BlockPos pos, boolean destIsNether, WorldBorder worldBorder)
      Mappings:
      Namespace Name Mixin selector
      named getPortalPos Lnet/minecraft/world/dimension/PortalForcer;getPortalPos(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 Leuu;a(Ljh;ZLdzk;)Ljava/util/Optional;
    • createPortal

      public Optional<BlockLocating.Rectangle> createPortal(BlockPos pos, Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      named createPortal Lnet/minecraft/world/dimension/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 Leuu;a(Ljh;Ljm$a;)Ljava/util/Optional;
    • isBlockStateValid

      private boolean isBlockStateValid(BlockPos.Mutable pos)
      Mappings:
      Namespace Name Mixin selector
      named isBlockStateValid Lnet/minecraft/world/dimension/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 Leuu;a(Ljh$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/dimension/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 Leuu;a(Ljh;Ljh$a;Ljm;I)Z