Giter Club home page Giter Club logo

emcutils's Introduction

Empire Minecraft Utilities

Forge Fabric
Modrinth GitHub

Empire Minecraft Utilities, aka emcutils, is a 1.16-1.19 client-side mod containing a collection of small utilities for players of Empire Minecraft. Feature idea credits go to Giselbaer/gbl.

Made by MrFrydae and triphora, available under the MIT License.

On Forge, there are no dependencies that you need to download. On Fabric, you need to download Fabric API like most Fabric mods, and MidnightLib is embedded. Mod Menu and JourneyMap are recommended on Fabric.

Feature List

  • Chat channel buttons above the chat input bar
  • Automatic teleportation to a Residence on another server
  • Easier viewing of usable Custom Items such as Pot of Gold or EMC Peppermint
  • Customizable tab list sorting
  • Vault buttons
  • Fabric-only: Integration with JourneyMap and Xaero's World Map/Minimap
    • Clicking on a residence will teleport you to that residence
    • Automatic world detection and map confirmation/creation

Disclaimer

This mod is not sponsored by nor affiliated with Empire Minecraft, Starlis LLC, or Mojang Studios. It has been approved for use on Empire Minecraft in accordance with its approved mod policies.

emcutils's People

Contributors

13rac1 avatar asiekierka avatar djlawler avatar i509vcb avatar modmuss50 avatar mrfrydae avatar nerdthened avatar nikkyai avatar pannoniae avatar prospector avatar selebrator avatar shnupbups avatar technici4n avatar triphora avatar upcraftlp avatar zml2008 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

emcutils's Issues

Vault always appears empty

Describe the bug

Title

To reproduce

Occasionally happens when randomly opening/browsing vaults.

Expected behavior

it shouldn't crash

Screenshots/logs

https://pastebin.com/dRbSqkTQ (w/ Not Enough Crashes)

System information

Artix Linux rt (repo) kernel 5.11.4, Plasma 5.21.2; confirmed on Windows 10 as well by another user
Persistent issue since vault buttons were introduced. Mod version 1.7.0, FAPI 0.30.0+

Additional context

Appears to be caused by the following;
java.lang.IllegalStateException: [fabric-screen-api-v1] The current screen (net.minecraft.class_465) has not been correctly initialised, please send this crash log to the mod author. This is usually caused by the screen not calling super.init(Lnet/minecraft/client/MinecraftClient;II)V

Cross-server teleportation bugs out for a user [unreproducable]

Describe the bug

Cross-server teleportation does not work for FadedMartian

To reproduce

Unreproducable at this time; thus why the question label is applied.

Expected behavior

It should work but it doesn't

Screenshots

error

System information

Windows 10
FAPI 0.32.0
EMC Utils v1.7.0

Additional context

N/A

Create more enable/disable configs

Summary

Ability to disable each of the individual features via configs accessible from the Mod Menu.

Motivation

Allows people to turn off the features people don't like and turn on the features they do like. Make all features enabled by default, of course, still

Additional info

Under this, include the following as well, in addition to the broader features to be

  • Make sure there's a disable config for the dinging of buttons clicked
  • Toggle of each chat channel button, e.g. removing market chat from the buttons if someone doesn't like economy stuff

Dark mode vault menu

Summary

Title. Preferably make it a config option to choose a dark mode vault screen.

How to

Cloth Config

Motivation

QoL

[Minimap integration] Waypoints

Summary

Compass target waypoints & locked chest waypoints on Xaero's and Voxel.

How to

Either use rlog or EMC shopkeeper database to find locked chests, or parse sign text nearby to find them
As for compass target, those reset upon changing server/world, so just listen to chat for the appropriate message

Motivation

QoL

User config override of ps

Summary

Allow the user to input their own config for the things that require /ps to be ran, so that they're not ran. Could also just run it once and put the result in a config file, then never run it again so long as it's present in config. Could also be a partial implementation of #15 (specifically chat alert sounds)

How to

Cloth Config

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

/cw local

Summary

Ability to execute /cw (/chat who) in a user-specified channel. E.g.: /cw local, would issue /cl, /cw, and then put that user back into the channel they were in previously

How to

your magic

Motivation

Bit annoying to have to do all three of those commands to see who is near you

Recreate EMC Shop Locator mod

Summary

Recreate Giselbaer's EMC Shop Locator mod, for finding the cheapest prices across shops

How to

https://github.com/gbl/EMCShopLocator
Parse what's on the sign and add it to a database, then look up that database whenever someone wants a specific item.

Additional feature possibility: select a shop and auto TP to it, or the possibility of a command (which can be implemented like this) to find a shop, e.g.: /finditem buy sand which will automatically teleport you to the residence of the shop that sells the cheapest sand, or /finditem sell netherite which will automatically teleport you to the residence of the shop that buys the most expensive netherite products (add in math here for ancient debris, netherite scrap, netherite ingots, netherite block)

Motivation

Useful mod from 1.12, port it to 1.16

New problem - client crashes out of minecraft

1.20.4 client, fabric and fabricapi are up to date.
With the utilities unloaded I have no problem
With the utilities loaded, if I do /vault I get:
Probably just needs a check added??

java.lang.IllegalStateException: Not a JSON Object: ""
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:101)
at coffee.waffle.emcutils.feature.UsableItems.isUsableItemWithCooldown(UsableItems.java:52)
at coffee.waffle.emcutils.feature.UsableItems.lambda$init$0(UsableItems.java:19)
at coffee.waffle.emcutils.event.TooltipCallback.lambda$static$0(TooltipCallback.java:12)
at coffee.waffle.emcutils.fabric.EMCUtilsFabric.lambda$onInitializeClient$0(EMCUtilsFabric.java:40)
at net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback.lambda$static$0(ItemTooltipCallback.java:34)
at net.minecraft.class_1799.handler$zjf000$fabric-item-api-v1$getTooltip(class_1799.java:2647)
at net.minecraft.class_1799.method_7950(class_1799.java:823)
at net.minecraft.class_437.method_25408(class_437.java:226)
at net.minecraft.class_465.method_51454(class_465.java:187)
at net.minecraft.class_465.method_2380(class_465.java:182)
at coffee.waffle.emcutils.feature.VaultScreen.method_25394(VaultScreen.java:94)
at net.minecraft.class_437.method_47413(class_437.java:110)
at net.minecraft.class_757.mixinextras$bridge$method_47413$241(class_757.java)
at net.minecraft.class_757.wrapOperation$bah000$fabric-screen-api-v1$onRenderScreen(class_757.java:2111)
at net.minecraft.class_757.method_3192(class_757.java:931)
at net.minecraft.class_310.method_1523(class_310.java:1327)
at net.minecraft.class_310.method_1514(class_310.java:888)
at net.minecraft.client.main.Main.main(Main.java:265)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)

Small overlay displaying basic info

Summary

https://empireminecraft.com/threads/81985/

How to

Tae a look at Masa's MiniHUD for implementation ideas? You collect server and world info already, would just need to add /cw and /diff to login commands.
Remember to hide these.
Also remember to add hook for /cw login setting chat button, instead of being blank like it is now

Motivation

User request. Plus, it's just generally useful.
Idea by Talechaser

[Minimap Integration] Use same map for *.emc.gs domains

Summary

If you connect with utopia.emc.gs, for example, it should use the same set of maps as when you connect with play.emc.gs, emc.gs, smp4.emc.gs etc.

How to

Work your magic

Motivation

Reduces duplicate files on system & gives more flexibility

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.