Class PortalManager

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

public class PortalManager extends Object
Mappings:
Namespace Name
named net/minecraft/world/dimension/PortalManager
intermediary net/minecraft/class_9787
official bwq
  • Field Details

    • portal

      private final Portal portal
      Mappings:
      Namespace Name Mixin selector
      named portal Lnet/minecraft/world/dimension/PortalManager;portal:Lnet/minecraft/block/Portal;
      intermediary field_51998 Lnet/minecraft/class_9787;field_51998:Lnet/minecraft/class_9797;
      official a Lbwq;a:Ldqg;
    • pos

      private BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/world/dimension/PortalManager;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_51999 Lnet/minecraft/class_9787;field_51999:Lnet/minecraft/class_2338;
      official b Lbwq;b:Ljh;
    • ticksInPortal

      private int ticksInPortal
      Mappings:
      Namespace Name Mixin selector
      named ticksInPortal Lnet/minecraft/world/dimension/PortalManager;ticksInPortal:I
      intermediary field_52000 Lnet/minecraft/class_9787;field_52000:I
      official c Lbwq;c:I
    • inPortal

      private boolean inPortal
      Mappings:
      Namespace Name Mixin selector
      named inPortal Lnet/minecraft/world/dimension/PortalManager;inPortal:Z
      intermediary field_52001 Lnet/minecraft/class_9787;field_52001:Z
      official d Lbwq;d:Z
  • Constructor Details

    • PortalManager

      public PortalManager(Portal portal, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/dimension/PortalManager;<init>(Lnet/minecraft/block/Portal;Lnet/minecraft/util/math/BlockPos;)V
      intermediary <init> Lnet/minecraft/class_9787;<init>(Lnet/minecraft/class_9797;Lnet/minecraft/class_2338;)V
      official <init> Lbwq;<init>(Ldqg;Ljh;)V
  • Method Details

    • tick

      public boolean tick(ServerWorld world, Entity entity, boolean canUsePortals)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/world/dimension/PortalManager;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Z)Z
      intermediary method_60702 Lnet/minecraft/class_9787;method_60702(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Z)Z
      official a Lbwq;a(Lash;Lbvj;Z)Z
    • createTeleportTarget

      @Nullable public @Nullable TeleportTarget createTeleportTarget(ServerWorld world, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named createTeleportTarget Lnet/minecraft/world/dimension/PortalManager;createTeleportTarget(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Lnet/minecraft/world/TeleportTarget;
      intermediary method_60701 Lnet/minecraft/class_9787;method_60701(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Lnet/minecraft/class_5454;
      official a Lbwq;a(Lash;Lbvj;)Leuw;
    • getEffect

      public Portal.Effect getEffect()
      Mappings:
      Namespace Name Mixin selector
      named getEffect Lnet/minecraft/world/dimension/PortalManager;getEffect()Lnet/minecraft/block/Portal$Effect;
      intermediary method_60700 Lnet/minecraft/class_9787;method_60700()Lnet/minecraft/class_9797$class_9798;
      official a Lbwq;a()Ldqg$a;
    • decayTicksInPortal

      private void decayTicksInPortal()
      Mappings:
      Namespace Name Mixin selector
      named decayTicksInPortal Lnet/minecraft/world/dimension/PortalManager;decayTicksInPortal()V
      intermediary method_60710 Lnet/minecraft/class_9787;method_60710()V
      official f Lbwq;f()V
    • hasExpired

      public boolean hasExpired()
      Mappings:
      Namespace Name Mixin selector
      named hasExpired Lnet/minecraft/world/dimension/PortalManager;hasExpired()Z
      intermediary method_60706 Lnet/minecraft/class_9787;method_60706()Z
      official b Lbwq;b()Z
    • getPortalPos

      public BlockPos getPortalPos()
      Mappings:
      Namespace Name Mixin selector
      named getPortalPos Lnet/minecraft/world/dimension/PortalManager;getPortalPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_60707 Lnet/minecraft/class_9787;method_60707()Lnet/minecraft/class_2338;
      official c Lbwq;c()Ljh;
    • setPortalPos

      public void setPortalPos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named setPortalPos Lnet/minecraft/world/dimension/PortalManager;setPortalPos(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_60704 Lnet/minecraft/class_9787;method_60704(Lnet/minecraft/class_2338;)V
      official a Lbwq;a(Ljh;)V
    • getTicksInPortal

      public int getTicksInPortal()
      Mappings:
      Namespace Name Mixin selector
      named getTicksInPortal Lnet/minecraft/world/dimension/PortalManager;getTicksInPortal()I
      intermediary method_60708 Lnet/minecraft/class_9787;method_60708()I
      official d Lbwq;d()I
    • isInPortal

      public boolean isInPortal()
      Mappings:
      Namespace Name Mixin selector
      named isInPortal Lnet/minecraft/world/dimension/PortalManager;isInPortal()Z
      intermediary method_60709 Lnet/minecraft/class_9787;method_60709()Z
      official e Lbwq;e()Z
    • setInPortal

      public void setInPortal(boolean inPortal)
      Mappings:
      Namespace Name Mixin selector
      named setInPortal Lnet/minecraft/world/dimension/PortalManager;setInPortal(Z)V
      intermediary method_60705 Lnet/minecraft/class_9787;method_60705(Z)V
      official a Lbwq;a(Z)V
    • portalMatches

      public boolean portalMatches(Portal portal)
      Mappings:
      Namespace Name Mixin selector
      named portalMatches Lnet/minecraft/world/dimension/PortalManager;portalMatches(Lnet/minecraft/block/Portal;)Z
      intermediary method_60703 Lnet/minecraft/class_9787;method_60703(Lnet/minecraft/class_9797;)Z
      official a Lbwq;a(Ldqg;)Z