feat: Add core functionality for chests and farming mechanics

- Implemented ChestsManager to handle player interactions with custom chests.
- Created CustomMaterial class to define custom materials with properties.
- Developed EventManager for handling chat events (currently empty).
- Introduced Farm class to manage block breaking and item drops with custom logic.
- Added utility methods in Utils class for random element selection and block manipulation.
- Created Model class for managing 3D model commands.
- Defined plugin.yml for command registration and permissions.
This commit is contained in:
2026-02-23 18:22:42 +01:00
parent 60f6e2a052
commit ea42ca1e9a
20 changed files with 486 additions and 0 deletions

34
pom.xml Normal file
View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>be.thedrewen</groupId>
<artifactId>endariel</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<repositories>
<!-- This adds the Spigot Maven repository to the build -->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<!--This adds the Spigot API artifact to the build -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.21.7-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>