public interface IFRenderContext extends IFConfinedContext
| Modifier and Type | Method and Description |
|---|---|
void |
addLayoutSlot(@NotNull LayoutSlot layoutSlot)
This is an internal inventory-framework API that should not be used from outside of
this library.
|
java.util.function.BiFunction<java.lang.Integer,java.lang.Integer,ComponentFactory> |
getAvailableSlotFactory()
This is an internal inventory-framework API that should not be used from outside of
this library.
|
@UnmodifiableView java.util.List<ComponentFactory> |
getComponentFactories()
This is an internal inventory-framework API that should not be used from outside of
this library.
|
@NotNull ViewContainer |
getContainer()
The container of this context.
|
java.util.List<LayoutSlot> |
getLayoutSlots()
This is an internal inventory-framework API that should not be used from outside of
this library.
|
boolean |
isRendered()
This is an internal inventory-framework API that should not be used from outside of
this library.
|
back, back, canBack, closeForPlayer, getViewer, openForPlayer, openForPlayer, resetTitleForPlayer, updateTitleForPlayeraddComponent, addViewer, closeForEveryone, getComponentsAt, getConfig, getId, getIndexedViewers, getInitialData, getInitialTitle, getRoot, getViewers, isActive, isShared, openForEveryone, openForEveryone, removeComponent, removeViewer, renderComponent, resetTitleForEveryone, setActive, setInitialData, update, updateComponent, updateTitleForEveryonegetInternalStateValue, getRawStateValue, getStateValues, getUninitializedStateValue, initializeState, updateState, watchStategetComponents, getInternalComponents@ApiStatus.Internal @UnmodifiableView java.util.List<ComponentFactory> getComponentFactories()
@ApiStatus.Internal java.util.List<LayoutSlot> getLayoutSlots()
@ApiStatus.Internal
void addLayoutSlot(@NotNull
@NotNull LayoutSlot layoutSlot)
@ApiStatus.Internal java.util.function.BiFunction<java.lang.Integer,java.lang.Integer,ComponentFactory> getAvailableSlotFactory()
@NotNull @NotNull ViewContainer getContainer()
The container is where all the changes that are displayed to the user are applied.
Direct modifications to the container must launch an inventory modification error, which signals that that function will change the container for whoever is seeing what, which, if it is not possible at that moment or if the container is not sufficiently prepared for this, it must fail.
@ApiStatus.Internal boolean isRendered()