Class Pre13HangingCompatibilityHandler

java.lang.Object
com.sk89q.worldedit.extent.clipboard.io.legacycompat.Pre13HangingCompatibilityHandler
All Implemented Interfaces:
EntityNBTCompatibilityHandler

public class Pre13HangingCompatibilityHandler extends Object implements EntityNBTCompatibilityHandler
  • Constructor Details

    • Pre13HangingCompatibilityHandler

      public Pre13HangingCompatibilityHandler()
  • Method Details

    • updateNbt

      public org.enginehub.linbus.tree.LinCompoundTag updateNbt(EntityType type, org.enginehub.linbus.tree.LinCompoundTag tag)
      Description copied from interface: EntityNBTCompatibilityHandler
      Given an entity type and data, update the data if needed.
      Specified by:
      updateNbt in interface EntityNBTCompatibilityHandler
      Parameters:
      type - the entity type
      tag - the entity tag
      Returns:
      the updated tag, or the same tag if no update was needed