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_350593_, Entity p_350987_) int
boolean
boolean
boolean
isSamePortal
(Portal p_350902_) boolean
processPortalTeleportation
(ServerLevel p_350279_, Entity p_350646_, boolean p_350822_) void
setAsInsidePortalThisTick
(boolean p_350796_) void
updateEntryPosition
(BlockPos p_350726_)
-
Field Details
-
portal
-
entryPosition
-
portalTime
private int portalTime -
insidePortalThisTick
private boolean insidePortalThisTick
-
-
Constructor Details
-
PortalProcessor
-
-
Method Details
-
processPortalTeleportation
public boolean processPortalTeleportation(ServerLevel p_350279_, Entity p_350646_, boolean p_350822_) -
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_350796_) -
isSamePortal
-