Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create readme.md * Added VoxelSniperAbstractionClassDiagram * Update VoxelSniperAbstractionClassDiagram * Update VoxelSniperAbstractionClassDiagram * Update VoxelSniperAbstractionClassDiagram * Update VoxelSniperAbstractionClassDiagram * Class diagram v1 * Update VoxelSniperAbstractionClassDiagram * Added VoxelSniperAbstractionClassDiagram.drawio.svg * Update readme.md * Formatting + World:set/getMaterial * Update svg * Started abstracting * Update class diagram * Moved main plugin to folder bukkit, started abstracting functionality * Broke more stuff, but also fixed some stuff (WILL NOT COMPILE) * Changed all Material. to new bukkitmaterial and all references of Material to IMaterial (ONLY IN BRUSHES) (WILL NOT COMPILE) * Fixed a bunch more errors * Less than 500 errors! * Less than 250 errors! * Added VoxelSniperAbstractionClassDiagram.drawio.svg * Feature/materials (#36) * created VoxelMaterial * Some updates to versioning * finished v1 of materials * Added VoxelSniperAbstractionClassDiagram.drawio.svg * Fixed part of diagram * Probably fixed getVersion method * Update src/main/java/com/thevoxelbox/voxelsniper/voxelsniper/Version.java Co-authored-by: Lennart99 <le.le@live.nl> * Update src/main/java/com/thevoxelbox/voxelsniper/voxelsniper/material/VoxelMaterial.java Co-authored-by: Lennart99 <le.le@live.nl> * Update src/main/java/com/thevoxelbox/voxelsniper/voxelsniper/material/VoxelMaterial.java Co-authored-by: Lennart99 <le.le@live.nl> * removed wrong setBlock * Update VoxelSniperAbstractionClassDiagram.drawio * update svg Co-authored-by: Lennart99 <le.le@live.nl> * Less than 100 errors!!!! * Fixed stuff but somehow more errors * Created Voxelbiome, converted more code * More abstraction, 76 errors left * 99 errors left * 88 errors * 48 errors * 31 errors left * 16 errors * It compiles!!!! (With maven skip tests enabled) * Update VoxelSniperListener.java * Fixed some issues snipe brush kinda works Next up: find out why snipe brush does things double, find out why snipe target block is not visible at range * Fixed worldheight bug * Fixed issue with ranged sniper where it would point to the wrong position * removed println * Unit tests * Code cleanup * Made all exceptions print, revert commit before closing PR * Fixes * Fix errors * Optimize imports * Move VoxelMessage back to util - no longer uses any Bukkit code * Fix tests (yey) * fixes, remove all IVoxelsniper main fields * Even more fixes * Mostly fix StampBrush, only fallsOff needs fixing * Overhaul Materials, now uses VoxelMaterial everywhere, instead of the Bukkit Material * Make Lang fully multi-platform, no more usage of Bukkit * Fix CloneStamp, make it possible to add more 'tags' to blocks in the same way * Remove getVoxelMaterial from IMaterial * Make SniperManagerTest platform-independent * Changed an unfortunate choice of words * Updated method to be nullable * Fixed issue converting location to chunk * Fixed EntityRemovalBrush * Removed ability to use off hand, since this causes a double event * Don't use black chatcolor, as it is unreadable * fixed SignOverwriteBrush, only need to fix the printing of the colors to the chat * fixed SnipeBrush (and probably some others as well) with powder * fixed chatcolor for SignOverwriteBrush * Fixed double block removal on rightclick on block * Delete MaterialTranslator.java * partially fix jockeybrush, at least doesn't generate stacktraces anymore, still not 100% on what it should do * Clean up some command code * prevent VoxelMaterial::getMaterial from returning invalid materials that don't exist * remove IEntityType - use VoxelEntityType instead * Move some entity-related classes around * Fix PaintingBrush, abstract Painting * Renamed regenerateBrush * Update BukkitWorld.java * replace Art by ArtIds, so that we don't need to abstract something that is pretty much just a number * implemented copy correctly this time * Fixed TreeSnipeBrush * fix SplineBrush, still not sure what it does, but it at least does something now * fix SplineBrush not working after undo * fix arguments for PullBrush, powder is still severally broken (overloads server) * clamp arguments for PullBrush between 0 and 1, also made other general improvements to the code * Make it possible to undo PullBrush, improve Undo a bit * Fixed DiscBrush * Fix VoltMeterBrush, introduced IRedstoneWire * Remove unnecessary method * Fix GenerateTreeBrush * Fix arguments for GenerateTreeBrush * Improve MoveBrush a bit * replace BukkitVector with a general multi-platform class, remove the use of BlockIterator in the line brushes * replace BukkitLocation with a general multi-platform class, removing the need for LocationFactory * fix parameter parsing for rotate 2D brushes, but something still seems off * improve rotation brush code * Update VoxelSniperAbstractionClassDiagram.drawio * updated VoxelSniperAbstractionClassDiagram.drawio.svg * WIP: improve ScannerBrush * Create VoxelVectorTest.java * THIS TOOK TOO LONG * Move back some classes that are not bukkit-specific * Removed bukkit references * replace all equality checks for VoxelMaterial.AIR with type.isAir() * Fix clone methods for vector and location * return VoxelMaterial.AIR from getMaterial when the type is cave_air or void_air * cache World and Player instances instead of recreating them every time * Abstract most of the functionality of commands - still need to abstract VoxelCommandManager, and decide what to do with the events * Removed use of PlayerTeleportEvent, instead try to teleport (which has the same effect) * Abstracted VoxelCommandManager * Fix tab completion for some commands * another fix * change UndoDelegate to be bukkit-specific, remove bukkit import from Undo * Fix test * Fix treesnipe Undo * Create AbstractBlockState, moved some methods around * removed MaterialFactory * Abstract TreeType to VoxelTreeType * Remove Bukkit usage from IPlayer and CometBrush * Abstract events * Abstract Action * Change VoxelSniperConfiguration * Removed setBlock method * Plugin now starts on spigot 1.16.5 * reformat code * fixed some problems in the JockeyBrush, make some general improvements to chunk/world/entity * Some small improvements to brushes * fixes to CanyonBrush (also CanyonSelectionBrush) * small improvements to overlay/underlay brushes * add to authors 😉 * Update DrainBrush.java * removed temp exception * Start on migration to gradle * add rules to shadowJar * fix plugin.yml * delete output folder when cleaning * Start migrating actions * Start migrating actions * make gradlew executable * update release action * Update README.md * Update README.md * Update README.md * Update README.md * Update plugin.yml Co-authored-by: KevDaDev <65958288+KevinDaGame@users.noreply.github.com> * update website in plugin.yml * clean up gitignore * change default output name, change logic to only export 'implementation' jars * Move classes * move tests * renamed packages * fix build errors * Refactored Bukkit in classnames to Spigot * version bump * Cleanup: Remove fully qualified name usage * Move VoxelSniperCore dependency to "voxel-implementation" plugin * Got runpaper to work for 1.17+ * Change testImplementation for spigot to 1.16.5 * also build when targeting develop * Renamed Brush to AbstractBrush this changed should be pulled asap to forge to prevent conflicts * Fixed voxelsniper.* * Implemented bstats * Added permission descriptions * Version bump Co-authored-by: Lennart99 <le.le@live.nl>
- Loading branch information