Skip to content

Commit

Permalink
Fixes to aim assists
Browse files Browse the repository at this point in the history
  • Loading branch information
ExDrill committed Oct 24, 2024
1 parent 741536d commit f7f1954
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"format_version": "1.21.50",
"minecraft:aim_assist_categories": {
"identifier": ""
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Aim Assist Categories",
"icon": "mdi-crosshairs",
"description": "Creates a blank aim assist categories.",
"category": "fileType.simpleFile",
"requires": {
"packTypes": ["behaviorPack"],
"targetVersion": [">=", "1.21.50"]
},
"additionalModels": {
"PRESET_PATH": "aim_assist/categories/"
},
"fields": [
[
"File Name",
"FILE_NAME",
{ "validate": ["required", "alphanumeric", "lowercase"] }
]
],

"createFiles": [
[
"aimAssistCategories.json",
"{{PRESET_PATH}}{{FILE_NAME}}.json",
{
"inject": ["FILE_NAME", "PRESET_PATH"],
"openFile": true,
"packPath": "behaviorPack"
}
]
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"format_version": "1.21.50",
"minecraft:aim_assist_preset": {
"identifier": ""
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Aim Assist Preset",
"icon": "mdi-crosshairs",
"description": "Creates a blank aim assist preset.",
"category": "fileType.simpleFile",
"requires": {
"packTypes": ["behaviorPack"],
"targetVersion": [">=", "1.21.50"]
},
"additionalModels": {
"PRESET_PATH": "aim_assist/presets/"
},
"fields": [
[
"File Name",
"FILE_NAME",
{ "validate": ["required", "alphanumeric", "lowercase"] }
]
],

"createFiles": [
[
"aimAssistPreset.json",
"{{PRESET_PATH}}{{FILE_NAME}}.json",
{
"inject": ["FILE_NAME", "PRESET_PATH"],
"openFile": true,
"packPath": "behaviorPack"
}
]
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Aim Assist Preset",
"required": ["format_version", "minecraft:aim_assist_preset"],
"required": ["format_version", "minecraft:aim_assist_categories"],
"allOf": [
{
"properties": {
Expand Down

0 comments on commit f7f1954

Please sign in to comment.