GithubHelp home page GithubHelp logo

therandomlabs / randomportals Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 1.0 7.72 MB

Vertical End portals and lateral (horizontal) Nether portals with a focus on configurability.

Home Page: https://minecraft.curseforge.com/projects/vertical-end-portals

License: MIT License

Java 100.00%
modded-minecraft forge minecraft modded portals nether end

randomportals's Introduction

RandomPortals

Adds vertical End portals and lateral Nether portals.

For more information and a full list of features, go to the CurseForge project page.

randomportals's People

Contributors

imgbotapp avatar therandomlabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

shadowboxx-llc

randomportals's Issues

[Question] Trouble Creating Portals That Work From Any World

I'm having some issues creating portals. I took a look at the example portals page and have been basing mine off those. However, I keep running into issues and would greatly appreciate some help.

I have a lot of worlds. I'd like players in X world to be able to use Y portal to get to Z world. Then they can use that same portal to get back to X world.

For example, I tried creating a portal that goes to the overworld (id=0). And I'd like players to be able to create this portal in any other dimension/world to get between the two worlds. Is this possible? I tried doing this and going to the overworld works but then going back to the original world doesn't; they just to the default world stated in group_data.json

The files below are for creating a portal that goes to the overworld (id=0) and the portal should be possible to create in any other world. And in case the mod cannot find that world it goes to the world with the id=3 (AKA the "BoP Advanced World").
Folder: to_vanillaplus_main_overworld
3.json: https://pastebin.com/DqtQdcZq
group_data.json: https://pastebin.com/3sqtWbwy

Feedback would be greatly appreciated. Thank you!

Mod Conflict - Moving World

Crash with Moving World 1.12.6-342full

When I remove Random Portals (also last three versions) but leave Random Patches and Random Integration the game launches fine. With this mod added Moving World throws this error:
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Moving World (movingworld) Caused by: java.lang.NullPointerException at com.elytradev.movingworld.common.config.priority.AssemblePriorityConfig.discoverPoweredBlocks(AssemblePriorityConfig.java:168)

Not sure if this is more your issue or theirs...

Full log for ref:
2018-12-13-5.log

Looking forward to using your mod,
Aexoyir

Portal Does Not Mimic Vanilla Behavior Correctly

When entering the portal in survival it teleports you almost instantly instead of waiting and playing and animation.

It will also teleport you back rather quickly if you do not leave the portal once teleported to the nether.

Waila Error

Forge v14.23.5.2838
Random Portals v1.8.1.0
Random Patches v1.16.1.0
Waila Harvestability v1.1.12
Wawla v2.5.273
Hwyla v1.8.26-B41
I had this:
Caught unhandled exception : [class squeek.wailaharvestability.WailaHandler] java.lang.IllegalArgumentException: Cannot set property PropertyEnum{name=axis, clazz=class net.minecraft.util.EnumFacing$Axis, values=[x, z]} to y on block minecraft:portal, it is not an allowed value
See WailaErrorOutput.txt for more information
appear in the log after looking at a portal. I am using Hwyla, Wawla, and Waila Harvestability.
Full WailaErrorOutput.txt

When i open a world it crashes

---- Minecraft Crash Report ----

WARNING: coremods are present:
RandomPatches (randompatches-1.12.2-1.19.1.1.jar)
Contact their authors BEFORE contacting forge

// This doesn't make any sense!

Time: 12/22/19 9:17 PM
Description: Exception in server tick loop

java.lang.NoSuchMethodError: net.minecraftforge.fml.common.ObfuscationReflectionHelper.findField(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
at com.therandomlabs.randomportals.world.RPOTeleporter.onWorldLoad(RPOTeleporter.java:870)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_RPOTeleporter_onWorldLoad_Load.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:132)
at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 173165200 bytes (165 MB) / 570425344 bytes (544 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 6 mods loaded, 6 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

| State   | ID            | Version         | Source                            | Signature                                |
|:------- |:------------- |:--------------- |:--------------------------------- |:---------------------------------------- |
| UCHIJAA | minecraft     | 1.12.2          | minecraft.jar                     | None                                     |
| UCHIJAA | mcp           | 9.42            | minecraft.jar                     | None                                     |
| UCHIJAA | FML           | 8.0.99.99       | forge-1.12.2-14.23.5.2768.jar     | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAA | forge         | 14.23.5.2768    | forge-1.12.2-14.23.5.2768.jar     | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| UCHIJAA | randompatches | 1.12.2-1.19.1.1 | randompatches-1.12.2-1.19.1.1.jar | None                                     |
| UCHIJAA | randomportals | 1.12.2-1.8.1.1  | randomportals-1.12.2-1.8.1.1.jar  | 20d08fb3fe9c268a63a75d337fb507464c8aaccd |

Loaded coremods (and transformers): 

RandomPatches (randompatches-1.12.2-1.19.1.1.jar)
com.therandomlabs.randompatches.core.RPTransformer
GL info: ERROR RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

[Request] More portal options

Thanks for fixing the issue I had with Contenttweaker, sadly I ran into some others now:

The 2 Mods (Betweenlands, Erebus) I want to add Portals for right now have special rules where the Portal is generated, in specific Biomes to avoid Worldgen structures and to not block progression. Another thing is height to avoid generating the Portal underground in the Betweenlands or in the case of the Erebus, above the ceiling of the Dimension.

Could there be more options in the config files to set such restrictions?

Entering portal causes a crash.

`---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 2020-07-25 22:31:51 CDT
Description: Exception in server tick loop

java.lang.NullPointerException
at com.therandomlabs.randomportals.handler.NetherPortalTeleportHandler.handle(NetherPortalTeleportHandler.java:176)
at com.therandomlabs.randomportals.handler.NetherPortalTeleportHandler.onServerTick(NetherPortalTeleportHandler.java:129)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_3071_NetherPortalTeleportHandler_onServerTick_ServerTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(EventBusTransformer.java:67)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:266)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:712)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:279)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:823)`

Blocks in the portal "Frame" cloned in to portal formed in the nether.

The portal that is created in the nether clones any block in the portal "frame" shape form the portal in the overworld.

I my case, I had a chest and basalt in the corners and it created them in the resulting portal in the nether.

The portal was also shifted to the right of the platform on either side of the portal so the player easily falls off when entering.

Weird crashes

i was trying to use the mod in my pack (darkest journey 2) yesterday and was just messing around trying to make a portal between the overworld and betweenlands work, first i kept getting this crash:
https://pastebin.com/txPudBm6
apparently it was because i disabled some end portal parts, enabling them again stopped the crashes from happening, then i think i made the portal kinda load? then got this crash when trying to activate the portal:
https://pastebin.com/YWsa9AA9

also my config:
https://pastebin.com/dXWhjfCz

[Help] Some questions I don't see answered on the wiki

  1. How am I supposed to configure the JSON file structure? Do I need to create a new folder in the config/randomportals directory for each portal type, or add them to config/randomportals/custom_nether_portal?

  2. What's the difference between defaultDimensionID in the group_data.json file and "dimensionID" in the 0.json file? The wiki doesn't try to explain the second one.

  3. I set up something a portal that sort of worked. I created a new filed in config/randomportals/custom_nether_portal named 75.json and set the dimension ID to 75. It only worked in dimension 75, but I couldn't create a portal in the overworld. What did I do wrong?

[Bug] [1.12.2] Portal Generation Location is Not Ideal / Safe

I know you're not working on the 1.12.2 version of the mod anymore but I figured it was still worth reporting at least.

Currently in the 1.12.2-1.8.1.3 version of this mod the part in the file:
"destination": {
"dimensionID": 0,
"locationDetectionBehavior": "FORCE_INITIAL",
"initialLocation": {
"x": 0,
"y": 0,
"z": 0
},

^ Means the portal will always be created at the Y coordinate 0 (AKA at bedrock level and remove the lowest layer of bedrock to place the portal). This happened every time I tried creating a portal. I set it to 65 Y and it started going to 65 Y every time.

Would be nice if it teleported to on the ground (AKA with no blocks over the player & on land). Or offered an option for that because putting it at 65 works frequently but not always. If it is an extreme hills biome for example then it may teleport the player into a mountain or unsafe location. Similarly, if it is a one-way portal then it may teleport the player into the middle of an ocean and if they have no blocks... Well.... They're screwed. Lol.

Continous RightClickBlock Event triggering Nullpointer Exception

• Modpack: Mystical Skies v1.5.1
• RandomPortals Version: randomportals-1.12.2-1.7.0.1
• Spongeforge Version: spongeforge-1.12.2-2768-7.1.5-RC3515
• Log File: https://pastebin.com/DFZEg2Lh
(not sure where it starts, or where it ends)

It indicates the Issue being here on line 50:
https://github.com/TheRandomLabs/RandomPortals/blob/1.12.2/src/main/java/com/therandomlabs/randomportals/handler/NetherPortalActivationHandler.java

I feel the Event is triggering continously even when nobody is around. I'm not sure if this is a side effect, but Events requiring Right Clicks (Eating Food, Opening Books) will only work when facing Blocks.

Vertical Purple Portal Texture Broken

Lateral vanilla portal texture shows off fine, but normal vertical portals have texture issues.

I noticed that with the mod it definitely lets you select the portal block item, likely so you can edit them with dyes. But for some reason it's not referencing any texture.

Included a picture of the issue on imgur:

https://i.imgur.com/ArXlcFz.png

Custom block for Portals reset on game relaunch

I have set a custom block as the portal block in a pack I'm making. It works when set in game, but once the pack is relaunched, it clears the block field back to empty.

Using version: 1.6.5.0

[request] A portal that uses the Forge (and others) energy.

Can you make a portal that uses energy for work / activation? For example, one of the blocks of which will be a rechargeable battery (from any technological modification) and when using such a portal will consume some amount of energy from this battery (amount is configurable).

[1.12.2] Netherportal block lost name

After I removed RandomPortals all portal blocks turned into tile.null.name. Although I created a new world this is still happening. Theses blocks are destroyable by hand even in survival mode.
2019-05-27_12 25 15

Portal dying does not work with non-vanilla dyes

I'm using the default configs and version 1.8.1.1 of Random Portals.

When right clicking a nether portal block with a vanilla dye, the color of the portal changes as expected. When using a modded dye, this doesn't work.

For example, Thermal Foundation's blue pigment does not work. Adding ore dictionary support would fix this.

Crash when entering Nether

I took a random portal, placed it down and walked in. I loaded briefly into the Nether (Saw red fog) and then immediately crashed, citing this mod and random patches.

Both are the latest mods.
1.12.0.1
1.5.0.1

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 2019-01-14 15:09:00 EST
Description: Exception in server tick loop

java.lang.IllegalArgumentException: Frame cannot be smaller than 3 blocks
    at com.therandomlabs.randomportals.api.frame.Frame.<init>(Frame.java:60)
    at com.therandomlabs.randomportals.api.frame.Frame.<init>(Frame.java:47)
    at com.therandomlabs.randomportals.world.RPOTeleporter.makePortal(RPOTeleporter.java:508)
    at com.therandomlabs.randomportals.world.RPOTeleporter.placeInPortal(RPOTeleporter.java:62)
    at com.therandomlabs.randomportals.world.RPOTeleporter.placeEntity(RPOTeleporter.java:563)
    at com.therandomlabs.randompatches.common.RPTeleporter.placeEntity(RPTeleporter.java:75)
    at net.minecraft.server.management.PlayerList.transferEntityToWorld(PlayerList.java:721)
    at net.minecraft.server.management.PlayerList.transferPlayerToDimension(PlayerList.java:624)
    at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:695)
    at net.minecraft.entity.Entity.changeDimension(Entity.java:2543)
    at com.therandomlabs.randomportals.handler.NetherPortalTeleportHandler.handle(NetherPortalTeleportHandler.java:172)
    at com.therandomlabs.randomportals.handler.NetherPortalTeleportHandler.onServerTick(NetherPortalTeleportHandler.java:126)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2416_NetherPortalTeleportHandler_onServerTick_ServerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:266)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:712)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Unknown Source)

[Request] Option to disable ambient Nether Portal sound on custom portals

Currently all custom portals will make the ambient sounds of a nether portal, with as far as I can see no way to disable this currently. To take it a step further, it would be great if we could specify a sound to use as the ambient sound, just like how we can specify the sound made when opening the portal

Portal crash on activation when LiteLoader installed

Found what I believe is a bug of sorts. Using this config:
{ "frame": { "type": "LATERAL_OR_VERTICAL", "size": { "lateral": { "minWidth": 3, "maxWidth": 30, "minHeight": 3, "maxHeight": 30 }, "verticalX": { "minWidth": 3, "maxWidth": 30, "minHeight": 3, "maxHeight": 30 }, "verticalZ": { "minWidth": 3, "maxWidth": 30, "minHeight": 3, "maxHeight": 30 } }, "blocks": [ { "registryName": "minecraft:glowstone", "meta": 32767, "minimumAmount": 0 } ], "requiredCorner": "ANY_NON_AIR", "cornerBlocksContributeToMinimumAmount": true, "doGeneratedFramesDrop": true }, "activation": { "canBeActivatedByFire": false, "activators": [ { "registryName": "minecraft:soul_sand", "meta": 32767 } ], "activatorConsumeBehavior": "CONSUME", "spawnFireBeforeActivating": true, "activationSounds": [] }, "color": { "colors": [ "LIGHT_BLUE" ], "dyeBehavior": "DISABLE" }, "destination": { "dimensionID": 4, "locationDetectionBehavior": "IGNORE_INITIAL", "initialLocation": { "x": 0, "y": 0, "z": 0 }, "coordinateMultiplier": 1.0, "teleportToPortal": true, "oneWay": false, "generatePortalIfNotFound": true, "portalGenerationBehavior": "CLONE", "generatedFrameType": "SAME", "generatedFrameSize": { "lateral": { "minWidth": 0, "maxWidth": 3, "minHeight": 0, "maxHeight": 3 }, "verticalX": { "minWidth": 0, "maxWidth": 3, "minHeight": 0, "maxHeight": 3 }, "verticalZ": { "minWidth": 0, "maxWidth": 3, "minHeight": 0, "maxHeight": 3 } } }, "teleportationDelay": { "lateral": 20, "verticalX": 20, "verticalZ": 20 }, "decorative": false }

When I place the soul sand down on the 4x3 portal frame I built, it crashes my client with this message:

java.lang.ClassCastException: net.minecraft.block.BlockPortal cannot be cast to com.therandomlabs.randomportals.block.BlockNetherPortal at com.therandomlabs.randomportals.api.netherportal.NetherPortalActivator.lambda$activate$0(NetherPortalActivator.java:143) at com.therandomlabs.randomportals.api.netherportal.NetherPortalActivator.onActivate(NetherPortalActivator.java:236) at com.therandomlabs.randomportals.api.netherportal.NetherPortalActivator.activate(NetherPortalActivator.java:225) at com.therandomlabs.randomportals.api.netherportal.NetherPortalActivator.activate(NetherPortalActivator.java:132) at com.therandomlabs.randomportals.handler.NetherPortalActivationHandler.onRightClickBlock(NetherPortalActivationHandler.java:68) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1129_NetherPortalActivationHandler_onRightClickBlock_RightClickBlock.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.common.ForgeHooks.onRightClickBlock(ForgeHooks.java:1137) at net.minecraft.client.multiplayer.PlayerControllerMP.func_187099_a(PlayerControllerMP.java:398) at net.optifine.override.PlayerControllerOF.func_187099_a(PlayerControllerOF.java:96) at net.minecraft.client.Minecraft.func_147121_ag(Minecraft.java:1579) at net.minecraft.client.Minecraft.redirect$onRightClickMouse$zzn000(Minecraft.java:3505) at net.minecraft.client.Minecraft.func_184117_aA(Minecraft.java:2254) at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:2020) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1808) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) at net.minecraft.client.main.Main.main(SourceFile:123) 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) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 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) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)

This is a multiplayer survival server running Forge 1.12.2-14.23.5.2838 and using the 1.12.2-1.8.1.0 version of the mod.

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.