Coder Social home page Coder Social logo

global-datapack's Introduction

Declipsonator

  • Code Enthusiast
  • Pretty good at Java and Python
  • Experimented with React, Html, C, C++
  • Minecraft Mod Developer
  • Open Source Believer
  • Gnu GPL/LGPL License person
  • Profile Visits: Counter

Projects

  • Chat Control - Take back control of your server chat with filters and mutes. (Star? ๐Ÿฅบ)
  • Copyshot - Copies screenshots to your clipboard when you take them in Minecraft.
  • days of python - A collection of things I wrote to keep my knowledge sharp (:
  • declipsonator.github.io - A professional website for a professional fellow
  • Featurosity - A Minecraft mod devoted to enhancing useless or pointless minecraft features.
  • frc field testing - Quick and easy website for mapping out positions.
  • Frost Boater - Makes the Minecraft Enchantment Frost Walker work with boats.
  • Global Datapack - Makes a global datapack folder in minecraft so you don't have to copy datapacks between worlds.
  • GPTZzzs - Large language model detection evasion by changing grammar.
  • GroundhogDayResults - All the groundhog day results ever
  • Highschool Internships - An auto-updating list of high school internships.
  • mccrawler website - Website for searching minecraft servers from around the world.
  • Meteor Tweaks - A Meteor Client Addon that adds tweaks to modules and settings.
  • neural network visualize - Visualizing neural networks
  • No AutoJump - Completely remove the autojump feature from Minecraft.
  • Particle Blocker - Minecraft mod with a gui to disable particles.
  • quickdraw - A simple implementation of the Google Quickdraw Dataset.
  • Rain Growth - Makes Minecraft crops grow faster in the rain.
  • Recipe Unlocker - Unlocks all the recipes in the Minecraft crafting table.
  • Shards - Get the most out of broken glass in Minecraft.
  • StrideBack - Backend for a EmpireStrides high school ny running website
  • Useful Python Scripts - A collection of random python scripts I write to make my life easier.

Total Downloads

My mods have around 418582 downloads.

Rankings:

  • Recipe Unlocker - 143607 downloads
  • Global Datapacks - 140790 downloads
  • Particle Blocker - 40663 downloads
  • Chat Control - 31942 downloads
  • Rain Growth - 19457 downloads
  • Copyshot - 13410 downloads
  • Shards - 10768 downloads
  • Meteor Tweaks - 8833 downloads
  • No AutoJump - 7301 downloads
  • Frost Boater - 1244 downloads
  • Featurosity - 567 downloads

Support Me

Pretty much everything I code is published for free so it would mean a lot

Donations:

Buy Me A Coffee

Check Out my Mods:

Modrinth
Curseforge

Me

Metrics

Last Updated: 2024-09-15 20:10 (UTC)

Contact

global-datapack's People

Contributors

declipsonator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

epicgamer121

global-datapack's Issues

Datapacks not being added to new worlds

Expected behavior using this mod is that any datapack added to [game_directory]/datapacks would be automatically loaded in any new world created, but that's not happening. /datapack list isn't even listing them.

Not sure why you're using new File(FabricLoader.getInstance().getGameDir().toString() + "\\datapacks") when you could just be using Path. Not tested, but something like FabricLoader.getInstance().getGameDir().resolve("datapacks") should work.

[Suggestion] Possible dedicated server behavior

I know this mod is far more focused on working only on client, but the structure of this mod seems to fit perfectly with the current feature of vanilla servers to specify the so-called feature packs (the internal ones, currently bundle and update_1_20).

From a random Spigot forum comment about the subject:
image

My suggestion for a possible dedicated server behavior would be extend that initial-enabled-packs line (and also initial-disabled-packs, that does exactly the opposite) to also be able to specify datapacks (by filename/foldername) within the datapacks folder, alongside the internal ones. That would fit the structure of vanilla like a glove.

[Suggestion] List global datapacks in new world screen's datapack submenu

Hello. Like i told you on Fabricord, i switched from DRP to Global Datapack since this was exactly what i was looking for (thank you again for making this request for me!).

But one thing i missed in this mod, compared to DRP, was the global datapacks being listed in the "Data Packs" submenu in the "Create New World" screen.

Here's what i'm meant for:

image
Sorry, my game is in Brazilian Portuguese, but i checked the same screen in English and it is called "Data Packs".

image
Only the vanilla datapack is shown.

DRP listed the datapacks from the custom folder in this screen as well. Other idea i had was to tweak the "Open Pack Folder" button to open datapacks folder instead of the temp folder Minecraft generates for the user place datapacks in it.

Since its a client-side mod i think that would be an interesting thing to add.

Need to do /reload in order for datapacks to function at all

Fabric 0.14.22
Minecraft: 1.20.1
Fabric API 0.86.1

Data packs do not do anything until I do /reload

So, for example, if I join my world and do "/datapack list", it does list the custom datapack I have in the (global) datapacks folder. However, the custom data pack is not in use/does nothing, until I do /reload, which then allows the data pack to suddenly work. This is most obvious with the Origins data pack, where I am trying to override some of the starting Origins with my own custom ones, but it does not work because the Origins menu opens immediately upon world creation and once again, the global data packs need to be reloaded before they override the default Origins.

doesnt work in 1.20.2

when trying to load a world or create one in Minecraft 1.20.2, this mod crashes the game with the following error in the log:

[16:14:49] [Render thread/ERROR]:
 Reported exception thrown!
net.minecraft.class_148: mouseClicked event handler
	at net.minecraft.class_437.method_25412(class_437.java:419) ~[client-intermediary.jar:?]
	at net.minecraft.class_312.method_1601(class_312.java:99) ~[client-intermediary.jar:?]
	at net.minecraft.class_312.method_22686(class_312.java:180) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.execute(class_1255.java:102) ~[client-intermediary.jar:?]
	at net.minecraft.class_312.method_22684(class_312.java:180) ~[client-intermediary.jar:?]
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.2.jar:?]
	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.2.jar:?]
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3509) ~[lwjgl-glfw-3.3.2.jar:?]
	at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:237) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1300) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:856) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:253) ~[1.20.2-0.14.22.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) ~[fabric-loader-0.14.22.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.22.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.22.jar:?]
Caused by: java.lang.NoSuchMethodError: net.minecraft.class_3286: method 'void <init>()' not found
	at net.minecraft.class_7196.getResourcePackManager(class_7196.java:522) ~[client-intermediary.jar:?]
	at net.minecraft.class_7196.redirect$bcg000$global-datapack$addGlobalToo(class_7196.java:534) ~[client-intermediary.jar:?]
	at net.minecraft.class_7196.method_41899(class_7196.java:218) ~[client-intermediary.jar:?]
	at net.minecraft.class_7196.method_41894(class_7196.java:69) ~[client-intermediary.jar:?]
	at net.minecraft.class_528$class_4272.method_20174(class_528.java:592) ~[client-intermediary.jar:?]
	at net.minecraft.class_528$class_4272.method_20164(class_528.java:482) ~[client-intermediary.jar:?]
	at net.minecraft.class_528$class_4272.method_25402(class_528.java:404) ~[client-intermediary.jar:?]
	at net.minecraft.class_350.method_25402(class_350.java:309) ~[client-intermediary.jar:?]
	at net.minecraft.class_4069.method_25402(class_4069.java:38) ~[client-intermediary.jar:?]
	at net.minecraft.class_312.method_1611(class_312.java:99) ~[client-intermediary.jar:?]
	... 14 more

Server compatibility?

Does this or does this not work when running in server mode? I'm having some issues getting this to work on my server and am not sure if this is working as intended.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.