shynixn / astraledit Goto Github PK
View Code? Open in Web Editor NEWAstralEdit is a spigot plugin to pre render WorldEdit selections in Minecraft.
License: Apache License 2.0
AstralEdit is a spigot plugin to pre render WorldEdit selections in Minecraft.
License: Apache License 2.0
Can i have this issue?
Refactor the 'angles' command (#4)
Refactor the 'upsidedown' command (#4)
Refactor the 'join' command
Pls
Refactor the 'auto-follow' command
As stated in #4
Refactor the 'render' command as stated in #4
Refactor the 'join' command (#4)
Refactor the 'flip' command as listed in #4
Refactor the 'rotate' command #4
I would like to do this task
Refactor the 'clear' command (#4)
Refactor the 'undo' command (#4)
As stated in #4
Refactor the 'place' command as stated in #4
+Thanks for already over 21 completed tasks!
This project has not been active for about a year and would need some love from fellow developers. If you are a OpenSource contributor, you have found a project which provides explained and easy tasks for you :)
Required Knowledge
Code/Style/Architecture
It is highly recommend to create a new issue on this project with the task name for example "refactor the 'render' command" to avoid duplicate task pull requests.
The SelectionController should have one single function called cleanResources(Player player) to clear all allocated resources of the given player.
The implementation should call clearSelection and clearOperation.
Refactor the SelectionListener by removing the inheritance SimpleListener and adding the interface Listener. The parameter of the class should only be a SelectionController which is used in the onPlayerQuitEvent to call clearResources
Register the listener in the AstralEditPlugin class and delete the SimpleListener class
There are commands implemented in the commands package using the AstralEdit.INSTANCE api or even worse the SelectionManager class directly like passing them as parameter. This is not a good coding style as an interface, in this case the SelectionController, should be used instead.
How to complete this task:
The commandexecutor SelectionCommandExecutor.java is very messy concerning readability of the onPlayerExecuteCommand function. Using the https://en.wikipedia.org/wiki/Command_pattern helps resolving this.
There is already one command called AutoRotateCommand correctly refactored.
Steps:
There are many commands which need to get refactored. Each one is a single task.
Refactor the 'render' command
Refactor the 'join' command
Refactor the 'tear' command
Refactor the 'place' command
Refactor the 'clear' command
Refactor the 'mirror' command
Refactor the 'flip' command
Refactor the 'upsidedown' command
Refactor the 'undo' command
Refactor the 'hide' command
Refactor the 'show' command
Refactor the 'angles' command
Refactor the 'rotate' command
Refactor the 'convertToBlocks' command
Refactor the 'convertToRender' command
Refactor the 'teleport' command
Refactor the 'auto-follow' command
Refactor both 'move' commands
Remove the Metrics.java class and replace it with the maven dependency of https://bstats.org/getting-started. The dependency should also be shaded into the final jar file and correctly relocated like it is in this project. https://github.com/Shynixn/BlockBall/blob/master/blockball-bukkit-plugin/pom.xml
Refactor the AstralEditApi.java to a Singleton by using public static final AstralEditApi INSTANCE = new AstralEditApi(); This project already uses this correctly. https://github.com/Shynixn/StructureBlockLib/blob/master/structureblocklib-bukkit-api/src/main/java/com/github/shynixn/structureblocklib/bukkit/api/StructureBlockApi.java
A wise man once said that Utils classes should not exist in a good project. He was right and so the UpdateUtils class needs to be refactored.
How to complete this task:
Refactor the 'tear' command (#4)
Refactor the 'show' command (#4)
Refactor the 'hide' command (#4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.