Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full damage utils refactor #4083

Merged
merged 68 commits into from
Jan 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
c5462c3
optimize safestep
RacoonDog Sep 13, 2023
27548ff
shrimplify
RacoonDog Sep 13, 2023
9639c8a
abstract away `Explosion`
RacoonDog Sep 13, 2023
6bdc075
just hashmap stuff
RacoonDog Sep 13, 2023
6fed411
small stuff
RacoonDog Sep 13, 2023
28d7f6c
rework attack damage
RacoonDog Sep 14, 2023
0b6fca8
optimize raycasting + unlerp
RacoonDog Sep 14, 2023
29e6481
docs
RacoonDog Sep 14, 2023
e1aac25
bring back the mutable vec >:3
RacoonDog Sep 14, 2023
ead2b47
deprecated method + deduplicate ops
RacoonDog Sep 14, 2023
1fbf9e7
docs
RacoonDog Sep 14, 2023
cb0d7c8
remove anchoraura allocations
RacoonDog Sep 14, 2023
148616a
safety
RacoonDog Sep 14, 2023
52382c0
deprecate `DamageEvent.amount`
RacoonDog Sep 14, 2023
d976652
fix damage calc target
RacoonDog Sep 14, 2023
707d433
fix inaccurate damage calculations
RacoonDog Sep 15, 2023
47fb83e
docs
RacoonDog Sep 15, 2023
049dbe8
add trident
RacoonDog Sep 17, 2023
8a04f42
correctly track entity attributes
RacoonDog Sep 17, 2023
cf77f56
allow hostile mobs as attackers
RacoonDog Sep 17, 2023
416d1ee
attribute manager
RacoonDog Sep 18, 2023
9474c23
Update EntityAttributeManager.java
RacoonDog Sep 18, 2023
ea306bb
romp
RacoonDog Sep 18, 2023
51b8f56
mob damage difficulty modifier
RacoonDog Sep 18, 2023
fdc10a1
mob specific enchant damage
RacoonDog Sep 18, 2023
a95473e
raycast use collision shape
RacoonDog Sep 19, 2023
59d2317
fix only getting damage attribute
RacoonDog Sep 22, 2023
f366517
special-case shulker armor
RacoonDog Sep 22, 2023
f0a9f91
remove deprecated methods & fields
RacoonDog Sep 22, 2023
1613230
docs
RacoonDog Sep 22, 2023
5102944
fix armor reductions
RacoonDog Sep 22, 2023
3a8c6d4
blockpos stuff
RacoonDog Sep 25, 2023
cbcb776
what did eclipse mean by this
RacoonDog Sep 26, 2023
94de41a
handle tracked attributes
RacoonDog Sep 26, 2023
a8a02f8
DO **NOT** TRUST THE GAME
RacoonDog Sep 27, 2023
375db78
properly handle tracked attributes
RacoonDog Sep 27, 2023
aa8d59b
compute status effects
RacoonDog Oct 2, 2023
21f6a7e
these methods are identical lole
RacoonDog Oct 2, 2023
1c4a11f
bring back damage source
RacoonDog Oct 2, 2023
805a021
use float instead of double
RacoonDog Oct 2, 2023
53f37ca
explosion refactor + fall damage
RacoonDog Oct 3, 2023
c0fc990
overshoot instead of undershoot
RacoonDog Oct 3, 2023
b9be976
surface check
RacoonDog Oct 3, 2023
aec2f4a
Update DamageUtils.java
RacoonDog Nov 2, 2023
bcd5144
Update CrystalAura.java
RacoonDog Nov 2, 2023
baa15b0
floatation device
RacoonDog Nov 2, 2023
d7f3ed1
Update DamageUtils.java
RacoonDog Nov 2, 2023
f6223e9
Update PlayerUtils.java
RacoonDog Nov 2, 2023
fc8d5bb
remove zStep
RacoonDog Nov 2, 2023
2990273
prevent crash
RacoonDog Nov 2, 2023
074e80d
simply fall damage
RacoonDog Dec 29, 2023
a7fbd49
move damageutils to utils.entity
RacoonDog Dec 29, 2023
232bc94
unused imports
RacoonDog Jan 15, 2024
e3c1c9e
use tracked data
RacoonDog Jan 15, 2024
1254ddc
beacon entries
RacoonDog Jan 15, 2024
e211ac7
i am cooking
RacoonDog Jan 15, 2024
9f1cc23
rename method
RacoonDog Jan 15, 2024
4fa6471
imports
RacoonDog Jan 15, 2024
7cc4e7f
Update StatusEffectBruteForce.java
RacoonDog Jan 15, 2024
c25354f
Merge branch 'master' into crystal-damage-calcs
RacoonDog Jan 18, 2024
dc1cd1d
update to 1.20.4
RacoonDog Jan 18, 2024
a94ba9c
rename method
RacoonDog Jan 18, 2024
cbbd5ff
fix clinit
RacoonDog Jan 18, 2024
bd08c9a
boingus
RacoonDog Jan 18, 2024
01f574a
yearg
RacoonDog Jan 18, 2024
0fb7edb
Update StatusEffectBruteForce max depth
Wide-Cat Jan 30, 2024
31bd513
the j
Wide-Cat Jan 30, 2024
ae80c02
must have misread
Wide-Cat Jan 30, 2024
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
Prev Previous commit
Next Next commit
Update StatusEffectBruteForce max depth
Wide-Cat authored Jan 30, 2024
commit 0fb7edb5b17c907a040951e1667af38297a41d1e
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ public class StatusEffectBruteForce {
private static final TrackedData<Integer> POTION_SWIRLS_COLOR = LivingEntityAccessor.meteor$getPotionSwirlsColor();
private static final TrackedData<Boolean> POTION_SWRISL_AMBIENT = LivingEntityAccessor.meteor$getPotionSwirlsAmbient();
private static final int EMPTY_COLOR = 3694022;
private static final int MAX_DEPTH = 3;
private static final int MAX_DEPTH = 4;
public static final Set<StatusEffectEntry> ALL_ENTRIES = new ReferenceOpenHashSet<>();
public static final Set<StatusEffectEntry> BEACON_ENTRIES = new ReferenceOpenHashSet<>();
private static final Map<LivingEntity, EntityEffectCache> PLAYER_EFFECT_MAP = new Object2ObjectOpenHashMap<>();