Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

warjort

Members
  • Joined

  • Last visited

Everything posted by warjort

  1. Override IForgeItem.getDefaultAttributes(ItemStack) IForgeItem.getAttributesModifiers(EquipmentSlot, ItemStack) in your Item. Its default implementation is to call that deprecated method. The deprecation like other methods on Block and Item is really meant for people trying to call the method, not people overriding/implementing it.
  2. You are hard work. 1) Why are you using the wrong (very old) version of the parchment mappings. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/4a0dc18dd75269dc419f3c639625ba790ab32c6f/build.gradle#L30 https://parchmentmc.org/docs/getting-started 2) To try to figure out which methods you were using I had to download the mod and load into an ide. Except the code in that repo doesn't compile. So, after many attempts, I am still not looking at the code you are using. Normally I would throw it back to you, since I am obviously not looking at the real code. But... 3) You can't spell minecraft. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/4a0dc18dd75269dc419f3c639625ba790ab32c6f/src/main/resources/data/debrismod/forge/biome_modifier/add_simple_ancient_debris.json#L3 4) The only placed feature you have configured to go in a biome is using a configuration where it starts at a minimum of y=70 and a maximum of y=0 Can you tell me a number that is bigger than 70 and also less than 0? ๐Ÿ™‚ https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/4a0dc18dd75269dc419f3c639625ba790ab32c6f/src/main/java/com/liam/debrismod/world/feature/ModPlacedFeatures.java#L20
  3. Not my fault. The information is there. e.g. show me where in the code you are adding your placed feature to a biome. If you make another post that just says "it does not work" I will just ignore you.
  4. And for your next inevitable question, from the earlier link: https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature-solved/?do=findComment&comment=512557
  5. This method and the similar one in the placed features class is not being called. So nothing is registered. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/9d47d3fc63591e8f286d94cf5e1473af644f02e1/src/main/java/com/liam/debrismod/world/feature/ModConfiguredFeatures.java#L35 You are only registering blocks and items. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/9d47d3fc63591e8f286d94cf5e1473af644f02e1/src/main/java/com/liam/debrismod/DebrisMod.java#L35
  6. Add this constructor: public MobKillerBE(BlockPos pos, BlockState state) { this(YourMod.MobKillerBE.get(), pos, state); } Replace YourMod with whatever class you have defined that block entity type You can see something very similar in that tutorial in the section with header "Tile Class" If you want to understand what is going on. Look at the signature of BlockEntityType.BlockEntitySupplier which is the type of the first parameter for Builder.of() It is (BlockPos, BlockState) with no BlockEntityType.
  7. This is the same as your previous thread which was a lot of back and forth to try to get the information out of you to fix a very simple error. It also included you trying to spam me with private messages beyond what is on that thread. https://forums.minecraftforge.net/topic/117995-my-custom-blocks-are-not-dropping-anything-when-mined-help/#comment-519611 Show me where in that repo you are using vertical anchors. Or even any worldgen. I only see tags, recipes and loot tables in your data folder and nothing in your java code. Frankly, you are just too much of a time sink to make trying to help you worthwhile. You either need to up your game or stop wasting people's time. I am inclined to think this isn't real and you are just trolling.
  8. That log is the same as the previous one. This is the support page for curseforge: https://support.curseforge.com/en/support/home As I said before, you need to ask them how to fix it.
  9. Look at what tesslateBlock() does. The simple version without ambient occlusion is in pseudo code; initialise the render state from the model and other passed parameters; foreach direction { get the light for that face; get the quads for that face; put the quads with the lighting parameters in the vertex consumer; } do the same for quads that are not attaced to a face; You want to do the same code but only for the faces you want to draw. I have no idea how you would identify which of the extra quads not attached to a face you need to draw unless you know specifics about how the quads were baked.
  10. Issue with dynamic surroundings. Check you have the latest version then contact the mod author.
  11. The vanilla chunk generator doesn't remember where it places normal features like it does structures or biomes.
  12. It is not clear from your description, but I guess from your error message you removed dungeons_arise? If you did, look in kubejs/data/dungeons_arise. The ATM 7 modpack author has overridden the worldgen for this mod. When you uninstall the mod, it still tries to override this data and fails.
  13. Your holder is for the wrong registry. You need to get one from the active server registry. This works for me based on your code: @Mod.EventBusSubscriber(modid = MODID) public class Events { @SubscribeEvent public static void commands(RegisterCommandsEvent event) { event.getDispatcher().register(Commands.literal("blah").executes(Events::blah)); } public static int blah(CommandContext<CommandSourceStack> context) throws CommandSyntaxException { var entity = context.getSource().getEntityOrException(); if (entity instanceof Player player && !player.getLevel().isClientSide()) { ServerLevel level = (ServerLevel) player.getLevel(); // Your code using the builtin regisry which is not used at runtime // HolderSet<Structure> holderset = HolderSet.direct(Structures.JUNGLE_TEMPLE); // Code using the server registry Registry<Structure> registry = level.registryAccess().registryOrThrow(Registry.STRUCTURE_REGISTRY); HolderSet<Structure> holderSet = registry.getHolder(BuiltinStructures.JUNGLE_TEMPLE).map(HolderSet::direct).orElseThrow(); BlockPos pos = player.blockPosition(); Pair<BlockPos, Holder<Structure>> pair = level.getChunkSource().getGenerator().findNearestMapStructure(level, holderSet, pos, 100, false); // This always returns null BlockPos structurepos = pair.getFirst(); int strx = structurepos.getX(); int stry = structurepos.getY(); int strz = structurepos.getZ(); player.displayClientMessage(Component.literal("Location " + Integer.toString(strx) + ", " + Integer.toString(stry) + ", " + Integer.toString(strz) + "!"), (false)); } return 1; } }
  14. It sounds like that chunk is corrupted? You can post your logs/debug.log to see if there is logged error that can be fixed. But your best solution would be restore the save from a backup.
  15. It depends on your launcher. This is the first hit using a google search: https://apexminecrafthosting.com/how-to-allocate-more-ram/
  16. warjort replied to Faxu_'s topic in ForgeGradle
    https://forge.gemwire.uk/wiki/Dynamic_Loot_Modification
  17. You need to give the game more memory.
  18. I don't see you starting to launch minecraft/forge in that log. Did you restart the launcher after the crash like I told you not to? I do see this error which suggests there is a problem with your forge jar not being installed properly? I believe curseforge has a "repair profile" option that might fix this. Otherwise, you will have to contact curseforge to ask them how to fix it.
  19. I have asked you twice to show the launcher_log.txt If you are using curseforge it is in the curseforge/minecraft/install folder
  20. You are still using an old version of java. The latest is build 351 https://www.oracle.com/java/technologies/javase/8all-relnotes.html The ssl trust certificates included in your version have expired.
  21. Can't help you if you don't show the new log. We have no psychic powers. Also, post your c:\windows\system32\drivers\etc\hosts - replace c:\windows with wherever you have windows installed
  22. There is nothing in the debug.log, it just stops when loading resource packs. If that really is the full debug.log post your launcher_log.txt - make sure it is from just after the crash, if you restart the launcher it will clear the log. Also check if you have a file beginning hs_err_pid in your minecraft folder from the time of the crash. If you do, don't post the full file, just the first 20 lines.
  23. We are not a search engine. This is a support forum. Your questions should be about real problems. You not being able to search in your IDE is not a problem for this forum. The class is PlayerTabOverlay.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.