Skip to content

Commit

Permalink
Merge pull request #7 from Adr-hyng/main
Browse files Browse the repository at this point in the history
Added 1.20.5x support
  • Loading branch information
Adr-hyng authored Jan 28, 2024
2 parents 4594f7a + 49ec7e1 commit 87946cb
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion BP/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.6.0-beta"
"version": "1.8.0-beta"
},
{
"module_name": "@minecraft/server-ui",
Expand Down
1 change: 0 additions & 1 deletion BP/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { BlockPermutation, Direction, EntityEquippableComponent, EntityInventory
import { MinecraftBlockTypes, MinecraftItemTypes } from "./modules/vanilla-types/index";
import { Compare, LadderSupportDirection, debug, getBlockFromRayFiltered, getCardinalFacing, isInExcludedBlocks, isLadder, isLadderPart, removeCardinalBlockMismatch, resolveBlockFaceDirection, setCardinalBlock, setLadderSupport } from "./packages";
const logMap = new Map();
world.afterEvents.playerBreakBlock;
world.afterEvents.playerBreakBlock.subscribe(async (event) => {
const blockDestroyed = event.block;
const blockPermutation = event.brokenBlockPermutation;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@minecraft/server": "^1.6.0-beta.1.20.30-stable",
"@minecraft/server-ui": "^1.2.0-beta.1.20.10-stable"
"@minecraft/server": "^1.8.0-beta.1.20.50-stable",
"@minecraft/server-ui": "^1.2.0-beta.1.20.50-stable"
}
}
2 changes: 1 addition & 1 deletion setup/mc_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"bp_dependencies": [
{
"module_name": "@minecraft/server",
"version": "1.6.0-beta"
"version": "1.8.0-beta"
},
{
"module_name": "@minecraft/server-ui",
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Compare, LadderSupportDirection, Logger, debug, getBlockFromRayFiltered

const logMap: Map<string, number> = new Map<string, number>();

world.afterEvents.playerBreakBlock
world.afterEvents.playerBreakBlock.subscribe(async (event: PlayerBreakBlockAfterEvent) => {
const blockDestroyed: Block = event.block;
const blockPermutation: BlockPermutation = event.brokenBlockPermutation;
Expand Down
2 changes: 1 addition & 1 deletion tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

addon_name = json.loads(open('setup/mc_manifest.json', 'r').read()).get("header").get("bp_name")
build_pack_name = addon_name[:addon_name.rfind(" BP")]
version_tag = 'v1.20.3x-104'
version_tag = 'v1.20.5x-105'

def handleError(err):
if err: exit(err)
Expand Down

0 comments on commit 87946cb

Please sign in to comment.