Package net.minecraft.world.level.portal
Class PortalForcer
java.lang.Object
net.minecraft.world.level.portal.PortalForcer
- All Implemented Interfaces:
ITeleporter
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
protected ServerLevel
private static int
private static int
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canHostFrame(BlockPos p_77662_, BlockPos.MutableBlockPos p_77663_, Direction p_77664_, int p_77665_)
createPortal(BlockPos p_77667_, Direction.Axis p_77668_)
findPortalAround(BlockPos p_77670_, boolean p_77671_)
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
-
TICKET_RADIUS
private static final int TICKET_RADIUS- See Also:
- Constant Field Values
-
SEARCH_RADIUS
private static final int SEARCH_RADIUS- See Also:
- Constant Field Values
-
CREATE_RADIUS
private static final int CREATE_RADIUS- See Also:
- Constant Field Values
-
FRAME_HEIGHT
private static final int FRAME_HEIGHT- See Also:
- Constant Field Values
-
FRAME_WIDTH
private static final int FRAME_WIDTH- See Also:
- Constant Field Values
-
FRAME_BOX
private static final int FRAME_BOX- See Also:
- Constant Field Values
-
FRAME_HEIGHT_START
private static final int FRAME_HEIGHT_START- See Also:
- Constant Field Values
-
FRAME_HEIGHT_END
private static final int FRAME_HEIGHT_END- See Also:
- Constant Field Values
-
FRAME_WIDTH_START
private static final int FRAME_WIDTH_START- See Also:
- Constant Field Values
-
FRAME_WIDTH_END
private static final int FRAME_WIDTH_END- See Also:
- Constant Field Values
-
FRAME_BOX_START
private static final int FRAME_BOX_START- See Also:
- Constant Field Values
-
FRAME_BOX_END
private static final int FRAME_BOX_END- See Also:
- Constant Field Values
-
NOTHING_FOUND
private static final int NOTHING_FOUND- See Also:
- Constant Field Values
-
level
-
-
Constructor Details
-
PortalForcer
-
-
Method Details
-
findPortalAround
-
createPortal
-
canHostFrame
private boolean canHostFrame(BlockPos p_77662_, BlockPos.MutableBlockPos p_77663_, Direction p_77664_, int p_77665_)
-