Class ProcessorAmadronTrade

java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.patchouli.ProcessorAmadronTrade
All Implemented Interfaces:
vazkii.patchouli.api.IComponentProcessor

public class ProcessorAmadronTrade extends Object implements vazkii.patchouli.api.IComponentProcessor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    vazkii.patchouli.api.IVariable
    Processes a variable.
    void
    setup(vazkii.patchouli.api.IVariableProvider iVariableProvider)
    Called as the template is being built with the variables passed into it.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface vazkii.patchouli.api.IComponentProcessor

    allowRender, refresh
  • Constructor Details

    • ProcessorAmadronTrade

      public ProcessorAmadronTrade()
  • Method Details

    • setup

      public void setup(vazkii.patchouli.api.IVariableProvider iVariableProvider)
      Description copied from interface: vazkii.patchouli.api.IComponentProcessor
      Called as the template is being built with the variables passed into it. Use this to set up any data that will be used later. Any exceptions thrown here will be caught by the book loader, and graciously displayed in a user friendly way, so feel free to throw on any unrecoverable states.
      Specified by:
      setup in interface vazkii.patchouli.api.IComponentProcessor
    • process

      public vazkii.patchouli.api.IVariable process(String key)
      Description copied from interface: vazkii.patchouli.api.IComponentProcessor
      Processes a variable. You should return what you think the result should be, or null if you don't want to process it. If you need to pass in a serialized ItemStack, look at the ItemStack serialization methods in the main API class.

      Note that this is also called for any right-side values of the using block of any included templates. It is not called for the variables used inside said templates.
      Specified by:
      process in interface vazkii.patchouli.api.IComponentProcessor