mirror of
https://github.com/Motschen/midnightdust-eu.git
synced 2025-12-18 03:15:09 +01:00
Create a wiki for PictureSign
This commit is contained in:
@@ -6,7 +6,7 @@ title: MidnightLib Wiki
|
||||
import VersionDropdown from '../../components/VersionDropdown.astro'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import { Notification } from 'accessible-astro-components'
|
||||
import { resultingVersion } from '../../js/modversion.js'
|
||||
import { getResultingVersion } from '../../js/modversion.js'
|
||||
|
||||
# MidnightLib Wiki
|
||||
|
||||
@@ -33,7 +33,7 @@ dependencies {
|
||||
```
|
||||
### `gradle.properties`
|
||||
<VersionDropdown></VersionDropdown>
|
||||
{<pre><code className="language-java">midnightlib_version = {resultingVersion}</code></pre>}
|
||||
{<pre><code className="language-java">midnightlib_version = {getResultingVersion()}</code></pre>}
|
||||
|
||||
<Notification type="info">
|
||||
<Icon name="ion:information-circle-outline" />
|
||||
@@ -119,4 +119,13 @@ If you don't use the whole library and therefore not the automatic ModMenu integ
|
||||
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||
return parent -> MidnightConfig.getScreen(parent, "modid");
|
||||
}`
|
||||
```
|
||||
```
|
||||
|
||||
<script>
|
||||
import Alpine from "alpinejs";
|
||||
|
||||
document.addEventListener('alpine:init', () => {
|
||||
//Alpine.data('versionSelection', () => ({
|
||||
//}))
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user