mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 07:35:47 +00:00
Code cleanup and remove some unused code
This commit is contained in:
1 parent
f0f8c9a984
commit
fdf3493ed0
295 files changed
+899
-2840
No files matched your search
@@ -38,7 +38,7 @@ public abstract class FarmLogicCrops extends FarmLogicWatered {
|
||||
private final Iterable<IFarmable> seeds;
|
||||
private static final ItemStack farmland = new ItemStack(Blocks.farmland, 1, Defaults.WILDCARD);
|
||||
|
||||
public FarmLogicCrops(IFarmHousing housing, Iterable<IFarmable> seeds) {
|
||||
protected FarmLogicCrops(IFarmHousing housing, Iterable<IFarmable> seeds) {
|
||||
super(housing, new ItemStack(Blocks.dirt), new ItemStack(Blocks.farmland));
|
||||
|
||||
this.seeds = seeds;
|
||||
@@ -59,7 +59,7 @@ public abstract class FarmLogicCrops extends FarmLogicWatered {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isWindfall(ItemStack itemstack) {
|
||||
private boolean isWindfall(ItemStack itemstack) {
|
||||
for (IFarmable germling : seeds) {
|
||||
if (germling.isWindfall(itemstack)) {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user