Interface OtherMachines
@NonExtendable
public interface OtherMachines
Reaching other machines by position (
MachineContext.machines()), e.g. the members of one
multiblock. Only machines that are loaded and owned by the calling thread can be reached.-
Method Summary
Modifier and TypeMethodDescription@NotNull Optional<ResourceHandler> storage(@NotNull WorldPosition machine, @NotNull String storage) Full access to a storage of the machine atmachine(e.g.voidwake(@NotNull WorldPosition machine) Wakes the machine atmachine(e.g.
-
Method Details
-
storage
@NotNull @NotNull Optional<ResourceHandler> storage(@NotNull @NotNull WorldPosition machine, @NotNull @NotNull String storage) Full access to a storage of the machine atmachine(e.g. a multiblock member reaching the structure's storage, kept by another member). -
wake
Wakes the machine atmachine(e.g. a multiblock's anchor when its structure formed).
-