9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-30 12:29:12 +00:00

update modules

This commit is contained in:
XiaoMoMi
2024-04-16 21:25:58 +08:00
parent 704ebf4ddb
commit 7bcd354db7
7 changed files with 0 additions and 139 deletions

42
gui-plugin/.gitignore vendored
View File

@@ -1,42 +0,0 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

View File

@@ -1,13 +0,0 @@
dependencies {
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
compileOnly(project(":api"))
implementation("xyz.xenondevs.invui:invui:1.27") {
exclude("org.jetbrains")
}
}
tasks {
shadowJar {
relocate ("xyz.xenondevs", "net.momirealms.customcrops.libraries")
}
}

View File

@@ -1,38 +0,0 @@
/*
* Copyright (C) <2024> <XiaoMoMi>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package net.momirealms.customcrops.gui;
import org.bukkit.plugin.java.JavaPlugin;
public class CustomCropsGUI extends JavaPlugin {
private static CustomCropsGUI instance;
@Override
public void onEnable() {
instance = this;
}
@Override
public void onDisable() {
}
public static CustomCropsGUI getInstance() {
return instance;
}
}

View File

@@ -1,16 +0,0 @@
package net.momirealms.customcrops.gui;
import net.momirealms.customcrops.api.event.PotInteractEvent;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
public class GUIManager implements Listener {
@EventHandler (ignoreCancelled = true)
public void onInteractPot(PotInteractEvent event) {
if (event.getItemInHand().getType() != Material.AIR)
return;
}
}

View File

@@ -1,20 +0,0 @@
# Offset characters' unicodes
# Never edit this unless you know what you are doing
offset-characters:
font: customcrops:offset_chars
'1':
'2':
'4':
'8':
'16':
'32':
'64':
'128':
'-1':
'-2':
'-4':
'-8':
'-16':
'-32':
'-64':
'-128':

View File

@@ -1,9 +0,0 @@
name: CustomCropsGUI
version: '${version}'
main: net.momirealms.customcrops.gui.CustomCropsGUI
api-version: 1.17
load: POSTWORLD
authors: [ XiaoMoMi ]
folia-supported: true
depend:
- CustomCrops

View File

@@ -2,5 +2,4 @@ rootProject.name = 'CustomCrops'
include(":plugin")
include(":api")
include(":legacy-api")
include(":gui-plugin")