Interface Portal

All Known Implementing Classes:
EndGatewayBlock, EndPortalBlock, NetherPortalBlock

public interface Portal
Mappings:
Namespace Name
named net/minecraft/block/Portal
intermediary net/minecraft/class_9797
official dqg
  • Method Details

    • getPortalDelay

      default int getPortalDelay(ServerWorld world, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named getPortalDelay Lnet/minecraft/block/Portal;getPortalDelay(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)I
      intermediary method_60772 Lnet/minecraft/class_9797;method_60772(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)I
      official a Ldqg;a(Lash;Lbvj;)I
    • createTeleportTarget

      @Nullable @Nullable TeleportTarget createTeleportTarget(ServerWorld world, Entity entity, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named createTeleportTarget Lnet/minecraft/block/Portal;createTeleportTarget(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/TeleportTarget;
      intermediary method_60770 Lnet/minecraft/class_9797;method_60770(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)Lnet/minecraft/class_5454;
      official a Ldqg;a(Lash;Lbvj;Ljh;)Leuw;
    • getPortalEffect

      default Portal.Effect getPortalEffect()
      Mappings:
      Namespace Name Mixin selector
      named getPortalEffect Lnet/minecraft/block/Portal;getPortalEffect()Lnet/minecraft/block/Portal$Effect;
      intermediary method_60778 Lnet/minecraft/class_9797;method_60778()Lnet/minecraft/class_9797$class_9798;
      official b Ldqg;b()Ldqg$a;