Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Deepfried-Chips opened this issue Nov 9, 2020 · 4 comments
Open

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

Deepfried-Chips opened this issue Nov 9, 2020 · 4 comments
Assignees

Comments

@Deepfried-Chips
Copy link

If there is crafttweaker support it's not documented

@Deepfried-Chips
Copy link
Author

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

@Deepfried-Chips
Copy link
Author

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

@clubpetey
Copy link
Collaborator

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

@clubpetey clubpetey self-assigned this Nov 9, 2020
@Deepfried-Chips
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants