Use setters and getters for frozen state, separate superHot and
don't tick regular tick events
This commit is contained in:
9 files changed
+71
-25
No files matched your search
@@ -16,7 +16,7 @@ public class CommandFunctionManager_tickMixin
|
||||
@Inject(method = "tick", at = @At("HEAD"), cancellable = true)
|
||||
private void beforeDatapacks(CallbackInfo ci)
|
||||
{
|
||||
if (!TickSpeed.process_entities && TickSpeed.deepFreeze) ci.cancel();
|
||||
if (!TickSpeed.process_entities) ci.cancel();
|
||||
else
|
||||
currentSection = CarpetProfiler.start_section(null, "Datapacks", CarpetProfiler.TYPE.GENERAL);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user