Update some TODO comments
This commit is contained in:
parent
7ec322769b
commit
99bc827261
4 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@ import space.blokk.item.ItemType
|
|||
import space.blokk.world.NUMERIC_FLUID_IDS_BY_ID
|
||||
import space.blokk.world.block.Material
|
||||
|
||||
// TODO: Replace lazy properties with functions called during startup
|
||||
// TODO: Allow plugins to create custom tags and actually use tag values server-side
|
||||
class Tag(val name: String, val type: Type, val rawValues: List<String>) {
|
||||
val values: List<String> by lazy {
|
||||
val tags = TagRegistry.tagsByNameByType.getValue(type)
|
||||
|
|
|
@ -4,7 +4,6 @@ import kotlin.experimental.and
|
|||
import kotlin.experimental.inv
|
||||
import kotlin.experimental.or
|
||||
|
||||
// TODO: Use UByte
|
||||
/**
|
||||
* Returns true if the bit at [index] is 1.
|
||||
*/
|
||||
|
|
|
@ -62,7 +62,7 @@ data class Biome(
|
|||
MoodSound(
|
||||
6000,
|
||||
2.0,
|
||||
"minecraft:ambient.cave", // TODO: Create constants for vanilla sounds
|
||||
"minecraft:ambient.cave",
|
||||
8
|
||||
),
|
||||
0.8f,
|
||||
|
|
|
@ -63,6 +63,8 @@ object ChunkDataPacketCodec : OutgoingPacketCodec<ChunkDataPacket>(0x20, ChunkDa
|
|||
dst.writeVarInt(it.numericID ?: throw IllegalStateException("A biome in the chunk was not registered"))
|
||||
}
|
||||
|
||||
// TODO: Use palettes
|
||||
|
||||
// Blocks
|
||||
val dataBuf = Unpooled.buffer() // TODO: Set an initial capacity
|
||||
for (section in data.sections.filterNotNull()) {
|
||||
|
|
Reference in a new issue