public class TargetPoint
extends java.lang.Object
Constructor and Description |
---|
TargetPoint() |
TargetPoint(net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension,
double x,
double y,
double z,
double radius) |
TargetPoint(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
double radius) |
Modifier and Type | Method and Description |
---|---|
void |
decode(net.minecraft.network.PacketBuffer buffer) |
void |
encode(net.minecraft.network.PacketBuffer buffer) |
boolean |
equals(java.lang.Object o) |
net.minecraft.util.RegistryKey<net.minecraft.world.World> |
getDimension() |
double |
getRadius() |
double |
getX() |
double |
getY() |
double |
getZ() |
int |
hashCode() |
net.minecraftforge.fml.network.PacketDistributor.TargetPoint |
toMojang() |
public TargetPoint(net.minecraft.util.RegistryKey<net.minecraft.world.World> dimension, double x, double y, double z, double radius)
public TargetPoint(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, double radius)
public TargetPoint()
public net.minecraft.util.RegistryKey<net.minecraft.world.World> getDimension()
public double getX()
public double getY()
public double getZ()
public double getRadius()
public net.minecraftforge.fml.network.PacketDistributor.TargetPoint toMojang()
public void encode(net.minecraft.network.PacketBuffer buffer)
public void decode(net.minecraft.network.PacketBuffer buffer)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object