question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Somewhere between 20w20a & 20w22a, structures are now likely hardcoded in many places.

Here is a field in class 5311 field_24822 = ImmutableMap.builder().put(StructureFeature.VILLAGE, new class_5314(32, 8, 10387312)).put(StructureFeature.DESERT_PYRAMID, new class_5314(32, 8, 14357617)).put(StructureFeature.IGLOO, new class_5314(32, 8, 14357618)).put(StructureFeature.JUNGLE_PYRAMID, new class_5314(32, 8, 14357619)).put(StructureFeature.field_24851, new class_5314(32, 8, 14357620)).put(StructureFeature.PILLAGER_OUTPOST, new class_5314(32, 8, 165745296)).put(StructureFeature.STRONGHOLD, new class_5314(1, 0, 0)).put(StructureFeature.MONUMENT, new class_5314(32, 5, 10387313)).put(StructureFeature.END_CITY, new class_5314(20, 11, 10387313)).put(StructureFeature.MANSION, new class_5314(80, 20, 10387319)).put(StructureFeature.BURIED_TREASURE, new class_5314(1, 0, 0)).put(StructureFeature.MINESHAFT, new class_5314(1, 0, 0)).put(StructureFeature.RUINED_PORTAL, new class_5314(40, 15, 34222645)).put(StructureFeature.SHIPWRECK, new class_5314(24, 4, 165745295)).put(StructureFeature.OCEAN_RUIN, new class_5314(20, 8, 14357621)).put(StructureFeature.BASTION_REMNANT, new class_5314(30, 4, 30084232)).put(StructureFeature.FORTRESS, new class_5314(30, 4, 30084232)).put(StructureFeature.NETHER_FOSSIL, new class_5314(2, 1, 14357921)).build();

I would love for someone to see what this mess is, map these classes, and create a module since class 5311 will throw an exception if your structure is not in that ImmutableMap.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
liachcommented, Jun 4, 2020

Don’t think we need to cover the datafix one, but the actual used one needs to be covered.

0reactions
Vaeriancommented, Oct 21, 2020

I believe that this issue has been addressed with the merge of #917.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Examples of Module Structures - Vanderbilt University
There is no perfect module structure, and even when courses are designed and taught by the same person, they will typically use a...
Read more >
Structuring Your Module or Course - SERC - Carleton
All InTeGrate modules and courses follow a common structure. There is a central backbone of web pages containing information aimed at faculty. These...
Read more >
Module structure - Puppet
Modules have a specific directory structure outlined in the Puppet documentation. However, a typical module for use with Bolt might contain these files...
Read more >
Module Structure - SFACTL
A module (or lesson) is the strategic breakdown of content into digestible pieces that build structure and consistency for instruction.
Read more >
Load module structure types - IBM
Each load module used during a job step can be designed in one of three load module structures: simple, planned overlay, or dynamic....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found