Skip to content

Commit

Permalink
add 1.18.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1504 committed Jan 22, 2022
1 parent 03dd331 commit 4cab7fd
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- javaVersion: 16
mcVersion: '1.17.1'
- javaVersion: 17
mcVersion: '1.18'
mcVersion: '1.18.1'
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Run `npm run mocha_test -- -g <test_name>`, where `<test_name>` is a name of the

### Example

`npm run mocha_test -- -g "1.18.*BlockFinder"` to run the block finder test for 1.18
`npm run mocha_test -- -g "1.18.1.*BlockFinder"` to run the block finder test for 1.18.1

## License

Expand Down
56 changes: 28 additions & 28 deletions lib/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "spawner",
"description": "spawner is called spawner",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "blockMetadata",
Expand All @@ -17,12 +17,12 @@
{
"name": "blockStateId",
"description": "block metadata is encoded as state id",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "creativeSleepNearMobs",
"description": "can sleep near mobs in creative",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "fixedPointPosition",
Expand All @@ -32,7 +32,7 @@
{
"name": "doublePosition",
"description": "Entity positions are represented with double",
"versions": ["1.9", "1.18"]
"versions": ["1.9", "1.18.1"]
},
{
"name": "fixedPointDelta",
Expand All @@ -42,7 +42,7 @@
{
"name": "fixedPointDelta128",
"description": "Delta of position are represented with fixed point numbers times 128",
"versions": ["1.9", "1.18"]
"versions": ["1.9", "1.18.1"]
},
{
"name": "customChannelMCPrefixed",
Expand All @@ -52,12 +52,12 @@
{
"name": "customChannelIdentifier",
"description": "custom channel is an identifier starting in minecraft namespace",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "dimensionDataIsAvailable",
"description": "dimensionData is available, providing an additional information about the current dimension",
"versions": ["1.17", "1.18"]
"versions": ["1.17", "1.18.1"]
},
{
"name": "useItemWithBlockPlace",
Expand All @@ -67,7 +67,7 @@
{
"name": "useItemWithOwnPacket",
"description": "use item is done with its own packet",
"versions": ["1.9", "1.18"]
"versions": ["1.9", "1.18.1"]
},
{
"name": "blockPlaceHasHeldItem",
Expand All @@ -87,7 +87,7 @@
{
"name": "blockPlaceHasInsideBlock",
"description": "block_place packet has inside block",
"versions": ["1.14", "1.18"]
"versions": ["1.14", "1.18.1"]
},
{
"name": "teleportUsesPositionPacket",
Expand All @@ -102,7 +102,7 @@
{
"name": "teleportUsesOwnPacket",
"description": "teleport is done using its own packet",
"versions": ["1.9", "1.18"]
"versions": ["1.9", "1.18.1"]
},
{
"name": "oneBlockForSeveralVariations",
Expand All @@ -112,7 +112,7 @@
{
"name": "blockSchemeIsFlat",
"description": "all variations of a packet have their own id",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "tabCompleteHasNoToolTip",
Expand All @@ -122,7 +122,7 @@
{
"name": "tabCompleteHasAToolTip",
"description": "tab complete has a tool tip",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "effectAreMinecraftPrefixed",
Expand All @@ -132,7 +132,7 @@
{
"name": "effectAreNotPrefixed",
"description": "effect are not prefixed",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "itemsAreAlsoBlocks",
Expand All @@ -142,12 +142,12 @@
{
"name": "itemsAreNotBlocks",
"description": "items are not block",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "fishingBobberCorrectlyNamed",
"description": "the fishing hook entity is named fishing_bobber",
"versions": ["1.14", "1.18"]
"versions": ["1.14", "1.18.1"]
},
{
"name": "editBookIsPluginChannel",
Expand All @@ -157,7 +157,7 @@
{
"name": "hasEditBookPacket",
"description": "book editing is handled through a packet",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "clientUpdateBookIdWhenSign",
Expand Down Expand Up @@ -197,12 +197,12 @@
{
"name": "dimensionIsAWorld",
"description": "description is a world name (string)",
"versions": ["1.16.2", "1.18"]
"versions": ["1.16.2", "1.18.1"]
},
{
"name": "dimensionDataIsAvailable",
"description": "dimensionData is available, describing additional dimension information",
"versions": ["1.17", "1.18"]
"versions": ["1.17", "1.18.1"]
},
{
"name": "doesntHaveChestType",
Expand All @@ -227,22 +227,22 @@
{
"name": "hasAttackCooldown",
"description": "if there is a cooldown after attacks to deal full damage",
"versions": ["1.9", "1.18"]
"versions": ["1.9", "1.18.1"]
},
{
"name": "usesLoginPacket",
"description": "uses the login packet as defined in mcData",
"versions": ["1.16", "1.18"]
"versions": ["1.16", "1.18.1"]
},
{
"name": "usesMultiblockSingleLong",
"description": "in the multi_block_change packet is stored as a single number",
"versions": ["1.16.2", "1.18"]
"versions": ["1.16.2", "1.18.1"]
},
{
"name": "usesMultiblock3DChunkCoords",
"description": "in the multi_block_change packet, all 3 axis coords are defined",
"versions": ["1.16.2", "1.18"]
"versions": ["1.16.2", "1.18.1"]
},
{
"name": "setBlockUsesMetadataNumber",
Expand All @@ -257,7 +257,7 @@
{
"name": "selectingTradeMovesItems",
"description": "selecting a trade automatically puts the required items into trading slots",
"versions": ["1.14", "1.18"]
"versions": ["1.14", "1.18.1"]
},
{
"name": "resourcePackUsesHash",
Expand All @@ -272,7 +272,7 @@
{
"name": "teamUsesChatComponents",
"description": "teams use chatcomponents for formatting",
"versions": ["1.13", "1.18"]
"versions": ["1.13", "1.18.1"]
},
{
"name": "teamUsesScoreboard",
Expand All @@ -287,7 +287,7 @@
{
"name": "enderCrystalNameNoCapsWithUnderscore",
"description": "this is when the end_crystal's entity name is end_crystal",
"versions": ["1.14", "1.18"]
"versions": ["1.14", "1.18.1"]
},
{
"name": "entityNameUpperCaseNoUnderscore",
Expand All @@ -307,7 +307,7 @@
{
"name": "stateIdUsed",
"description": "starting in 1.17.1, actionId has been replaced with stateId",
"versions": ["1.17.1", "1.18"]
"versions": ["1.17.1", "1.18.1"]
},
{
"name": "actionIdUsed",
Expand All @@ -317,7 +317,7 @@
{
"name": "setSlotAsTransaction",
"description": "use setslot as transaction instead of just hoping it'll work",
"versions": ["1.17", "1.18"]
"versions": ["1.17", "1.18.1"]
},
{
"name": "armAnimationBeforeUse",
Expand All @@ -327,6 +327,6 @@
{
"name": "tallWorld",
"description": "world starts at -64 and ends at 384",
"versions": ["1.18", "1.18"]
"versions": ["1.18", "1.18.1"]
}
]
2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
supportedVersions: ['1.8', '1.9', '1.10', '1.11', '1.12', '1.13', '1.14', '1.15', '1.16', '1.17', '1.18'],
testedVersions: ['1.8.8', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1', '1.18']
testedVersions: ['1.8.8', '1.9.4', '1.10.2', '1.11.2', '1.12.2', '1.13.2', '1.14.4', '1.15.2', '1.16.5', '1.17.1', '1.18.1']
} // when updating testedVersions, make sure to update CI.yml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"license": "MIT",
"dependencies": {
"minecraft-data": "^2.107.0",
"minecraft-data": "^2.109.0",
"minecraft-protocol": "^1.26.5",
"prismarine-biome": "^1.1.1",
"prismarine-block": "^1.10.3",
Expand Down

0 comments on commit 4cab7fd

Please sign in to comment.