public interface IMultiblockComponent
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IMultiblockComponent.HasInventory
A component with a separate inventory, like the Alveary Swarmer or Alveary Sieve.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.BlockPos |
getCoordinates()
Returns the location of this tile entity in the world.
|
IMultiblockLogic |
getMultiblockLogic() |
com.mojang.authlib.GameProfile |
getOwner() |
void |
onMachineAssembled(IMultiblockController multiblockController,
net.minecraft.util.math.BlockPos minCoord,
net.minecraft.util.math.BlockPos maxCoord)
Called when a machine is fully assembled from the disassembled state, meaning
it was constructed by a player/entity action, not by chunks loading.
|
void |
onMachineBroken()
Called when the machine is broken for game reasons, e.g.
|
net.minecraft.util.math.BlockPos getCoordinates()
@Nullable com.mojang.authlib.GameProfile getOwner()
IMultiblockLogic getMultiblockLogic()
void onMachineAssembled(IMultiblockController multiblockController, net.minecraft.util.math.BlockPos minCoord, net.minecraft.util.math.BlockPos maxCoord)
multiblockController - The controller to which this part is being assembled.void onMachineBroken()