Class SlotTransaction
java.lang.Object
org.spongepowered.api.data.Transaction<ItemStackSnapshot>
org.spongepowered.api.item.inventory.transaction.SlotTransaction
- All Implemented Interfaces:
- DataSerializable
- 
Constructor SummaryConstructorsConstructorDescriptionSlotTransaction(Slot slot, ItemStackSnapshot original, ItemStackSnapshot defaultReplacement) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidSets the customItemStackoutput of thisSlotTransaction.slot()Gets theSlotof thisSlotTransaction.toString()Methods inherited from class org.spongepowered.api.data.TransactioncontentVersion, custom, defaultReplacement, equals, finalReplacement, hashCode, intermediary, invalidate, isValid, original, setCustom, setValid, toContainer, validate
- 
Constructor Details- 
SlotTransaction- Parameters:
- slot- The slot
- original- The original item stack snapshot
- defaultReplacement- The replacement item stack snapshot
 
 
- 
- 
Method Details- 
setCustomSets the customItemStackoutput of thisSlotTransaction.- Parameters:
- stack- The stack
 
- 
slotGets theSlotof thisSlotTransaction.- Returns:
- The slot of this transaction
 
- 
toString- Overrides:
- toStringin class- Transaction<ItemStackSnapshot>
 
 
-