public abstract class LocatorInstance
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
LocatorInstance(LocatorType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(net.minecraft.network.PacketBuffer buf) |
LocatorType |
getType() |
net.minecraft.util.IWorldPosCallable |
getWorldPosCallable(net.minecraft.world.World world) |
abstract java.util.Optional<?> |
locale(net.minecraft.entity.player.PlayerEntity playerEntity) |
void |
toBytes(net.minecraft.network.PacketBuffer buf) |
protected LocatorInstance(@Nonnull
LocatorType type)
@Nonnull public LocatorType getType()
public abstract java.util.Optional<?> locale(net.minecraft.entity.player.PlayerEntity playerEntity)
public net.minecraft.util.IWorldPosCallable getWorldPosCallable(net.minecraft.world.World world)
public final void fromBytes(net.minecraft.network.PacketBuffer buf)
public final void toBytes(net.minecraft.network.PacketBuffer buf)