#Custom Golem Summoning Structures (Stable)

1 messages · Page 1 of 1 (latest)

robust nexus
#

so i made a class for creating summoning structures like iron golem and snow golem.

To create a new summoning structures you just have to create a new instance that takes three parameters:
headBlockTypeId: The type ID of the head block
bodyBlockTypeId: The type ID of the body block
spawnEntityTypeId: The type ID of the entity to spawn
Example: const goldGolem = new IronGolemStructureSpawner('minecraft:carved_pumpkin', 'minecraft:gold_block', 'minecraft:iron_golem')

||Credits are not needed but appreciated. You can credit me by leaving my username thin_35186 ||

#

Feel free to use as you like or modify it

minor pivot
#

I need indicate something?

cerulean cliff
#

Thank you so much! I brand new to all of this and have been working on this very topic. I figured out how to mimic this using /execute at @p if block ~~2~ carved pumpkin if block, ect. And have been melting my brain trying to turn it into a conditional function or modify a lit pumpkin to execute a command once placed. On behalf of what is left of my sanity, I thank you from the bottom of my heart

limber widget
#

@vivid basin

plain furnace
#

the fact i litterally needed this wth

carmine axle
astral token
# carmine axle Excuse me, but what does this mod have?

its a script to make custom golem summon by building custom structure.
just like you spawn a iron golem using iron blocks and pumpkin, using this script you can make you your custom golems summon by placing custom blocks

broken lantern
#

Might be more appropriate provided as just a JavaScript or typescript code file. I would think a template like this shouldn't require an entire pack.

civic olive
#

Couldn't you just take the js/ts file out of the pack?

broken lantern
#

sure, but not everyone is going to be that smart about it. You'll inevitably wind up with some folks that will download the pack and install it without even thinking about it.

cerulean cliff
pale badge
#

Can i edit the blocks separetely??

cerulean cliff
# robust nexus Feel free to use as you like or modify it

Sorry to bother you. I haven’t gotten around to messing with this too much yet but it looks like the script calls on a “IronGolemStructureSpawner” & “SnowGolemStructureSpawner” Would I be able to alter these to introduce new mobs? Or are those hard coded files?