Class MicromissileDefaults

java.lang.Object
me.desht.pneumaticcraft.common.config.subconfig.AuxConfigJson
me.desht.pneumaticcraft.common.config.subconfig.MicromissileDefaults
All Implemented Interfaces:
IAuxConfig

public class MicromissileDefaults extends AuxConfigJson
  • Field Details

  • Method Details

    • writeToJson

      protected void writeToJson(com.google.gson.JsonObject json)
      Specified by:
      writeToJson in class AuxConfigJson
    • readFromJson

      protected void readFromJson(com.google.gson.JsonObject json)
      Specified by:
      readFromJson in class AuxConfigJson
    • getConfigFilename

      public String getConfigFilename()
      Description copied from interface: IAuxConfig
      Get the filename (within the "pneumaticcraft/" folder in the top-level config directory) where this config should be stored.
      Returns:
      the config file name
    • setDefaults

      public void setDefaults(net.minecraft.world.entity.player.Player player, MicromissileDefaults.Entry record)
    • getDefaults

      public MicromissileDefaults.Entry getDefaults(net.minecraft.world.entity.player.Player player)