1 2 3 package org.catacomb.druid.blocks; 4 5 import org.catacomb.druid.build.Context; 6 import org.catacomb.druid.build.GUIPath; 7 import org.catacomb.druid.gui.base.DruSuggestEffect; 8 import org.catacomb.druid.gui.edit.Effect; 9 10 11 public class SuggestEffect extends BaseEffect { 12 13 14 public String target; 15 16 17 18 public Effect realize(Context ctx, GUIPath gpath) { 19 Effect eff = new DruSuggestEffect(target); 20 21 ctx.getMarketplace().addViewer("TargetStore", eff, "access"); 22 23 return eff; 24 } 25 26 27 28 }