Code Monkey home page Code Monkey logo

fabric-mod-noexpensive's Introduction

Hi there, I'm Enaium! 👋

Skills 🚀

OS

I have been using Windows for 15 years, and favourite Windows10, but I like using ArchLinux in the development environment.

windows archlinux

Programming languages

I have been learning programming languages for 10 years, and these are my favourite programming languages, but I like using Kotlin in the development environment.

java kotlin csharp typescript

These are my used programming languages.

python go rust c cpp swift javascript html css lua squirrel epl

Framework

These are my frequently used frameworks.

springboot

vue react

Tools

intellijidea rider webstorm androidstudio visualstudio vscode eclipse neovim maven gradle bun nodejs npm yarn pnpm tailwindcss bootstrap vite git github gitlab bitbucket gitee mariadb postgres redis docker firefox jekyll hugo vitepress wsl windowsterminal obs

Stats

GitHub

I joined GitHub for 6 years, and these are my GitHub stats.

Wakatime

wakatime

Enaium's wakatime stats

fabric-mod-noexpensive's People

Contributors

enaium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fabric-mod-noexpensive's Issues

Not working properly

IDK if there is a limit of a number of enchantments or sth, but there is a problem when I try to make an enchantment book with all the enchantments that are not incompatible, where the required level doesn't show up, the enchanted book shows up in the third spot in the anvil menu but it's not clickable. I also couldn't enchant anything with that book after I found this problem. The game version is 1.19
截屏2022-08-22 下午7 30 21
截屏2022-08-22 下午7 29 52

1.17 issue

you cant even open the damn game with the mod installed for 1.17

Not working correctly

I tried to put mending on my sharpness 4 knockback 2 unbreaking 1 sword but it still says to expensive.

image

Unclear licensing

This repository's LICENSE file states that this code is under the MIT, yet AnvilScreenHandlerMixin.java has an All rights reserved. header.

I would like some clarification about whether this is under the MIT or if its All Rights Reserved

Unninstalling the mod in 1.20 results in bug that does not let you enchant anything

So I'm in this server with the mod installed, and we decided to remove it because we didn't like it anymore. The thing is, that once it was removed (with all of it's customs compatibilities), it removed ALL enchantments compatibilities from the game, meaning we couldn't enchant even vanilla combinations, like mending+unbreaking. I'd like to know if there's a way to solve this (apart from adding said vanilla compatibilities with the mod). Maybe some folder with the mods config that can be erased, idk.

配置文件存放位置问题

NoExpensive 的配置文件按照规范 难道不应该在 .minecraftconfig 文件夹内?
直接放在 .minecraft 文件夹内不显得凌乱?

Partially not working 1.16

Not working as intended on Fabric 1.16.

Will not work on client or server. Mod is confirmed to be running in server console.

Ability to add mending to infinity and multishot to piercing is working, but only on single player. On servers, it shows the item in anvil but when clicking to add the mending book, item disappears. Items are also still appearing as "too expensive".

not working

[12:00:57] [main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'noexpensive'!
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.21.jar:?]
at net.minecraft.server.Main.main(Main.java:112) ~[server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:25) ~[fabric-loader-0.14.21.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_310
at cn.enaium.noexpensive.Config.(Config.java:21) ~[NE-1.20-1.6.0.jar:?]
at cn.enaium.noexpensive.NoExpensive.onInitialize(NoExpensive.java:50) ~[NE-1.20-1.6.0.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?]
... 8 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_310
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.21.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.21.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at cn.enaium.noexpensive.Config.(Config.java:21) ~[NE-1.20-1.6.0.jar:?]
at cn.enaium.noexpensive.NoExpensive.onInitialize(NoExpensive.java:50) ~[NE-1.20-1.6.0.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?]
... 8 more

[Dupe] Duping Golden Apples

Couple of my players have informed us

"I found a bug where If you put enchanted golden apples in a grindstone then you get a golden apple and the enchanted apple back"

This extra golden apple can be eaten and does give all the effects. I am awaiting a clip from one of the players that I will post in here so you can see.

MC: 1.20.1
Fabric API: 0.90.7
NoExpensive: 1.9.0

Compatible versions set wrong in CurseForge

In Curseforge, mod file says it's only compatible with 1.19-Snapshots, but 1.19 isn't listed as a compatible version as well (which it should if it is compatible with 1.19.
This is causing mod managers to think the mod is out of date/incompatible with the 1.19 game version and only work with snapshots and thus not work with it. Please fix!

My server crashes.

My server crashes when i put the mod. It can be bc my server is a potato but i still want to submit that :)

Possible (massive) improvement over the mixin

An @Overwrite is really, really not needed in this case. After analyzing the code, I've found one and only one difference between yours and vanilla's:

Vanilla:

if (this.levelCost.get() >= 40 && !this.player.getAbilities().creativeMode) {
    itemStack2 = ItemStack.EMPTY;
}

NoExpensive:

if (this.levelCost.get() >= 40 && !this.player.getAbilities().creativeMode) {
    this.levelCost.set(39);
}

If this is the only change there is no reason to overwrite the entire method, as you can easily skip this condition by multiple ways: by redirecting levelCost.get to always return a value lower than 40, or modifying the constant to Integer.MAX_VALUE, or by redirecting player.getAbilities().creativeMode to always return true. If any of them are used the code inside the if statement won't even run, achieving the same goal.
Also in my opinion locking the cost again when the code above the check literally does the same thing is an odd thing to do. Just leave the code block blank. :tiny_potato:

1.16.5 availability

Is this mod still compatible with 1.16.5? If so could you add the tag for it so that CurseForge client users can find and add the mod to their custom packs? :)

ISSUE with too expensive

The wordings too expensive is no longer seen when placing my bow which is a good thing, but after I placed my mending book the end product comes in the third square for a split moment and goes and I am no longer able to take the bow with the mending applied. Please look into the issue.

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.