public static final class PacketDistributor.TargetPoint
extends java.lang.Object
コンストラクタと説明 |
---|
TargetPoint(double x,
double y,
double z,
double r2,
DimensionType dim)
A target point without excluded entity
|
TargetPoint(ServerPlayerEntity excluded,
double x,
double y,
double z,
double r2,
DimensionType dim)
A target point with excluded entity
|
修飾子とタイプ | メソッドと説明 |
---|---|
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(ServerPlayerEntity 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