Shulker Preview
Display a preview of the shulker box directly from your inventory.
Integration
How to toggle the mod
public void toggleShulkerPreviewExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModShulkerPreview.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
ALWAYS_PREVIEW
- Config Key:
always-preview
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
COLORED_SHULKER_PREVIEW
- Config Key:
colored-shulker-preview
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key: