Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7e53d272dc | |||
fba82a2f51 |
22
.github/workflows/main.yml
vendored
22
.github/workflows/main.yml
vendored
@@ -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 }}
|
|
@@ -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}
|
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
|
# Advance forward and if nothing found
|
||||||
scoreboard players add #distance raycast 1
|
scoreboard players add #distance WrenchRaycast 1
|
||||||
execute if score @s WrenchSuccess matches 0 if score #distance raycast matches ..350 positioned ^ ^ ^0.01 run function wrench:raycast/rayloop
|
execute if score @s WrenchSuccess matches 0 if score #distance WrenchRaycast matches ..350 positioned ^ ^ ^0.01 run function wrench:raycast/rayloop
|
@@ -1,7 +1,7 @@
|
|||||||
#Setting up the raycasting data.
|
#Setting up the raycasting data.
|
||||||
|
|
||||||
tag @s add raycast
|
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.
|
#Activating the raycast. This function will call itself until it is done.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user