Skip to content

Commit 343738e

Browse files
committed
⬆️ Added support for 1.21.7
1 parent 71cc563 commit 343738e

File tree

4 files changed

+66
-24
lines changed

4 files changed

+66
-24
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>fr.skytasul</groupId>
77
<artifactId>guardianbeam</artifactId>
8-
<version>2.4.3</version>
8+
<version>2.4.4</version>
99
<packaging>jar</packaging>
1010

1111
<name>GuardianBeam</name>

src/main/java/fr/skytasul/guardianbeam/Laser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
* A whole class to create Guardian Lasers and Ender Crystal Beams using packets and reflection.<br>
3434
* Inspired by the API
3535
* <a href="https://www.spigotmc.org/resources/guardianbeamapi.18329">GuardianBeamAPI</a><br>
36-
* <b>1.17 -> 1.21.6</b>
36+
* <b>1.17 -> 1.21.7</b>
3737
*
3838
* @see <a href="https://github.com/SkytAsul/GuardianBeam">GitHub repository</a>
39-
* @version 2.4.3
39+
* @version 2.4.4
4040
* @author SkytAsul
4141
*/
4242
public abstract class Laser {

src/main/resources/fr/skytasul/guardianbeam/mappings/spigot.txt

Lines changed: 62 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
# reflection-remapper | AVAILABLE VERSIONS
2-
# reflection-remapper | 1.17.0 22-62
3-
# reflection-remapper | 1.17.1 63-103
4-
# reflection-remapper | 1.18.0 104-144
5-
# reflection-remapper | 1.18.1 145-185
6-
# reflection-remapper | 1.18.2 186-226
7-
# reflection-remapper | 1.19.0 227-265
8-
# reflection-remapper | 1.19.1 266-304
9-
# reflection-remapper | 1.19.2 305-343
10-
# reflection-remapper | 1.19.3 344-382
11-
# reflection-remapper | 1.19.4 383-422
12-
# reflection-remapper | 1.20.1 423-462
13-
# reflection-remapper | 1.20.2 463-502
14-
# reflection-remapper | 1.20.4 503-542
15-
# reflection-remapper | 1.20.6 543-582
16-
# reflection-remapper | 1.21.0 583-622
17-
# reflection-remapper | 1.21.1 623-662
18-
# reflection-remapper | 1.21.3 663-703
19-
# reflection-remapper | 1.21.4 704-744
20-
# reflection-remapper | 1.21.5 745-785
21-
# reflection-remapper | 1.21.6 786-826
2+
# reflection-remapper | 1.17.0 23-63
3+
# reflection-remapper | 1.17.1 64-104
4+
# reflection-remapper | 1.18.0 105-145
5+
# reflection-remapper | 1.18.1 146-186
6+
# reflection-remapper | 1.18.2 187-227
7+
# reflection-remapper | 1.19.0 228-266
8+
# reflection-remapper | 1.19.1 267-305
9+
# reflection-remapper | 1.19.2 306-344
10+
# reflection-remapper | 1.19.3 345-383
11+
# reflection-remapper | 1.19.4 384-423
12+
# reflection-remapper | 1.20.1 424-463
13+
# reflection-remapper | 1.20.2 464-503
14+
# reflection-remapper | 1.20.4 504-543
15+
# reflection-remapper | 1.20.6 544-583
16+
# reflection-remapper | 1.21.0 584-623
17+
# reflection-remapper | 1.21.1 624-663
18+
# reflection-remapper | 1.21.3 664-704
19+
# reflection-remapper | 1.21.4 705-745
20+
# reflection-remapper | 1.21.5 746-786
21+
# reflection-remapper | 1.21.6 787-827
22+
# reflection-remapper | 1.21.7 828-868
2223
# reflection-remapper | AVAILABLE VERSIONS
2324
net.minecraft.world.entity.animal.Squid -> net.minecraft.world.entity.animal.EntitySquid:
2425
net.minecraft.world.entity.boss.enderdragon.EndCrystal -> net.minecraft.world.entity.boss.enderdragon.EntityEnderCrystal:
@@ -825,3 +826,44 @@ net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket -> net.minecr
825826
net.minecraft.core.BlockPos -> net.minecraft.core.BlockPosition:
826827
net.minecraft.network.protocol.Packet -> net.minecraft.network.protocol.Packet:
827828
net.minecraft.world.level.Level -> net.minecraft.world.level.World:
829+
net.minecraft.world.entity.animal.Squid -> net.minecraft.world.entity.animal.EntitySquid:
830+
net.minecraft.world.entity.boss.enderdragon.EndCrystal -> net.minecraft.world.entity.boss.enderdragon.EntityEnderCrystal:
831+
DATA_BEAM_TARGET -> b
832+
DATA_SHOW_BOTTOM -> c
833+
net.minecraft.world.scores.PlayerTeam -> net.minecraft.world.scores.ScoreboardTeam:
834+
setCollisionRule(net.minecraft.world.scores.Team$CollisionRule) -> a
835+
getPlayers() -> h
836+
net.minecraft.network.protocol.game.ClientboundRemoveEntitiesPacket -> net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy:
837+
net.minecraft.world.entity.EntityType -> net.minecraft.world.entity.EntityTypes:
838+
SQUID -> bt
839+
GUARDIAN -> ak
840+
net.minecraft.network.protocol.game.ClientboundSetPlayerTeamPacket -> net.minecraft.network.protocol.game.PacketPlayOutScoreboardTeam:
841+
createAddOrModifyPacket(net.minecraft.world.scores.PlayerTeam,boolean) -> a
842+
net.minecraft.network.syncher.EntityDataAccessor -> net.minecraft.network.syncher.DataWatcherObject:
843+
net.minecraft.server.network.ServerCommonPacketListenerImpl -> net.minecraft.server.network.ServerCommonPacketListenerImpl:
844+
send(net.minecraft.network.protocol.Packet) -> b
845+
net.minecraft.network.protocol.game.ClientboundAddEntityPacket -> net.minecraft.network.protocol.game.PacketPlayOutSpawnEntity:
846+
net.minecraft.world.entity.monster.Guardian -> net.minecraft.world.entity.monster.EntityGuardian:
847+
DATA_ID_MOVING -> a
848+
DATA_ID_ATTACK_TARGET -> d
849+
net.minecraft.network.protocol.game.ClientboundEntityPositionSyncPacket -> net.minecraft.network.protocol.game.ClientboundEntityPositionSyncPacket:
850+
of(net.minecraft.world.entity.Entity) -> a
851+
net.minecraft.network.syncher.SynchedEntityData -> net.minecraft.network.syncher.DataWatcher:
852+
set(net.minecraft.network.syncher.EntityDataAccessor,java.lang.Object,boolean) -> a
853+
packDirty() -> b
854+
net.minecraft.world.scores.Scoreboard -> net.minecraft.world.scores.Scoreboard:
855+
net.minecraft.server.level.ServerPlayer -> net.minecraft.server.level.EntityPlayer:
856+
connection -> g
857+
net.minecraft.world.scores.Team$CollisionRule -> net.minecraft.world.scores.ScoreboardTeamBase$EnumTeamPush:
858+
NEVER -> b
859+
net.minecraft.world.entity.Entity -> net.minecraft.world.entity.Entity:
860+
DATA_SHARED_FLAGS_ID -> az
861+
blockPosition -> aV
862+
getEntityData() -> au
863+
absSnapTo(double,double,double,float,float) -> a
864+
setUUID(java.util.UUID) -> a_
865+
setId(int) -> e
866+
net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket -> net.minecraft.network.protocol.game.PacketPlayOutEntityMetadata:
867+
net.minecraft.core.BlockPos -> net.minecraft.core.BlockPosition:
868+
net.minecraft.network.protocol.Packet -> net.minecraft.network.protocol.Packet:
869+
net.minecraft.world.level.Level -> net.minecraft.world.level.World:

src/mappingsgen/java/fr/skytasul/guardianbeam/GuardianBeamMappingsGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void start() throws MappingGenerationException, IOException {
3232
"1.18", "1.18.1", "1.18.2",
3333
"1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4",
3434
"1.20.1", "1.20.2", "1.20.4", "1.20.6",
35-
"1.21", "1.21.1", "1.21.3", "1.21.4", "1.21.5", "1.21.6")) {
35+
"1.21", "1.21.1", "1.21.3", "1.21.4", "1.21.5", "1.21.6", "1.21.7")) {
3636
try {
3737
LOGGER.info("Downloading mappings for " + version + "...");
3838
var minecraftMappings = mappingsProvider.loadMinecraftMappings(version);

0 commit comments

Comments
 (0)