public class WarpPlateEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Constructor and Description |
---|
WarpPlateEvent(net.minecraft.entity.Entity entity,
net.minecraft.util.math.BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.Entity |
getEntity() |
net.minecraft.util.math.BlockPos |
getWarpPosition() |
void |
setWarpPosition(net.minecraft.util.math.BlockPos pos)
Set the position the entity will teleport to.
|
public WarpPlateEvent(net.minecraft.entity.Entity entity, net.minecraft.util.math.BlockPos pos)
public net.minecraft.entity.Entity getEntity()
public net.minecraft.util.math.BlockPos getWarpPosition()
public void setWarpPosition(net.minecraft.util.math.BlockPos pos)
pos
- The new position to teleport the entity.