Skip 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. No, that is the color when it is drawn on a map item. If you want the custom color of a block, look at the BlockColors class e.g. BlockColors.getColor(BlockState, Level, BlockPos) The instance the game uses is a private field in the Minecraft class, so you will need to use an access transformer. https://forge.gemwire.uk/wiki/Access_Transformers
  2. Then it is the oculus mod itself. Or whatever is using "iris" in its mixin names.
  3. Looks like an issue with the essentials mod There are lots of errors for that mod. It looks like you have a development (deofuscated) version of that mod? e.g. Check you have the latest version then contact the mod author
  4. That error indiciates an issue with native code. So it won't be a mod. You probably have a file beginning "hs_err_pid" in your minecraft folder from the time of the crash. If you do, just post the first 20 lines that shows the error. So we can see if it identifies what is crashing.
  5. 10Dec2022 14:56:50.847] [Render thread/ERROR] [net.minecraftforge.registries.GameData/REGISTRIES]: Unidentified mapping from registry minecraft:block kubejs:magical_soil: 10727 mysticalagriculture:allthemodium_crop: 12496 mysticalagriculture:azure_silver_crop: 12495 mysticalagriculture:crimson_iron_crop: 12493 mysticalagriculture:unobtainium_crop: 12492 mysticalagriculture:vibranium_crop: 12494 [10Dec2022 14:56:50.847] [Render thread/ERROR] [net.minecraftforge.registries.GameData/REGISTRIES]: Unidentified mapping from registry minecraft:item kubejs:magical_soil: 14823 mysticalagriculture:allthemodium_essence: 16864 mysticalagriculture:allthemodium_seeds: 16995 mysticalagriculture:azure_silver_essence: 16863 mysticalagriculture:azure_silver_seeds: 16994 mysticalagriculture:crimson_iron_essence: 16861 mysticalagriculture:crimson_iron_seeds: 16992 mysticalagriculture:unobtainium_essence: 16860 mysticalagriculture:unobtainium_seeds: 16991 mysticalagriculture:vibranium_essence: 16862 mysticalagriculture:vibranium_seeds: 16993 [10Dec2022 14:56:50.848] [Render thread/ERROR] [net.minecraftforge.network.HandshakeHandler/FMLHANDSHAKE]: Missing registry data for impl connection: minecraft:item: kubejs:magical_soil minecraft:item: mysticalagriculture:allthemodium_essence minecraft:item: mysticalagriculture:allthemodium_seeds minecraft:item: mysticalagriculture:azure_silver_essence minecraft:item: mysticalagriculture:azure_silver_seeds minecraft:item: mysticalagriculture:crimson_iron_essence minecraft:item: mysticalagriculture:crimson_iron_seeds minecraft:item: mysticalagriculture:unobtainium_essence minecraft:item: mysticalagriculture:unobtainium_seeds minecraft:item: mysticalagriculture:vibranium_essence minecraft:item: mysticalagriculture:vibranium_seeds minecraft:block: kubejs:magical_soil minecraft:block: mysticalagriculture:allthemodium_crop minecraft:block: mysticalagriculture:azure_silver_crop minecraft:block: mysticalagriculture:crimson_iron_crop minecraft:block: mysticalagriculture:unobtainium_crop minecraft:block: mysticalagriculture:vibranium_crop The server and client disagree on which blocks/items should exist. Kubejs and mysticalagriculture are mentioned. I would guess for at least the kubejs ones the issue is some javascript you have on the server but not the client?
  6. Issue with the valhelsia core mod. Others have said it is a conflict with optifine.
  7. Issue with tip the scales mod, check you have the latest version then contact the mod author.
  8. There is no attribute for damage with projectiles. Look at for example at BowItem.releaseUsing() and AbstractArrow.onHitEntity() to understand how it works. You can see the damage is a function of the baseDamage and the velocity (deltaMovement) of the arrow. The baseDamage can be affected by the POWER_ARROWS (power) enchantment and the velocity is affected by whether the bow is fully charged at firing. If I was going to try do what you are doing, I would create my own Attribute. You can look at ForgeMod for how to do it. https://github.com/MinecraftForge/MinecraftForge/blob/ec3abdea1455fc8c4e0f440d77e2dc24f880a4a6/src/main/java/net/minecraftforge/common/ForgeMod.java#L150 That way it is easy to identify and doesn't conflict with whatever other random stuff other mods are doing. You can use the EntityJoinLevel event to trap when an arrow gets fired (check it is a real creation and not just a load from disk). Arrow Entity -> getOwner() -> getItemInHand() would tell you which weapon the projectile was fired from (you need to check it is not from a dispenser or something else) Then you can do Arrow.setBaseDamage() in a similar way to how the power enchantment works. Personally, I think just adding the enchantment would be easier. So I wouldn't try to do it this way. ๐Ÿ™‚
  9. Conflict between iris and oculus. Check you have the latest version then contact the mod author.
  10. Look at the Feature class and the classes that implement it. That is the thing you need to implement (and register) to create your own basic world gen. The ConfiguredFeature just makes a Feature reusable by giving it parameters, e.g. what the leaves block should be.
  11. That doesn't show any forge or mod error either. It doesn't show you starting minecraft. It does contain lots of warnings/errors like: There are many others. This suggests your launcher configuration files are corrupted/invalid? Since it looks like you are using curseforge, you should ask them how to fix it. https://support.curseforge.com/en/support/home
  12. Looks like an issue with "oh the biomes you will go" (byg) configuration for productive bees and advanced peripherals villagers. I guess you uninstalled those mods? Check the byg docs or ask the mod author how to fix it.
  13. You mean tags? e.g. blockState.is(BlockTags.FLOWERS) https://forge.gemwire.uk/wiki/Tags But I think you will find what you are talking about works the opposite way. i.e. A grass block asks the biome what color it should be when it is being drawn.
  14. That doesn't show any error. If it is the full log, post a link to the launcher_log.txt after the crash (before you restart the launcher).
  15. I doubt the 1.19.2 parchment mappings work with 1.19.3? You should ask wherever they provide support, or try the official mappings.
  16. Post a link to your logs/debug.log so we can see the full error.
  17. Post a link to the logs/debug.log so we can see the error.
  18. There's an off-by-one in my calculations. ๐Ÿ™‚ The player inventory is slots 0 to 26 since it is 3x9 so everything else needs adjusting by one.
  19. This doesn't really look like a question for this forum. It looks like you copied some random code from other places without understanding what it does. Then when it didn't work, you decided to ask us to fix it for you. We don't write your mod for you. Nor do we provide free code review. Some observations: addPlayerInventory(inv); // slots 0 to 27 are the player inventory addPlayerHotbar(inv); // slots 28 to 36 are the hot bar // slot 37 is the result slot this.addSlot(new ResultSlot(inv.player, this.craftSlots, this.resultSlot, 0, 140, 40)); // Slot 38 is the 0th crafting slot this.addSlot(new Slot(this.craftSlots,0,96,40)); // this is a mess, you have 9 copies of 1 to 9 of the crafting slots so 9 x 9 = 81 or slots 39 to 119 for (int i=1;i<10;i++) { // Might be here for (int j=0;j<37;j+=18) { for (int l=0;l<37;l+=18) { this.addSlot(new Slot(this.craftSlots, i, 16 + l, 22 + j)); } // snip itemstack = itemstack1.copy(); // Here you are treating slot 0 as the result slot, but your result slot is 37 if (_slot == 0) { this.access.execute((level, pos) -> { itemstack1.getItem().onCraftedBy(itemstack1, level, player); }); // Here you are treating slots 10 to 45 as a group, but it doesn't match any group you defined in your constructor if (!this.moveItemStackTo(itemstack1, 10, 46, true)) { return ItemStack.EMPTY; } etc.
  20. Can't say I understand the new way of doing the builtin registries in 1.19.3. ๐Ÿ™‚ But you can always register your features using json files in your src/main/resources/data That's probably the way most likely to be portable across versions? Although, Mojang still describe the new worldgen first introduced in 1.16 as "experimental". The only part that needs to be registered manually is the Feature, because that is code. e.g. vanilla iron ore's configured and placed feature as json https://github.com/misode/mcmeta/blob/data/data/minecraft/worldgen/configured_feature/ore_iron.json https://github.com/misode/mcmeta/blob/data/data/minecraft/worldgen/placed_feature/ore_iron_middle.json
  21. One of your config files is invalid/corrupted. You can find it in the config folder. If you don't have a backup of the file, you can delete it and it should be recreated with default values.

Important Information

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

Account

Navigation

Search

Search

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.