Terrain Control

Terrain Control

235k Downloads

Feature request : Skript API - Add an expression for get name of a custom biome at player

Ksehn opened this issue ยท 0 comments

commented

Hi, sorry for this long (and maybe unexplicit title) but I don't know how to "correctly" name this feature request. So, first, if you don't know what's Skript :

Skript is a plugin that allows you to customize Minecraft's mechanics with simple scripts written in plain English sentences.

Using the Skript API, I was wondering if TerrainControl can, like a few others plugins now, add a custom expression for get the name of the custom biome at player. With the actual expression biome at player, Skript always return Ocean when the player is in a custom biome from TerrainControl. I'm using Skript to customize vanilla biomes by modifying monsters and loots stats, but I can't do this for TerrainControl's custom biome =/.

A short example :

on spawn of zombie:
    custom biome at event-entity is "VoidLands":
        set name of event-entity to "Corrupted Zombie"
        set event-entity's tool to gold hoe of sharpness 2

on death of zombie:
    custom biome at victim is "VoidLands":
        set {_randItem} to a random integer between 0 and 1
        set {_randAmount} to a random integer between 0 and 3
        {_randItem} is 0:
            drop {_randAmount} of purple dye named "&5Void Essence" at victim
        {_randItem} is 1:
            drop {_randAmount} of stick of infinity 1 named "&5Broken Void Staff" at victim

Thanks you for reading :)