Move sources to /src/main/

This commit is contained in:
glowredman committed 2022-12-14 00:11:11 +01:00
1 parent 8ece61b4eb
commit 8f8dd89cf8
44 files changed

No files matched your search

@@ -0,0 +1,31 @@
/*
* Copyright (c) 2015.
* Created by MrTJP.
* All rights reserved.
*/
package mrtjp.mcframes.api;
import mrtjp.relocation.api.BlockPos;
import net.minecraft.world.World;
import java.util.Set;
/**
* Helper class used to resolve frame structures.
*/
public abstract class StickResolver
{
/**
* Method used to obtain the block coordinates of every block that is part of the same
* framed structure as the one that was given as an argument.
*
* @param world The world
* @param x The x coordinate of any block in the structure.
* @param y The y coordinate of any block in the structure.
* @param z The z coordinate of any block in the structure.
* @param exclusions All coordinates to not include in the structure.
* generally, one of these is the motor block that moved the structure.
* @return A set of all block coordinates that are part of the structure that the input block was in.
*/
public abstract Set<BlockPos> getStructure(World world, int x, int y, int z, BlockPos... exclusions);
}