Jump to content

Aminor_z

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Aminor_z

  1. When I wrote mod-A, I applied another mod-B (I wrote it myself, which has been obfuscated), so in the build.gradle I edited the following: dependencies { minecraft 'net.minecraftforge:forge:1.15.2-31.2.36' compile fg.deobf(files('mod-B.jar'))//👈 } The following problems are encountered in the build dependencies period: files(...) dependencies are not deobfuscated. Use a flatDir repository instead. Cannot deobfuscate dependency of type DefaultSelfResolvingDependency_Decorated, using obfuscated version! The deobfuscation is skipped, directly compiled and run, resulting in various functions and field errors... So the problem is: How to correctly [import/compile] an existing mod when developing the addon mod?
  2. How to create a structure by commands in the game? I did like this. public class summonCommand implements Command<CommandSource> { public static structureCommand instance = new structureCommand(); @Override public int run(CommandContext<CommandSource> context) throws CommandSyntaxException { StringTextComponent stc = new StringTextComponent(""); context.getSource().sendFeedback(stc, false); return 0; } } What shoud I do next...
  3. The structure can be generate and can be found in the game, but appear lots of error and the structure can only generate a part of the structure pieces. Why should I do? Error: Failed to save chunk 123,123 java.lang.RuntimeException: StructurePiece "........A_Piece": "null" missing ID Mapping, Modder see MapGenStructureIO And I can't find where is the MapGenStructureIO...
  4. I see the Chunk.getStructureStart(String), but it need the structure name. Chunk.getStructureReferences() can return a Map<>, but the references is hard to find the structure class... What should I do?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.