Skip to content

Commit

Permalink
feat: Make xp cost use xp instead of levels by default #767
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Dec 20, 2023
1 parent d360cba commit 49e2ea4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,31 @@ public enum TransportPets {
public static class XpCost {
@Synced
@Comment("Set to true if experience cost should cost full levels rather than experience points. Make sure to also adjust blocksPerXpLevel, maximumBaseXpCost and dimensionalWarpXpCost appropriately.")
public boolean xpCostsFullLevels = true; // TODO default to false in 1.20.4
public boolean xpCostsFullLevels = false;

@Synced
@Comment("Set to true if experience cost should be inverted, meaning the shorter the distance, the more expensive. Can be used to encourage other methods for short-distance travel.")
public boolean inverseXpCost = false;

@Synced
@Comment("The amount of blocks per xp level requirement. If set to 500, the base xp cost for travelling 1000 blocks will be 2 levels.")
public int blocksPerXpLevel = 1000;
public int blocksPerXpLevel = 100;

@Synced
@Comment("The minimum base xp cost (may be subceeded by multipliers defined below)")
public double minimumBaseXpCost = 0f;

@Synced
@Comment("The maximum base xp cost (may be exceeded by multipliers defined below), set to 0 to disable all distance-based XP costs")
public double maximumBaseXpCost = 3f;
public double maximumBaseXpCost = 27f;

@Synced
@Comment("How much xp is needed per leashed animal to travel with you")
public int xpCostPerLeashed = 0;

@Synced
@Comment("The base xp level cost when travelling between dimensions. Ignores block distance.")
public int dimensionalWarpXpCost = 3;
public int dimensionalWarpXpCost = 27;

@Synced
@Comment("The multiplier applied to the base xp cost when teleporting to a global waystone through any method.")
Expand Down

0 comments on commit 49e2ea4

Please sign in to comment.