docs: Drop clarified todos

Dieser Commit ist enthalten in:
NotMyFault 2021-12-29 18:16:19 +01:00
Ursprung 122cba677a
Commit aaad86cf1d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C
5 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -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) {

Datei anzeigen

@ -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<CompoundBinaryTag> saveTag = () -> {
final net.minecraft.nbt.CompoundTag minecraftTag = new net.minecraft.nbt.CompoundTag();
readEntityIntoTag(mcEntity, minecraftTag);

Datei anzeigen

@ -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<Entity> entry : /*getChunk().getEntitySlices()*/ new List[0]) {

Datei anzeigen

@ -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<IQueueChunk> queue) {
this.serverLevel = serverLevel;
this.delegate = new NMSRelighter(queue);

Datei anzeigen

@ -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<IQueueChunk> queue) {
org.bukkit.World w = Bukkit.getWorld(world.getName());
if (w == null) {