Package de.z0rdak.yawp.core.area
Class RegionAnchors
java.lang.Object
de.z0rdak.yawp.core.area.RegionAnchors
- All Implemented Interfaces:
INbtSerializable<net.minecraft.nbt.CompoundTag>
public class RegionAnchors
extends Object
implements INbtSerializable<net.minecraft.nbt.CompoundTag>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrUpdate(String name, net.minecraft.core.BlockPos pos) addTpAnchor(net.minecraft.core.BlockPos pos) addTpAnchor(net.minecraft.core.BlockPos pos, String name) voiddeserializeNBT(net.minecraft.nbt.CompoundTag nbt) getTpAnchor(String name) booleanvoidremoveTpAnchor(String name) voidremoveTpAnchor(net.minecraft.core.BlockPos pos) voidnet.minecraft.nbt.CompoundTag
-
Field Details
-
tpAnchors
-
-
Constructor Details
-
RegionAnchors
public RegionAnchors() -
RegionAnchors
public RegionAnchors(net.minecraft.nbt.CompoundTag tag)
-
-
Method Details
-
addTpAnchor
-
hasAnchor
-
addTpAnchor
-
removeTpAnchor
-
rename
-
addOrUpdate
-
removeTpAnchor
public void removeTpAnchor(net.minecraft.core.BlockPos pos) -
getTpAnchor
-
getAnchors
-
serializeNBT
public net.minecraft.nbt.CompoundTag serializeNBT()- Specified by:
serializeNBTin interfaceINbtSerializable<net.minecraft.nbt.CompoundTag>
-
deserializeNBT
public void deserializeNBT(net.minecraft.nbt.CompoundTag nbt) - Specified by:
deserializeNBTin interfaceINbtSerializable<net.minecraft.nbt.CompoundTag>
-