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'
|
group = 'net.momirealms'
|
||||||
version = '1.5.11'
|
version = '1.5.13'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
package net.momirealms.customcrops.datamanager;
|
package net.momirealms.customcrops.datamanager;
|
||||||
|
|
||||||
import dev.lone.itemsadder.api.CustomBlock;
|
import dev.lone.itemsadder.api.CustomBlock;
|
||||||
|
import dev.lone.itemsadder.api.CustomStack;
|
||||||
import net.momirealms.customcrops.fertilizer.QualityCrop;
|
import net.momirealms.customcrops.fertilizer.QualityCrop;
|
||||||
import net.momirealms.customcrops.utils.AdventureManager;
|
import net.momirealms.customcrops.utils.AdventureManager;
|
||||||
import net.momirealms.customcrops.ConfigReader;
|
import net.momirealms.customcrops.ConfigReader;
|
||||||
|
|||||||
@@ -89,6 +89,9 @@ public class RightClick implements Listener {
|
|||||||
for (Integration integration : ConfigReader.Config.integration){
|
for (Integration integration : ConfigReader.Config.integration){
|
||||||
if(!integration.canPlace(location, player)) return;
|
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();
|
CropInstance cropInstance = crop.get();
|
||||||
PlantingCondition plantingCondition = new PlantingCondition(player, location);
|
PlantingCondition plantingCondition = new PlantingCondition(player, location);
|
||||||
if (cropInstance.getRequirements() != null){
|
if (cropInstance.getRequirements() != null){
|
||||||
|
|||||||
@@ -57,11 +57,29 @@ crops:
|
|||||||
- autumn
|
- autumn
|
||||||
|
|
||||||
corn:
|
corn:
|
||||||
amount: 1~2
|
amount: 2~3
|
||||||
quality:
|
quality:
|
||||||
1: customcrops:corn
|
1: customcrops:corn
|
||||||
2: customcrops:corn_silver_star
|
2: customcrops:corn_silver_star
|
||||||
3: customcrops:corn_golden_star
|
3: customcrops:corn_golden_star
|
||||||
season:
|
season:
|
||||||
- autumn
|
- autumn
|
||||||
- summer
|
- 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
|
1: customcrops:cabbage
|
||||||
2: customcrops:cabbage_silver_star
|
2: customcrops:cabbage_silver_star
|
||||||
3: customcrops:cabbage_golden_star
|
3: customcrops:cabbage_golden_star
|
||||||
gigantic: customcrops:gigantic_cabbage
|
gigantic:
|
||||||
gigantic-chance: 0.01
|
block: customcrops:gigantic_cabbage
|
||||||
|
chance: 0.01
|
||||||
season:
|
season:
|
||||||
- spring
|
- spring
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user