Package com.ldtteam.structurize.util
Class ScanToolData.Slot
java.lang.Object
com.ldtteam.structurize.util.ScanToolData.Slot
- Enclosing class:
- ScanToolData
Data for one scan slot
-
Constructor Summary
ConstructorsConstructorDescriptionSlot(@NotNull String name, @NotNull BoxPreviewData box) Construct directlySlot(@NotNull net.minecraft.nbt.CompoundTag tag) Load from tag -
Method Summary
-
Constructor Details
-
Slot
Construct directly- Parameters:
name- the schematic namebox- the schematic box
-
Slot
public Slot(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) Load from tag- Parameters:
tag- the tag
-
-
Method Details
-
write
public net.minecraft.nbt.CompoundTag write(@NotNull @NotNull net.minecraft.nbt.CompoundTag tag) Serialize- Parameters:
tag- target tag- Returns:
- the same tag (for convenience)
-
isEmpty
public boolean isEmpty() -
getBox
-
getName
-