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.

eggpasta

Members
  • Joined

  • Last visited

Everything posted by eggpasta

  1. How would you render text to the player's screen?
  2. Can you show what that looks like? I would like to try this
  3. like in the code when something happens instead of coding a trigger for it
  4. But the banana does not get removed from me after 30 ticks
  5. Where do i get 64 bit java?
  6. When i try to build my mod i get the following error: FAILURE: Build failed with an exception. * What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.8.1/userguide/gradle_daemon.html Process command line: C:\Program Files (x86)\Java\jre1.8.0_271\bin\java.exe -Xmx3G -Dfile.encoding=windows-1252 -Duser.country=CA -Duser.language=en -Duser.variant -cp C:\Users\ewanj\.gradle\wrapper\dists\gradle-6.8.1-all\923to48kq3drqywuppfjkcokx\gradle-6.8.1\lib\gradle-launcher-6.8.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.8.1 Please read the following process output to find out more: ----------------------- Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap
  7. adding this worked on one if my items but on the other still nothing happens https://github.com/BananaSquares/Forge-Mod/blob/master/src/main/java/mod/trianglesinpoo/mcores/Banana.java
  8. In your item class override the hitEntity()(might be called something else depending on your version) method If you don't understand share your item class and i will show you
  9. What is the 1.16.5 version of the method?
  10. If you are using SwordItem it has a method public boolean hurtEnemy(ItemStack p_77644_1_, LivingEntity p_77644_2_, LivingEntity p_77644_3_) { which you could override but make sure to add the lines of code that were previously there as well as your extra code p_77644_1_.hurtAndBreak(1, p_77644_3_, (p_220045_0_) -> { p_220045_0_.broadcastBreakEvent(EquipmentSlotType.MAINHAND); });
  11. so i have an item : https://github.com/BananaSquares/Forge-Mod/blob/master/src/main/java/mod/trianglesinpoo/mcores/AnimatedItem.java But for some reason when i finish using the item finishUsingItem is not getting called
  12. How can i manually give the advancement to the player?
  13. It works now
  14. What MonkeyKnight just said will work just fine, because the items in ItemInit are stored as RegistryObjects you have to use .get() to get the actual item
  15. So where do i put the sound file? Never Mind it now works thanks
  16. https://github.com/BananaSquares/Forge-Mod
  17. So i have a custom music disk with the sound files in the right places but i still get the error [15:52:17] [Render thread/WARN] [minecraft/SoundEngine]: Missing sound for event: mcore:equilibrium_disk
  18. Just add them after like so public class Straw extends Item { public Straw() { super(new Properties().tab(ItemGroupRegistry.sddMaterials).stackTo(1); } }
  19. 1: net.minecraftforge.eventbus.EventBus$$Lambda$3068/0x0000000100b8cc40@416b681c java.lang.UnsupportedOperationException at com.google.common.collect.ImmutableCollection.add(ImmutableCollection.java:218) at mod.trianglesinpoo.mcores.oregen.generateOres(oregen.java:36) at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) at net.minecraftforge.common.ForgeHooks.enhanceBiome(ForgeHooks.java:944) at net.minecraft.world.biome.Biome.lambda$static$8(Biome.java:75) at com.mojang.datafixers.util.Function8.lambda$null$6(Function8.java:22) at com.mojang.datafixers.util.Function4.lambda$null$2(Function4.java:14) at com.mojang.serialization.DataResult$Instance.ap2(DataResult.java:315) at com.mojang.datafixers.kinds.Applicative.ap4(Applicative.java:84) at com.mojang.serialization.codecs.RecordCodecBuilder$Instance$7.decode(RecordCodecBuilder.java:404) at com.mojang.serialization.codecs.RecordCodecBuilder$2.decode(RecordCodecBuilder.java:107) at com.mojang.serialization.MapDecoder.lambda$compressedDecode$0(MapDecoder.java:52) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at com.mojang.serialization.MapDecoder.compressedDecode(MapDecoder.java:52) at com.mojang.serialization.MapCodec$MapCodecCodec.decode(MapCodec.java:91) at com.mojang.serialization.Decoder.parse(Decoder.java:18) at net.minecraft.util.registry.WorldSettingsImport$IResourceAccess$RegistryAccess.parseElement(WorldSettingsImport.java:236) at net.minecraft.util.registry.WorldSettingsImport.readAndRegisterElement(WorldSettingsImport.java:131) at net.minecraft.util.registry.WorldSettingsImport.lambda$decodeElements$5(WorldSettingsImport.java:105) at com.mojang.serialization.DataResult.lambda$flatMap$10(DataResult.java:138) at com.mojang.datafixers.util.Either$Left.map(Either.java:38) at com.mojang.serialization.DataResult.flatMap(DataResult.java:136) at net.minecraft.util.registry.WorldSettingsImport.decodeElements(WorldSettingsImport.java:104) at net.minecraft.util.registry.DynamicRegistries.readRegistry(DynamicRegistries.java:144) at net.minecraft.util.registry.DynamicRegistries.load(DynamicRegistries.java:132) at net.minecraft.util.registry.WorldSettingsImport.create(WorldSettingsImport.java:53) at net.minecraft.util.registry.DynamicRegistries.builtin(DynamicRegistries.java:85) at net.minecraft.client.Minecraft.loadLevel(Minecraft.java:1681) at net.minecraft.client.gui.screen.WorldSelectionList$Entry.loadWorld(WorldSelectionList.java:364) at net.minecraft.client.gui.screen.WorldSelectionList$Entry.joinWorld(WorldSelectionList.java:273) at net.minecraft.client.gui.screen.WorldSelectionList$Entry.mouseClicked(WorldSelectionList.java:225) at net.minecraft.client.gui.widget.list.AbstractList.mouseClicked(AbstractList.java:309) at net.minecraft.client.gui.INestedGuiEventHandler.mouseClicked(INestedGuiEventHandler.java:28) at net.minecraft.client.MouseHelper.lambda$onPress$0(MouseHelper.java:87) at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:427) at net.minecraft.client.MouseHelper.onPress(MouseHelper.java:85) at net.minecraft.client.MouseHelper.lambda$setup$4(MouseHelper.java:175) at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:86) at net.minecraft.client.MouseHelper.lambda$setup$5(MouseHelper.java:174) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:89) at net.minecraft.client.MainWindow.updateDisplay(MainWindow.java:305) at net.minecraft.client.Minecraft.runTick(Minecraft.java:996) at net.minecraft.client.Minecraft.run(Minecraft.java:607) at net.minecraft.client.main.Main.main(Main.java:184) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) When adding mob spawing with the following code i get the error above biome.getMobSettings().getMobs(EntityClassification.MONSTER).add(new MobSpawnInfo.Spawners(ModEntityTypes.MITE.get(),100,1,3));
  20. I mean i have looked at how the vanilla ores do it liek the post suggested and they register the ores into a world gen registery
  21. Is there a registery to register the ores?
  22. Can anyone tell me what CountRangeConfig has been renamed to in 1.16.5?
  23. 12:33:21] [Render thread/FATAL] [minecraft/Minecraft]: Reported exception thrown! net.minecraft.crash.ReportedException: Rendering entity in world at net.minecraft.client.renderer.entity.EntityRendererManager.render(EntityRendererManager.java:279) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.WorldRenderer.renderEntity(WorldRenderer.java:1202) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.WorldRenderer.renderLevel(WorldRenderer.java:1010) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.renderLevel(GameRenderer.java:608) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:425) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runTick(Minecraft.java:976) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:607) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {} Caused by: java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:222) ~[?:?] {} at java.util.Optional.of(Optional.java:111) ~[?:?] {} at net.minecraft.client.renderer.RenderState$TextureState.<init>(RenderState.java:618) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.RenderType.entityCutoutNoCull(RenderType.java:93) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.RenderType.entityCutoutNoCull(RenderType.java:98) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.model.Model.renderType(Model.java:26) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.LivingRenderer.getRenderType(LivingRenderer.java:140) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.LivingRenderer.render(LivingRenderer.java:116) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.MobRenderer.render(MobRenderer.java:40) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.MobRenderer.render(MobRenderer.java:20) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.EntityRendererManager.render(EntityRendererManager.java:251) ~[forge-1.16.5-36.1.4_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} ... 18 more [12:33:21] [Render thread/INFO] [STDOUT/]: [net.minecraft.util.registry.Bootstrap:realStdoutPrintln:123]: ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 2021-05-04, 12:33 p.m. Description: Rendering entity in world
  24. I fixed it and now i get [12:33:21] [Render thread/FATAL] [minecraft/Minecraft]: Reported exception thrown! net.minecraft.crash.ReportedException: Rendering entity in world
  25. /summon

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.