Skip to content

Commit

Permalink
Optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
mosemister committed Jan 6, 2024
1 parent fe957aa commit 682db03
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CoreToFolia
Submodule CoreToFolia updated 33 files
+12 −3 src/main/java/org/core/implementation/folia/CoreToFolia.java
+0 −1 src/main/java/org/core/implementation/folia/command/BCommandWrapper.java
+22 −17 src/main/java/org/core/implementation/folia/configuration/YAMLConfigurationFile.java
+9 −10 src/main/java/org/core/implementation/folia/eco/vault/PlayerVaultAccount.java
+4 −6 src/main/java/org/core/implementation/folia/eco/vault/transaction/VaultPendingTransaction.java
+3 −3 src/main/java/org/core/implementation/folia/entity/BLiveEntity.java
+21 −22 src/main/java/org/core/implementation/folia/entity/BSnapshotValueEntity.java
+37 −1 src/main/java/org/core/implementation/folia/entity/EntitySnapshotValue.java
+18 −12 src/main/java/org/core/implementation/folia/entity/living/human/player/live/BLivePlayer.java
+3 −0 src/main/java/org/core/implementation/folia/entity/scene/live/BLiveItemFrame.java
+7 −11 src/main/java/org/core/implementation/folia/event/BukkitListener.java
+34 −33 src/main/java/org/core/implementation/folia/inventory/inventories/live/block/BLiveChestInventory.java
+38 −37 ...java/org/core/implementation/folia/inventory/inventories/live/block/BLiveUnknownBlockAttachedInventory.java
+4 −4 src/main/java/org/core/implementation/folia/inventory/inventories/live/entity/BLivePlayerInventory.java
+1 −1 .../core/implementation/folia/inventory/inventories/snapshot/block/BUnknownBlockAttachedInventorySnapshot.java
+0 −1 src/main/java/org/core/implementation/folia/inventory/item/stack/BAbstractItemStack.java
+0 −3 src/main/java/org/core/implementation/folia/inventory/item/stack/BItemStackSnapshot.java
+20 −20 src/main/java/org/core/implementation/folia/inventory/part/dispenser/DispenserBasedGrid.java
+1 −1 src/main/java/org/core/implementation/folia/platform/BServer.java
+12 −12 src/main/java/org/core/implementation/folia/platform/BukkitPlatform.java
+0 −18 src/main/java/org/core/implementation/folia/world/boss/BServerBossBar.java
+2 −2 src/main/java/org/core/implementation/folia/world/position/block/details/blocks/data/BDirectionalData.java
+4 −4 src/main/java/org/core/implementation/folia/world/position/block/entity/banner/pattern/BPatternLayers.java
+2 −2 ...n/java/org/core/implementation/folia/world/position/block/entity/banner/pattern/BPatternLayersSnapshot.java
+1 −1 ...ava/org/core/implementation/folia/world/position/block/entity/container/chest/BChestTileEntitySnapshot.java
+1 −1 ...in/java/org/core/implementation/folia/world/position/block/entity/container/chest/BLiveChestTileEntity.java
+1 −1 ...core/implementation/folia/world/position/block/entity/container/dispenser/BDispenserTileEntitySnapshot.java
+1 −1 ...org/core/implementation/folia/world/position/block/entity/container/dropper/BDropperTileEntitySnapshot.java
+1 −1 ...ava/org/core/implementation/folia/world/position/block/entity/container/furnace/BFurnaceEntitySnapshot.java
+1 −1 src/main/java/org/core/implementation/folia/world/position/block/entity/sign/BSignEntity.java
+1 −1 ...java/org/core/implementation/folia/world/position/block/entity/unknown/BLiveUnknownContainerTileEntity.java
+1 −1 .../org/core/implementation/folia/world/position/block/entity/unknown/BUnknownContainerTileEntitySnapshot.java
+15 −19 src/main/java/org/core/implementation/folia/world/position/impl/sync/BBlockPosition.java
2 changes: 1 addition & 1 deletion CoreToSponge
Submodule CoreToSponge updated 30 files
+6 −2 src/main/java/org/core/implementation/sponge/CoreToSponge.java
+0 −3 src/main/java/org/core/implementation/sponge/boss/SServerBossBar.java
+4 −4 src/main/java/org/core/implementation/sponge/command/SCommand.java
+54 −46 src/main/java/org/core/implementation/sponge/configuration/AbstractConfigurationFile.java
+2 −1 src/main/java/org/core/implementation/sponge/configuration/SConfigManager.java
+17 −14 src/main/java/org/core/implementation/sponge/currency/account/SEcoAccount.java
+4 −0 src/main/java/org/core/implementation/sponge/entity/SEntitySnapshot.java
+31 −6 src/main/java/org/core/implementation/sponge/entity/living/human/player/live/SLivePlayer.java
+0 −2 src/main/java/org/core/implementation/sponge/events/SpongeListener.java
+0 −1 src/main/java/org/core/implementation/sponge/events/events/entity/interact/SEntityInteractionListener.java
+2 −1 ...main/java/org/core/implementation/sponge/events/events/entity/interact/block/SEntityInteractBlockEvent.java
+1 −1 src/main/java/org/core/implementation/sponge/inventory/SItemType.java
+64 −64 src/main/java/org/core/implementation/sponge/inventory/inventories/live/SLivePlayerInventory.java
+5 −1 src/main/java/org/core/implementation/sponge/platform/PlatformConsole.java
+70 −70 src/main/java/org/core/implementation/sponge/platform/SpongePlatform.java
+8 −4 src/main/java/org/core/implementation/sponge/platform/plugin/boot/TranslateCoreBoot.java
+4 −6 src/main/java/org/core/implementation/sponge/platform/plugin/boot/inject/PluginMetadataWrapper.java
+9 −0 src/main/java/org/core/implementation/sponge/scheduler/SScheduleManager.java
+8 −4 src/main/java/org/core/implementation/sponge/scheduler/SScheduler.java
+1 −2 src/main/java/org/core/implementation/sponge/world/SWorldExtent.java
+8 −9 src/main/java/org/core/implementation/sponge/world/position/block/SBlockType.java
+3 −6 src/main/java/org/core/implementation/sponge/world/position/block/details/blocks/details/SBlockDetails.java
+12 −12 ...a/org/core/implementation/sponge/world/position/block/details/blocks/snapshot/DirectionSnapshotWrapper.java
+140 −134 src/main/java/org/core/implementation/sponge/world/position/block/details/blocks/snapshot/SBlockSnapshot.java
+1 −1 src/main/java/org/core/implementation/sponge/world/position/block/entity/furnace/SFurnaceEntitySnapshot.java
+0 −1 src/main/java/org/core/implementation/sponge/world/position/block/entity/furnace/SLiveFurnaceEntity.java
+1 −1 src/main/java/org/core/implementation/sponge/world/position/block/entity/sign/SLiveSignEntity.java
+0 −1 src/main/java/org/core/implementation/sponge/world/position/block/entity/sign/SSignTileEntitySnapshot.java
+13 −12 src/main/java/org/core/implementation/sponge/world/position/synced/SBlockPosition.java
+10 −11 src/main/java/org/core/implementation/sponge/world/position/synced/SSyncedPosition.java
2 changes: 1 addition & 1 deletion ShipsForCore
Submodule ShipsForCore updated 144 files
2 changes: 1 addition & 1 deletion TranslateCore
Submodule TranslateCore updated 65 files
+17 −17 src/main/java/org/array/utils/ArrayUtils.java
+13 −0 src/main/java/org/core/TranslateCore.java
+7 −7 src/main/java/org/core/adventureText/legacy/LegacyText.java
+3 −1 src/main/java/org/core/collection/AbstractWrappedCollection.java
+5 −5 src/main/java/org/core/collection/WrappedCollection.java
+1 −1 src/main/java/org/core/command/argument/ArgumentCommand.java
+9 −6 src/main/java/org/core/command/argument/arguments/id/IdentifiableArgument.java
+25 −21 src/main/java/org/core/command/argument/arguments/operation/FlatRemainingArgument.java
+16 −16 src/main/java/org/core/command/argument/arguments/operation/RemainingArgument.java
+21 −17 src/main/java/org/core/command/argument/arguments/position/vector/Vector3Argument.java
+1 −1 src/main/java/org/core/command/argument/arguments/simple/BooleanArgument.java
+4 −4 src/main/java/org/core/command/argument/arguments/simple/number/FloatArgument.java
+7 −5 src/main/java/org/core/command/argument/arguments/source/LivePlayerArgument.java
+12 −13 src/main/java/org/core/config/ConfigurationStream.java
+1 −0 src/main/java/org/core/config/parser/parsers/StringToATextLegacyParser.java
+19 −0 src/main/java/org/core/config/parser/parsers/StringToComponentLegacyParser.java
+2 −1 src/main/java/org/core/config/parser/parsers/StringToVector3Int.java
+13 −15 src/main/java/org/core/config/parser/unspecific/unspecific/InventoryParser.java
+2 −2 src/main/java/org/core/eco/Currency.java
+7 −4 src/main/java/org/core/eco/account/Account.java
+18 −34 src/main/java/org/core/entity/Entity.java
+25 −22 src/main/java/org/core/entity/EntitySnapshot.java
+1 −0 src/main/java/org/core/entity/living/ArmoredEntity.java
+1 −1 src/main/java/org/core/entity/living/bat/BatSnapshot.java
+2 −1 src/main/java/org/core/entity/living/hostile/creeper/CreeperEntitySnapshot.java
+1 −1 src/main/java/org/core/entity/living/hostile/undead/classic/ClassicZombie.java
+1 −0 src/main/java/org/core/entity/living/hostile/undead/classic/LiveClassicZombie.java
+11 −5 src/main/java/org/core/entity/living/human/player/LivePlayer.java
+1 −1 src/main/java/org/core/entity/projectile/item/snowball/SnowballEntity.java
+1 −0 src/main/java/org/core/entity/scene/minecart/type/rideable/RideableMinecart.java
+4 −5 src/main/java/org/core/event/events/entity/EntityMoveEvent.java
+11 −11 src/main/java/org/core/inventory/Inventory.java
+1 −0 src/main/java/org/core/inventory/inventories/general/block/ChestInventory.java
+3 −2 src/main/java/org/core/inventory/inventories/live/entity/LiveEntityInventory.java
+3 −4 src/main/java/org/core/inventory/inventories/snapshots/block/ChestInventorySnapshot.java
+1 −1 src/main/java/org/core/inventory/inventories/snapshots/block/FurnaceInventorySnapshot.java
+1 −1 src/main/java/org/core/inventory/inventories/snapshots/block/dispenser/DispenserInventorySnapshot.java
+1 −1 src/main/java/org/core/inventory/inventories/snapshots/block/dispenser/DropperInventorySnapshot.java
+13 −14 src/main/java/org/core/inventory/item/stack/ItemStack.java
+2 −3 src/main/java/org/core/inventory/item/stack/LiveItemStack.java
+1 −0 src/main/java/org/core/platform/Platform.java
+8 −7 src/main/java/org/core/platform/plugin/Plugin.java
+9 −16 src/main/java/org/core/platform/plugin/loader/CommonLoad.java
+20 −19 src/main/java/org/core/platform/plugin/loader/JarLoader.java
+1 −3 src/main/java/org/core/source/Messageable.java
+2 −0 src/main/java/org/core/source/viewer/CommandViewer.java
+40 −37 src/main/java/org/core/terminal/Terminal.java
+24 −0 src/main/java/org/core/utils/BarUtils.java
+8 −4 src/main/java/org/core/utils/ComponentUtils.java
+4 −4 src/main/java/org/core/utils/Else.java
+1 −1 src/main/java/org/core/utils/MathUtils.java
+1 −1 src/main/java/org/core/utils/lamda/single/ThrowableConsumer.java
+7 −0 src/main/java/org/core/utils/lamda/single/ThrowableSupplier.java
+17 −23 src/main/java/org/core/vector/Vector.java
+27 −27 src/main/java/org/core/vector/VectorConverter.java
+26 −4 src/main/java/org/core/world/boss/ServerBossBar.java
+6 −9 src/main/java/org/core/world/expload/Explosion.java
+1 −1 src/main/java/org/core/world/position/block/blocktypes/CommonBlockTypes.java
+0 −1 src/main/java/org/core/world/position/block/details/BlockDetails.java
+1 −1 src/main/java/org/core/world/position/block/entity/TileEntitySnapshot.java
+1 −1 src/main/java/org/core/world/position/block/entity/banner/pattern/PatternLayers.java
+4 −6 src/main/java/org/core/world/position/impl/BlockPosition.java
+3 −5 src/main/java/org/core/world/position/impl/ExactPosition.java
+6 −7 src/main/java/org/core/world/position/impl/async/ASyncExactPosition.java
+3 −4 src/main/java/org/core/world/position/impl/sync/SyncExactPosition.java

0 comments on commit 682db03

Please sign in to comment.