Jump to content

SuperAboba

Members
  • Posts

    11
  • Joined

  • Last visited

Converted

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SuperAboba's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi, can you please tell me how to make a tooltip for a button and put it into a label so that you can put it into a translation file. I'm working in MCreator because I don't know Java and JSON. So I don't really understand what is written in the code below. Here is part of my code, but it outputs the error "Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output" and says that the this.renderTooltip("Paper №1", 32, 32); line is to blame: import net.minecraft.world.level.Level; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.player.Inventory; import net.minecraft.resources.ResourceLocation; import net.minecraft.network.chat.Component; import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen; import net.minecraft.client.gui.components.ImageButton; import net.minecraft.client.Minecraft; import net.mcreator.zapiskabook.world.inventory.BookZapGuiMenu; import net.mcreator.zapiskabook.network.BookZapGuiButtonMessage; import net.mcreator.zapiskabook.CyaoLoreMod; import java.util.HashMap; import com.mojang.blaze3d.vertex.PoseStack; import com.mojang.blaze3d.systems.RenderSystem; public class BookZapGuiScreen extends AbstractContainerScreen<BookZapGuiMenu> { private final static HashMap<String, Object> guistate = BookZapGuiMenu.guistate; private final Level world; private final int x, y, z; private final Player entity; ImageButton imagebutton_paper32kh32; ImageButton imagebutton_paper32kh321; ImageButton imagebutton_paper32kh322; ImageButton imagebutton_paper32kh323; ImageButton imagebutton_paper32kh324; ImageButton imagebutton_paper32kh325; ImageButton imagebutton_paper32kh326; ImageButton imagebutton_paper32kh327; ImageButton imagebutton_paper32kh328; ImageButton imagebutton_paper32kh329; ImageButton imagebutton_paper32kh3210; ImageButton imagebutton_paper32kh3211; ImageButton imagebutton_paper32kh3212; ImageButton imagebutton_paper32kh3213; ImageButton imagebutton_paper32kh3214; ImageButton imagebutton_paper32kh3215; public BookZapGuiScreen(BookZapGuiMenu container, Inventory inventory, Component text) { super(container, inventory, text); this.world = container.world; this.x = container.x; this.y = container.y; this.z = container.z; this.entity = container.entity; this.imageWidth = 176; this.imageHeight = 166; } @Override public void render(PoseStack ms, int mouseX, int mouseY, float partialTicks) { this.renderBackground(ms); super.render(ms, mouseX, mouseY, partialTicks); this.renderTooltip(ms, mouseX, mouseY); } @Override protected void renderBg(PoseStack ms, float partialTicks, int gx, int gy) { RenderSystem.setShaderColor(1, 1, 1, 1); RenderSystem.enableBlend(); RenderSystem.defaultBlendFunc(); RenderSystem.setShaderTexture(0, new ResourceLocation("cyao_lore:textures/screens/bookgui.png")); this.blit(ms, this.leftPos + -56, this.topPos + -11, 0, 0, 295, 186, 295, 186); RenderSystem.disableBlend(); } @Override public boolean keyPressed(int key, int b, int c) { if (key == 256) { this.minecraft.player.closeContainer(); return true; } return super.keyPressed(key, b, c); } @Override public void containerTick() { super.containerTick(); } @Override protected void renderLabels(PoseStack poseStack, int mouseX, int mouseY) { } @Override public void onClose() { super.onClose(); Minecraft.getInstance().keyboardHandler.setSendRepeatsToGui(false); } @Override public void init() { super.init(); this.minecraft.keyboardHandler.setSendRepeatsToGui(true); imagebutton_paper32kh32 = new ImageButton(this.leftPos + -38, this.topPos + 7, 32, 32, 0, 0, 32, new ResourceLocation("cyao_lore:textures/screens/atlas/imagebutton_paper32kh32.png"), 32, 64, e -> { if (true) { CyaoLoreMod.PACKET_HANDLER.sendToServer(new BookZapGuiButtonMessage(0, x, y, z)); BookZapGuiButtonMessage.handleButtonAction(entity, 0, x, y, z); } }); guistate.put("button:imagebutton_paper32kh32", imagebutton_paper32kh32); this.addRenderableWidget(imagebutton_paper32kh32); imagebutton_paper32kh321 = new ImageButton(this.leftPos + 0, this.topPos + 7, 32, 32, 0, 0, 32, new ResourceLocation("cyao_lore:textures/screens/atlas/imagebutton_paper32kh321.png"), 32, 64, e -> { if (true) { CyaoLoreMod.PACKET_HANDLER.sendToServer(new BookZapGuiButtonMessage(1, x, y, z)); BookZapGuiButtonMessage.handleButtonAction(entity, 1, x, y, z); this.renderTooltip("Paper №1", 32, 32); } });
  2. Hi, I have a problem with the code, it crashes with error method does not override or implement a method from a supertype. I am using 3D model in my Minecraft mod and want to make a feature that will show 16x16 2D texture in inventory and generally in all GUI, and when item in hand it will show 3D model. Using forge 1.18.2 40.1.0 to create the mod. Here is my code: package net.mcreator.irondrill.item; import net.minecraft.world.level.Level; import net.minecraft.world.item.crafting.Ingredient; import net.minecraft.world.item.Tier; import net.minecraft.world.item.PickaxeItem; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Item; import net.minecraft.world.entity.Entity; import net.mcreator.irondrill.procedures.MagnitProcedure; import net.mcreator.irondrill.init.DrillsModTabs; public class GravityDrillItem extends PickaxeItem { public GravityDrillItem() { super(new Tier() { public int getUses() { return 2500; } public float getSpeed() { return 70f; } public float getAttackDamageBonus() { return 6f; } public int getLevel() { return 4; } public int getEnchantmentValue() { return 2; } public Ingredient getRepairIngredient() { return Ingredient.EMPTY; } }, 1, -3.5f, new Item.Properties().tab(DrillsModTabs.TAB_DRILLMOD)); } @Override public void inventoryTick(ItemStack itemstack, Level world, Entity entity, int slot, boolean selected) { super.inventoryTick(itemstack, world, entity, slot, selected); if (selected) MagnitProcedure.execute(world, entity.getX(), entity.getY(), entity.getZ(), entity); } @Override // a line that makes the code not work. public boolean shouldRenderGroup(ItemStack stack, String group) { return group.equals("normal") || group.equals("inventory"); } @Override public int getUseDuration(ItemStack stack) { return 0; } } How can this be fixed? (Translated)
  3. I have already solved my problem.
  4. I don't understand what the problem is. As long as my modpack was with Rubidium, everything was fine. But as soon as I uninstalled it and switched to Optifine, I can't even get the game to start. Tried to figure out myself what the problem with crash report and why is it this time, in this CR were some strange words "top, top, top" and basically nothing was clear. Can you please help me with my problem? Forge: 43.2.3 (reinstalling Forge on 43.2.4 does not help.) Minecraft: 1.19.2 logs, CR: https://github.com/SuperPypok/fcr (deepl translate)
  5. OMG, thank you! The problem is gone, but on 43.1.47... I need to transfer the modpack to 43.2.3, can you help? please. Or at least to 43.1.65. (DeepL translate)
  6. Forge 43.1.47 logs: https://github.com/SuperPypok/logs-43.1.47
  7. Indeed, I have four files with that name. But the trouble is that all these files associated with Forge 43.1.47. I would be better, to transfer the modpack to 43.2.3. And in this place, find out why I have the game crashes now with the current mods, when trying to run them on the newest version of Forge (43.2.3). Why am I writing and sending code with 43.1.47? Because I can't rewrite these files for the Forge version I want. Here are the first 20 lines of one of them (I copied a bit more lines just in case.) : --------------- S U M M A R Y ------------ Command Line: -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Dos.name=Windows 10 -Dos.version=10.0 -Xss1M -Djava.library.path=C:\Users\МовчанНикита\AppData\Roaming\.minecraft\bin\fcd37de104ee3334e97b86f0955e9faa667b07ca -Dminecraft.launcher.brand=minecraft-launcher -Dminecraft.launcher.version=2.3.549 -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher,securejarhandler,asm-commons,asm-util,asm-analysis,asm-tree,asm,JarJarFileSystems,client-extra,fmlcore,javafmllanguage,lowcodelanguage,mclanguage,forge-,1.19.2-forge-43.1.47.jar -DmergeModules=jna-5.10.0.jar,jna-platform-5.10.0.jar -DlibraryDirectory=C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries --module-path=C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/org/ow2/asm/asm-commons/9.3/asm-commons-9.3.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/org/ow2/asm/asm-util/9.3/asm-util-9.3.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/org/ow2/asm/asm-analysis/9.3/asm-analysis-9.3.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/org/ow2/asm/asm-tree/9.3/asm-tree-9.3.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/org/ow2/asm/asm/9.3/asm-9.3.jar;C:\Users\МовчанНикита\AppData\Roaming\.minecraft\libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules=ALL-MODULE-PATH --add-opens=java.base/java.util.jar=cpw.mods.securejarhandler --add-opens=java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports=java.base/sun.security.util=cpw.mods.securejarhandler --add-exports=jdk.naming.dns/com.sun.jndi.dns=java.naming -Xmx3G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M cpw.mods.bootstraplauncher.BootstrapLauncher --username SuperFeda --version 1.19.2-forge-43.1.47 --gameDir C:\Users\МовчанНикита\AppData\Roaming\.minecraft --assetsDir C:\Users\МовчанНикита\AppData\Roaming\.minecraft\assets --assetIndex 1.19 --uuid 86a56f5733ab4187b8045a2ac7f30f32 --accessToken eyJhbGciOiJIUzI1NiJ9.eyJ4dWlkIjoiMjUzNTQwNjY2MjI4ODA0MCIsImFnZyI6IkFkdWx0Iiwic3ViIjoiODBkM2JkMmMtNDQ3NS00MDZiLTlmODctOTFlNjY1NTYyOTA4IiwibmJmIjoxNjcyNTA3OTQwLCJhdXRoIjoiWEJPWCIsInJvbGVzIjpbXSwiaXNzIjoiYXV0aGVudGljYXRpb24iLCJleHAiOjE2NzI1OTQzNDAsImlhdCI6MTY3MjUwNzk0MCwicGxhdGZvcm0iOiJPTkVTVE9SRSIsInl1aWQiOiI3YjFmOTMzMGYyYjRmYzY0NTdiZGVlOGUxYWIxMTQyNCJ9.0QX5-oXZAgHeS-p-yJVJRwbwstgDURIesczz7tLgqcc --clientId YjEyYzk1ZWQtMGExMS00NTVmLTg1MzUtYTcxYWY0Yjc0MTQ0 --xuid 2535406662288040 --userType msa --versionType release --launchTarget forgeclient --fml.forgeVersion 43.1.47 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 Host: AMD Ryzen 5 4600G with Radeon Graphics, 12 cores, 7G, Windows 11 , 64 bit Build 22000 (10.0.22000.708) Time: Sun Jan 1 01:15:59 2023 Windows 11 , 64 bit Build 22000 (10.0.22000.708) elapsed time: 240.271411 seconds (0d 0h 4m 0s) --------------- T H R E A D --------------- Current thread (0x000001b912b3ecb0): GCTaskThread "GC Thread#4" [stack: 0x0000002e31100000,0x0000002e31200000] [id=13556] Stack: [0x0000002e31100000,0x0000002e31200000], sp=0x0000002e311ffa48, free space=1022k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x2da3e4] siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x000000003d800000 Register to memory mapping: RIP=0x00007ffcc027a3e4 jvm.dll RAX=0x000001b9750d78c0 points into unknown readable memory: 0x0000000000000000 | 00 00 00 00 00 00 00 00 RBX=0x0000002e2fffe940 points into unknown readable memory: 0x00007ffcc08f1340 | 40 13 8f c0 fc 7f 00 00 RCX=0x0 is NULL RDX=0x000000003d800000 is an unknown value RSP=0x0000002e311ffa48 points into unknown readable memory: 0x00007ffcc0276a6e | 6e 6a 27 c0 fc 7f 00 00 RBP=0x0 is NULL RSI=0x000001b9a504df40 points into unknown readable memory: 0x000000003d800000 | 00 00 80 3d 00 00 00 00 RDI=0xfffffffffffffffe is an unknown value R8 =0x000000000000001e is an unknown value R9 =0x00000007bc1986a0 is an oop: java.lang.String {0x00000007bc1986a0} - klass: 'java/lang/String' - string: "repack.joml.Vector4fc" R10=0x000001b9750aaaa0 points into unknown readable memory: 0x00007ffcc08f13a0 | a0 13 8f c0 fc 7f 00 00 R11=0x000001919187f607 is an unknown value R12=0x0000002e2fffe950 points into unknown readable memory: 0x00007ffcc08f2708 | 08 27 8f c0 fc 7f 00 00 R13=0x000001b9a504df40 points into unknown readable memory: 0x000000003d800000 | 00 00 80 3d 00 00 00 00 R14=0x0000000000000022 is an unknown value R15=0x00000000000041de is an unknown value Registers: RAX=0x000001b9750d78c0, RBX=0x0000002e2fffe940, RCX=0x0000000000000000, RDX=0x000000003d800000 RSP=0x0000002e311ffa48, RBP=0x0000000000000000, RSI=0x000001b9a504df40, RDI=0xfffffffffffffffe R8 =0x000000000000001e, R9 =0x00000007bc1986a0, R10=0x000001b9750aaaa0, R11=0x000001919187f607 R12=0x0000002e2fffe950, R13=0x000001b9a504df40, R14=0x0000000000000022, R15=0x00000000000041de RIP=0x00007ffcc027a3e4, EFLAGS=0x0000000000010246 (DeepL translate)
  8. I don't have this file. Not in the "logs" folder or in the ".minecraft" folder. But there is a file called "launcher_cef_log".
  9. Hello, my game crashes as soon as I press play. It says: "Game crash. Exit code: 1". Forge: 43.2.3 and 43.1.65 Minecraft: 1.19.2 If you install a certain version of moonlight lib and mods that need this library on Forge 43.1.47, the game starts. But when creating the world - crashes. Forge 43.2.3 latest log: [01янв.2023 01:06:07.081] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, SuperFeda, --version, 1.19.2-forge-43.2.3, --gameDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft, --assetsDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft\assets, --assetIndex, 1.19, --uuid, 86a56f5733ab4187b8045a2ac7f30f32, --accessToken, ????????, --clientId, YjEyYzk1ZWQtMGExMS00NTVmLTg1MzUtYTcxYWY0Yjc0MTQ0, --xuid, 2535406662288040, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 43.2.3, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [01янв.2023 01:06:07.089] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Windows 10 arch amd64 version 10.0 Forge 43.2.3 debug log: [01янв.2023 01:06:07.081] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, SuperFeda, --version, 1.19.2-forge-43.2.3, --gameDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft, --assetsDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft\assets, --assetIndex, 1.19, --uuid, 86a56f5733ab4187b8045a2ac7f30f32, --accessToken, ????????, --clientId, YjEyYzk1ZWQtMGExMS00NTVmLTg1MzUtYTcxYWY0Yjc0MTQ0, --xuid, 2535406662288040, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 43.2.3, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [01янв.2023 01:06:07.089] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Windows 10 arch amd64 version 10.0 [01янв.2023 01:06:07.143] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [01янв.2023 01:06:07.164] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [01янв.2023 01:06:07.187] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [01янв.2023 01:06:07.205] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services Forge 43.1.65 latest log: [01янв.2023 01:05:19.942] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, SuperFeda, --version, 1.19.2-forge-43.1.65, --gameDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft, --assetsDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft\assets, --assetIndex, 1.19, --uuid, 86a56f5733ab4187b8045a2ac7f30f32, --accessToken, ????????, --clientId, YjEyYzk1ZWQtMGExMS00NTVmLTg1MzUtYTcxYWY0Yjc0MTQ0, --xuid, 2535406662288040, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 43.1.65, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [01янв.2023 01:05:19.947] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Windows 10 arch amd64 version 10.0 Forge 43.1.65 debug log: [01янв.2023 01:05:19.942] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, SuperFeda, --version, 1.19.2-forge-43.1.65, --gameDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft, --assetsDir, C:\Users\МовчанНикита\AppData\Roaming\.minecraft\assets, --assetIndex, 1.19, --uuid, 86a56f5733ab4187b8045a2ac7f30f32, --accessToken, ????????, --clientId, YjEyYzk1ZWQtMGExMS00NTVmLTg1MzUtYTcxYWY0Yjc0MTQ0, --xuid, 2535406662288040, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 43.1.65, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [01янв.2023 01:05:19.947] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Windows 10 arch amd64 version 10.0 [01янв.2023 01:05:20.003] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [01янв.2023 01:05:20.023] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [01янв.2023 01:05:20.048] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [01янв.2023 01:05:20.062] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
×
×
  • Create New...

Important Information

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