docs: Drop clarified todos

This commit is contained in:
NotMyFault 2021-12-29 18:16:19 +01:00
parent 122cba677a
commit aaad86cf1d
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
5 changed files with 0 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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