Genetics Reborn

Genetics Reborn

2M Downloads

[SUGGESTION] Craftweaker support (if there isn't any yet)

Deepfried-Chips opened this issue ยท 4 comments

commented

If there is crafttweaker support it's not documented

commented

For example we can use it to create custom genes and for example on gene obtain (which can be detectable using events if you add events) and then let's say give a status effect that lasts forever and maybe on respawn you can regrant it (if it's using a potion effect for it), like check on respawn what genes the player has and you could do if ([list of genes] contains EnderDragonAll (ender dragon all being a custom gene)) then enable flight, give them end crystal regeneration and set their health to something high

commented

for an example of getting genes would be
var GenesList = gr.GetGenesList(player)

commented

There is no CT support now, but this is planned for the new 2.0 release.

commented

or another way of getting genes could possibly be gr.HasGene(entity, gene)
Entity being well entity and gene being a string with the gene name