How Do I Prevent Structures From Being Cut Off

Started by CodeLovingBison on

Topic category: Help with modding (Java Edition)

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do I Prevent Structures From Being Cut Off
Fri, 08/27/2021 - 10:43 (edited)

I loose... You win, MCraetor! GG's to you. I give up. Im tired from searching and testing everything. Just give me a strait answer.

Please read all of my attempts.


► [ Attempt N1: Tried making a block that spawns a structure when placed. ]

► [ Issue: The trigger doesn't work when placed with a structure or with ore generation. ]


► [ Attempt N2: Tried using conditions to place the block.

► [ Issue: Doesn't work.


► [ Attempt N3: Tried placing the block by executing a command /fill.

► [ Issue: The command can not be executed..


► [ Attempt N4: Tried creating a structure witch spawns the main structure after 20 ticks.

► [ Issue: Doesn't work.


► [ Attempt N5: Tried creating a structure with a command block, with a command that places my custom block. and Redstone block.

► [ Issue: It WORKS!! oh... it doesn't work on server clients... UGHHHH!!!!


► [ I searched the internet, read every single forum. (I don't know how jigsaw blocks work!)


My letter to dear Klemen"

Dear Klemen, once and for all. Please answer me and all the community.. HOW CAN WE FIX THIS?!?!

I SPENT 8 GOD DAMM HOURS SEARCHING AND TESTING!! MY EYES BURN!! PLEASE HELP ME!


 

Edited by CodeLovingBison on Fri, 08/27/2021 - 10:43
If this is the issue I think…
Sun, 08/29/2021 - 09:16

If this is the issue I think it is,

Structures smaller than 11 * 11 in length and width won't get cut off.

But if you want to make a structure bigger than that do the following things.

1. Make a block element. (This block will place the structure)

2. Add a procedure to the "Update tick" event.

In the procedure you add the following procedure blocks (with the correct structure of course):

Proc

 

3. Save a structure contains nothing.

4. Make a structure element. (Use the structure from above as the structure in the element)

5. setup way you want this structure to generate.

6. Add a procedure to "On structure instance generated"

In the procedure you add the following procedure blocks (Use the block you made before)

proc 2

 

Now it should generate your structure without getting cut off

This should be a wiki page or a new forum topic I can pin :D

Last seen on 09:42, 5. Sep 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You guys are going to laugh…
Mon, 08/30/2021 - 07:12

You guys are going to laugh when I show you how I did it. This method can do more then structure gen. 

Pros

- custom raids - this one took me about 6 months of testing to get right. I still do not fully understand how it works.

- random sound events - I made random events like a cowboy sneaking up to you through the bushes.

- structure gen - village or dungeon

- Ore deposits like rust with big clumps on the surface. 

- Takes one procedure

Cons

- You have to remove vanilla feature for this to work

- Going to need at least 10+ biomes if your going to have a lot of structures

- Only works in overworld on custom biomes - I only tested this briefly. I could be wrong.

 I wish I could explain in via text. I just finished moving on Sunday. I will finish the tutorial this week while my kids are at school. Going to be on Toma400 discord explaining all this sometime this week or weekend. I wanted to finishes the tutorial last week but out of respect for Northwesttrees I waited. He just released his dungeon tutorial and I and a big fan of all his hard work. I use his teleporting procedure which is fantastic.

 

Back to un-packing boxes <sigh>

Chew

 

 

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its ok! Thank you very much…
Mon, 08/30/2021 - 08:39

Its ok! Thank you very much for taking such a hard responsibility! Even if in the end, another guy came in to help.. You really are a great guy! Allays help people! Wish you and youre children health and happiness :) Have a great day, Chewdog! Thank you!

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still thank you! :D
Thu, 09/02/2021 - 21:14

Still thank you! :D

Last seen on 17:24, 10. Apr 2024
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It depends on which program…
Thu, 09/02/2021 - 23:40

It depends on which program you are using to make the structure files. I typically use structure blocks in minecraft so if thats what you are using, when you set spawning conditions, make sure to ignore air and structure block and make sure that when you saved the structure in minecraft, the bounding box covers the whole structure. I'm honestly not sure when it comes to other programs.