You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
call BootstapContext#registryLookup with a world gen registry eg. Registries.BIOME
run the forge test data generation
Description of issue: #9225 added the BootstapContext#registryLookup method and wrapped the registry lookup so it can be actually used. The problem here is that the datagen registries are using the UniversalLookup instead of a RegistryLookup. This causes BootstrapContext#registryLookup to fail as ClassCastException.
This can be reproduced in the forge dev environment by adding context.registryLookup(Registries.BIOME) in the BiomeModifierTest#BUILDER
The text was updated successfully, but these errors were encountered:
Cheaterpaul
added
the
Triage
This request requires the active attention of the Triage Team. Requires labelling or reviews.
label
Jul 8, 2023
Minecraft Version: 1.20.1
Forge Version: 47.1.0
Logs: https://gist.github.com/Cheaterpaul/20db541611824a6340bc40e631aba80c
Steps to Reproduce:
BootstapContext#registryLookup
with a world gen registry eg.Registries.BIOME
Description of issue:
#9225 added the BootstapContext#registryLookup method and wrapped the registry lookup so it can be actually used. The problem here is that the datagen registries are using the
UniversalLookup
instead of aRegistryLookup
. This causesBootstrapContext#registryLookup
to fail asClassCastException
.This can be reproduced in the forge dev environment by adding
context.registryLookup(Registries.BIOME)
in theBiomeModifierTest#BUILDER
The text was updated successfully, but these errors were encountered: