Skip to content

Waystone XP cost not scaling #1134

@mellowcarson

Description

@mellowcarson

Minecraft Version

1.21.1 (LTS)

Mod Loader

NeoForge

Describe the Issue

If I go a specified distance away from the previous waystone (example: 4000) it will not scale to cost 4 XP levels and will still cost one level. I have the config setup below.

Logs

[teleports]
#Set to false to simply disable all xp costs. See warpRequirements for more fine-grained control.
enableCosts = true
#Set to false to simply disable all cooldowns. See warpRequirements for more fine-grained control.
enableCooldowns = true
#List of warp requirements with comma-separated parameters in parentheses. Conditions can be defined as comma-separated list in square brackets. Will be applied in order.
warpRequirements = ["[is_not_interdimensional] scaled_add_xp_cost(distance, 1000)", "[is_interdimensional] add_xp_cost(5)", "[source_is_warp_plate] multiply_xp_cost(1)", "[target_is_global] multiply_xp_cost(1)", "min_xp_cost(0)", "max_xp_cost(5)", "[source_is_inventory_button] add_cooldown(inventory_button, 300)"]
#Set to ENABLED to have nearby pets teleport with you. Set to SAME_DIMENSION to have nearby pets teleport with you only if you're not changing dimensions. Set to DISABLED to disable.
#Allowed Values: ENABLED, SAME_DIMENSION, DISABLED
transportPets = "ENABLED"
#Set to ENABLED to have leashed mobs teleport with you. Set to SAME_DIMENSION to have leashed mobs teleport with you only if you're not changing dimensions. Set to DISABLED to disable.
#Allowed Values: ENABLED, SAME_DIMENSION, DISABLED
transportLeashed = "ENABLED"
#List of entities that cannot be teleported, either as pet, leashed, or on warp plates.
entityDenyList = ["minecraft:wither"]
#Set to true to enable warp modifier items for applying status effects on teleports.
enableModifiers = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Minecraft 1.21.1Issues occurring in Minecraft 1.21.1NeoForgeIssues occurring on the NeoForge platformSupportQuestions and other requests for help

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions