2 Commits
1.0 ... 1.1

Author SHA1 Message Date
7e53d272dc Raycast Fix 2023-12-16 22:59:48 +00:00
fba82a2f51 remove worklfow 2023-12-16 22:42:57 +00:00
3 changed files with 3 additions and 25 deletions

View File

@@ -1,22 +0,0 @@
name: Create release
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Zip Folder
run: zip -r ${{ github.event.repository.name }}.zip ./Wrench/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ github.event.repository.name }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -16,5 +16,5 @@ execute as @s[scores={WrenchSuccess=1..}] run playsound minecraft:entity.item_fr
execute if score WrenchDebug WrenchConfig matches 1 run summon area_effect_cloud ~ ~ ~ {Particle:happy_villager,Radius:0.01,Duration:2}
# Advance forward and if nothing found
scoreboard players add #distance raycast 1
execute if score @s WrenchSuccess matches 0 if score #distance raycast matches ..350 positioned ^ ^ ^0.01 run function wrench:raycast/rayloop
scoreboard players add #distance WrenchRaycast 1
execute if score @s WrenchSuccess matches 0 if score #distance WrenchRaycast matches ..350 positioned ^ ^ ^0.01 run function wrench:raycast/rayloop

View File

@@ -1,7 +1,7 @@
#Setting up the raycasting data.
tag @s add raycast
scoreboard players set #distance raycast 0
scoreboard players set #distance WrenchRaycast 0
#Activating the raycast. This function will call itself until it is done.