Skip to content

Commit 0ab5461

Browse files
committed
Merge branch '2022.1' into 2022.2
2 parents 7d03fb2 + 3641836 commit 0ab5461

24 files changed

+271
-67
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Bug report
2+
description: Create a bug report
3+
labels: ["status: unverified", "type: bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: DO NOT REQUEST SUPPORT FOR OLDER VERSIONS OF MINECRAFT.
8+
- type: input
9+
id: plugin-version
10+
attributes:
11+
label: Minecraft Development for IntelliJ plugin version
12+
validations:
13+
required: true
14+
- type: input
15+
id: intellij-version
16+
attributes:
17+
label: IntelliJ version
18+
validations:
19+
required: true
20+
- type: input
21+
id: operating-system
22+
attributes:
23+
label: Operating System
24+
validations:
25+
required: true
26+
- type: dropdown
27+
id: target-platform
28+
attributes:
29+
label: Target platform
30+
multiple: true
31+
options:
32+
- Bukkit
33+
- Spigot
34+
- Paper
35+
- Sponge
36+
- Architectury
37+
- Minecraft Forge
38+
- Fabric
39+
- Lite Loader
40+
- Velocity
41+
- Mixins
42+
- BungeeCord
43+
- Waterfall
44+
validations:
45+
required: false
46+
- type: markdown
47+
attributes:
48+
value: Always include a stack trace if there is one. Otherwise, the more information you can provide in terms of how to reproduce the problem, the more likely it'll be fixed. If there is something specific about your project, a link to the GitHub project can be very helpful.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Feature request
2+
description: Suggest a new feature
3+
labels: ["status: unverified", "type: enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: DO NOT REQUEST SUPPORT FOR OLDER VERSIONS OF MINECRAFT.
8+
- type: input
9+
id: plugin-version
10+
attributes:
11+
label: Minecraft Development for IntelliJ plugin version
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: description
16+
attributes:
17+
label: Description of the feature request
18+
description: Please try to avoid vague requests. The more details you can give regarding what the feature request is, how it should work, and why it would be useful, the easier it will be to implement. Feel free to be vague if you have a general idea that something might be cool, but these are less likely to be prioritized and may be denied more often.
19+
- type: markdown
20+
attributes:
21+
value: Please note as well that the developers working on this project don't use every platform it supports, at least not extensively. Different developers have differing knowledge about each platform. With this in mind, giving an in-depth explanation of a feature is targeting can be very helpful, as we may not know as much about what you're referring to as you do.

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ jobs:
88
name: Validation
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- uses: gradle/wrapper-validation-action@v1

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ jobs:
99
name: Publish
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-java@v1
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-java@v3
1414
with:
15+
distribution: 'zulu'
1516
java-version: 11
16-
- uses: actions/cache@v2
17+
- uses: actions/cache@v3
1718
with:
1819
path: |
1920
~/.gradle/caches

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
- 'windows-latest'
1717
runs-on: ${{ matrix.os }}
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-java@v1
19+
- uses: actions/checkout@v3
20+
- uses: actions/setup-java@v3
2121
with:
22+
distribution: 'zulu'
2223
java-version: 11
23-
- uses: actions/cache@v2
24+
- uses: actions/cache@v3
2425
with:
2526
path: |
2627
~/.gradle/caches

readme.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ Minecraft Development for IntelliJ
1111
<td align="right"><b>Main Build</b></td>
1212
<td colspan="2"><a href="https://ci.denwav.dev/viewType.html?buildTypeId=MinecraftDev_Build"><img src="https://ci.denwav.dev/app/rest/builds/buildType:(id:MinecraftDev_Build)/statusIcon.svg" alt="Teamcity Build Status" /></a></td>
1313
</tr>
14-
<tr>
15-
<td align="right" rowspan="5"><b>Nightly Builds</b></td>
16-
<td align="left">2021.2</td>
17-
<td align="left"><a href="https://ci.denwav.dev/viewType.html?buildTypeId=MinecraftDev_Nightly_20212"><img src="https://ci.denwav.dev/app/rest/builds/buildType:(id:MinecraftDev_Nightly_20212)/statusIcon.svg" alt="2021.2 Nightly Status" /></a></td>
18-
</tr>
19-
<tr>
20-
<td align="left">2021.3</td>
21-
<td align="left"><a href="https://ci.denwav.dev/viewType.html?buildTypeId=MinecraftDev_Nightly_20213"><img src="https://ci.denwav.dev/app/rest/builds/buildType:(id:MinecraftDev_Nightly_20213)/statusIcon.svg" alt="2021.3 Nightly Status" /></a></td>
22-
</tr>
2314
<tr>
2415
<td align="left">2022.1</td>
2516
<td align="left"><a href="https://ci.denwav.dev/viewType.html?buildTypeId=MinecraftDev_Nightly_20221"><img src="https://ci.denwav.dev/app/rest/builds/buildType:(id:MinecraftDev_Nightly_20221)/statusIcon.svg" alt="2022.1 Nightly Status" /></a></td>

src/main/kotlin/errorreporter/ErrorReporter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class ErrorReporter : ErrorReportSubmitter() {
3535
"Key com.demonwav.mcdev.translations.TranslationFoldingSettings duplicated",
3636
"Inspection #EntityConstructor has no description"
3737
)
38-
private val baseUrl = "https://github.com/minecraft-dev/mcdev-error-report/issues"
3938
override fun getReportActionText() = "Report to Minecraft Dev GitHub Issue Tracker"
4039

4140
override fun submit(
@@ -118,11 +117,12 @@ class ErrorReporter : ErrorReportSubmitter() {
118117
{ e ->
119118
val message = "<html>Error Submitting Issue: ${e.message}</html>."
120119
val actionText = "Open an issue on the GitHub issue tracker"
120+
val userUrl = "https://github.com/minecraft-dev/MinecraftDev/issues"
121121
NotificationGroupManager.getInstance().getNotificationGroup("Error Report").createNotification(
122122
DiagnosticBundle.message("error.report.title"),
123123
message,
124124
NotificationType.ERROR,
125-
).addAction(BrowseNotificationAction(actionText, baseUrl)).setImportant(false).notify(project)
125+
).addAction(BrowseNotificationAction(actionText, userUrl)).setImportant(false).notify(project)
126126

127127
consumer.consume(SubmittedReportInfo(null, null, SubmittedReportInfo.SubmissionStatus.FAILED))
128128
}

src/main/kotlin/insight/generation/MinecraftClassCreateAction.kt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,29 @@ class MinecraftClassCreateAction :
6464

6565
if (mcVersion < MinecraftVersions.MC1_17) {
6666
builder.addKind("Block", icon, MinecraftTemplates.FORGE_BLOCK_TEMPLATE)
67+
builder.addKind("Enchantment", icon, MinecraftTemplates.FORGE_ENCHANTMENT_TEMPLATE)
6768
builder.addKind("Item", icon, MinecraftTemplates.FORGE_ITEM_TEMPLATE)
6869
builder.addKind("Packet", icon, MinecraftTemplates.FORGE_PACKET_TEMPLATE)
69-
builder.addKind("Enchantment", icon, MinecraftTemplates.FORGE_ENCHANTMENT_TEMPLATE)
7070
} else if (mcVersion < MinecraftVersions.MC1_18) {
7171
builder.addKind("Block", icon, MinecraftTemplates.FORGE_1_17_BLOCK_TEMPLATE)
72+
builder.addKind("Enchantment", icon, MinecraftTemplates.FORGE_1_17_ENCHANTMENT_TEMPLATE)
7273
builder.addKind("Item", icon, MinecraftTemplates.FORGE_1_17_ITEM_TEMPLATE)
74+
builder.addKind("Mob Effect", icon, MinecraftTemplates.FORGE_1_17_MOB_EFFECT_TEMPLATE)
7375
builder.addKind("Packet", icon, MinecraftTemplates.FORGE_1_17_PACKET_TEMPLATE)
74-
builder.addKind("Enchantment", icon, MinecraftTemplates.FORGE_1_17_ENCHANTMENT_TEMPLATE)
7576
} else {
7677
builder.addKind("Block", icon, MinecraftTemplates.FORGE_1_17_BLOCK_TEMPLATE)
78+
builder.addKind("Enchantment", icon, MinecraftTemplates.FORGE_1_17_ENCHANTMENT_TEMPLATE)
7779
builder.addKind("Item", icon, MinecraftTemplates.FORGE_1_17_ITEM_TEMPLATE)
80+
builder.addKind("Mob Effect", icon, MinecraftTemplates.FORGE_1_17_MOB_EFFECT_TEMPLATE)
7881
builder.addKind("Packet", icon, MinecraftTemplates.FORGE_1_18_PACKET_TEMPLATE)
79-
builder.addKind("Enchantment", icon, MinecraftTemplates.FORGE_1_17_ENCHANTMENT_TEMPLATE)
8082
}
8183
}
8284
if (isFabric) {
8385
val icon = PlatformAssets.FABRIC_ICON
8486

8587
builder.addKind("Block", icon, MinecraftTemplates.FABRIC_BLOCK_TEMPLATE)
86-
builder.addKind("Item", icon, MinecraftTemplates.FABRIC_ITEM_TEMPLATE)
8788
builder.addKind("Enchantment", icon, MinecraftTemplates.FABRIC_ENCHANTMENT_TEMPLATE)
89+
builder.addKind("Item", icon, MinecraftTemplates.FABRIC_ITEM_TEMPLATE)
8890
}
8991
}
9092

0 commit comments

Comments
 (0)