Skip to content

Commit

Permalink
Update patches/net/minecraft/world/level/block/entity/BlockEntityType…
Browse files Browse the repository at this point in the history
….java.patch

Co-authored-by: Dennis C <[email protected]>
  • Loading branch information
TelepathicGrunt and XFactHD authored Jun 2, 2024
1 parent e2998e6 commit 24e02ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

+ /**
+ * Neo: Add block getter that returns an immutable list of the {@link BlockEntityType#validBlocks} field.
+ * Neo: Add getter for an immutable view of the set of valid blocks.
+ */
+ public Set<Block> getValidBlocks() {
+ return java.util.Collections.unmodifiableSet(this.validBlocks);
Expand Down

0 comments on commit 24e02ba

Please sign in to comment.