Skip to content

Commit afff3c8

Browse files
committed
Initial commit
0 parents  commit afff3c8

50 files changed

Lines changed: 6388 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Automatically build the project and run any configured tests for every push
2+
# and submitted pull request. This can help catch issues that only occur on
3+
# certain platforms or Java versions, and provides a first line of defence
4+
# against bad commits.
5+
6+
name: build
7+
on: [pull_request, push]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-24.04
12+
steps:
13+
- name: checkout repository
14+
uses: actions/checkout@v6
15+
- name: validate gradle wrapper
16+
uses: gradle/actions/wrapper-validation@v6
17+
- name: setup jdk
18+
uses: actions/setup-java@v5
19+
with:
20+
java-version: '25'
21+
distribution: 'microsoft'
22+
- name: make gradle wrapper executable
23+
run: chmod +x ./gradlew
24+
- name: build
25+
run: ./gradlew build
26+
- name: capture build artifacts
27+
uses: actions/upload-artifact@v7
28+
with:
29+
name: Artifacts
30+
path: build/libs/

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# gradle
2+
3+
.gradle/
4+
build/
5+
out/
6+
classes/
7+
8+
# eclipse
9+
10+
*.launch
11+
12+
# idea
13+
14+
.idea/
15+
*.iml
16+
*.ipr
17+
*.iws
18+
19+
# vscode
20+
21+
.settings/
22+
.vscode/
23+
bin/
24+
.classpath
25+
.project
26+
27+
# macos
28+
29+
*.DS_Store
30+
31+
# fabric
32+
33+
run/
34+
35+
# java
36+
37+
hs_err_*.log
38+
replay_*.log
39+
*.hprof
40+
*.jfr
41+
42+
mcsrc/

LICENSE.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# PolyForm Shield License 1.0.0
2+
3+
<https://polyformproject.org/licenses/shield/1.0.0>
4+
5+
## Acceptance
6+
7+
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
8+
9+
## Copyright License
10+
11+
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
12+
13+
## Distribution License
14+
15+
The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
16+
17+
## Notices
18+
19+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
20+
21+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
22+
23+
## Changes and New Works License
24+
25+
The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
26+
27+
## Patent License
28+
29+
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
30+
31+
## Noncompete
32+
33+
Any purpose is a permitted purpose, except for providing any product that competes with the software or any product the licensor or any of its affiliates provides using the software.
34+
35+
## Competition
36+
37+
Goods and services compete even when they provide functionality through different kinds of interfaces or for different technical platforms. Applications can compete with services, libraries with plugins, frameworks with development tools, and so on, even if they're written in different programming languages or for different computer architectures. Goods and services compete even when provided free of charge. If you market a product as a practical substitute for the software or another product, it definitely competes.
38+
39+
## New Products
40+
41+
If you are using the software to provide a product that does not compete, but the licensor or any of its affiliates brings your product into competition by providing a new version of the software or another product using the software, you may continue using versions of the software available under these terms beforehand to provide your competing product, but not any later versions.
42+
43+
## Discontinued Products
44+
45+
You may begin using the software to compete with a product or service that the licensor or any of its affiliates has stopped providing, unless the licensor includes a plain-text line beginning with `Licensor Line of Business:` with the software that mentions that line of business. For example:
46+
47+
> Licensor Line of Business: YoyodyneCMS Content Management System (http://example.com/cms)
48+
49+
## Sales of Business
50+
51+
If the licensor or any of its affiliates sells a line of business developing the software or using the software to provide a product, the buyer can also enforce [Noncompete](#noncompete) for that product.
52+
53+
## Fair Use
54+
55+
You may have "fair use" rights for the software under the law. These terms do not limit them.
56+
57+
## No Other Rights
58+
59+
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
60+
61+
## Patent Defense
62+
63+
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
64+
65+
## Violations
66+
67+
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
68+
69+
## No Liability
70+
71+
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
72+
73+
## Definitions
74+
75+
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
76+
77+
A **product** can be a good or service, or a combination of them.
78+
79+
**You** refers to the individual or entity agreeing to these terms.
80+
81+
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all its affiliates.
82+
83+
**Affiliates** means the other organizations than an organization has control over, is under the control of, or is under common control with.
84+
85+
**Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
86+
87+
**Your licenses** are all the licenses granted to you for the software under these terms.
88+
89+
**Use** means anything you do with the software requiring one of your licenses.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ArtVK
2+
This Fabric mod for Minecraft 26.2 implements a Blaze3D backend that runs on Vulkan 1.1 devices. I got
3+
rid of most of the big issues, however, it is still quite experimental.
4+
## AI usage notice
5+
AI was in heavy use during the initial development of this mod. Quite a bit of stuff doesn't make sense still,
6+
so make sure to check out the code and send changes.
7+
## Issues
8+
- Insane RAM usage. Due to quirks of Minecraft resource loading, *huge* descriptor sets are needed
9+
- Low performance on high render distances. Same as above.
10+
- Some rendering glitches at high framerates
11+
## Future improvements
12+
- [ ] Vulkan 1.0 compatibility
13+
- [ ] Renderpass restarting
14+
- [ ] More?

build.gradle

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
plugins {
2+
id 'net.fabricmc.fabric-loom' version "${loom_version}"
3+
id 'maven-publish'
4+
}
5+
6+
version = project.mod_version
7+
group = project.maven_group
8+
9+
repositories {
10+
// Add repositories to retrieve artifacts from in here.
11+
// You should only use this when depending on other mods because
12+
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
13+
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
14+
// for more information about repositories.
15+
}
16+
17+
dependencies {
18+
// To change the versions see the gradle.properties file
19+
minecraft "com.mojang:minecraft:${project.minecraft_version}"
20+
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
21+
22+
// Fabric API. This is technically optional, but you probably want it anyway.
23+
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
24+
}
25+
26+
processResources {
27+
def version = project.version
28+
inputs.property "version", version
29+
30+
filesMatching("fabric.mod.json") {
31+
expand "version": version
32+
}
33+
}
34+
35+
tasks.withType(JavaCompile).configureEach {
36+
it.options.release = 25
37+
}
38+
39+
java {
40+
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
41+
// if it is present.
42+
// If you remove this line, sources will not be generated.
43+
withSourcesJar()
44+
45+
sourceCompatibility = JavaVersion.VERSION_25
46+
targetCompatibility = JavaVersion.VERSION_25
47+
}
48+
49+
jar {
50+
def projectName = project.name
51+
inputs.property "projectName", projectName
52+
53+
from("LICENSE") {
54+
rename { "${it}_$projectName"}
55+
}
56+
}
57+
58+
// configure the maven publication
59+
publishing {
60+
publications {
61+
create("mavenJava", MavenPublication) {
62+
from components.java
63+
}
64+
}
65+
66+
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
67+
repositories {
68+
// Add repositories to publish to here.
69+
// Notice: This block does NOT have the same function as the block in the top level.
70+
// The repositories here will be used for publishing your artifact, not for
71+
// retrieving dependencies.
72+
}
73+
}

gradle.properties

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Done to increase the memory available to gradle.
2+
org.gradle.jvmargs=-Xmx1G
3+
org.gradle.parallel=true
4+
5+
# IntelliJ IDEA is not yet fully compatible with configuration cache, see: https://github.com/FabricMC/fabric-loom/issues/1349
6+
org.gradle.configuration-cache=false
7+
8+
# Fabric Properties
9+
# check these on https://fabricmc.net/develop
10+
minecraft_version=26.2
11+
loader_version=0.19.3
12+
loom_version=1.17-SNAPSHOT
13+
14+
# Mod Properties
15+
mod_version=1.0.0
16+
maven_group=git.artdeell
17+
18+
# Dependencies
19+
fabric_api_version=0.154.2+26.2

gradle/wrapper/gradle-wrapper.jar

47.3 KB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
4+
networkTimeout=10000
5+
retries=0
6+
retryBackOffMs=500
7+
validateDistributionUrl=true
8+
zipStoreBase=GRADLE_USER_HOME
9+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)