Skip to content

VoxelSniperCore

KevDaDev edited this page Dec 23, 2022 · 6 revisions

VoxelSniperCore is a package that contains shared code between VoxelSniper Reimagined forge and spigot. This library allows for the addition of a new platform, with minimal code.

Using VoxelSniperCore

To use VoxelSniperCore, it is important to know the ideas and reasoning behind it. Our ambition is to make VoxelSniper Reimagined a cross platform fork of voxelsniper. In order to achieve this, we have abstracted many classes, such as Materials, BlockData, Worlds, Entities and more. Each platform will have an implementation of these classes. (Currently VoxelSniperSpigot and VoxelSniperForge). These modules implement classes from VoxelSniperCore, and implement the methods so that they link to available API. In the case of Spigot, this is the Spigot API.

VoxelSniperCore is modeled after Spigot. Most methods from spigot are available. Other methods can be implemented as needed. For other platforms, such as Forge or Fabric, additional code may be needed to implement these features.

Class diagram

class diagram

Brush logic

Brush Logic diagram

Clone this wiki locally