#A function not loading when far from other entities
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D
Open question: #1205075937419329626
Oops, something went wrong. 400 Bad Request (error code: 50035): Invalid Form Body In embeds.0.description: Must be 4096 or fewer in length.
waht-
mb i sent it in a wrong format
.
├── pack.mcmeta
├── pack.png
└── data
└── <namespace>
├── advancements
├── functions
├── item_modifiers
├── loot_tables
├── predicates
├── recipes
├── structures
├── chat_type
├── damage_type
├── tags
│ ├── blocks
│ ├── entity_types
│ ├── fluids
│ ├── functions
│ ├── game_events
│ ├── items
│ ├── chat_type
│ └── damage_type
├── dimension
├── dimension_type
└── worldgen
├── biome
├── configured_carver
├── configured_feature
├── density_function
├── noise
├── noise_settings
├── placed_feature
├── processor_list
├── structure
├── structure_set
├── template_pool
├── world_preset
└── flat_level_generator_preset
```
The logs are where Minecraft displays errors when something goes wrong and can thus help you gain information about why something isn't working for you!
To open the logs:
- Enable logs in the Minecraft Launcher
- Start your game (or restart it if you already have an open instance)
- Enjoy spotting errors getting much easier!
first can you send the code and explain how youre doing this?
i assume youre just making an item display ride the bobber when you use a specially tagged fishing rod
here i explained everything
do you summon the armor stand under the launch function?
nevermind it does, i found it
first thing i can think of is just typos of course..
since its only diamond not working
rather than being far from entities
it might be that youre not spawning it executed from the player, or something like that
in which case it would immediately kill the display from what i understand
when youre not next to world spawn
yeah i was thinkin os something like that too
because when tweaking the code and when i augmented the range, i had the same issue but i had to go farther to trigger it
yeah definitely sounds like thats the case then :P
@ashen lance How about this one?
😅
i resolved the other one i got it working
sorry for spamming
this one still not for now
You're not spamming, I'm just going through and checking on quiet threads
What do you still need help with?
i am still trying to figure out why my flail head is disappearing when i am too far from the spawn
as showed in the video
i tried to search in my commands but didn't find anything concluant
Hmm yeah, by all accounts your location should have no bearing. Are you running anything from command blocks or all data pack?
i have command block to give the items thats all
and i have ticks functions running
Can you show the function that is running the spawn function, as well as the spawn function itself?
(assuming the spawn is in a function and not just the command)
and the function for the spawn itself
execute at @s positioned ^ ^1.8 ^0.5 run summon minecraft:item_display ~ ~ ~ {item:{id:"carrot_on_a_stick",Count:1,tag:{CustomModelData:50127}},item_display:ground,Tags:["DiamondHeadDisplay"],transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],translation:[0.0f,0.0f,0.0f],scale:[2.0f,2.0f,2.0f]}}
ride @e[type=minecraft:item_display,tag=DiamondHeadDisplay,limit=1,sort=nearest] mount @e[type=minecraft:fishing_bobber,tag=DiamondHead,limit=1,sort=nearest]```
I'm on mobile, so can't see this super easily
Code block if you don't mind 🙂
what is a code block ?
If you start and end a section of text with ```
format
like this```
Which makes it a bit easier to differentiate different functions, or just what is all one function. Also slightly easier to read
What is running this function?
Like what entity?
Okay, why is the player running a command with @a instead of @s?
Additionally, is this function already being run at the player, too?
there was commands that didn't work if i used @s so i assumed that i needed @a for it too
normally yes
Not really a good solution without understanding why it's not working, because this is a case where you may get mixed results on multiplayer
Ok, well besides the first command needing to use an @s instead of an @a and some minor optimization choices, that function looks fine. So it may be the other one causing problems which I'm not in a position to be able to download and look at right now