From aaad86cf1d2b164054ad65e77f5bef8e56d6a8ed Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Wed, 29 Dec 2021 18:16:19 +0100 Subject: [PATCH] docs: Drop clarified todos --- .../adapter/impl/fawe/v1_18_R1/PaperweightBlockMaterial.java | 1 - .../adapter/impl/fawe/v1_18_R1/PaperweightFaweAdapter.java | 1 - .../bukkit/adapter/impl/fawe/v1_18_R1/PaperweightGetBlocks.java | 2 -- .../impl/fawe/v1_18_R1/PaperweightStarlightRelighter.java | 1 - .../fawe/v1_18_R1/PaperweightStarlightRelighterFactory.java | 1 - 5 files changed, 6 deletions(-) diff --git a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightBlockMaterial.java b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightBlockMaterial.java index 3e6839336..aa72fa9a7 100644 --- a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightBlockMaterial.java +++ b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightBlockMaterial.java @@ -26,7 +26,6 @@ public class PaperweightBlockMaterial implements BlockMaterial { private final CraftBlockData craftBlockData; private final org.bukkit.Material craftMaterial; private final int opacity; - //TODO 1.18 be a CompoundBinaryTag ? private final CompoundTag tile; public PaperweightBlockMaterial(Block block) { diff --git a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightFaweAdapter.java b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightFaweAdapter.java index 6cdaea783..a5b24b387 100644 --- a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightFaweAdapter.java +++ b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightFaweAdapter.java @@ -354,7 +354,6 @@ public final class PaperweightFaweAdapter extends CachedBukkitAdapter implements if (id != null) { EntityType type = com.sk89q.worldedit.world.entity.EntityTypes.get(id); - //TODO 1.18 be a CBT ? Supplier saveTag = () -> { final net.minecraft.nbt.CompoundTag minecraftTag = new net.minecraft.nbt.CompoundTag(); readEntityIntoTag(mcEntity, minecraftTag); diff --git a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightGetBlocks.java b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightGetBlocks.java index 85ffe7710..897001e45 100644 --- a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightGetBlocks.java +++ b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightGetBlocks.java @@ -229,7 +229,6 @@ public class PaperweightGetBlocks extends CharGetBlocks implements BukkitGetBloc } @Override - //TODO 1.18 be CBT? public CompoundTag getTile(int x, int y, int z) { BlockEntity blockEntity = getChunk().getBlockEntity(new BlockPos((x & 15) + ( chunkX << 4), y, (z & 15) + ( @@ -314,7 +313,6 @@ public class PaperweightGetBlocks extends CharGetBlocks implements BukkitGetBloc Entity entity = serverLevel.getEntity(uuid); if (entity != null) { org.bukkit.entity.Entity bukkitEnt = entity.getBukkitEntity(); - //TODO 1.18 CBT & #getNbt? return BukkitAdapter.adapt(bukkitEnt).getState().getNbtData(); } for (List entry : /*getChunk().getEntitySlices()*/ new List[0]) { diff --git a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighter.java b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighter.java index 767674188..999faecb0 100644 --- a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighter.java +++ b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighter.java @@ -70,7 +70,6 @@ public class PaperweightStarlightRelighter implements Relighter { private final ReentrantLock areaLock = new ReentrantLock(); private final NMSRelighter delegate; - //TODO 1.18 address raw access of IQueueChunk public PaperweightStarlightRelighter(ServerLevel serverLevel, IQueueExtent queue) { this.serverLevel = serverLevel; this.delegate = new NMSRelighter(queue); diff --git a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighterFactory.java b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighterFactory.java index c8c9c0046..a7da862fa 100644 --- a/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighterFactory.java +++ b/worldedit-bukkit/adapters/adapter-1_18/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_18_R1/PaperweightStarlightRelighterFactory.java @@ -16,7 +16,6 @@ public class PaperweightStarlightRelighterFactory implements RelighterFactory { @Override public @Nonnull - //TODO 1.18 address raw access of IQueueChunk Relighter createRelighter(RelightMode relightMode, World world, IQueueExtent queue) { org.bukkit.World w = Bukkit.getWorld(world.getName()); if (w == null) {