Package net.minecraft.world
Class PortalForcer
java.lang.Object
net.minecraft.world.PortalForcer
public class PortalForcer extends Object
- Mappings:
Namespace Name official det
intermediary net/minecraft/class_1946
named net/minecraft/world/PortalForcer
-
Field Summary
Fields Modifier and Type Field Description private ServerWorld
world
-
Constructor Summary
Constructors Constructor Description PortalForcer(ServerWorld world)
-
Method Summary
Modifier and Type Method Description Optional<PortalUtil.Rectangle>
createPortal(BlockPos blockPos, Direction.Axis axis)
Optional<PortalUtil.Rectangle>
getPortalRect(BlockPos destPos, boolean destIsNether)
private boolean
isValidPortalPos(BlockPos pos, BlockPos.Mutable temp, Direction portalDirection, int distanceOrthogonalToPortal)
-
Field Details
-
world
- Mappings:
Namespace Name Mixin selector official a
Ldet;a:Labf;
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>
Ldet;<init>(Labf;)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
- Mappings:
Namespace Name Mixin selector official a
Ldet;a(Lfx;Z)Ljava/util/Optional;
intermediary method_30483
Lnet/minecraft/class_1946;method_30483(Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
named getPortalRect
Lnet/minecraft/world/PortalForcer;getPortalRect(Lnet/minecraft/util/math/BlockPos;Z)Ljava/util/Optional;
-
createPortal
- Mappings:
Namespace Name Mixin selector official a
Ldet;a(Lfx;Lgc$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
Ldet;a(Lfx;Lfx$a;Lgc;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
-