Skip to content

Commit

Permalink
structure mixins fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HollowHorizon committed Feb 6, 2024
1 parent 06d8e18 commit deda820
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ repositories {

configure<MixinExtension> {
add(sourceSets.main.get(), "hollowengine.refmap.json")
config("hollowengine.mixins.json")

debug = true
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false

mcVersion=1.19.2
forgeVersion=43.3.7
modVersion=1.3.5
mappingsVersion=2022.11.27
hcVersion=1.4.1
forgeVersion=43.2.21
kffVersion=3.12.0
ksffVersion=1.0
Binary file modified hc/kotlinscript-1.0.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ChunkGeneratorMixin {
@Final
private Map<Structure, List<StructurePlacement>> placementsForStructure;

@Inject(method = "lambda$generatePositions$5", at = @At(value = "HEAD"))
@Inject(method = {"lambda$generatePositions$5", "m_223205_"}, at = @At(value = "HEAD"), remap = true)
private void generatePositions(Set set, RandomState pRandom, Holder holder, CallbackInfo ci) {
StructureSet structureset = (StructureSet) holder.value();

Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/hollowengine.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"compatibilityLevel": "JAVA_17",
"refmap": "hollowengine.refmap.json",
"mixins": [
"ChunkGeneratorMixin",
"ChunkLoaderMixin",
"EntityAccessor",
"LocateCommandMixin",
"LookControlInvoker",
"RecipeManagerAccessor"
],
Expand Down

0 comments on commit deda820

Please sign in to comment.