Exemplo n.º 1
0
  @Override
  public void loadBIM(Btooom btooom) {

    btooom.addonRegisterNewBIMType(type);

    List<String> lores = new ArrayList<String>();
    lores.add(lore);
    btooom.addonRegisterNewBIMHead(type, displayName, skinURL, lores);

    lores = new ArrayList<String>();

    btooom.addonRegisterNewBIMHead(Zero, Zero, ZeroURL, lores);
    btooom.addonRegisterNewBIMHead(One, One, OneURL, lores);
    btooom.addonRegisterNewBIMHead(Two, Two, TwoURL, lores);
    btooom.addonRegisterNewBIMHead(Three, Three, ThreeURL, lores);
    btooom.addonRegisterNewBIMHead(Four, Four, FourURL, lores);
    btooom.addonRegisterNewBIMHead(Five, Five, FiveURL, lores);
    btooom.addonRegisterNewBIMHead(Six, Six, SixURL, lores);
    btooom.addonRegisterNewBIMHead(Seven, Seven, SevenURL, lores);
    btooom.addonRegisterNewBIMHead(Eight, Eight, EightURL, lores);
    btooom.addonRegisterNewBIMHead(Nine, Nine, NineURL, lores);
  }
Exemplo n.º 2
0
  @Override
  public void unloadBIM(Btooom btooom) {

    btooom.addonUnRegisterNewBIMType(type);

    List<String> lores = new ArrayList<String>();
    lores.add(lore);
    btooom.addonUnRegisterNewBIMHead(type);

    lores = new ArrayList<String>();

    btooom.addonUnRegisterNewBIMHead(Zero);
    btooom.addonUnRegisterNewBIMHead(One);
    btooom.addonUnRegisterNewBIMHead(Two);
    btooom.addonUnRegisterNewBIMHead(Three);
    btooom.addonUnRegisterNewBIMHead(Four);
    btooom.addonUnRegisterNewBIMHead(Five);
    btooom.addonUnRegisterNewBIMHead(Six);
    btooom.addonUnRegisterNewBIMHead(Seven);
    btooom.addonUnRegisterNewBIMHead(Eight);
    btooom.addonUnRegisterNewBIMHead(Nine);
  }