public static final class PacketDistributor.TargetPoint
extends java.lang.Object
| Constructor and Description |
|---|
TargetPoint(double x,
double y,
double z,
double r2,
DimensionType dim)
A target point without excluded entity
|
TargetPoint(EntityPlayerMP excluded,
double x,
double y,
double z,
double r2,
DimensionType dim)
A target point with excluded entity
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Supplier<PacketDistributor.TargetPoint> |
p(double x,
double y,
double z,
double r2,
DimensionType dim)
Helper to build a TargetPoint without excluded Entity
|
public TargetPoint(EntityPlayerMP excluded, double x, double y, double z, double r2, DimensionType dim)
excluded - Entity to excludex - Xy - Yz - Zr2 - Radiusdim - DimensionTypepublic TargetPoint(double x,
double y,
double z,
double r2,
DimensionType dim)
x - Xy - Yz - Zr2 - Radiusdim - DimensionTypepublic static java.util.function.Supplier<PacketDistributor.TargetPoint> p(double x, double y, double z, double r2, DimensionType dim)
x - Xy - Yz - Zr2 - Radiusdim - DimensionType