Skip to content

Commit af00b13

Browse files
committed
Improvement documentation
1 parent 366487c commit af00b13

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

simpleclient-1.19.4/src/main/java/simpleclient/mixin/performance/CubeMixin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
public class CubeMixin {
2121
@Shadow @Final private ModelPart.Polygon[] polygons;
2222

23+
// +5 FPS with many Entities
2324
@Inject(at = @At("HEAD"), method = "compile", cancellable = true)
2425
public void compile(PoseStack.Pose pose, VertexConsumer vertexConsumer, int light, int overlay, float r, float g, float b, float a, CallbackInfo ci) {
2526
if (PerformanceBoost.INSTANCE.isEnabled()) ci.cancel();

simpleclient-1.19.4/src/main/java/simpleclient/mixin/performance/SharedConstantsMixin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
@Mixin(SharedConstants.class)
1111
public class SharedConstantsMixin {
12+
// Faster starting
1213
@Inject(at = @At("HEAD"), method = "enableDataFixerOptimizations", cancellable = true)
1314
private static void enableDataFixerOptimizations(CallbackInfo ci) {
1415
if (PerformanceBoost.INSTANCE.isEnabled()) ci.cancel();

0 commit comments

Comments
 (0)