Class BaseTeleporter

java.lang.Object
com.idark.valoria.registries.levelgen.portal.BaseTeleporter
All Implemented Interfaces:
net.minecraftforge.common.util.ITeleporter
Direct Known Subclasses:
ValoriaTeleporter

public class BaseTeleporter extends Object implements net.minecraftforge.common.util.ITeleporter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
    protected static net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType>
     
    static net.minecraft.core.BlockPos
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BaseTeleporter(net.minecraft.core.BlockPos pos, boolean insideDim, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> pPoi)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    getHeight(net.minecraft.server.level.ServerLevel level, int height, int posX, int posZ, net.minecraft.world.level.block.Block pBlock)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraftforge.common.util.ITeleporter

    getPortalInfo, isVanilla, placeEntity, playTeleportSound
  • Field Details

    • thisPos

      public static net.minecraft.core.BlockPos thisPos
    • insideDimension

      public static boolean insideDimension
    • poi

      protected static net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> poi
  • Constructor Details

    • BaseTeleporter

      public BaseTeleporter(net.minecraft.core.BlockPos pos, boolean insideDim, net.minecraft.resources.ResourceKey<net.minecraft.world.entity.ai.village.poi.PoiType> pPoi)
  • Method Details

    • getHeight

      protected int getHeight(net.minecraft.server.level.ServerLevel level, int height, int posX, int posZ, net.minecraft.world.level.block.Block pBlock)