Coder Social home page Coder Social logo

gregtech-modern's Introduction

GregTechCEu

Discord

GregTech based on Architectury for performing on Forge, Fabric, and Quilt, simultaneously.

Download

Github Releases. Curseforge Modrinth

Documentation / Wiki

Wiki

Dev Q&A

  • Todo List for potential contributors who are interested in this project
  • Dev Q&A illustrates common questions and answers related to development.

Credited Works

See something we forgot to credit? Reach out to us on Discord, or open an issue and ask for appropriate credit, we will happily mark it here

gregtech-modern's People

Contributors

arborsm avatar blackdragon2447 avatar cpearl0 avatar ctrlaltmilk avatar drackion avatar embeddedt avatar exzept1on avatar ghostipedia avatar h3tr avatar htmlcsjs avatar iamsmally avatar iouter avatar lonevox avatar lukaslcf avatar marisathewitch avatar markh3tr avatar mctian-mi avatar mikerooni avatar minecraft7771 avatar mothmoss avatar nicholasbaldwinse avatar richie3366 avatar rundas01 avatar screret avatar serenibyss avatar sirjoekcb avatar tacomonkey11 avatar techlord22 avatar yefancy avatar youngonionmc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gregtech-modern's Issues

In-Game ID Standardization

Standarization

No response

Feature Description

As I have been working in the source code, a lot of the ingame IDs for items/blocks follow 2 different ways of modeling: "itemkind.material" and the 1.13 flattening ID standard like "energium_dust."

I propose that GTCEu 1.19 and beyond follow the 1.13 standard for IDs.
Let me know how you devs feel about it and if you approve, I'll submit a pull request.

[Fabric] The game crashes during startup

GregTech CEu Version

1.0.0

Recipe Viewer Installed

None

Environment

No

Cross-Mod Interaction

Unsure

Expected Behavior

The game should start.

Actual Behavior

image
crash-2023-03-20_12.57.09-client.txt

Steps to Reproduce

I installed mods (REI, Architectury) with CurseForge App, then run game once. Then I closed game and copied gtceu and ldlib into "mods".

Additional Information

Mods used:

  1. architectury-6.5.69-fabric
  2. cloth-config-8.2.88-fabric
  3. fabric-api-0.76.0+1.19.2
  4. gtceu-1.0.0gtceu-fabric-1.19.2
  5. ldlib-1.0.0ldlib-fabric-1.19.2
  6. RoughlyEnoughItems-9.1.595

LCR OverClocking Issue

GregTech CEu Version

1.0.0

Recipe Viewer Installed

REI

Environment

Singleplayer Forge

Cross-Mod Interaction

Unsure

Expected Behavior

The LCR with a 4amp HV hatch should overclock to EV.

Actual Behavior

The LCR will sometime think its overclocking to IV after completing a craft.
2023-03-21_20 43 56
2023-03-21_20 44 02
2023-03-21_20 44 07

Steps to Reproduce

Steps:
1- set LCR are up with 4amp HV input, 3 fluid inputs, 1 fluid output & 1 item input
2- set ae2 up to autocraft PTFE in the LCR
3- autocraft PTFE
4- check LCR controller if still at EV repeat step 3

Additional Information

the front of the LCR with ae2 attached
2023-03-21_21 09 18

Issue with GT blocks and Timber Frames/Braces from Supplementaries

GregTech CEu Version

v1.0.2

Recipe Viewer Installed

REI

Environment

Not related

Cross-Mod Interaction

Yes

Expected Behavior

Timber Frames/Braces from Supplementaries shows GT blocks inserted with correct textures and colors.

Like: (Redstone Block)

Actual Behavior

Before:

After: (Tested with several GT ores and material storage blocks)

Steps to Reproduce

See the screenshots above.

Additional Information

No response

Possibility to remodel the frames

Cross-mod Integration

No response

Feature Description

The following screenshot should be self-explanatory. On the left is the Timber Cross Brace from the mod Supplementaries.

ConnectedTexturesMod incompatibility (Forge)

GregTech CEu Version

v1.0.0

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

Expected for both mods to run simultaneous and work together.

Actual Behavior

A Minecraft forge instance with both CTM and GregtechCEu + ldlib will not start

Steps to Reproduce

Start Minecraft with forge while CTM, GTCeu and ldlib are installed.

Additional Information

No response

JEI not showing gt recipe types

GregTech CEu Version

1.0.4

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

None of the coil recipes were showing their assembler recipes. The wire recipes were also not showing extruder/wiremill recipes. The crafting recipes still show up.

Actual Behavior

The recipes would show up in jei.

Steps to Reproduce

I clicked on the recipe and it didnt work.

Additional Information

No response

Pipes and wires/possibly related to #88?

GregTech CEu Version

1.0.4

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

Machines to start operation(s) when items and required energy source supplied, along with the pipes and cables to stay connected to transport energy or fluids.

Actual Behavior

I am having issues possibly related to issue #88 where I have a steam macerator or any other steam machine, and I can give it items to process, it will complete the items that I gave it but if I remove them or later add more to process, I must break the machine and place it again to get it to work. Leaving and joining the singleplayer world again does not solve the issue.

Also, when I leave the world and join again, all pipes and power cables are visibly connected but do not transport whatever they are supposed to transport, such as water, steam or power. I must break all cables/pipes and replace all of them to reconnect them. If I just break one cable or pipe and place it back, it will refuse to connect even when using a wrench on it to manually disconnect/connect it.

Steps to Reproduce

Set up a boiler fed by water from some pipes, hook up any steam machine using pipes again, start with a macerator. Put ore in it to process, let it complete the task. Try to place more ore into it, it will not process. Break and replace the machine and its fixed, though it voids steam it has internally stored. Now, leave the world and rejoin it, try to process ore. It will visibly be connected to pipes but they will not supply with anything. Break and place all pipes again and it will work.

Additional Information

2023-06-18_10 05 18

Not too sure how screenshots might help but there is one of my setup. I must replace all fluid pipes to get them to do their thing and after each full task is completed by a machine (other than steam boiler) I must break and replace the machine for it to be able to operate again.

Primitive pump face not showing?

GregTech CEu Version

1.0.3

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

No

Expected Behavior

I expect the pump face to show on bottom or top while in multiblock form, simply so water can be exported from its hatch.

Actual Behavior

No matter how you try to orientate the pump hatch face, you can NOT get it to show top or bottom, therefore, you can not connect a pipe to get fluid out, although the pipe WILL "connect", or show that it is. You can even start by placing the pump hatch face on the top to begin with, it just changes once the multiblock forms.

Steps to Reproduce

Make pump multiblock.

Additional Information

No response

Running List of Minor bugs i have found

  • Lang for machine hulls
  • Coils do not say coil in the tool tip
  • various tooltips for machine slots(in the ui) dont respect newline characters
  • can not search for specific fluid cells by material(ie i can not search for diesel fluid cell in creative search)
  • machines do not emit light when running

Primitive pump multiblock part rendering issue

GregTech CEu Version

between 1.0.2 and 1.0.3

Recipe Viewer Installed

REI

Environment

Forge

Cross-Mod Interaction

No

Expected Behavior

Multiblock parts to render properly with cube_bottom_top model for the parent model

Actual Behavior

Parent model is rotated incorrectly if part is facing up/down

Steps to Reproduce

  1. Build primitive pump with any size of output hatch
  2. Rotate hatch to be facing up or down

Additional Information

No response

Wood Plate recipe missing?

GregTech CEu Version

1.0.2

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

Expected to get wood plate recipe to make the wood plate (gtceu:wood.plate)

Actual Behavior

I try to get recipe to show for wood plate and nothing shows.

Steps to Reproduce

Install 1.0.2 GT build and JEI and go for recipe. Or try intended recipe it is supposed to have????????????

Additional Information

?

Steam machines stop working after 1 operation, vent definitely uncovered.

Bronze steam machines will stop working after performing 1 operation. I've quadruple checked that the vent is uncovered cause I know that is a rookie mistake, and I also definitely have enough steam. It refuses to continue working unless I completely break and re-place the machine. This has been done with both the steam compressor and forge hammer.

Pipe connection logic

GregTech CEu Version

between 1.0.2 and 1.0.3

Recipe Viewer Installed

REI

Environment

Forge

Cross-Mod Interaction

No

Expected Behavior

Pipe logic to function like in GTCEu 1.12.2

Actual Behavior

Pipe logic functions more similarly to GTCE

Steps to Reproduce

I will take this issue, I am just noting it so I don't forget

Additional Information

No response

List of Issues, Forge: 1.0.0

Version: 1.0.0 (forge)

Mods:

  • Ae2 12.9.2
  • Architectury 6.5.69
  • Cloth config 8.2.88
  • kubejs 1902.6.0-build.142
  • lazydfu 1.0.2
  • oculus 1.2.8a
  • REI Pulgin Compat 9.0.48
  • rhino 1902.2.2-build.264
  • REI 9.1.595
  • rubidium 0.6.2
  • rubidium extra 0.4.17 (build.71)
  • TexTrueRubidiumOptions 1.02
  • TOP 6.2.2

Issues:

  • Only empty fluid cells are visible in JEI and Minecraft search
  • (REI) when viewing a recipe Left and Right click don't work for checking the uses or recipes for the ingredients but "R" and "U" still work, this only affects items
  • Machines void item contents when broken NULL JUST SKILL ISSUE
  • (REI) Left and Right click don't work for checking the recipes and uses of gtceu fluids when checking from the REI search
  • (AE2 & REI) Only GTECu fluids are recognised when using the "+" in REI to auto fill processing patterns
  • Blocks loose their NBT data when broken, e.g. mining coke bricks give "casing" and not "coke bricks"
  • Steam boilers (single block) can't be filled with water via a water bucket and water cells, (Irgendwer)
  • Laminated Glass allows for xray

gtlib

GregTech CEu Version

v1.0.3

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

Unsure

Expected Behavior

start game.

Actual Behavior

https://mclo.gs/5uiMLf9
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector injectStateToModelLocation(Lorg/slf4j/Logger;Ljava/lang/String;[Ljava/lang/Object;)V in gtlib-common.mixins.json:ModelBakeryMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap gtlib-common-1.19.2-gtlib-common-refmap.json
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:468) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1362) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1051) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4] {}

Steps to Reproduce

start game.

Additional Information

No response

gt conflicts with kubejs

GregTech CEu Version

1.19.2 (alpha 1.0.0)

Recipe Viewer Installed

None

Environment

singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

minecraft was expected to launch

Actual Behavior

eventually crashed (https://paste.ee/p/eG3xS)

Steps to Reproduce

i started minecraft with mods gt and kube js

Additional Information

No response

Tags not added to generated materials

GregTech CEu Version

v1.0.2

Recipe Viewer Installed

JEI

Environment

Singleplayer Forge

Cross-Mod Interaction

Yes

Expected Behavior

When creating a new material with kubejs you should be able to turn the ingot into nuggets and vice versa

Actual Behavior

you are unable to convert between: blocks, ingots & nuggets. with kubejs generated materials due to the recipes being tagged based and the items are missing the tags
image

Steps to Reproduce

generate new material with kubejs and check the recipes of the ingot/nugget/block

Additional Information

No response

Use Forge Connected Textures Standard & Add Facade Mixin

Cross-mod Integration

No response

Feature Description

  • Connected textures now use and apply the getAppearance() standard by Forge, allowing them to connect across other mods' facades, etc. (1.19)

(From the create changelog)


  • We also need to add a mixin to fix facades/etc not getting the material block texture correctly

2023-05-22_16 19 19

Multiblock part z-fighting

GregTech CEu Version

between 1.0.2 and 1.0.3

Recipe Viewer Installed

REI

Environment

Forge

Cross-Mod Interaction

No

Expected Behavior

Multiblock part overlays do not z fight

Actual Behavior

Multiblock part overlays z fight when in formed multiblocks

Steps to Reproduce

  1. Build a steam oven
  2. Observe that the overlay for the input is z-fighting

Additional Information

2023-04-04_23 48 32

TE Fluid cell & GT Pipes crash.

GregTech CEu Version

1.0.1b "1.19.2-5"

Recipe Viewer Installed

JEI

Environment

Single Player, (New superflat test world)

Cross-Mod Interaction

Yes

Expected Behavior

Expected TE block to connect to GT pipe. When TE block set to import/export fluid, crash occurs.

Actual Behavior

Game crashed. Now I cannot get it to replicate but it did it earlier as shown in setup in pictures... origional world continues to crash with same error. In pictures shown I log out of that world and log into that world and it crashes now.
2023-03-29_18 57 19
2023-03-29_18 57 26
2023-03-29_18 57 42
2023-03-29_18 58 45

Steps to Reproduce

Connect TE fluid cell block to GT pipe by setting TE fluid cell to import, export, import/export fluid even if its empty. Should cause the crash right away OR once you reload the world.

Additional Information

Is it related to the same issue with machines consuming what they should produce or something? Sorry if I did something incorrect here with formatting or something!

crash-2023-03-29_19.02.26-server.txt

Distilation Tower Broken

GregTech CEu Version

v1.0.3

Recipe Viewer Installed

JEI

Environment

Singleplayer Forge

Cross-Mod Interaction

Yes

Expected Behavior

To accept both fluid inputs and outputs.

Actual Behavior

will only form with fluid inputs and not with any fluid outputs. and also with item outputs on the bottom layer

2023-05-18_10 35 43

2023-05-18_10 45 05

Steps to Reproduce

download gtceu forge 1.0.3 and use a fresh instance with jei and check the multiblock preview

Additional Information

No response

Darkmode support for REI

Cross-mod Integration

REI

Feature Description

Have GUI elements switch to dark mode, current implementation looks like this

image

correct rendering should look like this

Screenshot from 2023-03-25 08-02-20

Crash when break rubber leaf

GregTech CEu Version

v1.0.2

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

Yes

Expected Behavior

break the block

Actual Behavior

break the rubber leaf block, then crash
crash log: https://paste.ubuntu.com/p/RSPVNmzbKS/

Steps to Reproduce

break the block

Additional Information

No response

Parallel logic caches recipe with lower than potential parallelism

GregTech CEu Version

between 1.0.2 and 1.0.3

Recipe Viewer Installed

REI

Environment

Forge

Cross-Mod Interaction

No

Expected Behavior

Parallel to recompute maximum possible recipes given inputs

Actual Behavior

Parallel caches the previous modified recipe, and won't parallel above that point until a cache miss

Steps to Reproduce

  1. Build a steam grinder or oven
  2. Input 2 items to start a recipe
  3. Input 3 items while the above recipe is running
  4. Machine will still only parallel 2 times, leaving a 3rd item despite being able to do 3.

Additional Information

No response

Crash on startup client+server

GregTech CEu Version

gtceu-1.0.0+gtceu-fabric-1.19.2-fixes.jar

Recipe Viewer Installed

REI

Environment

Not related

Cross-Mod Interaction

Yes

Expected Behavior

See the MINECRAFT title

Actual Behavior

Can't see the MINECRAFT title

Steps to Reproduce

Boot the game

Additional Information

Clientside log: https://mclo.gs/9XN9KDv
Serverside log: https://mclo.gs/PkjQJIx

Crash when placing/or joining a world where Advanced Combustion Generator II is placed

GregTech CEu Version

gtceu-1.0.0+gtceu-fabric-1.19.2-fixes

Recipe Viewer Installed

None

Environment

Singleplayer

Cross-Mod Interaction

No

Expected Behavior

the block gets placed and can be used.

Actual Behavior

the block gets placed, then the game crashes but saves the world. when trying to join the world after, it crashes when done loading.

Steps to Reproduce

create a world,
get Advanced Combustion Generator II form Creative inventory,
right click it on the ground.

Additional Information

No response

Energy Acception?

GregTech CEu Version

1.0.4

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

Unsure

Expected Behavior

I would expect any GTCEU energy source (electric) to be able to supply the AE2 Energy acceptor with energy to power AE devices.

Actual Behavior

No connection/conversion of energy.

Steps to Reproduce

Hook up any form of power generation directly from output to acceptor or by using cables/wires.

Additional Information

From what I understand from asking around in the discord is that its gtceu side not ae2 side??????? Please correct me if wrong! Thank you!

Updated Material Textures

Cross-mod Integration

No response

Feature Description

I would like to have the materials match the style of modern Minecraft post-1.13.

This would include most materials found under assets/gtceu/textures/items/material_sets.

Smelting recipes does not have cooking time

GregTech CEu Version

master branch (d5a2265)

Recipe Viewer Installed

REI

Environment

Singleplayer

Cross-Mod Interaction

No

Expected Behavior

Smelting recipes should have a cooking time > 0

Actual Behavior

Smelting recipes have cooking time 0, and will never finish smelting

Steps to Reproduce

Use any smelting recipe added by GTCEu and put the input items in a vanilla furnace (GTCEu furnaces does not even start "smelting")

Additional Information

Caused by cookingtime set to 0 in json produced by SmeltingRecipeBuilder
-> SmeltingRecipeBuilder::cookingTime never initialized by consumers of the builder (through .cookingTime(<ticks>)
-> VanillaRecipeHelper::addSmeltingRecipe

    public static void addSmeltingRecipe(Consumer<FinishedRecipe> provider, @Nonnull String regName, TagKey<Item> input, ItemStack output, float experience) {
        new SmeltingRecipeBuilder(GTCEu.id(regName.toLowerCase())).input(input).output(output).experience(experience).save(provider);
    }

Could be fixed by adding a cooking time through the builder like this:

    public static void addSmeltingRecipe(Consumer<FinishedRecipe> provider, @Nonnull String regName, TagKey<Item> input, ItemStack output, float experience) {
        new SmeltingRecipeBuilder(GTCEu.id(regName.toLowerCase())).input(input).output(output).experience(experience).cookingTime(<ticks>).save(provider);
    }

Ore Macterator Issues

GregTech CEu Version

v1.0.2

Recipe Viewer Installed

JEI

Environment

Singleplayer Forge

Cross-Mod Interaction

No

Expected Behavior

  • Ore and Crushed ore macerator recipes should be using EU
  • Byproducts should start dropping at HV tier
  • The stone dusts the output should match the stone type of the ore being macerated

Actual Behavior

  • Ore and Crushed ore macerator recipe don't use EU
  • Byproducts start dropping at steam tier
  • Some ores are outputting the wrong stone dust type, e.g. (stone banded iron outputs endstone dust)

Steps to Reproduce

No steps are needed

Additional Information

image
image

Crash on Pipe Connected to Machine

GregTech CEu Version

1.0.3-alpha

Recipe Viewer Installed

REI

Environment

Singleplayer

Cross-Mod Interaction

No

Expected Behavior

No crashing.

Actual Behavior

Crashed.

Steps to Reproduce

  1. Place a steam boiler.
  2. Place a small copper fluid pipe next to its outlet.
  3. Crash, and still crash when re-entering the world. The save is corrupted.

Additional Information

minecraft-exported-crash-info-2023-05-21T19-02-42.zip

JEI recipe viewing is broken

GregTech CEu Version

master branch commit 5fe2524

Recipe Viewer Installed

JEI

Environment

Singleplayer Forge

Cross-Mod Interaction

Yes

Expected Behavior

JEI to be able to properly view gtceu recipes

Actual Behavior

JEI can only see gtceu recipes that are in a vanilla crafting table or furnace

Steps to Reproduce

1: download and build commit 5fe2524
2: install jei

Additional Information

No response

Major typo in auto generated recipe ID

GregTech CEu Version

1.0.39

Recipe Viewer Installed

REI

Environment

SP

Cross-Mod Interaction

No

Expected Behavior

image
distilled*

Actual Behavior

image
distlled

Steps to Reproduce

become gay ?

Additional Information

thanks

About the localization of tools

In GTCEu 1.19, You use the hardcore or something(I just a guess), let localization can be continue.
I think that in code:

material.toString() + " " + tool.toString();
//Display name:Material Tool
//but in some language, don't need the "Space".

You can write the Space in Language Key.

Some UIs break item renderers

GregTech CEu Version

between 1.0.2 and 1.0.3

Recipe Viewer Installed

REI

Environment

Forge

Cross-Mod Interaction

Yes

Expected Behavior

Item renderers to look normal, like when in creative ui
2023-04-05_19 08 55

Actual Behavior

Item renderers are broken
2023-04-05_19 08 58

Steps to Reproduce

Place a machine (Kinetic Mixer used here) and look for more complex renders in REI

Additional Information

Unknown if this happens to other recipe/item viewer mods like JEI or EMI

Crash when the mod loader is creating the mod instance

GregTech CEu Version

1.19.2 Auto Build #8

Recipe Viewer Installed

No Recipe Viewer

Environment

Dedicated Server

Cross-Mod Interaction

No

Expected Behavior

Server should startup

Actual Behavior

Failed to start the minecraft server.
Crash when the mod loader is creating the mod instance.

https://pastebin.com/FZL6k7z1

Steps to Reproduce

Using Forge Modloader with only mods of GTCEu and ldlib

Additional Information

No response

Spray Cans

GregTech CEu Version

1.0.0

Recipe Viewer Installed

REI

Environment

Singleplayer Forge

Cross-Mod Interaction

Unsure

Expected Behavior

Spray cans when crafted are meant to come with uses available.

Actual Behavior

Spray Can are currently useless as they have 0 uses when crafted or cheated in.

Steps to Reproduce

Craft or cheat in a spray can

Additional Information

No response

Tooltip newlines are broken

GregTech CEu Version

1.0.0

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

No

Expected Behavior

The newlines are respected:
image

Actual Behavior

Newlines are visible:
image

Steps to Reproduce

Hover over any GUI that has tooltips with newlines. Any single block machine will do.

Additional Information

Firstly all the newlines in the lang files are using forward slash when they should be using backslash. Changing them to backslash only works on forge when the window is small enough that the text wraps and the newline is displayed correctly. Otherwise an lf character is displayed where the newline should be:
2023-03-22_12 02 46
This is because forge adds wrapping for tooltips as this is not in the base game. Fabric has the ToolTipFix mod which allows wrapping on newlines, but there doesn't seem to be an alternative for forge. To make it work for both forge and fabric I think the only way would be to split the lines in the lang file into multiple lines (this is what is recommended on the Fabric wiki), like so:
Original:

provider.add("gtceu.gui.overclock.description", "Overclock Button/n§7Recipes can overclock up to the set tier");

New:

provider.add("gtceu.gui.overclock.description.1", "Overclock Button");
provider.add("gtceu.gui.overclock.description.2", "§7Recipes can overclock up to the set tier");

Then the location where the original tooltip was used also needs to be changed.
Original:
image
New:
image
This correctly displays the newline:
image
I can make a PR with these changes for all tooltips if this is desired.

Create power

Cross-mod Integration

Create

Feature Description

Add a block to make Gregtech power from Create rotation to make modpacks using it.

Crash when using electric furnace

GregTech CEu Version

1.0.0 fabric

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

No

Expected Behavior

Put an appropriate smeltable item into an electric furnace such as Raw Iron and it should smelt it.

Actual Behavior

The game crashes with an index out of bounds error: https://pastebin.com/wfTcZWyA

The following seems to be related. Upon loading any world, the console logs an error for each ingot smelting recipe. The one below is for beryllium.

 com.google.gson.JsonSyntaxException: Expected result to be a string, was an object ({"it...m"})
	at net.minecraft.util.GsonHelper.convertToString(GsonHelper.java:111) ~[[email protected]:?]
	at net.minecraft.util.GsonHelper.getAsString(GsonHelper.java:117) ~[[email protected]:?]
	at net.minecraft.world.item.crafting.SimpleCookingSerializer.fromJson(SimpleCookingSerializer.java:31) ~[[email protected]:?]
	at net.minecraft.world.item.crafting.SimpleCookingSerializer.fromJson(SimpleCookingSerializer.java:11) ~[[email protected]:?]
	at net.minecraft.world.item.crafting.RecipeManager.fromJson(RecipeManager.java:135) ~[[email protected]:?]
	at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:56) ~[[email protected]:?]
	at net.minecraft.world.item.crafting.RecipeManager.apply(RecipeManager.java:35) ~[[email protected]:?]
	at net.minecraft.server.packs.resources.SimplePreparableReloadListener.m_neendbwx(SimplePreparableReloadListener.java:13) ~[[email protected]:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
	at net.minecraft.server.packs.resources.SimpleReloadInstance.m_dpwubqro(SimpleReloadInstance.java:69) ~[[email protected]:?]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:157) ~[[email protected]:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[[email protected]:?]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:131) ~[[email protected]:?]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:140) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.loadWorldStem(WorldOpenFlows.java:136) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.loadWorldStem(WorldOpenFlows.java:117) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.doLoadLevel(WorldOpenFlows.java:150) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldOpenFlows.loadLevel(WorldOpenFlows.java:57) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.loadWorld(WorldSelectionList.java:528) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.joinWorld(WorldSelectionList.java:436) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.worldselection.WorldSelectionList$WorldListEntry.mouseClicked(WorldSelectionList.java:367) ~[[email protected]:?]
	at net.minecraft.client.gui.components.AbstractSelectionList.mouseClicked(AbstractSelectionList.java:372) ~[[email protected]:?]
	at net.minecraft.client.gui.components.events.ContainerEventHandler.mouseClicked(ContainerEventHandler.java:27) ~[[email protected]:?]
	at net.minecraft.client.MouseHandler.redirect$zlj000$injectClick(MouseHandler.java:1036) ~[[email protected]:?]
	at net.minecraft.client.MouseHandler.m_jzgvmppg(MouseHandler.java:94) ~[[email protected]:?]
	at net.minecraft.client.gui.screens.Screen.wrapScreenError(Screen.java:489) ~[[email protected]:?]
	at net.minecraft.client.MouseHandler.onPress(MouseHandler.java:94) ~[[email protected]:?]
	at net.minecraft.client.MouseHandler.m_sljgmtqm(MouseHandler.java:165) ~[[email protected]:?]
	at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[[email protected]:?]
	at net.minecraft.client.MouseHandler.m_dmvalfre(MouseHandler.java:165) ~[[email protected]:?]
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) [lwjgl-glfw-3.3.1.jar:?]
	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar:?]
	at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474) [lwjgl-glfw-3.3.1.jar:?]
	at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:222) [[email protected]:?]
	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1208) [[email protected]:?]
	at net.minecraft.client.Minecraft.run(Minecraft.java:768) [[email protected]:?]
	at net.minecraft.client.main.Main.run(Main.java:244) [[email protected]:?]
	at net.minecraft.client.main.Main.main(Main.java:51) [[email protected]:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.11.jar:?]
	at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) [dev-launch-injector-0.2.1+build.8.jar:?]
	at dev.architectury.transformer.TransformerRuntime.main(TransformerRuntime.java:217) [architectury-transformer-5.2.72-runtime.jar:5.2.72]

Steps to Reproduce

  1. Launch fabric with mod.
  2. Power an electric furnace.
  3. Place Raw Iron into furnace.

Additional Information

The electric furnace works with the forge version of the mod.

Ore NBT messing with checking recipe in JEI

GregTech CEu Version

v1.0.2

Recipe Viewer Installed

JEI

Environment

Singleplayer Forge

Cross-Mod Interaction

No

Expected Behavior

when checking the uses of GT ores the forge hammer and macerator recipe should pop up

Actual Behavior

Checking uses:

  • endstone ores show the macerator recipe
  • red sand ores show the forge hammer recipe
  • other ore types show only the furnace recipe

Other Ore type:
image

Endstone Ores:
image

Red Sand Ores:
image

Steps to Reproduce

no steps are needed

Additional Information

No response

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.