Merge remote-tracking branch 'origin/1.20' into 1.21
This commit is contained in:
commit
820169667a
|
|
@ -15,7 +15,7 @@ public class RebuildTaskMixin {
|
||||||
* @author embeddedt
|
* @author embeddedt
|
||||||
* @reason Use a much faster iterator implementation than vanilla's Guava-based one.
|
* @reason Use a much faster iterator implementation than vanilla's Guava-based one.
|
||||||
*/
|
*/
|
||||||
@Redirect(method = "compile", at = @At(value = "INVOKE", target = "Lnet/minecraft/core/BlockPos;betweenClosed(Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Ljava/lang/Iterable;"))
|
@Redirect(method = "compile", at = @At(value = "INVOKE", target = "Lnet/minecraft/core/BlockPos;betweenClosed(Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Ljava/lang/Iterable;"), require = 0)
|
||||||
private Iterable<BlockPos> fastBetweenClosed(BlockPos firstPos, BlockPos secondPos) {
|
private Iterable<BlockPos> fastBetweenClosed(BlockPos firstPos, BlockPos secondPos) {
|
||||||
return () -> new SectionBlockPosIterator(firstPos);
|
return () -> new SectionBlockPosIterator(firstPos);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user