Jump to content

Recommended Posts

Posted
  On 10/5/2018 at 8:43 AM, Cadiboo said:

 It seems to me that this means you subscribed to the drawBox event properly

Expand  

the event is working, you said it yourself

 

  On 10/5/2018 at 8:43 AM, Cadiboo said:

please post your code as a GitHub repository

Expand  

have to create account ...

 

  On 10/5/2018 at 8:43 AM, Cadiboo said:

        } catch (final Exception e) {
            event.setCanceled(false);

Expand  

this it came from the code that you sent me, I have removed it, but it continues in the same way as the previous print

Posted
  On 10/5/2018 at 9:14 AM, Ragnar said:

have to create account ...

Expand  

It’s free and allows you to do version control (if u accidentally delete something/ mess something up you can restore it) and it allows us to view and help you with your code.

 

  On 10/5/2018 at 9:14 AM, Ragnar said:

this it came from the code that you sent me, I have removed it, but it continues in the same way as the previous print

Expand  

I wanted you to remove it so any errors that happen are silently caught and discarded (the code that it came from wanted all the errors to disappear).

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 10/5/2018 at 11:35 AM, Cadiboo said:

I wanted you to remove it so any errors that happen are silently caught and discarded (the code that it came from wanted all the errors to disappear).

Expand  

but my code still does not work, what's wrong?

Posted
  On 10/5/2018 at 11:46 AM, Ragnar said:

but my code still does not work, what's wrong?

Expand  

I have absolutely no clue why it isn’t working (or what your code even is) because of the reasons I mentioned before. Please make a GitHub repository. Every Programmer/Coder/Modder I’ve ever seen/heard of/met before has one (Here’s mine).

Its free and it allows us to help you. Without it we honestly pretty much can’t help. (We can help a very very very tiny bit without it)

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 10/5/2018 at 11:55 AM, Ragnar said:
Expand  

Thanks! Though that’s not quite what I meant, can you download GitHub Desktop (or something) and put your entire code up there? Your repository should be from your mods root directory (the place that the src, build, run and gradle folders are). This allows syntax highlighting, viewing where methods get called in other files and some other stuff.

 

From what you’ve posted I can see that

- You need to annotate your Pedestal Class with @Mod.EventBusSubscriber

- put you List “all” RIGHT BELOW “event.setCancelled(true);”

- remove the try/catch block completely

- remove “blockstate.addCollisionBoxToList” from your event subscriber. You’ve mutilated the code enough that it doesn’t even start to do what it should with that call.

 

I can’t read Spanish at all well, PLEASE PLEASE PLEASE post your entire repository. Honestly WTF, your code is half Spanish half English, and some of the variable names switch between languages as the code goes on. Does this even compile?????? It shouldn’t. It really really really shouldn’t.

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 10/5/2018 at 12:21 PM, Cadiboo said:

. Eu não sei ler bem o espanhol, POR FAVOR, POR FAVOR, poste seu repositório inteiro. Honestamente WTF, seu código é metade do inglês meio espanhol, e alguns dos nomes de variáveis alternam entre os idiomas conforme o código continua. Isso ainda compila ?????? Não deveria. Realmente realmente não deveria.

Expand  

I'm sorry, I'm Brazilian, my code is all in English but as my google is activated the translator, when I put the code he translated and did not see and sent translated, sorry

Posted
  On 10/5/2018 at 12:27 PM, Ragnar said:

I'm sorry, I'm Brazilian, my code is all in English but as my google is activated the translator, when I put the code he translated and did not see and sent translated, sorry

Expand  

All good, I was pretty confused aha. Thanks for what you’ve done so far, but can you please

  On 10/5/2018 at 12:21 PM, Cadiboo said:

download GitHub Desktop (or something) and put your entire code up there? Your repository should be from your mods root directory (the place that the src, build, run and gradle folders are). This allows syntax highlighting, viewing where methods get called in other files and some other stuff.

Expand  

 

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 10/5/2018 at 12:34 PM, Ragnar said:

I'm going to do it, and I did not sleep, I'm still too sleepy to sue hahaha, and I'm sorry I judged you before, I sincerely apologize

Expand  

All good, sorry for being a bit condescending, I didn’t realise there was a language barrier

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 10/5/2018 at 12:44 PM, Ragnar said:

this is code but there is something very wrong that I am doing the format does not work out what I want and when I put the block and shot and I look at one that is on the floor, the box continues

Expand  

Remove this line.

 

blockState.addCollisionBoxToList(world, pos, new AxisAlignedBB(pos), all, player, false);

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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