Skip to content

Commit f39329b

Browse files
committed
doc
1 parent 8a7893a commit f39329b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/geneticsresequenced/devs/kubejs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This event is fired every time something checks what Genes an entity can have, s
3939

4040
ModifyEntityGenesEvent has the following properties:
4141
- entityType: The EntityType being modified
42-
- geneWeights: A MutableMap<ResourceKey<Gene>, Double> representing the gene weights for the entity
42+
- geneWeights: A MutableMap\<ResourceKey\<Gene>, Double> representing the gene weights for the entity
4343
- In KubeJS this is represented as a JS object, which means you can't modify it easily
4444

4545
There are also some useful methods on the event:
@@ -49,7 +49,7 @@ There are also some useful methods on the event:
4949
- setWeight(gene, weight) - Sets the weight of a specific Gene
5050
- remove(gene) - Removes a Gene from the entity's possible Genes
5151

52-
`getWeight`, `setWeight`, and `remove` can all accept either a ResourceKey<Gene>, or a String representing the Gene id.
52+
`getWeight`, `setWeight`, and `remove` can all accept either a ResourceKey\<Gene>, or a String representing the Gene id.
5353

5454
```js
5555
NativeEvents.onEvent("dev.aaronhowser.mods.geneticsresequenced.event.custom.ModifyEntityGenesEvent", (event) => {

0 commit comments

Comments
 (0)