Skip to content

Commit

Permalink
Merge pull request #2 from devOS-Sanity-Edition/kt/1.21/imgui-screen-…
Browse files Browse the repository at this point in the history
…detach

🧑‍💻 Detach DearImGui from using Minecraft's Screen into an Overlay
  • Loading branch information
asoji authored Jul 4, 2024
2 parents a588fcb + a10f358 commit 57946fc
Show file tree
Hide file tree
Showing 45 changed files with 3,056 additions and 2,686 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf
66 changes: 33 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: build
on: [ pull_request, push, workflow_dispatch ]

jobs:
build:
strategy:
matrix:
java: [ 21 ]
runs-on: ubuntu-latest
env:
PUBLISH_SUFFIX: snapshots
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
steps:
- name: checkout repository
uses: actions/checkout@v2

- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

- name: make gradle wrapper executable
run: chmod +x ./gradlew

- name: build
run: ./gradlew buildOrPublish

- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
name: Artifact-${{ github.sha }}
path: build/libs/
name: build
on: [ pull_request, push, workflow_dispatch ]

jobs:
build:
strategy:
matrix:
java: [ 21 ]
runs-on: ubuntu-latest
env:
PUBLISH_SUFFIX: snapshots
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
steps:
- name: checkout repository
uses: actions/checkout@v2

- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

- name: make gradle wrapper executable
run: chmod +x ./gradlew

- name: build
run: ./gradlew buildOrPublish

- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
name: Artifact-${{ github.sha }}
path: build/libs/
68 changes: 34 additions & 34 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: docs
on: [ push, workflow_dispatch ]
permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'

- name: make gradle wrapper executable
run: chmod +x ./gradlew

- name: Run Dokka Task
uses: gradle/gradle-build-action@v2
with:
cache-read-only: true
arguments: dokkaHtml

- name: Deploy Documentations
uses: JamesIves/github-pages-deploy-action@v4
with:
name: docs
on: [ push, workflow_dispatch ]
permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'

- name: make gradle wrapper executable
run: chmod +x ./gradlew

- name: Run Dokka Task
uses: gradle/gradle-build-action@v2
with:
cache-read-only: true
arguments: dokkaHtml

- name: Deploy Documentations
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/dokka/html
113 changes: 56 additions & 57 deletions Module.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,56 @@
# Module Inner Pastels

Library mod to share helper functions between Softer Pastels, Desolated Pastels, and any other future projects from asoji [probably]

```Bash
src/main/kotlin
└───gay.asoji.innerpastels
├───blocks
├───client
│ └───screens
│ └───imgui
├───crab
├───datagen
├───items
├───misc
├───register
└───tags

```

If you could think of a way to make all the package descriptors a bit better at explaining what they are, please feel free to make a PR with the `documentation` tag. plsandthx

# Package gay.asoji.innerpastels

Main root package

# Package gay.asoji.innerpastels.crab

Crab in the code 🦀

# Package gay.asoji.innerpastels.blocks

Custom Block classes or Block helpers

# Package gay.asoji.innerpastels.client

Client related classes, mainly contains the `ImGui` package

# Package gay.asoji.innerpastels.datagen

Helpers for Data Generation

# Package gay.asoji.innerpastels.items

Custom Item classes or Item Helpers

# Package gay.asoji.innerpastels.misc

Any code or helpers that don't fall under any clear category

# Package gay.asoji.innerpastels.register

Helper classes and functions for registry registers

# Package gay.asoji.innerpastels.tags

Custom Block and Item tags
# Module Inner Pastels

Library mod to share helper functions between Softer Pastels, Desolated Pastels, and any other future projects from asoji [probably]

```Bash
src/main/kotlin
└───gay.asoji.innerpastels
├───blocks
├───client
│ └───imgui
├───crab
├───datagen
├───items
├───misc
├───register
└───tags

```

If you could think of a way to make all the package descriptors a bit better at explaining what they are, please feel free to make a PR with the `documentation` tag. plsandthx

# Package gay.asoji.innerpastels

Main root package

# Package gay.asoji.innerpastels.crab

Crab in the code 🦀

# Package gay.asoji.innerpastels.blocks

Custom Block classes or Block helpers

# Package gay.asoji.innerpastels.client

Client related classes, mainly contains the `ImGui` impl

# Package gay.asoji.innerpastels.datagen

Helpers for Data Generation

# Package gay.asoji.innerpastels.items

Custom Item classes or Item Helpers

# Package gay.asoji.innerpastels.misc

Any code or helpers that don't fall under any clear category

# Package gay.asoji.innerpastels.register

Helper classes and functions for registry registers

# Package gay.asoji.innerpastels.tags

Custom Block and Item tags
Loading

0 comments on commit 57946fc

Please sign in to comment.