-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
676 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# Galactifun2 | ||
|
||
This is a rewrite of [Galactifun](https://github.com/Slimefun-Addon-Community/Galactifun) in Kotlin. Also planning to redo the rocket system. | ||
This is a rewrite of [Galactifun](https://github.com/Slimefun-Addon-Community/Galactifun) in Kotlin. Also planning to redo the rocket system. | ||
|
||
## Credits | ||
|
||
Big thanks to [minecraft-heads](https://minecraft-heads.com/) for providing the heads used in this plugin. | ||
|
||
[![](https://images.minecraft-heads.com/banners/minecraft-heads_fullbanner_468x60.png)](https://minecraft-heads.com/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
plugin/src/main/kotlin/io/github/addoncommunity/galactifun/impl/GalactifunHeads.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package io.github.addoncommunity.galactifun.impl | ||
|
||
import io.github.addoncommunity.galactifun.util.items.MaterialType | ||
import io.github.thebusybiscuit.slimefun4.utils.SlimefunUtils | ||
|
||
enum class GalactifunHeads(private val texture: String) { | ||
|
||
// https://minecraft-heads.com/custom-heads/head/81364-floppy-disc-icon | ||
FLOPPY_DISK("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTYyOWM4MTNlNTAxZjI0YmIyZjRjYTAyMWVlNTg2MmU0ZTIxNTgxODdmMzA3MjcyZWI2NWExZTY0ZDMwOTE0OCJ9fX0="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/57245-file-explorer | ||
FILE_EXPLORER("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzczZThiZDNjNDNjNDUxNGM3NjQ4MWNhMWRhZjU1MTQ5ZGZjOTNiZDFiY2ZhOGFiOTQzN2I5ZjdlYjMzOTJkOSJ9fX0="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/94698-forest-green-l | ||
LETTER_L("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmZhMDI5NjgyMjhkOWM0MDExZjAxMWRiNzAxZjJjNzUwZTRlYTZhZTJkM2E2MDM1NWJkZTdlNjgyMGVjZThmNyJ9fX0="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/94709-forest-green-w | ||
LETTER_W("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTZiZDJkZGMzZTFmYTdiY2I4YjZiYjViYTRmMGFlZWI4MjgzNDFlYWUwYTRkNzVmYzk4NWUzNzE5MWJkMGY1NCJ9fX0="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/94694-forest-green-h | ||
LETTER_H("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWRiMDJiMDQwYzM3MDE1ODkyYTNhNDNkM2IxYmZkYjJlMDFhMDJlZGNjMmY1YjgyMjUwZGNlYmYzZmY0ZjAxZSJ9fX0="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/94710-forest-green-x | ||
LETTER_X("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDZhZTIxMWI0NDAzYjg5NjNjNjc0NWYzYzk4ZWJlNzNhMmI0ZTk3YzQwYTc4YjJmZDQwM2EwOWMwZmNhZDZkIn19fQ=="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/94711-forest-green-y | ||
LETTER_Y("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTE5N2MwNjFjM2E1M2RmYTQ1ODMzZDgwYzM3Y2U4ZDEyYTVjMzZhMTViYmRlMjQ4OWZjYjFjYjMzYTJhZGZmOCJ9fX0="), | ||
|
||
// https://minecraft-heads.com/custom-heads/head/94712-forest-green-z | ||
LETTER_Z("eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmEwOTg5NzVhNzI3ZTkyYmQ5YmM5OGIxY2JmMTQwZTdhNDFhOTkyZmU2NGNmYmI3MTk2ZTdkYmRhNDM0OTczIn19fQ=="), | ||
; | ||
|
||
val item = SlimefunUtils.getCustomHead(texture) | ||
val materialType: MaterialType = MaterialType.Head(texture) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.