Interface LocationInventoryViewBuilder<V extends InventoryView>
- Type Parameters:
- V- the type of InventoryView created from this builder
- All Superinterfaces:
- InventoryViewBuilder<V>
- 
Method SummaryModifier and TypeMethodDescriptioncheckReachable(boolean checkReachable) Determines whether or not the server should check if the player can reach the location.copy()Makes a copy of this builderBinds a location to this builder.Sets the title of the builderMethods inherited from interface org.bukkit.inventory.view.builder.InventoryViewBuilderbuild
- 
Method Details- 
copyDescription copied from interface:InventoryViewBuilderMakes a copy of this builder- Specified by:
- copyin interface- InventoryViewBuilder<V extends InventoryView>
- Returns:
- a copy of this builder
 
- 
titleDescription copied from interface:InventoryViewBuilderSets the title of the builder- Specified by:
- titlein interface- InventoryViewBuilder<V extends InventoryView>
- Parameters:
- title- the title
- Returns:
- this builder
 
- 
checkReachableDetermines whether or not the server should check if the player can reach the location.Not providing a location but setting checkReachable to true will automatically close the view when opened. If checkReachable is set to false and a location is set on the builder if the target block exists and this builder is the correct menu for that block, e.g. MenuType.GENERIC_9X3 builder and target block set to chest, if that block is destroyed the view would persist. - Parameters:
- checkReachable- whether or not to check if the view is "reachable"
- Returns:
- this builder
 
- 
locationBinds a location to this builder.By binding a location in an unloaded chunk to this builder it is likely that the given chunk the location is will load. That means that when, building this view it may come with the costs associated with chunk loading. Providing a location of a tile entity with a non matching menu comes with extra costs associated with ensuring that the correct view is created. - Parameters:
- location- the location to bind to this view
- Returns:
- this builder
 
 
-