Comments (3)
You are right, I replaced that code as it has the exact same meaning but it becomes compatible with Vitalize mod 6d588d2 (it still should be fixed in Vitalize mod to avoid compatibility issues with other mods). Anyway thanks for the report, I will release 4.1.0 version within few days and once it is released I will close this report
from majruszlibrary.
Hi, thanks for the report but I am afraid that there is no reason to fix it in my mod. All parameters are checked before I access them over here:
and for some reason Vitalize mod always returns true for minecraft:last_damage_player even if it is undefined over here:https://github.com/terrarium-earth/Vitalize/blob/1.19/common/src/main/java/earth/terrarium/vitalize/api/ModifiedLootContext.java#L60
from majruszlibrary.
Might be to make certain loot drop, not sure
Apotheosis is doing this, had no issues with it so far:
https://github.com/Shadows-of-Fire/Apotheosis/blob/0ad17e2c2b47eb94967e29019c987ddc0d9d240d/src/main/java/shadows/apotheosis/adventure/loot/GemLootPoolEntry.java#L92
See:
public <T> T getParam(LootContextParam<T> lootContextParam) {
T object = this.params.get(lootContextParam);
if (object == null) {
throw new NoSuchElementException(lootContextParam.getName().toString());
} else {
return object;
}
}
@Nullable
public <T> T getParamOrNull(LootContextParam<T> lootContextParam) {
return this.params.get(lootContextParam);
}
from majruszlibrary.
Related Issues (20)
- Error when reloading resources. Randomly and may relate to other mods
- Library error HOT 2
- [1.19.2] Only set return values if you change something HOT 2
- My server crashed and I think this mod is the culprit HOT 2
- [1.20.1] [Forge] Super Strange Bug when Hitting Entities with Items HOT 4
- Extreme cascading errors with anything using this library HOT 1
- ClassFinder did not find any classes HOT 2
- Server keeps crashing after a few seconds
- My game crashes randomly while playing HOT 1
- [Fabric 1.20.1] crash while mining HOT 1
- [Forge 1.20.1]Updating to 7.0.7 Crashes the game when Aquaculture 2 is present HOT 3
- [Forge 1.20.1] Startup crash HOT 1
- Majrusz's Library 1.20.1 - 7.0.8 Mixin crash after updating! HOT 1
- CustomEnchantment logic terminates proper enchantability check logic flow
- Majrusz Library or Majrusz's Accessories breaks the spectrum functional
- Game crashes during startup due to mixin injection failure
- crash on startup with automodpack 4.0.0
- Majrusz's Progressive Difficulty (majruszsdifficulty) has failed to load correctly java.lang.IllegalStateException: ClassFinder did not find any classes HOT 1
- [1.20.1][Forge] Conflict with Mine and Slash
- Weird Illusive Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from majruszlibrary.