Move files

This commit is contained in:
Johann Bernhardt committed 2021-11-22 12:37:53 +01:00
1 parent a958073079
commit 3429114d2a
274 files changed
+37547 -11

No files matched your search

@@ -0,0 +1,35 @@
/*******************************************************************************
* Copyright 2011-2014 SirSengir
*
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
******************************************************************************/
package forestry.api.farming;
import net.minecraftforge.common.util.ForgeDirection;
public enum FarmDirection {
NORTH(ForgeDirection.NORTH),
EAST(ForgeDirection.EAST),
SOUTH(ForgeDirection.SOUTH),
WEST(ForgeDirection.WEST);
private final ForgeDirection forgeDirection;
FarmDirection(ForgeDirection forgeDirection) {
this.forgeDirection = forgeDirection;
}
public ForgeDirection getForgeDirection() {
return forgeDirection;
}
public static FarmDirection getFarmDirection(ForgeDirection forgeDirection) {
switch (forgeDirection) {
case NORTH: return NORTH;
case EAST: return EAST;
case SOUTH: return SOUTH;
case WEST: return WEST;
}
return null;
}
}