Interface LodestoneTracker.Builder
- All Superinterfaces:
DataComponentBuilder<LodestoneTracker>
- Enclosing interface:
LodestoneTracker
@Experimental
@NonExtendable
public static interface LodestoneTracker.Builder
extends DataComponentBuilder<LodestoneTracker>
Builder for
LodestoneTracker
.-
Method Summary
Modifier and TypeMethodDescriptionSets the location to point towards for this builder.tracked
(boolean tracked) Sets if this location lodestone is tracked for this builder.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
location
@Contract(value="_ -> this", mutates="this") LodestoneTracker.Builder location(@Nullable Location location) Sets the location to point towards for this builder.- Parameters:
location
- location to point towards- Returns:
- the builder for chaining
- See Also:
-
tracked
Sets if this location lodestone is tracked for this builder.- Parameters:
tracked
- is tracked- Returns:
- the builder for chaining
- See Also:
-