Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29943bcd8e | |||
|
|
ec26e8d5f7 |
@@ -15,4 +15,6 @@ _Currently in beta so expect bugs._
|
|||||||
- Auto-Welcome (20%) **WARNING: This feature may prove to be annoying, in which case we will remove it.**
|
- Auto-Welcome (20%) **WARNING: This feature may prove to be annoying, in which case we will remove it.**
|
||||||
- City NPCs (Lively Mode) (0%)
|
- City NPCs (Lively Mode) (0%)
|
||||||
- Fishing notifications (0%)
|
- Fishing notifications (0%)
|
||||||
- Macros (100%)
|
- Macros (100%)
|
||||||
|
- Miningfy Initial Support (0%)
|
||||||
|
- Update to latest game version (0%)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ loader_version=0.15.11
|
|||||||
fabric_kotlin_version=1.11.0+kotlin.2.0.0
|
fabric_kotlin_version=1.11.0+kotlin.2.0.0
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=0.2.12
|
mod_version=0.2.13
|
||||||
maven_group=chickenmanfy.scify
|
maven_group=chickenmanfy.scify
|
||||||
archives_base_name=scify
|
archives_base_name=scify
|
||||||
|
|
||||||
|
|||||||
@@ -70,10 +70,6 @@ class Bars {
|
|||||||
tessellator.draw()
|
tessellator.draw()
|
||||||
}
|
}
|
||||||
buffer.begin(VertexFormat.DrawMode.QUADS, VertexFormats.POSITION_COLOR_TEXTURE)
|
buffer.begin(VertexFormat.DrawMode.QUADS, VertexFormats.POSITION_COLOR_TEXTURE)
|
||||||
/*buffer.vertex(positionMatrix, MinecraftClient.getInstance().window.scaledWidth.toFloat()/2-180, MinecraftClient.getInstance().window.scaledHeight.toFloat() - 40, 0F).color(1f, 1f, 1f, 1f).texture(0f, 0f).next()
|
|
||||||
buffer.vertex(positionMatrix, MinecraftClient.getInstance().window.scaledWidth.toFloat()/2-180, MinecraftClient.getInstance().window.scaledHeight.toFloat(), 0F).color(1f, 1f, 1f, 1f).texture(0f, 1f).next()
|
|
||||||
buffer.vertex(positionMatrix, MinecraftClient.getInstance().window.scaledWidth.toFloat()/2-140, MinecraftClient.getInstance().window.scaledHeight.toFloat(), 0F).color(1f, 1f, 1f, 1f).texture(1f, 1f).next()
|
|
||||||
buffer.vertex(positionMatrix, MinecraftClient.getInstance().window.scaledWidth.toFloat()/2-140, MinecraftClient.getInstance().window.scaledHeight.toFloat() - 40, 0F).color(1f, 1f, 1f, 1f).texture(1f, 0f).next()*/
|
|
||||||
buffer.vertex(positionMatrix, xHealth, yHealth, 0f).color(1f, 1f, 1f, 1f).texture(0f, 0f).next()
|
buffer.vertex(positionMatrix, xHealth, yHealth, 0f).color(1f, 1f, 1f, 1f).texture(0f, 0f).next()
|
||||||
buffer.vertex(positionMatrix, xHealth, yHealth+height, 0f).color(1f, 1f, 1f, 1f).texture(0f, 1f).next()
|
buffer.vertex(positionMatrix, xHealth, yHealth+height, 0f).color(1f, 1f, 1f, 1f).texture(0f, 1f).next()
|
||||||
buffer.vertex(positionMatrix, xHealth+width, yHealth+height, 0f).color(1f, 1f, 1f, 1f).texture(1f, 1f).next()
|
buffer.vertex(positionMatrix, xHealth+width, yHealth+height, 0f).color(1f, 1f, 1f, 1f).texture(1f, 1f).next()
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ class Menu : Screen(Text.literal("SciFy Menu")) {
|
|||||||
.dimensions(width / 2 + 5, 84, 200, 20)
|
.dimensions(width / 2 + 5, 84, 200, 20)
|
||||||
.tooltip(Tooltip.of(Text.literal("Fishing Notifications (${if (fishingToggle) "Enabled" else "Disabled"})")))
|
.tooltip(Tooltip.of(Text.literal("Fishing Notifications (${if (fishingToggle) "Enabled" else "Disabled"})")))
|
||||||
.build()
|
.build()
|
||||||
|
fishingNotif?.active = false
|
||||||
watermark = ButtonWidget.builder(Text.literal("Show Watermark")) {
|
watermark = ButtonWidget.builder(Text.literal("Show Watermark")) {
|
||||||
Watermark().toggleWaterMark() // Call the function toggleWaterMark() from the Watermark.kt module
|
Watermark().toggleWaterMark() // Call the function toggleWaterMark() from the Watermark.kt module
|
||||||
MinecraftClient.getInstance().setScreen(Menu())
|
MinecraftClient.getInstance().setScreen(Menu())
|
||||||
@@ -64,6 +65,7 @@ class Menu : Screen(Text.literal("SciFy Menu")) {
|
|||||||
.dimensions(width / 2 - 205, 124, 200, 20)
|
.dimensions(width / 2 - 205, 124, 200, 20)
|
||||||
.tooltip(Tooltip.of(Text.literal("Automatically sends \"wb\" when a player joins. (${if (autoWelcomeToggle) "Enabled" else "Disabled"})")))
|
.tooltip(Tooltip.of(Text.literal("Automatically sends \"wb\" when a player joins. (${if (autoWelcomeToggle) "Enabled" else "Disabled"})")))
|
||||||
.build()
|
.build()
|
||||||
|
autoWelcome?.active = false
|
||||||
livelyMode = ButtonWidget.builder(Text.literal("City NPCs (Lively Mode)")) {
|
livelyMode = ButtonWidget.builder(Text.literal("City NPCs (Lively Mode)")) {
|
||||||
LivelyMode().toggleLivelyMode() // Call the function toggleLivelyMode() from the LivelyMode.kt module
|
LivelyMode().toggleLivelyMode() // Call the function toggleLivelyMode() from the LivelyMode.kt module
|
||||||
MinecraftClient.getInstance().setScreen(Menu())
|
MinecraftClient.getInstance().setScreen(Menu())
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ class Watermark {
|
|||||||
modDisableOverride) {
|
modDisableOverride) {
|
||||||
if (watermarkToggle) {
|
if (watermarkToggle) {
|
||||||
val minecraftClient = MinecraftClient.getInstance()
|
val minecraftClient = MinecraftClient.getInstance()
|
||||||
val scifyVersion = "0.2.12"
|
val scifyVersion = "0.2.13"
|
||||||
drawContext?.drawTextWithShadow(minecraftClient.textRenderer,"§nSciFy v${scifyVersion}",minecraftClient.window.scaledWidth - minecraftClient.textRenderer.getWidth("SciFy v${scifyVersion}") - 5, minecraftClient.window.scaledHeight - minecraftClient.textRenderer.fontHeight - 5, 0xff00ff)
|
drawContext?.drawTextWithShadow(minecraftClient.textRenderer,"§nSciFy v${scifyVersion}",minecraftClient.window.scaledWidth - minecraftClient.textRenderer.getWidth("SciFy v${scifyVersion}") - 5, minecraftClient.window.scaledHeight - minecraftClient.textRenderer.fontHeight - 5, 0xff00ff)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user