Skip to content

Commit

Permalink
Remove aggressiveoptz::network_item optimization, fix #4
Browse files Browse the repository at this point in the history
BedrockProtocol v28.0.1+bedrock-1.20.60 actually worsens the performance of NetworkItem optimization and does not make these optimizations feasible due to there being no way to modify NBT before it gets serialized.
  • Loading branch information
Muqsit committed Mar 13, 2024
1 parent d2fc411 commit ab8e740
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 181 deletions.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: AggressiveOptz
main: muqsit\aggressiveoptz\Loader
api: 5.0.0
version: 0.0.7
version: 0.0.8
2 changes: 0 additions & 2 deletions src/muqsit/aggressiveoptz/AggressiveOptzApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Logger;
use muqsit\aggressiveoptz\component\defaults\FallingBlockOptimizationComponent;
use muqsit\aggressiveoptz\component\defaults\LiquidFallingOptimizationComponent;
use muqsit\aggressiveoptz\component\defaults\NetworkItemOptimizationComponent;
use muqsit\aggressiveoptz\component\OptimizationComponentFactory;
use muqsit\aggressiveoptz\component\OptimizationComponentManager;
use muqsit\aggressiveoptz\helper\AggressiveOptzHelper;
Expand Down Expand Up @@ -45,7 +44,6 @@ private function loadComponent() : void{
$this->component_factory = new OptimizationComponentFactory();
$this->component_factory->register("{$prefix}:falling_block", FallingBlockOptimizationComponent::class);
$this->component_factory->register("{$prefix}:liquid_falling", LiquidFallingOptimizationComponent::class);
$this->component_factory->register("{$prefix}:network_item", NetworkItemOptimizationComponent::class);

$this->component_manager = new OptimizationComponentManager($this);
}
Expand Down

This file was deleted.

51 changes: 0 additions & 51 deletions src/muqsit/aggressiveoptz/helper/LazyEncodedPacket.php

This file was deleted.

0 comments on commit ab8e740

Please sign in to comment.