File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 22
33### Added
44
5- - ModifyGeneRequirementsEvent
6- - Can be accessed via KubeJS
7- - `getGene()` gets the ResourceKey of the Gene whose requirements are being modified
8- - `getRequirements()` gets the set of ResourceKeys of Genes that are required
9- - Add or remove from this set to change the requirements
10- - ModifyEntityGenesEvent
11- - Can be accessed via KubeJS
12- - `getEntityType()` gets the ResourceKey of the EntityType whose gene weights are being modified
13- - `getGeneWeights()` gets the map of ResourceKeys of Genes to their weights
14- - Modify this map to change the gene weights
15- - After this event fires, if the map is empty, it is set to have the Basic Gene with weight 1
5+ - New events for when Gene requirements and entity Genes are being calculated
6+ - https://moddedmc.wiki/en/project/geneticsresequenced/latest/docs/devs/kubejs
167
178### Changed
189
You can’t perform that action at this time.
0 commit comments