-
Notifications
You must be signed in to change notification settings - Fork 2
Bars #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JunkyDeveloper
wants to merge
8
commits into
FlintTestMC:master
Choose a base branch
from
JunkyDeveloper:bars
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Bars #10
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4769726
working
JunkyDeveloper 612f83f
first version an fix for fence
JunkyDeveloper 5ca93fe
new connections version
JunkyDeveloper 74687d7
fixed test
JunkyDeveloper 56d62bd
finished test
JunkyDeveloper f4a7517
Merge branch 'FlintTestMC:master' into bars
JunkyDeveloper 577841e
Merge branch 'master' into bars
JunkyDeveloper 72cdc73
Merge branch 'bars' of github.com:JunkyDeveloper/FlintBenchmark into …
JunkyDeveloper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", | ||
| "flintVersion": "1.1", | ||
| "name": "oxidice_copper_bars", | ||
| "description": "Tests the weathering of copper bar", | ||
| "tags": ["bar", "copper", "weathering"], | ||
| "minecraftIds": ["minecraft:copper_bars", "minecraft:oxidized_copper_bars"], | ||
| "dependencies": [], | ||
| "setup": { | ||
| "cleanup": { | ||
| "region": [ [0, 0, 0], [0, 0, 0] ] | ||
| }, | ||
| "player": {"game_mode": "Survival"} | ||
| }, | ||
| "timeline": [ | ||
| { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "copper_bars"} }, | ||
| { | ||
| "at": 1, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "at": 200000, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:oxidized_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "breakpoints": [] | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", | ||
| "flintVersion": "1.1", | ||
| "name": "place_bars", | ||
| "description": "Tests the placing of bars", | ||
| "tags": ["bar"], | ||
| "minecraftIds": ["minecraft:iron_bars"], | ||
| "dependencies": [], | ||
| "setup": { | ||
| "cleanup": { | ||
| "region": [ [-1, 0, -1], [1, 1, 1] ] | ||
| }, | ||
| "player": {"game_mode": "Survival"} | ||
| }, | ||
| "timeline": [ | ||
| { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "minecraft:stone"} }, | ||
| { | ||
| "at": 1, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} } | ||
| ] | ||
| }, | ||
| { "at": 1, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "iron_bars" }, | ||
| { | ||
| "at": 2, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { "pos": [0, 0, 0], "is": {"id": "minecraft:stone"} }, | ||
| { | ||
| "pos": [0, 1, 0], | ||
| "is": { | ||
| "id": "minecraft:iron_bars", | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false, | ||
| "waterlogged": false | ||
| } | ||
| }, | ||
| {"is": "empty", "slot": "hotbar1"} | ||
| ] | ||
| } | ||
| ], | ||
| "breakpoints": [] | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", | ||
| "flintVersion": "1.1", | ||
| "name": "unwaxing_copper_bars", | ||
| "description": "Tests the unwaxing of copper bar", | ||
| "tags": ["bar", "copper", "weathering", "unwaxing"], | ||
| "minecraftIds": [ | ||
| "minecraft:copper_bars" , "minecraft:waxed_copper_bars" , "minecraft:iron_axe" , | ||
| "minecraft:oxidized_copper_bars" | ||
| ], | ||
| "dependencies": [], | ||
| "setup": { | ||
| "cleanup": { | ||
| "region": [ [0, 0, 0], [0, 0, 0] ] | ||
| }, | ||
| "player": {"game_mode": "Survival"} | ||
| }, | ||
| "timeline": [ | ||
| { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "waxed_copper_bars"} }, | ||
| { | ||
| "at": 1, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:waxed_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { "at": 1, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "iron_axe" }, | ||
| { | ||
| "at": 2, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "at": 200000, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:oxidized_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "breakpoints": [] | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", | ||
| "flintVersion": "1.1", | ||
| "name": "waxed_copper_bars", | ||
| "description": "Tests the waxed copper bar", | ||
| "tags": ["bar", "copper", "weathering", "waxing"], | ||
| "minecraftIds": ["minecraft:copper_bars", "minecraft:waxed_copper_bars"], | ||
| "dependencies": [], | ||
| "setup": { | ||
| "cleanup": { | ||
| "region": [ [0, 0, 0], [0, 0, 0] ] | ||
| }, | ||
| "player": {"game_mode": "Survival"} | ||
| }, | ||
| "timeline": [ | ||
| { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "waxed_copper_bars"} }, | ||
| { | ||
| "at": 1, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:waxed_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "at": 200000, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:waxed_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "breakpoints": [] | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/FlintTestMC/flint-core/refs/heads/main/flint-content/test_spec_schema.json", | ||
| "flintVersion": "1.1", | ||
| "name": "waxing_copper_bars", | ||
| "description": "Tests the waxing of copper bar", | ||
| "tags": ["bar", "copper", "weathering", "waxing"], | ||
| "minecraftIds": ["minecraft:copper_bars", "minecraft:waxed_copper_bars", "minecraft:honeycomb"], | ||
| "dependencies": [], | ||
| "setup": { | ||
| "cleanup": { | ||
| "region": [ [0, 0, 0], [0, 0, 0] ] | ||
| }, | ||
| "player": {"game_mode": "Survival"} | ||
| }, | ||
| "timeline": [ | ||
| { "at": 0, "do": "place", "pos": [0, 0, 0], "block": {"id": "copper_bars"} }, | ||
| { | ||
| "at": 1, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { "at": 1, "do": "use_item_on", "pos": [0, 0, 0], "face": "top", "item": "minecraft:honeycomb" }, | ||
| { | ||
| "at": 2, | ||
| "do": "assert", | ||
| "checks": [ | ||
| {"slot": "hotbar1", "is": "empty"}, | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:waxed_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "at": 200000, | ||
| "do": "assert", | ||
| "checks": [ | ||
| { | ||
| "pos": [0, 0, 0], | ||
| "is": { | ||
| "id": "minecraft:waxed_copper_bars", | ||
| "waterlogged": false, | ||
| "east": false, | ||
| "west": false, | ||
| "south": false, | ||
| "north": false | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "breakpoints": [] | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this change ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was wrong :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think old version of flint-core