Coder Social home page Coder Social logo

lochnessdragon / originsplus Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 8.0 923 KB

Adds new origins to Origins. This mod is used by someone's private SMP.

Home Page: https://lochnessdragon.github.io/OriginsPlus/

License: The Unlicense

Java 100.00%
minecraft minecraft-mod fabricmc fabricmc-mod origins-fabric fabric mod

originsplus's Introduction

Origins Logo

Origins+ Mod

Build Badge Version GitHub Super-Linter

❓ About

Origins + is a mod focused on adding new options to the Origins mod. Currently, it adds the Dwarf, Monke, Snowman, Wyvern and Zombie origin. You can learn more about these options in game, or on the wiki.

✍️ Contributing

If you want to contribute, we'd love your help with all of the following.

  • Play testing/reporting issues
  • Development
  • Translations
  • Anything else you might think needs an update.

⚙️ Setup (for developers)

For setup instructions please see the fabric wiki page that relates to the IDE that you are using.

📝 License

This mod is available under the Unlicense. Feel free to learn from it and incorporate it in your own projects.

originsplus's People

Contributors

curryantyt avatar lochnessdragon avatar valoeghese avatar williambl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

originsplus's Issues

modify_behaviour request

I'm not sure if it's a bug or meant to be like this but the modify_behaviour doesn't seem to work on anythin other than villagers, iron/snow golems. If possible could we get the ability to use modify behaviour on all mobs that are neutral/hostile naturally for datapack/mod development.

shaders on optifine/optifabric conflict with origins-plus

when using this mod you are unable to use shaders in optifine/optifabric. optifabric says that I have satin API downloaded whenever I add origins-plus and wont allow shaders, I have no clue how or why this would happen and since the game does not crash I have no crash report to show how this could be happening. I myself do not code or understand it what so ever so please do excuse how little information I can give.

mod conflict names and versions
+origins plus 0.0.2
+optifine G6
+optifabric 1.9.6
+any related dependencies for functionality

Dwarf Origin Crashes my Game

Whenever I do anything that selects the dwarf origin as my origin, my game closes out and I am left at a crash report screen on my minecraft launcher.

To Reproduce
Steps to reproduce the behavior:
In-game /origin set [username] [rest of the stuff needed for dwarf origin, can't remember lol.]

Expected behavior
I expected the dwarf origin to load after I fixed the dwarf origin file itself (dwarf origin didn't even show up before I fixed it.)

Screenshots
Screenshot (93)

Desktop (please complete the following information):

  • Chrome

Selecting Dwarf Origin Causes Crash

Ok so essentially, even after adding all the prerequisites for the Origins Plus mod, the Dwarven origin causes a crash when selected.
I cannot seem to find the specific line of code or the path to said line of code after said crash. Here is what the crash message says:
image

Here are the relevant parts of the crash report:
Description: Loading entity NBT

java.lang.NoSuchFieldError: WIDTH
at com.github.originsplus.power.ModifyScalePower.(ModifyScalePower.java:13)
at com.github.originsplus.registry.ModPowers.lambda$null$2(ModPowers.java:45)
at com.github.originsplus.registry.ModPowers$$Lambda$8577/1042160448.apply(Unknown Source)
at io.github.apace100.origins.power.factory.PowerFactory$Instance.apply(PowerFactory.java:57)
at io.github.apace100.origins.power.PowerType.create(PowerType.java:44)
at io.github.apace100.origins.component.PlayerOriginComponent.lambda$fromTag$5(PlayerOriginComponent.java:239)
at io.github.apace100.origins.component.PlayerOriginComponent$$Lambda$8571/1742876932.accept(Unknown Source)
at java.lang.Iterable.forEach(Iterable.java:75)
at io.github.apace100.origins.component.PlayerOriginComponent.fromTag(PlayerOriginComponent.java:237)
at io.github.apace100.origins.component.PlayerOriginComponent.readFromNbt(PlayerOriginComponent.java:154)
at dev.onyxstudios.cca.api.v3.component.ComponentV3.fromTag(ComponentV3.java:74)
at nerdhub.cardinal.components.api.util.container.AbstractComponentContainer.fromTag(AbstractComponentContainer.java:180)
at net.minecraft.class_1297.handler$zkm000$fromTag(class_1297.java:3695)
at net.minecraft.class_1297.method_5651(class_1297.java:1654)
at net.minecraft.class_3324.method_14600(class_3324.java:341)
at net.minecraft.class_3324.method_14570(class_3324.java:138)
at net.minecraft.class_3248.method_14384(class_3248.java:113)
at net.minecraft.class_3248.redirect$bfd000$handlePlayerJoin(class_3248.java:562)
at net.minecraft.class_3248.method_18785(class_3248.java:65)
at net.minecraft.class_2535.method_10754(class_2535.java:228)
at net.minecraft.class_3242.method_14357(class_3242.java:173)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.class_1132.method_3748(class_1132.java:91)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at net.minecraft.server.MinecraftServer$$Lambda$7684/1385461612.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

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

-- Head --
Thread: Server thread
Stacktrace:
at com.github.originsplus.power.ModifyScalePower.(ModifyScalePower.java:13)
at com.github.originsplus.registry.ModPowers.lambda$null$2(ModPowers.java:45)
at com.github.originsplus.registry.ModPowers$$Lambda$8577/1042160448.apply(Unknown Source)
at io.github.apace100.origins.power.factory.PowerFactory$Instance.apply(PowerFactory.java:57)
at io.github.apace100.origins.power.PowerType.create(PowerType.java:44)
at io.github.apace100.origins.component.PlayerOriginComponent.lambda$fromTag$5(PlayerOriginComponent.java:239)
at io.github.apace100.origins.component.PlayerOriginComponent$$Lambda$8571/1742876932.accept(Unknown Source)
at java.lang.Iterable.forEach(Iterable.java:75)
at io.github.apace100.origins.component.PlayerOriginComponent.fromTag(PlayerOriginComponent.java:237)
at io.github.apace100.origins.component.PlayerOriginComponent.readFromNbt(PlayerOriginComponent.java:154)
at dev.onyxstudios.cca.api.v3.component.ComponentV3.fromTag(ComponentV3.java:74)
at nerdhub.cardinal.components.api.util.container.AbstractComponentContainer.fromTag(AbstractComponentContainer.java:180)
at net.minecraft.class_1297.handler$zkm000$fromTag(class_1297.java:3695)

-- Entity being loaded --
Details:
Entity Type: minecraft:player (net.minecraft.class_3222)
Entity ID: 167
Entity Name: Hyper_D_Asriel
Entity's Exact location: -120.50, 72.00, 182.50
Entity's Block location: World: (-121,72,182), Chunk: (at 7,4,6 in -8,11; contains blocks -128,0,176 to -113,255,191), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ERROR NullPointerException: null
Stacktrace:
at net.minecraft.class_1297.method_5651(class_1297.java:1654)
at net.minecraft.class_3324.method_14600(class_3324.java:341)
at net.minecraft.class_3324.method_14570(class_3324.java:138)
at net.minecraft.class_3248.method_14384(class_3248.java:113)
at net.minecraft.class_3248.redirect$bfd000$handlePlayerJoin(class_3248.java:562)
at net.minecraft.class_3248.method_18785(class_3248.java:65)
at net.minecraft.class_2535.method_10754(class_2535.java:228)
at net.minecraft.class_3242.method_14357(class_3242.java:173)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:882)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:811)
at net.minecraft.class_1132.method_3748(class_1132.java:91)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:670)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257)
at net.minecraft.server.MinecraftServer$$Lambda$7684/1385461612.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)

Originsplus:modify_behaviour ignores conditions.

I was creating an add-on using this mod but it seems that modify_behaviour ignores conditions. Could this be fixed?

This is the code I tried to use. It's a valid JSON and works with other power types.
{
"name": "Hidden",
"description": "When sneaking you are undetectable for hostile mobs until you attack them.",
"conditions": [{
"type": "origins:sneaking",
"inverted": false
},
{
"type": "origins:daytime",
"inverted": true
}
],
"type": "originsplus:modify_behavior",
"behavior": "neutral",
"entities": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:creeper",
"minecraft:spider",
"minecraft:cave_spider",
"minecraft:skeleton",
"minecraft:blaze",
"minecraft:husk",
"minecraft:stray",
"minecraft:wither_skeleton"
]
}

I was creating an add-on using this mod but it seems that modify behaviour ignores conditions. Could this be fixed?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Dwarf Haste is broken, and here's how to fix it

Describe the bug
Crash upon using haste on some blocks. Why? You're comparing a block against an item tag. Therefore minecraft crashes upon trying to load the tag as a block tag.

To Reproduce
Try break something like deepslate cobblestone

Expected behavior
It not to crash lol

Additional context
You can probably fix this by not using minecraft:stone_tool_materials in your apply_haste block condition

Edit: A fix for this issue is in PR #10 (the 1.17 update pr by will bl), so if you merge that you can close this issue too :)

Dwarf origin not appearing

basically title. it's not present in the selection I'll test trying to switch to it with commands.

Pehkui V2.0.0+21w14a
Fabric api 0.30.01.16
Origins 1.16.5-0.7.0

Unable to choose the dwarf origin

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Dwarven Origin not working

Whenever I attempt to choose the dwarf origin, my server crashes and I need to delete all my player data. The dwarven origin randomly stopped working.

Modded Helmet support for Zombified Origin

I am playing this mod with a few other mods, and only vanilla helmets stop the Zombified Origin from burning in the daylight

I would appreciate any way for any modded helmet to be able to be used

Thank You!

The Dwarf origin doesn't appear

Describe the bug
The dwarf origin doesn't show up neither in the "choose" menu nor in the commands.

Desktop

  • OS: Windows

Additional context
The only other mods I have installed are the reacquired ones (origins, pehkui, fabric API). No error shows up, every other origin works, the dwarf is just not available.

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.