// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.core.prefab.selection.buffer.impl;

import javax.annotation.Nullable;
import com.hypixel.hytale.server.core.universe.world.storage.ChunkStore;
import com.hypixel.hytale.component.Holder;

public class PrefabBufferBlockEntry
{
    public static final PrefabBufferBlockEntry[] EMPTY_ARRAY;
    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(final int y) {
        this(y, 0, "Empty");
    }
    
    public PrefabBufferBlockEntry(final int y, final int blockId, final String blockTypeKey) {
        this(y, blockId, blockTypeKey, 1.0f);
    }
    
    public PrefabBufferBlockEntry(final int y, final int blockId, final String blockTypeKey, final float chance) {
        this(y, blockId, blockTypeKey, chance, null, 0, (byte)0, (byte)0, 0, 0);
    }
    
    public PrefabBufferBlockEntry(final int y, final int blockId, final String blockTypeKey, final float chance, final Holder<ChunkStore> state, final int fluidId, final byte fluidLevel, final byte supportValue, final int rotation, final int filler) {
        this.y = y;
        this.blockId = blockId;
        this.blockTypeKey = blockTypeKey;
        this.chance = chance;
        this.state = state;
        this.fluidId = fluidId;
        this.fluidLevel = fluidLevel;
        this.supportValue = supportValue;
        this.rotation = rotation;
        this.filler = filler;
    }
    
    static {
        EMPTY_ARRAY = new PrefabBufferBlockEntry[0];
    }
}
