-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
8b1a6e9
commit 72388b8
Showing
6 changed files
with
56 additions
and
51 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
package miyucomics.hexical | ||
|
||
import miyucomics.hexical.inits.* | ||
import net.fabricmc.api.ClientModInitializer | ||
|
||
class HexicalClient : ClientModInitializer { | ||
override fun onInitializeClient() { | ||
HexicalBlocks.clientInit() | ||
HexicalEntities.clientInit() | ||
HexicalItems.clientInit() | ||
HexicalKeybinds.init() | ||
HexicalNetworking.clientInit() | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
package miyucomics.hexical | ||
|
||
import miyucomics.hexical.data.PrestidigitationData | ||
import miyucomics.hexical.inits.* | ||
import net.fabricmc.api.ModInitializer | ||
import net.minecraft.util.Identifier | ||
import java.util.* | ||
|
||
class HexicalMain : ModInitializer { | ||
override fun onInitialize() { | ||
HexicalAdvancements.init() | ||
HexicalBlocks.init() | ||
HexicalData.init() | ||
HexicalEntities.init() | ||
HexicalEvents.init() | ||
HexicalIota.init() | ||
HexicalItems.init() | ||
HexicalSounds.init() | ||
HexicalPatterns.init() | ||
HexicalNetworking.serverInit() | ||
PrestidigitationData.init() | ||
} | ||
|
||
companion object { | ||
const val MOD_ID: String = "hexical" | ||
@JvmField | ||
val RANDOM: Random = Random() | ||
const val EVOKE_DURATION: Int = 20 | ||
|
||
fun id(string: String?): Identifier { | ||
return Identifier(MOD_ID, string) | ||
} | ||
} | ||
} |
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