[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-29 12:03:50 -08:00
1 parent 4711be8028
commit 94aa9346b1
1282 files changed
+15755 -16296

No files matched your search

@@ -5,17 +5,18 @@
******************************************************************************/
package forestry.api.multiblock;
import com.mojang.authlib.GameProfile;
import net.minecraft.util.ChunkCoordinates;
import com.mojang.authlib.GameProfile;
/**
* Basic interface for a multiblock machine component.
* Implemented by TileEntities.
* Basic interface for a multiblock machine component. Implemented by TileEntities.
*/
public interface IMultiblockComponent {
/**
* Returns the location of this tile entity in the world.
*
* @return ChunkCoordinates set to the location of this tile entity in the world.
*/
ChunkCoordinates getCoordinates();
@@ -31,18 +32,17 @@ public interface IMultiblockComponent {
IMultiblockLogic getMultiblockLogic();
/**
* Called when a machine is fully assembled from the disassembled state, meaning
* it was constructed by a player/entity action, not by chunks loading.
* Note that, for non-square machines, the min/max coordinates may not actually be part
* of the machine! They form an outer bounding box for the whole machine itself.
* Called when a machine is fully assembled from the disassembled state, meaning it was constructed by a
* player/entity action, not by chunks loading. Note that, for non-square machines, the min/max coordinates may not
* actually be part of the machine! They form an outer bounding box for the whole machine itself.
*
* @param multiblockController The controller to which this part is being assembled.
*/
void onMachineAssembled(
IMultiblockController multiblockController, ChunkCoordinates minCoord, ChunkCoordinates maxCoord);
void onMachineAssembled(IMultiblockController multiblockController, ChunkCoordinates minCoord,
ChunkCoordinates maxCoord);
/**
* Called when the machine is broken for game reasons, e.g. a player removed a block
* or an explosion occurred.
* Called when the machine is broken for game reasons, e.g. a player removed a block or an explosion occurred.
*/
void onMachineBroken();
}