Class PartOfferedEvent

java.lang.Object
alexiil.mc.lib.multipart.api.event.MultipartEvent
alexiil.mc.lib.multipart.api.event.PartOfferedEvent

public final class PartOfferedEvent
extends MultipartEvent
Fired whenever an AbstractPart is offered or added to a MultipartContainer.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    AbstractPart part  
  • Constructor Summary

    Constructors 
    Constructor Description
    PartOfferedEvent​(AbstractPart part)  
  • Method Summary

    Modifier and Type Method Description
    void disallow()
    Disallows this part from being added to the container.
    boolean isAllowed()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait