mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 16:39:36 +00:00
1.5.13
This commit is contained in:
@@ -5,7 +5,7 @@ plugins {
|
||||
|
||||
|
||||
group = 'net.momirealms'
|
||||
version = '1.5.11'
|
||||
version = '1.5.13'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
package net.momirealms.customcrops.datamanager;
|
||||
|
||||
import dev.lone.itemsadder.api.CustomBlock;
|
||||
import dev.lone.itemsadder.api.CustomStack;
|
||||
import net.momirealms.customcrops.fertilizer.QualityCrop;
|
||||
import net.momirealms.customcrops.utils.AdventureManager;
|
||||
import net.momirealms.customcrops.ConfigReader;
|
||||
|
||||
@@ -89,6 +89,9 @@ public class RightClick implements Listener {
|
||||
for (Integration integration : ConfigReader.Config.integration){
|
||||
if(!integration.canPlace(location, player)) return;
|
||||
}
|
||||
if(IAFurniture.getFromLocation(location.clone().add(0.5, 0.5, 0.5), location.getWorld())){
|
||||
return;
|
||||
}
|
||||
CropInstance cropInstance = crop.get();
|
||||
PlantingCondition plantingCondition = new PlantingCondition(player, location);
|
||||
if (cropInstance.getRequirements() != null){
|
||||
|
||||
@@ -57,7 +57,7 @@ crops:
|
||||
- autumn
|
||||
|
||||
corn:
|
||||
amount: 1~2
|
||||
amount: 2~3
|
||||
quality:
|
||||
1: customcrops:corn
|
||||
2: customcrops:corn_silver_star
|
||||
@@ -65,3 +65,21 @@ crops:
|
||||
season:
|
||||
- autumn
|
||||
- summer
|
||||
|
||||
pepper:
|
||||
amount: 3~6
|
||||
quality:
|
||||
1: customcrops:pepper
|
||||
2: customcrops:pepper_silver_star
|
||||
3: customcrops:pepper_golden_star
|
||||
season:
|
||||
- spring
|
||||
- summer
|
||||
return: customcrops:pepper_stage_3
|
||||
|
||||
garlic:
|
||||
amount: 3~4
|
||||
quality:
|
||||
1: customcrops:garlic
|
||||
2: customcrops:garlic_silver_star
|
||||
3: customcrops:garlic_golden_star
|
||||
@@ -43,8 +43,9 @@ crops:
|
||||
1: customcrops:cabbage
|
||||
2: customcrops:cabbage_silver_star
|
||||
3: customcrops:cabbage_golden_star
|
||||
gigantic: customcrops:gigantic_cabbage
|
||||
gigantic-chance: 0.01
|
||||
gigantic:
|
||||
block: customcrops:gigantic_cabbage
|
||||
chance: 0.01
|
||||
season:
|
||||
- spring
|
||||
|
||||
|
||||
Reference in New Issue
Block a user