Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
800 changes: 794 additions & 6 deletions DynmapCore/src/main/resources/models_1.txt

Large diffs are not rendered by default.

849 changes: 846 additions & 3 deletions DynmapCore/src/main/resources/texture_1.txt

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 8
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 8
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 3
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 8
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 8
}
}
2 changes: 1 addition & 1 deletion fabric-1.14.4/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

apply plugin: 'eclipse'
Expand Down
2 changes: 1 addition & 1 deletion fabric-1.15.2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down
2 changes: 1 addition & 1 deletion fabric-1.16.4/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down
2 changes: 1 addition & 1 deletion fabric-1.17.1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down
4 changes: 2 additions & 2 deletions fabric-1.18.2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -35,7 +35,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
4 changes: 2 additions & 2 deletions fabric-1.19.4/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
4 changes: 2 additions & 2 deletions fabric-1.20.6/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
4 changes: 2 additions & 2 deletions fabric-1.21.1/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
4 changes: 2 additions & 2 deletions fabric-1.21.3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
4 changes: 2 additions & 2 deletions fabric-1.21.5/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
4 changes: 2 additions & 2 deletions fabric-1.21.6/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.10.5'
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
Expand Down Expand Up @@ -34,7 +34,7 @@ dependencies {

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"
modCompileOnly "me.lucko:fabric-permissions-api:0.4.0"
compileOnly 'net.luckperms:api:5.4'
}

Expand Down
32 changes: 32 additions & 0 deletions fabric-1.21.9-10/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# gradle

.gradle/
build/
out/
classes/

# eclipse

*.launch

# idea

.idea/
*.iml
*.ipr
*.iws

# vscode

.settings/
.vscode/
bin/
.classpath
.project

# fabric

run/

# other
*.log
73 changes: 73 additions & 0 deletions fabric-1.21.9-10/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
plugins {
id 'fabric-loom' version '1.11-SNAPSHOT'
}

archivesBaseName = "Dynmap"
version = parent.version
group = parent.group

eclipse {
project {
name = "Dynmap(Fabric-1.21.9-10)"
}
}

sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(21) // Need this here so eclipse task generates correctly.

configurations {
shadow
implementation.extendsFrom(shadow)
}

repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

compileOnly group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'

shadow project(path: ':DynmapCore', configuration: 'shadow')

modCompileOnly "me.lucko:fabric-permissions-api:0.5.0"
compileOnly 'net.luckperms:api:5.4'
}

loom {
accessWidenerPath = file("src/main/resources/dynmap.accesswidener")
}

processResources {
filesMatching('fabric.mod.json') {
expand "version": project.version
}
}

java {
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
}

jar {
from "LICENSE"
from {
configurations.shadow.collect { it.toString().contains("guava") ? null : it.isDirectory() ? it : zipTree(it) }
}
}

remapJar {
archiveFileName = "${archivesBaseName}-${project.version}-fabric-${project.minecraft_version}-10.jar" // TODO: Remove -10 when updating after 1.21.10 release
destinationDirectory = file '../target'
}

remapJar.doLast {
task ->
ant.checksum file: task.archivePath
}
6 changes: 6 additions & 0 deletions fabric-1.21.9-10/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
minecraft_version=1.21.9

# see https://fabricmc.net/develop/
yarn_mappings=1.21.9+build.1
loader_version=0.17.2
fabric_version=0.133.14+1.21.9
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package org.dynmap.fabric_1_21_9_10;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.ModContainer;
import org.dynmap.DynmapCore;
import org.dynmap.Log;

import java.io.File;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;

public class DynmapMod implements ModInitializer {
private static final String MODID = "dynmap";
private static final ModContainer MOD_CONTAINER = FabricLoader.getInstance().getModContainer(MODID)
.orElseThrow(() -> new RuntimeException("Failed to get mod container: " + MODID));
// The instance of your mod that Fabric uses.
public static DynmapMod instance;

public static DynmapPlugin plugin;
public static File jarfile;
public static String ver;
public static boolean useforcedchunks;

@Override
public void onInitialize() {
instance = this;

Path path = MOD_CONTAINER.getRootPath();
try {
jarfile = new File(DynmapCore.class.getProtectionDomain().getCodeSource().getLocation().toURI());
} catch (URISyntaxException e) {
Log.severe("Unable to get DynmapCore jar path", e);
}

if (path.getFileSystem().provider().getScheme().equals("jar")) {
path = Paths.get(path.getFileSystem().toString());
jarfile = path.toFile();
}

ver = MOD_CONTAINER.getMetadata().getVersion().getFriendlyString();

Log.setLogger(new FabricLogger());
org.dynmap.modsupport.ModSupportImpl.init();

// Initialize the plugin, we will enable it fully when the server starts.
plugin = new DynmapPlugin();
}
}
Loading