Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
FreeMinecraftModels
/
com.magmaguy.freeminecraftmodels.api
/
ItemConstructionSnapshot
Item
Construction
Snapshot
public
final
class
ItemConstructionSnapshot
Captured on the server thread; its immutable item data can be applied by a construction worker.
Members
Types
Item
Data
Link copied to clipboard
public
final
class
ItemData
extends
Record
Functions
capture
Link copied to clipboard
public
static
ItemConstructionSnapshot
capture
(
)
item
Link copied to clipboard
public
ItemConstructionSnapshot.ItemData
item
(
String
id
)
require
Current
Link copied to clipboard
public
void
requireCurrent
(
)
weapon
Link copied to clipboard
public
ItemConstructionSnapshot.ItemData
weapon
(
String
id
)
Magic weapon IDs use the same normalization as the live weapon catalog.