mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
docs: Drop clarified todos
This commit is contained in:
parent
122cba677a
commit
aaad86cf1d
@ -26,7 +26,6 @@ public class PaperweightBlockMaterial implements BlockMaterial {
|
|||||||
private final CraftBlockData craftBlockData;
|
private final CraftBlockData craftBlockData;
|
||||||
private final org.bukkit.Material craftMaterial;
|
private final org.bukkit.Material craftMaterial;
|
||||||
private final int opacity;
|
private final int opacity;
|
||||||
//TODO 1.18 be a CompoundBinaryTag ?
|
|
||||||
private final CompoundTag tile;
|
private final CompoundTag tile;
|
||||||
|
|
||||||
public PaperweightBlockMaterial(Block block) {
|
public PaperweightBlockMaterial(Block block) {
|
||||||
|
@ -354,7 +354,6 @@ public final class PaperweightFaweAdapter extends CachedBukkitAdapter implements
|
|||||||
|
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
EntityType type = com.sk89q.worldedit.world.entity.EntityTypes.get(id);
|
EntityType type = com.sk89q.worldedit.world.entity.EntityTypes.get(id);
|
||||||
//TODO 1.18 be a CBT ?
|
|
||||||
Supplier<CompoundBinaryTag> saveTag = () -> {
|
Supplier<CompoundBinaryTag> saveTag = () -> {
|
||||||
final net.minecraft.nbt.CompoundTag minecraftTag = new net.minecraft.nbt.CompoundTag();
|
final net.minecraft.nbt.CompoundTag minecraftTag = new net.minecraft.nbt.CompoundTag();
|
||||||
readEntityIntoTag(mcEntity, minecraftTag);
|
readEntityIntoTag(mcEntity, minecraftTag);
|
||||||
|
@ -229,7 +229,6 @@ public class PaperweightGetBlocks extends CharGetBlocks implements BukkitGetBloc
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
//TODO 1.18 be CBT?
|
|
||||||
public CompoundTag getTile(int x, int y, int z) {
|
public CompoundTag getTile(int x, int y, int z) {
|
||||||
BlockEntity blockEntity = getChunk().getBlockEntity(new BlockPos((x & 15) + (
|
BlockEntity blockEntity = getChunk().getBlockEntity(new BlockPos((x & 15) + (
|
||||||
chunkX << 4), y, (z & 15) + (
|
chunkX << 4), y, (z & 15) + (
|
||||||
@ -314,7 +313,6 @@ public class PaperweightGetBlocks extends CharGetBlocks implements BukkitGetBloc
|
|||||||
Entity entity = serverLevel.getEntity(uuid);
|
Entity entity = serverLevel.getEntity(uuid);
|
||||||
if (entity != null) {
|
if (entity != null) {
|
||||||
org.bukkit.entity.Entity bukkitEnt = entity.getBukkitEntity();
|
org.bukkit.entity.Entity bukkitEnt = entity.getBukkitEntity();
|
||||||
//TODO 1.18 CBT & #getNbt?
|
|
||||||
return BukkitAdapter.adapt(bukkitEnt).getState().getNbtData();
|
return BukkitAdapter.adapt(bukkitEnt).getState().getNbtData();
|
||||||
}
|
}
|
||||||
for (List<Entity> entry : /*getChunk().getEntitySlices()*/ new List[0]) {
|
for (List<Entity> entry : /*getChunk().getEntitySlices()*/ new List[0]) {
|
||||||
|
@ -70,7 +70,6 @@ public class PaperweightStarlightRelighter implements Relighter {
|
|||||||
private final ReentrantLock areaLock = new ReentrantLock();
|
private final ReentrantLock areaLock = new ReentrantLock();
|
||||||
private final NMSRelighter delegate;
|
private final NMSRelighter delegate;
|
||||||
|
|
||||||
//TODO 1.18 address raw access of IQueueChunk
|
|
||||||
public PaperweightStarlightRelighter(ServerLevel serverLevel, IQueueExtent<IQueueChunk> queue) {
|
public PaperweightStarlightRelighter(ServerLevel serverLevel, IQueueExtent<IQueueChunk> queue) {
|
||||||
this.serverLevel = serverLevel;
|
this.serverLevel = serverLevel;
|
||||||
this.delegate = new NMSRelighter(queue);
|
this.delegate = new NMSRelighter(queue);
|
||||||
|
@ -16,7 +16,6 @@ public class PaperweightStarlightRelighterFactory implements RelighterFactory {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nonnull
|
public @Nonnull
|
||||||
//TODO 1.18 address raw access of IQueueChunk
|
|
||||||
Relighter createRelighter(RelightMode relightMode, World world, IQueueExtent<IQueueChunk> queue) {
|
Relighter createRelighter(RelightMode relightMode, World world, IQueueExtent<IQueueChunk> queue) {
|
||||||
org.bukkit.World w = Bukkit.getWorld(world.getName());
|
org.bukkit.World w = Bukkit.getWorld(world.getName());
|
||||||
if (w == null) {
|
if (w == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user