Class GolfConfig.Main

java.lang.Object
org.samo_lego.golfiv.storage.GolfConfig.Main
Enclosing class:
GolfConfig

public static class GolfConfig.Main extends Object
Main part of the config.
  • Field Details

    • _comment_checkInventoryActions

      @SerializedName("// Prevents hitting/chatting with open GUI") public final String _comment_checkInventoryActions
      See Also:
    • checkInventoryActions

      public boolean checkInventoryActions
      Checks whether is doing actions that cannot be done while having the GUI open. (e. g. hitting, typing, etc.)
    • _comment_preventDestructionByPiston

      @SerializedName("// Prevents headless pistons from destroying blocks that are not piston extensions.") public final String _comment_preventDestructionByPiston
      See Also:
    • preventDestructionByHeadlessPistons

      public boolean preventDestructionByHeadlessPistons
    • _comment_allowedDestructibleByPiston_1

      @SerializedName("// Allows headless pistons to destroy certain blocks when preventing destruction is enabled.") public final String _comment_allowedDestructibleByPiston_1
      See Also:
    • _comment_allowedDestructibleByPiston_2

      @SerializedName("// Useful to allow only breaking of bedrock but denying destruction of barriers.") public final String _comment_allowedDestructibleByPiston_2
      See Also:
    • allowedDestructibleByHeadlessPistons

      public Set<net.minecraft.block.Block> allowedDestructibleByHeadlessPistons
      Allows headless pistons to destroy certain blocks when preventDestructionByHeadlessPistons is enabled.

      Useful to allow only breaking of bedrock but denying destruction of barriers, chests and other blocks.

    • _comment_inflictNetherRoofDamage

      @SerializedName("// What altitude in the nether should start inflicting void damage (e.g. 128). -1 disables it.") public final String _comment_inflictNetherRoofDamage
      See Also:
    • inflictNetherRoofDamage

      public int inflictNetherRoofDamage
  • Constructor Details

    • Main

      public Main()