Skip to content

Commit

Permalink
Update MalumLivingEntityDataCapability.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SammySemicolon committed Dec 5, 2024
1 parent a690946 commit 7527e86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class MalumLivingEntityDataCapability {
TouchOfDarknessHandler.CODEC.fieldOf("darknessAfflictionData").forGetter(c -> c.touchOfDarknessHandler),
Codec.INT.fieldOf("watcherNecklaceCooldown").forGetter(c -> c.watcherNecklaceCooldown),
Codec.INT.fieldOf("hiddenBladeNecklaceCooldown").forGetter(c -> c.hiddenBladeNecklaceCooldown),
Codec.list(ItemStack.CODEC).fieldOf("soulsToApplyToDrops").forGetter(c -> c.soulsToApplyToDrops),
UUIDUtil.CODEC.fieldOf("killerUUID").forGetter(c -> c.killerUUID)
Codec.list(ItemStack.CODEC).optionalFieldOf("soulsToApplyToDrops", null).forGetter(c -> c.soulsToApplyToDrops),
UUIDUtil.CODEC.optionalFieldOf("killerUUID", null).forGetter(c -> c.killerUUID)
).apply(obj, MalumLivingEntityDataCapability::new));

public SoulDataHandler soulData = new SoulDataHandler();
Expand Down

0 comments on commit 7527e86

Please sign in to comment.