Skip to content

Commit

Permalink
Ported some entity data procedure blocks to NF 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
KlemenDEV committed Feb 25, 2024
1 parent 6baf31e commit 191253a
Show file tree
Hide file tree
Showing 30 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Scoreboard _sc = _ent.level().getScoreboard();
Objective _so = _sc.getObjective(score);
if (_so != null)
return _sc.getOrCreatePlayerScore(_ent.getScoreboardName(), _so).getScore();
return _sc.getOrCreatePlayerScore(ScoreHolder.forNameOnly(_ent.getScoreboardName()), _so).get();
return 0;
}
}.getScore(${input$score}, ${input$entity}))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(${input$entity}.ignoreExplosion(new Explosion(${input$entity}.level(), null, 0, 0, 0, 4, true, Explosion.BlockInteraction.DESTROY)))

This file was deleted.

0 comments on commit 191253a

Please sign in to comment.