All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.papermc.lib.features.inventoryholdersnapshot.InventoryHolderSnapshotResult Maven / Gradle / Ivy

package io.papermc.lib.features.inventoryholdersnapshot;

import org.bukkit.inventory.InventoryHolder;
public class InventoryHolderSnapshotResult {
    private final boolean isSnapshot;
    private final InventoryHolder holder;

    public InventoryHolderSnapshotResult(boolean isSnapshot, InventoryHolder holder) {
        this.isSnapshot = isSnapshot;
        this.holder = holder;
    }

    public boolean isSnapshot() {
        return isSnapshot;
    }

    public InventoryHolder getHolder() {
        return holder;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy