I migrated the mod to the new version (from 1.21.2 to 1.21.92) and ran into a problem: shooting with the entity in events doesn't work. When I used the item, it shot a water shark. Does shooting work on 92? How can it be fixed and replaced?
#shoot in event entity
1 messages · Page 1 of 1 (latest)
@heady saddle
Why did you @ me
It's fine
But there's no such thing as item events anymore
Events haven't existed for almost 2 years
You'll need to switch to custom components or regular scripting
Custom components is the more recommended option and is a lot more beginner friendly
Both are scripting, by the way, one is just easier
HCF Removal and Custom Components
The Holiday Creator Features experimental toggle has been removed. Along with it includes JSON block and item events. This functionality has been replaced with custom components.
Please take a look at the following links to learn more about custom components:
Bedrock Wiki
- Block Events
- Block Events Migration to Custom Components
- Item Events
- Item Events Migration to Custom Components
MS Docs
okay, i’ll try.. thx
but if you can suggest an analogue of shoot, I will be grateful.
You'll want to use the projectile.shoot() scripting method
You can summon the projectile entity then use the method to fire it
There are a lot of projectile scripts on this server, (a bunch even came from me), so you can study those to get the hang of how it works and ask any questions
okay
thank you. if I have any questions, I will write here.
No problem
bro, by the way, my addon's outer skin layer is disabled. Do you know what this is related to?
Do you have any content logs?
yes , but there are too many errors. I saw something related to CustomSkin, in general, I'm sure it's something in the addon, something that disables the outer layer is written, I just thought you knew where it might be.
so