Package net.minecraft.world.entity
Class PortalProcessor
java.lang.Object
net.minecraft.world.entity.PortalProcessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
getPortalDestination
(ServerLevel p_344411_, Entity p_342799_) int
boolean
boolean
boolean
isSamePortal
(Portal p_344740_) boolean
processPortalTeleportation
(ServerLevel p_342539_, Entity p_345125_, boolean p_342731_) void
setAsInsidePortalThisTick
(boolean p_342092_) void
updateEntryPosition
(BlockPos p_344295_)
-
Field Details
-
portal
-
entryPosition
-
portalTime
private int portalTime -
insidePortalThisTick
private boolean insidePortalThisTick
-
-
Constructor Details
-
PortalProcessor
-
-
Method Details
-
processPortalTeleportation
public boolean processPortalTeleportation(ServerLevel p_342539_, Entity p_345125_, boolean p_342731_) -
getPortalDestination
-
getPortalLocalTransition
-
decayTick
private void decayTick() -
hasExpired
public boolean hasExpired() -
getEntryPosition
-
updateEntryPosition
-
getPortalTime
public int getPortalTime() -
isInsidePortalThisTick
public boolean isInsidePortalThisTick() -
setAsInsidePortalThisTick
public void setAsInsidePortalThisTick(boolean p_342092_) -
isSamePortal
-