Apollo
Developers
Mods
ShulkerPreview

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
  • ALWAYS_PREVIEW

    • Config Key: always-preview
    • Values
      • Type: Boolean
      • Default: false
  • COLORED_SHULKER_PREVIEW

    • Config Key: colored-shulker-preview
    • Values
      • Type: Boolean
      • Default: true