Giter VIP home page Giter VIP logo

ethergems's People

Contributors

machinamelia avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ethergems's Issues

Picking up Ether Crystals causes Server to Tick too long

Describe the bug
The server crashes due to a server tick issue. It gives the following error: "A single server tick took 60.00 seconds (should be max 0.05)"

To Reproduce
Steps to reproduce the behavior:
0. Setup server with Ether Gems Mod

  1. Mine an Electric Crystal Vein (non-pure type)
  2. Try collecting a few of the crystals that drop
  3. For a little bit you'll see a crystal on the ground but you cannot pick it up
  4. The server will crash with error: "A single server tick took 60.00 seconds (should be max 0.05)"

Expected behavior
I expected mining Electric Crystals to drop crystals that I could always pick up and that the server wouldn't crash :(

Logs
https://mclo.gs/4Bj00ib

Desktop

  • OS: Pop!_OS 20.04 (Ubuntu 20.04 based) x86_64
  • Java Version: AdoptOpenJDK Hotspot 1.8.0_275 x86_64
  • Minecraft Version: 1.15.2
  • Forge Version: 1.15.2-31.2.47
  • Mod Version: 1.15.2-1.0.0.0-rc2

Server

  • OS: Alpine Linux 3.12.0 x86_64
  • Java Version: OpenJDK IcedTea 1.8.0_252 x86_64
  • Minecraft Version: 1.15.2
  • Forge Version: 1.15.2-31.2.47
  • Mod Version: 1.15.2-1.0.0.0-rc2

Additional context
We are running a server with lots of mods so maybe that is causing the problem? I also got a crash log with the following stacktrace:

Stacktrace:
        at java.util.Random.next(Random.java:204)
        at java.util.Random.nextInt(Random.java:390)
        at machinamelia.ethergems.common.capabilities.crystals.elemental.ElectricCrystalInstance.getAttributeValues(ElectricCrystalInstance.java:57)
        at machinamelia.ethergems.common.capabilities.crystals.CrystalInstance.init(CrystalInstance.java:77)
        at machinamelia.ethergems.common.events.PlayerUpdateEvents.playerUpdateEvent(PlayerUpdateEvents.java:88)
        at net.minecraftforge.eventbus.ASMEventHandler_277_PlayerUpdateEvents_playerUpdateEvent_PlayerEvent.invoke(.dynamic)
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
        at net.minecraftforge.fml.hooks.BasicEventHooks.firePlayerItemPickupEvent(BasicEventHooks.java:58)
        at net.minecraft.entity.item.ItemEntity.func_70100_b_(ItemEntity.java:307)
        at net.minecraft.entity.player.PlayerEntity.func_71044_o(PlayerEntity.java:566)
        at net.minecraft.entity.player.PlayerEntity.func_70636_d(PlayerEntity.java:540)
        at net.minecraft.entity.LivingEntity.func_70071_h_(LivingEntity.java:2104)
        at net.minecraft.entity.player.PlayerEntity.func_70071_h_(PlayerEntity.java:233)
        at net.minecraft.entity.player.ServerPlayerEntity.func_71127_g(ServerPlayerEntity.java:361)
        at net.minecraft.network.play.ServerPlayNetHandler.func_73660_a(ServerPlayNetHandler.java:183)
        at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:228)
        at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:135)
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:866)
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:784)

Cylinder wrong attribute

Describe the bug
Obtained level 5 cylinder with incorrect attribute while crafting

To Reproduce
Steps to reproduce the behavior:

  1. Obtain a level 1 crystals with HP Up and Auto-Heal Up attributes
  2. Place down an Ether Furnace and start crafting
  3. Begin crafting with both attributes under 100
  4. Choose combo master and Strong flame 80%
  5. HP got to ~108, Auto-Heal Up got to 99
  6. Select Auto-Heal Up for Cylinderization
  7. Got HP Up Gem
  8. Open Crystal Inventory
  9. Find HP Up 99 lvl 5 cylinder and no Auto-Heal Up cylinder

Expected behavior
I expected to find an Auto-Heal Up lvl 1 cylinder and no HP Up lvl 5 cylinder

Desktop (please complete the following information):
This is found under System Details at the bottom of the debug.log file

  • Minecraft Version: 1.15.2
  • OS: Windows 10
  • Java Version: 1.8.0_51
  • Forge Version 31.2.57
  • Mod Version 1.15.2-2.0.0.0-pre10

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.