Package net.minecraft.world
Class PortalForcer
java.lang.Object
net.minecraft.world.PortalForcer
public class PortalForcer extends Object
-
Field Summary
Fields Modifier and Type Field Description private Randomrandomprivate ServerWorldworld -
Constructor Summary
Constructors Constructor Description PortalForcer(ServerWorld world) -
Method Summary
Modifier and Type Method Description booleancreatePortal(Entity entity)BlockPattern.TeleportTargetgetPortal(BlockPos pos, Vec3d vec3d, Direction direction, double x, double y, boolean canActivate)booleanusePortal(Entity entity, float yawOffset)
-
Field Details
-
Constructor Details
-
Method Details
-
usePortal
-
getPortal
@Nullable public BlockPattern.TeleportTarget getPortal(BlockPos pos, Vec3d vec3d, Direction direction, double x, double y, boolean canActivate) -
createPortal
-