mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Rename files to be more consistent. Add missing headers, tidy up Utils
This commit is contained in:
1 parent
37dd0efee2
commit
1e89bab556
576 files changed
+3811
-3923
No files matched your search
@@ -10,18 +10,30 @@
|
||||
******************************************************************************/
|
||||
package forestry.farming;
|
||||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
import forestry.api.farming.FarmDirection;
|
||||
import forestry.api.farming.IFarmComponent;
|
||||
import forestry.core.vect.MutableVect;
|
||||
import forestry.core.vect.Vect;
|
||||
import forestry.core.vect.VectUtil;
|
||||
import forestry.core.utils.vect.MutableVect;
|
||||
import forestry.core.utils.vect.Vect;
|
||||
import forestry.core.utils.vect.VectUtil;
|
||||
|
||||
public class FarmHelper {
|
||||
|
||||
public static final ImmutableSet<Block> bricks = ImmutableSet.of(
|
||||
Blocks.brick_block,
|
||||
Blocks.stonebrick,
|
||||
Blocks.sandstone,
|
||||
Blocks.nether_brick,
|
||||
Blocks.quartz_block
|
||||
);
|
||||
|
||||
private static FarmDirection getOpposite(FarmDirection farmDirection) {
|
||||
ForgeDirection forgeDirection = farmDirection.getForgeDirection();
|
||||
ForgeDirection forgeDirectionOpposite = forgeDirection.getOpposite();
|
||||
|
||||
Reference in new issue
Block a user