Skip to content

Commit 54db347

Browse files
version bump v2.2.2
update to minecraft 1.21.11
1 parent 6f5bef2 commit 54db347

File tree

5 files changed

+23
-11
lines changed

5 files changed

+23
-11
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## Version [v2.2.2](https://github.com/RealMuffinTime/bluemap-banners/releases/tag/v2.2.2) - 2025-12-18
2+
### New Stuff
3+
- Add a config option to disable adding markers of unnamed banners (only applicable to instant placement)
4+
### Changes
5+
- Update to Minecraft `1.21.11`
6+
- Migrate to Mojang mappings
7+
### New Contributors
8+
- @CreeperHaed made their first contribution in [#10](https://github.com/RealMuffinTime/bluemap-banners/pull/10)
9+
110
## Version [v2.2.1](https://github.com/RealMuffinTime/bluemap-banners/releases/tag/v2.2.1) - 2025-10-08
211
### Changes
312
- Update to Minecraft `1.21.10`
@@ -95,3 +104,4 @@
95104
- Initial version
96105
- Add icons
97106
- Add GitHub workflow
107+

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repositories {
1212
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
1313
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
1414
// for more information about repositories.
15+
mavenCentral()
1516
maven { url 'https://repo.bluecolored.de/releases' }
1617
maven { url 'https://maven.nucleoid.xyz' }
1718
}
@@ -40,6 +41,8 @@ dependencies {
4041
compileOnly "de.bluecolored:bluemap-api:${project.bluemap_api_version}"
4142

4243
modImplementation include("xyz.nucleoid:server-translations-api:${project.server_translations_version}")
44+
45+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
4346
}
4447

4548
processResources {
@@ -67,7 +70,6 @@ tasks.withType(JavaCompile).configureEach {
6770
}
6871

6972
java {
70-
archivesBaseName = project.archives_base_name
7173
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
7274
// if it is present.
7375
// If you remove this line, sources will not be generated.

gradle.properties

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,22 @@ org.gradle.jvmargs=-Xmx1G
33

44
# Fabric Properties
55
# Check these on https://fabricmc.net/develop/
6-
minecraft_version=1.21.10
7-
loader_version=0.17.2
8-
loom_version=1.11-SNAPSHOT
6+
minecraft_version=1.21.11
7+
loader_version=0.18.3
8+
loom_version=1.14-SNAPSHOT
99

1010
# Fabric API
11-
fabric_version=0.135.0+1.21.10
12-
11+
fabric_version=0.140.0+1.21.11
1312
# Mod Properties
14-
mod_version=2.2.1
13+
mod_version=2.2.2
1514
maven_group=dev.nincodedo
1615
archives_base_name=bluemap-banners
1716

1817
# Dependencies
1918

2019
# BlueMap
2120
bluemap_api_version=2.7.6
22-
bluemap_version=5.12
21+
bluemap_version=5.15
2322

2423
# Server Translations API
2524
server_translations_version=2.5.2+1.21.9-pre3

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

src/main/java/dev/nincodedo/bluemapbanners/BlueMapBanners.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import net.minecraft.network.chat.HoverEvent;
2121
import net.minecraft.network.chat.Style;
2222
import net.minecraft.server.*;
23+
import net.minecraft.server.permissions.Permissions;
2324
import net.minecraft.tags.BlockTags;
2425
import net.minecraft.world.InteractionHand;
2526
import net.minecraft.world.InteractionResult;
@@ -155,7 +156,7 @@ private boolean breakBlock(Level world, Player playerEntity, BlockPos blockPos,
155156
private void registerCommands(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext registryAccess, Commands.CommandSelection environment) {
156157
final LiteralCommandNode<CommandSourceStack> baseCommand = dispatcher
157158
.register(literal("bluemapbanners")
158-
.requires(source -> source.hasPermission(4))
159+
.requires(source -> source.permissions().hasPermission(Permissions.COMMANDS_MODERATOR))
159160
.executes(context -> {
160161
context.getSource().sendSuccess(() -> Component.translatable(
161162
"bluemapbanners.commands.status",
@@ -404,7 +405,7 @@ private void registerCommands(CommandDispatcher<CommandSourceStack> dispatcher,
404405

405406
dispatcher.register(literal("bb")
406407
.redirect(baseCommand)
407-
.requires(source -> source.hasPermission(4))
408+
.requires(source -> source.permissions().hasPermission(Permissions.COMMANDS_MODERATOR))
408409
.executes(context -> {
409410
context.getSource().sendSuccess(() -> Component.translatable(
410411
"bluemapbanners.commands.status",

0 commit comments

Comments
 (0)