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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.enginehub.linbus.tree.LinCompoundTag
updateNbt
(EntityType type, org.enginehub.linbus.tree.LinCompoundTag tag) Given an entity type and data, update the data if needed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.extent.clipboard.io.legacycompat.EntityNBTCompatibilityHandler
isAffectedEntity, updateNBT
-
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 interfaceEntityNBTCompatibilityHandler
- Parameters:
type
- the entity typetag
- the entity tag- Returns:
- the updated tag, or the same tag if no update was needed
-