Class LocatorInstance
java.lang.Object
com.hrznstudio.titanium.network.locator.LocatorInstance
- Direct Known Subclasses:
EmptyLocatorInstance,HeldStackLocatorInstance,InventoryStackLocatorInstance,TileEntityLocatorInstance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfromBytes(net.minecraft.network.FriendlyByteBuf buf) getType()net.minecraft.world.inventory.ContainerLevelAccessgetWorldPosCallable(net.minecraft.world.level.Level world) abstract Optional<?>locale(net.minecraft.world.entity.player.Player playerEntity) final voidtoBytes(net.minecraft.network.FriendlyByteBuf buf)
-
Constructor Details
-
LocatorInstance
-
-
Method Details
-
getType
-
locale
-
getWorldPosCallable
public net.minecraft.world.inventory.ContainerLevelAccess getWorldPosCallable(net.minecraft.world.level.Level world) -
fromBytes
public final void fromBytes(net.minecraft.network.FriendlyByteBuf buf) -
toBytes
public final void toBytes(net.minecraft.network.FriendlyByteBuf buf)
-