Package net.minecraft.world
Class PortalForcer
java.lang.Object
net.minecraft.world.PortalForcer
- Mappings:
Namespace Name official dqs
intermediary net/minecraft/class_1946
named net/minecraft/world/PortalForcer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private final ServerWorld
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePortal
(BlockPos pos, Direction.Axis axis) getPortalRect
(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) private boolean
isValidPortalPos
(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)
-
Field Details
-
field_31810
private static final int field_31810- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldqs;a:I
intermediary field_31810
Lnet/minecraft/class_1946;field_31810:I
named field_31810
Lnet/minecraft/world/PortalForcer;field_31810:I
-
field_31811
private static final int field_31811- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldqs;b:I
intermediary field_31811
Lnet/minecraft/class_1946;field_31811:I
named field_31811
Lnet/minecraft/world/PortalForcer;field_31811:I
-
field_31812
private static final int field_31812- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldqs;c:I
intermediary field_31812
Lnet/minecraft/class_1946;field_31812:I
named field_31812
Lnet/minecraft/world/PortalForcer;field_31812:I
-
field_31813
private static final int field_31813- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ldqs;d:I
intermediary field_31813
Lnet/minecraft/class_1946;field_31813:I
named field_31813
Lnet/minecraft/world/PortalForcer;field_31813:I
-
field_31814
private static final int field_31814- See Also:
- Mappings:
Namespace Name Mixin selector official e
Ldqs;e:I
intermediary field_31814
Lnet/minecraft/class_1946;field_31814:I
named field_31814
Lnet/minecraft/world/PortalForcer;field_31814:I
-
field_31815
private static final int field_31815- See Also:
- Mappings:
Namespace Name Mixin selector official f
Ldqs;f:I
intermediary field_31815
Lnet/minecraft/class_1946;field_31815:I
named field_31815
Lnet/minecraft/world/PortalForcer;field_31815:I
-
field_31816
private static final int field_31816- See Also:
- Mappings:
Namespace Name Mixin selector official g
Ldqs;g:I
intermediary field_31816
Lnet/minecraft/class_1946;field_31816:I
named field_31816
Lnet/minecraft/world/PortalForcer;field_31816:I
-
field_31817
private static final int field_31817- See Also:
- Mappings:
Namespace Name Mixin selector official h
Ldqs;h:I
intermediary field_31817
Lnet/minecraft/class_1946;field_31817:I
named field_31817
Lnet/minecraft/world/PortalForcer;field_31817:I
-
field_31818
private static final int field_31818- See Also:
- Mappings:
Namespace Name Mixin selector official i
Ldqs;i:I
intermediary field_31818
Lnet/minecraft/class_1946;field_31818:I
named field_31818
Lnet/minecraft/world/PortalForcer;field_31818:I
-
field_31819
private static final int field_31819- See Also:
- Mappings:
Namespace Name Mixin selector official j
Ldqs;j:I
intermediary field_31819
Lnet/minecraft/class_1946;field_31819:I
named field_31819
Lnet/minecraft/world/PortalForcer;field_31819:I
-
field_31820
private static final int field_31820- See Also:
- Mappings:
Namespace Name Mixin selector official k
Ldqs;k:I
intermediary field_31820
Lnet/minecraft/class_1946;field_31820:I
named field_31820
Lnet/minecraft/world/PortalForcer;field_31820:I
-
field_31821
private static final int field_31821- See Also:
- Mappings:
Namespace Name Mixin selector official l
Ldqs;l:I
intermediary field_31821
Lnet/minecraft/class_1946;field_31821:I
named field_31821
Lnet/minecraft/world/PortalForcer;field_31821:I
-
field_31822
private static final int field_31822- See Also:
- Mappings:
Namespace Name Mixin selector official m
Ldqs;m:I
intermediary field_31822
Lnet/minecraft/class_1946;field_31822:I
named field_31822
Lnet/minecraft/world/PortalForcer;field_31822:I
-
world
- Mappings:
Namespace Name Mixin selector official n
Ldqs;n:Lagg;
intermediary field_9286
Lnet/minecraft/class_1946;field_9286:Lnet/minecraft/class_3218;
named world
Lnet/minecraft/world/PortalForcer;world:Lnet/minecraft/server/world/ServerWorld;
-
-
Constructor Details
-
PortalForcer
- Mappings:
Namespace Name Mixin selector official <init>
Ldqs;<init>(Lagg;)V
intermediary <init>
Lnet/minecraft/class_1946;<init>(Lnet/minecraft/class_3218;)V
named <init>
Lnet/minecraft/world/PortalForcer;<init>(Lnet/minecraft/server/world/ServerWorld;)V
-
-
Method Details
-
getPortalRect
public Optional<BlockLocating.Rectangle> getPortalRect(BlockPos pos, boolean destIsNether, WorldBorder worldBorder) - Mappings:
Namespace Name Mixin selector official a
Ldqs;a(Lgt;ZLcxe;)Ljava/util/Optional;
intermediary method_30483
Lnet/minecraft/class_1946;method_30483(Lnet/minecraft/class_2338;ZLnet/minecraft/class_2784;)Ljava/util/Optional;
named getPortalRect
Lnet/minecraft/world/PortalForcer;getPortalRect(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/world/border/WorldBorder;)Ljava/util/Optional;
-
createPortal
- Mappings:
Namespace Name Mixin selector official a
Ldqs;a(Lgt;Lgy$a;)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;
named createPortal
Lnet/minecraft/world/PortalForcer;createPortal(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction$Axis;)Ljava/util/Optional;
-
isValidPortalPos
private boolean isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal) - Mappings:
Namespace Name Mixin selector official a
Ldqs;a(Lgt;Lgt$a;Lgy;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
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
-