Code Monkey home page Code Monkey logo

restrictedportals's Introduction

Hi there πŸ‘‹

< This is me, I usually go by John, VK6TCP or Hidden online.

  • πŸ”­ I’m currently working on BluePower and other mods in my spare time
  • πŸ’¬ Ask me anything about Powershell
  • πŸ‘” As a Senior ICT Field Support / System Admin I work with Windows and Linux Servers on a daily basis.
  • πŸ“» New to Amateur Radio just got my license, been into SDR / HF Listener for a few years.
  • πŸ•ΈοΈ Working on a new website not much there yet https://John.Hannan.au/

Socials

 Twitter Account  Linkedin Account  QRZ  YouTube Account  Twitch Account

restrictedportals's People

Contributors

morethanhidden avatar xuyuere avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

restrictedportals's Issues

Problem when setting a block as required "item"

Version: RestrictedPortals-1.9.4-0.5.jar
ClientLog: http://pastebin.com/gXrM1AMR
Config:

general {
    S:"Crafted Items"=tconstruct:toolforge,extrautils2:AngelRing
    S:"Dimension IDs"=-1,1
    S:"Dimension Names"=Nether,End
}

I think it may be because on of the options I selected is a block and not and item. Either way it breaks the achievement screen completely and the achievement (only the tool forge one).

Server Crashes after 0.5.2 update:

Mod: RestrictedPortals-1.9.4-0.5.2
Forge: forge-1.9.4-12.17.0.1976-universal
Crash Report

After updating this the current version of the mod, the MC client loads fine. The server crashes with java.lang.NoClassDefFoundError. Is there a chance that part up the update is using a client-side only in the common proxy?

Crash after revoking Advancements [1.18]

crash-2022-03-15_17.39.05-server.txt

so i revoked a advancement for one of my dimesnions for testing and after getting the required item again no advancement triggers and dont appear to load. Above is a crash that happens when trying to enter a portal after the advacment was revoked. Also the config file all worked correctly before i revoked the advancement

Request: One use items

It would be awesome if it was possible to make the items one use only and remove them afterwards from the inventory. I might implement this later on myself. I don't think this would be too complicated tbh.

Add the Portal unlocks to Advancements.

Had to remove Achievements when moving to 1.12 would like these to be advancements.
(Not sure that dynamic advancements are an option but will look into)

1.19.2 Crash when trying to remove an achievement

image
https://www.curseforge.com/minecraft/modpacks/play-as-dragon-gothic-edition - modpack

crash-2023-11-07_00.15.38-server.txt - crash
crash-2023-11-06_23.54.40-server.txt - crash
2023-11-07-1.log - log

Other mods don't have a problem with disabling achievements, but yours is the one that for some reason causes a crash when trying to get into Nether.

Config

[options]
	#Prevents Death by Teleporting Player to Spawn if trying to enter an Ender Portal
	preventdeath = true
	#Message that displays when Teleport is blocked
	blockedmessage = "Please obtain a %item% to enter the %dim%"
	#Title for the Advancements
	craftedmessage = "%dim% Unlocked!"
	#Description for the Advancements
	description = "Obtain a %item%"
	#Comma seperated list of items that when crafted unlock the corresponding dimension
	craftitems = "minecraft:recovery_compass"
	#Comma seperated list of Dimension Resource Names
	dimresname = "minecraft:the_nether"
	#Comma seperated list of Dimension Display Names
	dimnames = "Nether"

Datapack
image

1.16.3 Reload Datapack Issues

Your mod seems to be causing Custom Datapacks to load first and not last. Example we have a custom mod that ships with a custom Datapack with recipes and when we load a modpack with this mod and ours it Loads them both first before any other mods and cause our mod not to work or load right

[Suggestion] Can you add the following

I was wondering could you add support for other crafting benches to allow crafted items to be made in them so that people don't have to use just Vanilla Crafting bench cause as it sits now they can only unlock a Dim if the item is crafted in a Vanilla crafting bench.

TInker's Crafting Station
Extended Crafting

Thanks for taking a look into it

[1.13] Client crash due to missing config

Client crashes when trying to join a server:
Forge version: 25.0.10
Probably fixed in forge 25.0.13

java.lang.NullPointerException: Cannot get config value without assigned Config object present at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787) at net.minecraftforge.common.ForgeConfigSpec$ConfigValue.get(ForgeConfigSpec.java:595) at net.minecraft.world.World.tickEntities(World.java:1087) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1198) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:772) at net.minecraft.client.Minecraft.run(Minecraft.java:358) at net.minecraft.client.main.Main.main(SourceFile:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498)

Enable Server-Side Only 1.12.2

Regarding Restricted Portals mod for Minecraft 1.12.2

Hello again. I am in great need of being able to use your mod as a server-side only mod for a new Server I am creating for the Cubic Chunks community.

The Cubic Chunks mod now has an option allowing mc1.12.2 Forge CC servers to be connected to by mc 1.12.2 Vanilla non-forge clients. And in addition to this there is a Proxy tool chain that can further allow both Bedrock clients and Vanilla 1.7.10 thru Vanilla 1.16.2+ Java clients to also connect to and play on a 1.12.2 Java Forge CC server.

The only condition is that any mods on the server side must actually act as server-side only mods and not require themselves to also be installed client-side.

Barteks2x, CC dev, tells me that he thinks your mod might be able to act as a server-side only mod if it is just set as one. He gave me the following information regarding this:

"
The restricted portals mod should easily work as a server-side only mod if it was marked as such
just one line change here:
https://github.com/MoreThanHidden/RestrictedPortals/blob/1.12.x/src/main/java/morethanhidden/restrictedportals/RestrictedPortals.java#L23

just adding

acceptableRemoteVersions = "*"

in there.
"

NPE on cross dimensional teleport

Teleported from an rftools dimension to nether.

Version 1.12-0.6.1
Forge: 2484

[00:40:22] [Server thread/WARN]: Failed to handle packet for /73.222.0.7:57633
net.minecraft.util.ReportedException: Ticking player
        at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:459) ~[oq.class:?]
        at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:173) ~[pa.class:?]
        at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) ~[NetworkDispatcher$1.class:?]
        at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285) ~[gw.class:?]
        at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:179) [oz.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:788) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: java.lang.NullPointerException
        at net.minecraft.world.Teleporter.func_180620_b(SourceFile:128) ~[anc.class:?]
        at net.minecraft.world.Teleporter.func_180266_a(SourceFile:65) ~[anc.class:?]
        at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:707) ~[pl.class:?]
        at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:617) ~[pl.class:?]
        at net.minecraft.server.management.PlayerList.func_187242_a(PlayerList.java:604) ~[pl.class:?]
        at net.minecraft.entity.player.EntityPlayerMP.func_184204_a(EntityPlayerMP.java:695) ~[oq.class:?]
        at morethanhidden.restrictedportals.handlers.TickHandler.onPlayerTickEvent(TickHandler.java:49) ~[TickHandler.class:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1306_TickHandler_onPlayerTickEvent_PlayerTickEvent.invoke(.dynamic) ~[?:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) ~[EventBus.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:368) ~[FMLCommonHandler.class:?]
        at net.minecraft.entity.player.EntityPlayer.func_184808_cD(EntityPlayer.java:376) ~[aed.class:?]
        at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:286) ~[aed.class:?]
        at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:382) ~[oq.class:?]

config doesn't read meta data for items?

Hello I am trying to utilize your mod and it works well to an extent because what I noticed is the config doesn't seem to want to read meta data for items and nearly all modded items have meta data variants anymore so I have tried a handful of things and they only the format that should work (for instance Botania:rune:1 should show a fire rune in the achievements window but it still shows the water rune that is the base Botania rune item. here is my config:

Configuration file

general {
S:"Crafted Items"=botania:rune:1,enderio:darkSteel_sword
S:"Dimension IDs"=-1,1
S:"Dimension Names"=Nether,End
}

any help would be appreciated :)

RestrictedPortals-1.9.4-0.5.4

note: actually after I updated to the latest build(1.9.4-0.5.4 from 1.9.4-0.5) it screwed up the achievements screen like in a previously closed issue. (yes I use better achievements)

Item duplication behavior 1.12.2

Hello mod maker, I have found that in combination with certain mods your mod causes item duplication in the players survival inventory crafting menu when shift crafting.

vid.mp4

Mod Folder

2021-01-09_17-16-43.mp4

I am still working on deducing what other mod installed is causing this. But the duplication behaviors goes away when I disable your mod. I will let you know if I find out what other mod installed is causing this behavior. I am in 1.12.2 forge 14.23.5.2847. I hope you decide to look into this as well, as I am fascinated by what could be causing it. Attached I have sent a video of the behavior described.

Broken Shears?

im not sure why this happens but with restriced portals other modded shears do not work

any ideas

InvalidInjectionException on Fabric Server [1.19.3]

Tested on a clean server instance of Fabric 1.19.3 with just RestrictedPortals 1.4.3 and latest Fabric API

[13:25:41] [main/INFO]: Building unoptimized datafixer
[13:25:41] [main/ERROR]: Mixin apply for mod restrictedportals failed restrictedportals.mixins.json:ServerPlayerMixin from mod restrictedportals -> net.minecraft.class_3222: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on injected could not find any targets matching 'changeDimension(Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity;' in net.minecraft.class_3222. No refMap loaded. [PREINJECT Applicator Phase -> restrictedportals.mixins.json:ServerPlayerMixin from mod restrictedportals -> Prepare Injections ->  -> handler$zgc000$injected(Lnet/minecraft/class_3218;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Parse]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on injected could not find any targets matching 'changeDimension(Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity;' in net.minecraft.class_3222. No refMap loaded. [PREINJECT Applicator Phase -> restrictedportals.mixins.json:ServerPlayerMixin from mod restrictedportals -> Prepare Injections ->  -> handler$zgc000$injected(Lnet/minecraft/class_3218;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Parse]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:316) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:308) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.<init>(CallbackInjectionInfo.java:46) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at jdk.internal.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1330) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1043) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.13.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraft.class_4149.<clinit>(class_4149.java:18) ~[server-intermediary.jar:?]
	at net.minecraft.class_7110.<clinit>(class_7110.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.class_1299.<clinit>(class_1299.java:266) ~[server-intermediary.jar:?]
	at net.minecraft.class_1802.<clinit>(class_1802.java:764) ~[server-intermediary.jar:?]
	at net.minecraft.class_6089.method_9530(class_6089.java:56) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26172(class_4970.java:887) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26218(class_4970.java:883) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970.method_9549(class_4970.java:354) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971$class_3752.<init>(class_4970.java:1155) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26200(class_4970.java:740) ~[server-intermediary.jar:?]
	at net.minecraft.class_2246.<clinit>(class_2246.java:1132) ~[server-intermediary.jar:?]
	at net.minecraft.class_2358.method_10199(class_2358.java:325) ~[server-intermediary.jar:?]
	at net.minecraft.class_2966.method_12851(class_2966.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.server.Main.main(Main.java:99) ~[server-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~[server.jar:0.11.1]
[13:25:41] [main/ERROR]: Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.BootstrapMethodError: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_3222 failed
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:463) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) ~[server.jar:0.11.1]
Caused by: java.lang.BootstrapMethodError: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_3222 failed
	at net.minecraft.class_4149.<clinit>(class_4149.java:18) ~[server-intermediary.jar:?]
	at net.minecraft.class_7110.<clinit>(class_7110.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.class_1299.<clinit>(class_1299.java:266) ~[server-intermediary.jar:?]
	at net.minecraft.class_1802.<clinit>(class_1802.java:764) ~[server-intermediary.jar:?]
	at net.minecraft.class_6089.method_9530(class_6089.java:56) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26172(class_4970.java:887) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26218(class_4970.java:883) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970.method_9549(class_4970.java:354) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971$class_3752.<init>(class_4970.java:1155) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26200(class_4970.java:740) ~[server-intermediary.jar:?]
	at net.minecraft.class_2246.<clinit>(class_2246.java:1132) ~[server-intermediary.jar:?]
	at net.minecraft.class_2358.method_10199(class_2358.java:325) ~[server-intermediary.jar:?]
	at net.minecraft.class_2966.method_12851(class_2966.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.server.Main.main(Main.java:99) ~[server-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.13.jar:?]
	... 4 more
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_3222 failed
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:427) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.13.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraft.class_4149.<clinit>(class_4149.java:18) ~[server-intermediary.jar:?]
	at net.minecraft.class_7110.<clinit>(class_7110.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.class_1299.<clinit>(class_1299.java:266) ~[server-intermediary.jar:?]
	at net.minecraft.class_1802.<clinit>(class_1802.java:764) ~[server-intermediary.jar:?]
	at net.minecraft.class_6089.method_9530(class_6089.java:56) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26172(class_4970.java:887) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26218(class_4970.java:883) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970.method_9549(class_4970.java:354) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971$class_3752.<init>(class_4970.java:1155) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26200(class_4970.java:740) ~[server-intermediary.jar:?]
	at net.minecraft.class_2246.<clinit>(class_2246.java:1132) ~[server-intermediary.jar:?]
	at net.minecraft.class_2358.method_10199(class_2358.java:325) ~[server-intermediary.jar:?]
	at net.minecraft.class_2966.method_12851(class_2966.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.server.Main.main(Main.java:99) ~[server-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.13.jar:?]
	... 4 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.13.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraft.class_4149.<clinit>(class_4149.java:18) ~[server-intermediary.jar:?]
	at net.minecraft.class_7110.<clinit>(class_7110.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.class_1299.<clinit>(class_1299.java:266) ~[server-intermediary.jar:?]
	at net.minecraft.class_1802.<clinit>(class_1802.java:764) ~[server-intermediary.jar:?]
	at net.minecraft.class_6089.method_9530(class_6089.java:56) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26172(class_4970.java:887) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26218(class_4970.java:883) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970.method_9549(class_4970.java:354) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971$class_3752.<init>(class_4970.java:1155) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26200(class_4970.java:740) ~[server-intermediary.jar:?]
	at net.minecraft.class_2246.<clinit>(class_2246.java:1132) ~[server-intermediary.jar:?]
	at net.minecraft.class_2358.method_10199(class_2358.java:325) ~[server-intermediary.jar:?]
	at net.minecraft.class_2966.method_12851(class_2966.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.server.Main.main(Main.java:99) ~[server-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.13.jar:?]
	... 4 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [restrictedportals.mixins.json:ServerPlayerMixin from mod restrictedportals] from phase [DEFAULT] in config [restrictedportals.mixins.json] FAILED during APPLY
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.13.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraft.class_4149.<clinit>(class_4149.java:18) ~[server-intermediary.jar:?]
	at net.minecraft.class_7110.<clinit>(class_7110.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.class_1299.<clinit>(class_1299.java:266) ~[server-intermediary.jar:?]
	at net.minecraft.class_1802.<clinit>(class_1802.java:764) ~[server-intermediary.jar:?]
	at net.minecraft.class_6089.method_9530(class_6089.java:56) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26172(class_4970.java:887) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26218(class_4970.java:883) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970.method_9549(class_4970.java:354) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971$class_3752.<init>(class_4970.java:1155) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26200(class_4970.java:740) ~[server-intermediary.jar:?]
	at net.minecraft.class_2246.<clinit>(class_2246.java:1132) ~[server-intermediary.jar:?]
	at net.minecraft.class_2358.method_10199(class_2358.java:325) ~[server-intermediary.jar:?]
	at net.minecraft.class_2966.method_12851(class_2966.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.server.Main.main(Main.java:99) ~[server-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.13.jar:?]
	... 4 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on injected could not find any targets matching 'changeDimension(Lnet/minecraft/server/level/ServerLevel;)Lnet/minecraft/world/entity/Entity;' in net.minecraft.class_3222. No refMap loaded. [PREINJECT Applicator Phase -> restrictedportals.mixins.json:ServerPlayerMixin from mod restrictedportals -> Prepare Injections ->  -> handler$zgc000$injected(Lnet/minecraft/class_3218;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V -> Parse]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:316) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:308) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.<init>(CallbackInjectionInfo.java:46) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at jdk.internal.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1330) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1043) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.13.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.13.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraft.class_4149.<clinit>(class_4149.java:18) ~[server-intermediary.jar:?]
	at net.minecraft.class_7110.<clinit>(class_7110.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.class_1299.<clinit>(class_1299.java:266) ~[server-intermediary.jar:?]
	at net.minecraft.class_1802.<clinit>(class_1802.java:764) ~[server-intermediary.jar:?]
	at net.minecraft.class_6089.method_9530(class_6089.java:56) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26172(class_4970.java:887) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26218(class_4970.java:883) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970.method_9549(class_4970.java:354) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971$class_3752.<init>(class_4970.java:1155) ~[server-intermediary.jar:?]
	at net.minecraft.class_4970$class_4971.method_26200(class_4970.java:740) ~[server-intermediary.jar:?]
	at net.minecraft.class_2246.<clinit>(class_2246.java:1132) ~[server-intermediary.jar:?]
	at net.minecraft.class_2358.method_10199(class_2358.java:325) ~[server-intermediary.jar:?]
	at net.minecraft.class_2966.method_12851(class_2966.java:46) ~[server-intermediary.jar:?]
	at net.minecraft.server.Main.main(Main.java:99) ~[server-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) ~[fabric-loader-0.14.13.jar:?]
	... 4 more```

[1.16.1] Dedicated server crashes during loading with Restricted Portals enabled

Forge: 32.0.108
restrictedportals-1.16.1-1.1.2.jar

Disabling Restricted Portals allowed the server to complete loading, and created a new world as normal (although I received a warning saying the world was created with Restricted Portals enabled, so things might not work as expected). I then tried re-enabling RP and restarting the server, but it crashed during loading once again. Logs linked. Thanks!

crash log: https://hatebin.com/zritovlkyu

preceding lines in latest.log: https://hatebin.com/yvtawahouz

chat message

It would be nice for pack makers if we could change the chat message for when someone tryes to use the portal b4 crafting the item needed.

[1.7.10] Add/update the config options

Please add/update the config options for the 1.7.10 version to the current config options (crafting a list of items instead of keys to access the portals)

Can still go through portal when in nether

Minecraft 1.12.2
Forge 2847
RestrictedPortals 1.12-0.6.3

Perfect Spawn 1.12.2-2.1
SleepingOverhaul 1.12.2-1.0.0

Hello, your mod is almost perfect for what I need for my specialty world and modpack.

The only problem I've found is that even when the cfg is set so that I can't use portals, haven't made a certain recipe, I can still enter and use a portal from within the nether to the overworld.

For my setup this will be a problem as I'm completely shutting down all portal travel and making them get to the Nether and End via other methods. But once they are in the Nether they will be able to break the theme by getting back to the overworld via portals which destroys the entire structure of the world.

Fortunately the End seems to be ok. Your mod successfully stops the central portal from working there.

I have tested this setup with both Cubic Chunks and without it but have the exact same results. My need is to use it with Cubic Chunks so I will be needing to use mc 1.12.2 for a while. I know you are working on versions for newer mc versions but please consider releasing a fixed version of 1.12.2, it will be used to very good effect.

  • btw: I'm using Perfect Spawn to enable being able to set respawn in other dims. The only reason I'm currently using SleepingOverhaul too is because even though the Perfect Spawn spawn relocation works the beds are still exploding in the Nether even though they aren't supposed to, and Sleeping overhaul does successfully stop the explosions but it won't change spawn location (by design). Together they make both needs work, lol.

Restrict Portals Until Advancement?

Is there any possibility to have the option to restrict the player from entering dimension(s) X until unlocking advancement(s) Y?

It would be nice to choose if a player needs an item and/or an advancement in order to enter a given dimension. Thank you.

No portal creation but allowed to use portals feature

im trying to make a modpack where the only access to the nether is one giant portal in the middle of the map, the problem is that this mod doesnt prevent the creation of the portal it just prevents its use... would it be possible to add a config so people are not allowed to create the portal but they can use it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.