Everything posted by warjort
-
Forge 1.20.1 - Hats
"It does not work" is not a bug report. If you want help you need to post a reproducable example of your problem on github. Any questions about blockbench should be directed to them.
-
Help with Reach Enhancing Item
Mixins (the version of the item that is actually used in that code) are not supported in this forum. If you want support/help you need to be using the forge and vanilla api. On the java file you link, that doesn't work because your UUIDs are broken. Here's a simple java program to generate valid ones: package whatever; import java.util.UUID; public class UUIDGen { public static final void main(String[] args) { System.out.println(UUID.randomUUID()); } } When I change your item to use valid UUIDs, and make the callback somewhat more standard, it works for me. static UUID BeyonderItemEntity = UUID.fromString("4bdfbc79-9e09-4111-8012-199025111273"); static UUID BeyonderItemBlock = UUID.fromString("487c4613-122f-44de-ae1e-70efb1e031d8"); -- snip -- public InteractionResult interactLivingEntity(ItemStack pStack, Player pPlayer, LivingEntity pInteractionTarget, InteractionHand pUsedHand) { if (!pPlayer.level().isClientSide && pUsedHand == InteractionHand.MAIN_HAND) { pPlayer.sendSystemMessage(Component.literal("Interacted with " + pInteractionTarget.getClass().getSimpleName())); } return InteractionResult.sidedSuccess(pPlayer.level().isClientSide); } Including being able to break blocks at extended range.
-
Crashing when starting a single player world... All tho the modpack does work in multiplayer.
You are using fabric, these are the Forge support forums. The actual error is in the java vritual machine. A SIGBUS bus error which probably means some kind of memory corruption? You should report it to them using the link in that crash: or try a different java implementation, e.g. https://adoptium.net/en-GB/temurin/releases/?os=mac&version=17
- ERROR: Render thread
-
Forge 1.16.2 - Version Spec Crash
Please don't hijack other people's threads. Start your own thread. And read the FAQ at the top of this forum about posting the logs/debug.log to a file sharing site on your new thread.
- Got a " The game crashed whilst rendering overlay" error.
-
Encountering Crash in All The Mods 9
Looks to be a known issue: https://github.com/AllTheMods/ATM-9/issues/769
-
Error with jython-standalone in a Forge mod 1.19.2
Example of the spark mod using shading (including package renaming to avoid conflicts in case other mods do the same thing with the same jar): https://github.com/lucko/spark/blob/87512b5eeffe8a0d3cacb08f9a98d513fb87dbfd/spark-forge/build.gradle
-
Error with jython-standalone in a Forge mod 1.19.2
For completeness (in case somebody does use search in future and finds this thread): If you can't get jarInJar to work, you can always try shading, e.g. https://imperceptiblethoughts.com/shadow/introduction/ this is the old method people used before jarInJar and is still commonly used. Or you can fork that jython project to add a META-INF/mods.toml to it which will turn the jar into a mod. https://docs.minecraftforge.net/en/latest/gettingstarted/modfiles/ e.g. this is how this mod adds javascript support to minecraft by forking mozilla's rhino https://github.com/KubeJS-Mods/Rhino
-
Error with jython-standalone in a Forge mod 1.19.2
If you want help you need to post more than snippets out of context. Put something on github so we can see the whole thing. But I guess you didn't actually read the documentation. https://github.com/Creators-of-Create/Create/blob/a41053b8966edf7bd9732223b18f783fdb52521d/build.gradle#L25 There maybe other you things you need to do depending upon what jar you include and its dependencies. Again read the docs. Also this says forge should deofuscate that jar. But since it is not a minecraft mod (unlike the examples from create) there is no need to do that. This is the main wiki guide for dependencies, but you should also read the main gradle docs. https://forge.gemwire.uk/wiki/Dependencies All these issues have been discussed many many times before in this forum. Please try to use the search function instead of posting repeat questions.
- New Pixelmon modpack crash report
-
Error with jython-standalone in a Forge mod 1.19.2
But you didn't search this forum. Because this question has been asked many times before. Adding a gradle dependency will make the jar available at compilet time but it won't load the jar into forge. Forge will only load jars that are mods. You need to turn that jar into a mod. Or include that jar within your mod. Either using https://forge.gemwire.uk/wiki/Jar-in-Jar or as mentioned on that link use one of the gradle plugins that does shading/creates "uber jars". e.g. this is the create mod using jarInJar https://github.com/Creators-of-Create/Create/blob/a41053b8966edf7bd9732223b18f783fdb52521d/build.gradle#L168
-
my forge wont work becouse it is a firefox folder
https://johann.loefflmann.net/en/software/jarfix/index.html Or try reinstalling java.
-
[1.20] Block with transparent texture
https://github.com/robinroloff/alpinemod/blob/54c091e898bc90ca1a3238b6764b76d5cf20794e/src/main/resources/assets/alpinemod/models/block/resin.json#L4 You should also change the particle texture otherwsie you will get green particles when somebody breaks the block.
-
[1.20] Block with transparent texture
See: https://forums.minecraftforge.net/topic/141611-textures-under-grass-overlay-rendering-in-black/?do=findComment&comment=561537 If you look in ItemBlockRenderTypes, the vanilla vine uses cutout. You already have this on other blocks: https://github.com/search?q=repo%3Arobinroloff%2Falpinemod+render+type&type=code
-
How do I increase the (Placing & Mining) Block reach range of a player?
- How do I increase the (Placing & Mining) Block reach range of a player?
I gave you a link to other mods doing it above. And as I said before, there are many other discussions about it in this forum. Also, you spent less than 20 minutes from my previous answer trying to understand what you need to do. This is a support forum, it does not exist for you to proxy the work of writing your mod to us. Feel free to come back and ask questions after you have tried to write some code and get stuck. But you need to post more than a 5 line code snippet out of context (like you did above) if you want help. You need to put a reproducable example of your problem on github.- How do I increase the (Placing & Mining) Block reach range of a player?
Why are you setting the base value? That will just lead to incompatiblities with other mods that (incorrectly) do the same thing. Or you will write over any change a modpack developer (or server owner) wants to make globally for all players. You should add a +2.5 modifier, then you will always get the correct effect regardless of what other mods do.- 1.20.1 Game crashes every time I try to play a Forge Modpack with Exit Code 1
I already answered your question: https://forums.minecraftforge.net/topic/141627-minecraft-modpack-crashing-on-1201-with-exit-code-1/?do=findComment&comment=561711 Read the FAQ about updating AMD drivers: https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/#comment-541436- Solved 1.20.4 Block entity Use() event places block for short period of time
- Solved 1.20.4 Block entity Use() event places block for short period of time
Your question is unanswerable. If you want help with your code, you need to put something on github that reproduces the problem. We need to see everything in context and maybe run it for ourselves if the issue is not obvious. Guess (I shouldnt have to guess): Since this sounds like a ghost block getting created on the client and it sounds like it works properly on the server? You are not returning the correct InteractionResult from the client side Item.useOn(), so the game goes onto the next step which is to "simulate" the placing of the block for a BlockItem giving the player instant feedback. Since the server side does have the correct code, the change to the block entitiy's inventory causes a chunk update to be sent to the client which won't have that placed block and so the ghost block then disappears.- In forge 1.20.1 how do I make a block that spreads to other blocks surrounding it?
Look at SpreadiingSnowDirtBlock.randomTick() and call Properties.randomTicks() when you register your block.- My game loads for a bit and then crashes
- How do I increase the (Placing & Mining) Block reach range of a player?
Sorry, this is the attribute modifier thread, not the mob effect thread ๐ You want this search: https://github.com/search?q=addtransientmodifier&type=code- How do I increase the (Placing & Mining) Block reach range of a player?
Examples from other mods on github: https://github.com/search?q=addEffect(new+MobEffectInstance&type=code - How do I increase the (Placing & Mining) Block reach range of a player?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.