I show you my recent creation, I call this block "Shooter", my block uses 0 entities, you can select up to 16 types of targets, you can use up to 4 types of projectiles, it's an animated block, can receive Redstone energy like every mechanic block
The block stops if detect a wall (two blocks) as a barrier
The block notify if is empty, if It is missing 1 stack, if it is full, if you have already used an item before as a projectile it does not let you place/combine another one
The block returns the remaining unused projectiles
You can fill it up to 256 items in a single projectile as:
- Arrow
- Snowball
- Wind Charge
- TNT
Target list (Families):
- Monster
- Creeper
- Zombie
- Spider
- Skeleton
- Wither
- Piglin
- Blaze
- Illager
- Ravager
- Warden
- Guardian
- Iron Golem
- Villager
- Player
Shooter: Shoot in one cardinal direction
Multi-Shooter: Shoot in all cardinal directions