PrefabBufferBlockEntry.java
package com.hypixel.hytale.server.core.prefab.selection.buffer.impl;
import com.hypixel.hytale.component.Holder;
import com.hypixel.hytale.server.core.universe.world.storage.ChunkStore;
import javax.annotation.Nullable;
public class PrefabBufferBlockEntry {
public static final PrefabBufferBlockEntry[] EMPTY_ARRAY = new PrefabBufferBlockEntry[0];
public final int y;
public String blockTypeKey;
public int blockId;
public float chance;
@Nullable
public Holder<ChunkStore> state;
public int fluidId;
public byte fluidLevel;
public byte supportValue;
public int filler;
public int rotation;
public PrefabBufferBlockEntry(int y) {
this(y, 0, "Empty");
}
public {
(y, blockId, blockTypeKey, );
}
{
(y, blockId, blockTypeKey, chance, (Holder), , (), (), , );
}
{
.y = y;
.blockId = blockId;
.blockTypeKey = blockTypeKey;
.chance = chance;
.state = state;
.fluidId = fluidId;
.fluidLevel = fluidLevel;
.supportValue = supportValue;
.rotation = rotation;
.filler = filler;
}
}