Package eu.ha3.matmos.engine.core.interfaces

Examples of eu.ha3.matmos.engine.core.interfaces.Operator


          File jsonFile = new File(minecraftFolder, "sounds.json");
          if (soundsFolder.exists())
          {
            try
            {
              new SoundsJsonGenerator(soundsFolder, jsonFile).run();
              this.mod.getChatter().printChat("File generated in " + jsonFile.getAbsolutePath());
              this.mod.getChatter().printChatShort(
                "Changes will be applied next time Resource Packs are reloaded.");
            }
            catch (Exception e)
View Full Code Here


  {
    if (this.mod.isActivated() && this.mod.util().isCurrentScreen(null))
    {
      // OBF displayGuiScreen
      Minecraft.getMinecraft().displayGuiScreen(
        new MAtGuiMenu((GuiScreen) this.mod.util().getCurrentScreen(), this.mod));
    }
  }
View Full Code Here

public class LiteModMAtmos extends TempLiteKey
{
  public LiteModMAtmos()
  {
    super(new MAtMod());
  }
View Full Code Here

    util().registerPrivateGetter("isInWeb", Entity.class, -1, "isInWeb", "field_70134_J", "J");
   
    ((OperatorCaster) op()).setTickEnabled(true);
   
    TimeStatistic timeMeasure = new TimeStatistic(Locale.ENGLISH);
    this.userControl = new UserControl(this);
    this.expansionManager =
      new ExpansionManager(new File(util().getModsFolder(), "matmos/expansions_r27_userconfig/"), this);
   
    // Create default configuration
    this.updateNotifier.fillDefaults(this.config);
View Full Code Here

   
    TimeStatistic stat = new TimeStatistic(Locale.ENGLISH);
   
    this.dataGatherer = new ModularDataGatherer(this);
    this.dataGatherer.load();
    this.visualDebugger = new VisualDebugger(this, this.dataGatherer);
    this.expansionManager.setData(this.dataGatherer.getData());
    this.expansionManager.setCollector(this.dataGatherer);
    this.expansionManager.loadExpansions();
   
    this.hasResourcePacks = true;
View Full Code Here

  public MAtGuiExpansionDetails(MAtGuiMenu menu, MAtMod mod, Expansion expansion)
  {
    this.parentScreen = menu;
    this.mod = mod;
    this.expansion = expansion;
    this.debug = new VisualExpansionDebugging(this.mod, expansion.getName());
  }
View Full Code Here

    SheetIndex si =
      !dynamic ? new LegacySheetIndex_Engine0to1(sheetNotComputed, indexNotComputed) : new SheetEntry(
        sheetNotComputed, indexNotComputed);
   
    {
      SerialCondition condition = new SerialCondition();
     
      condition.sheet = si.getSheet();
      condition.index = si.getIndex();
      condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
      condition.value = value;
     
      this.root.condition.put(name, condition);
    }
    if (si instanceof LegacySheetIndex_Engine0to1)
    {
      if (((LegacySheetIndex_Engine0to1) si).isBlock() && asBlock(value) != null)
      {
        SerialCondition condition = new SerialCondition();
       
        condition.sheet = si.getSheet();
        condition.index = si.getIndex();
        condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
        condition.value = asBlock(value);
       
        this.root.condition.put(name + AS_BLOCK, condition);
      }
     
      if (((LegacySheetIndex_Engine0to1) si).isItem() && asItem(value) != null)
      {
        SerialCondition condition = new SerialCondition();
       
        condition.sheet = si.getSheet();
        condition.index = si.getIndex();
        condition.symbol = Operator.fromSymbol(symbol).getSerializedForm();
        condition.value = asItem(value);
View Full Code Here

    }
  }
 
  private void parseXML_1_dynamic(Element capsule, String name)
  {
    SerialDynamic dynamic = new SerialDynamic();
   
    for (Element eelt : DomUtil.getChildren(capsule, ENTRY))
    {
      SerialDynamicSheetIndex sdsi = new SerialDynamicSheetIndex();
     
View Full Code Here

   
    String ctsOfIndex = this.textFieldIndex.getText();
    if (ctsOfIndex.equals(""))
      return;
   
    this.serialDynamic.entries.add(new SerialDynamicSheetIndex(ctsOfSheet, ctsOfIndex));
    flagChange();
    this.listRemover.getList().setSelectedValue(ctsOfSheet + "@" + ctsOfIndex, true);
  }
View Full Code Here

  {
    SerialDynamic dynamic = new SerialDynamic();
   
    for (Element eelt : DomUtil.getChildren(capsule, ENTRY))
    {
      SerialDynamicSheetIndex sdsi = new SerialDynamicSheetIndex();
     
      String sheet = eelt.getAttributes().getNamedItem(SHEET).getNodeValue();
      String index = textOf(eelt);
     
      if (sheet.contains("Scan"))
View Full Code Here

TOP

Related Classes of eu.ha3.matmos.engine.core.interfaces.Operator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.