GlowstoneMC / GlowstoneMC/Glowstone

Snapshot Inventories need to be implemented

Open
#571 0 comments 0 reactions 0 assignees View on GitHub
Category: server feature Priority: minor Status: needs investigation Type: feature
Dominant language
Java
Stars
2k
Forks
280
PR merge metrics
No merged PRs in 30d

Description

As of 1.12.2, Spigot has introduced Inventory Snapshots in their API. The use of this function and how to implement it has to be investigated.

Sources of interest:

https://github.com/GlowstoneMC/Glowstone/blob/47db4c461f2077620731692777c07e146af4d3f1/src/main/java/net/glowstone/block/state/GlowContainer.java#L126-L128 (which is re-implemented in some classes that have custom inventory types, like `GlowFurnace`, `GlowBeacon`, etc.)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/50245780-snapshot-inventories-need-to-be-implemented?utm_campaign=plugin&utm_content=tracker%2F14691067&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14691067&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Research direction

Start with the linked GlowContainer.java implementation around lines 126-128, then inspect the custom inventory types mentioned, including GlowFurnace and GlowBeacon. Compare their behavior with Spigot's Inventory Snapshot API and determine the affected inventory classes. Done means snapshot inventory support is implemented consistently across the relevant types and verified against the API behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.