Class EnderStorage.Location

java.lang.Object
com.beansgalaxy.backpacks.data.EnderStorage.Location
Enclosing class:
EnderStorage

public static class EnderStorage.Location extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.core.BlockPos
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Location(net.minecraft.core.BlockPos location, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
     
    Location(net.minecraft.nbt.CompoundTag tag)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    asPackaged(UUID owner, net.minecraft.server.level.ServerLevel level)
     
    void
    toNBT(net.minecraft.nbt.CompoundTag tag)
     
    static void
    update(UUID uuid, net.minecraft.server.level.ServerLevel serverLevel)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • location

      public final net.minecraft.core.BlockPos location
  • Constructor Details

    • Location

      public Location(net.minecraft.core.BlockPos location, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
    • Location

      public Location(net.minecraft.nbt.CompoundTag tag)
  • Method Details

    • update

      public static void update(UUID uuid, net.minecraft.server.level.ServerLevel serverLevel)
    • asPackaged

      public static HashSet<EnderStorage.PackagedLocation> asPackaged(UUID owner, net.minecraft.server.level.ServerLevel level)
    • toNBT

      public void toNBT(net.minecraft.nbt.CompoundTag tag)