Git Product home page Git Product logo

multiblocktweaker's People

Contributors

alongstringofnumbers avatar eutro avatar exaxxion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

multiblocktweaker's Issues

[Bug] Multiblock Tweaker used with GTCE 1.15 causes JEI to fail at loading machine recipes and multiblock patterns

Mod used:
GTCE1.15
JEI 4.1.20.586
Multiblock Tweaker 1.3.2

New world created: yes

Issue: As mentioned on discord GTCE 1.15 introduced #1580. If Multiblock Tweaker is used to make a recipe map (and/or) multiblock pattern with GTCE 1.15, no multiblock patterns show up in jei other than Multiblock Tweaker's. This also causes all machines to lose their jei recipe map pages. I have included an image of the JEI multiblock pattern screen and the script used
2021-05-20_12 29 19

Error with loading textures

With some blocks, multiblocktweaker seems to fail to load textures, reporting
Error executing {[99:crafttweaker]: multiblocks/pizza_oven.zs}: Duplicate key TextureAtlasSprite{name='missingno', frameCount=1, rotated=false, x=2192, y=2112, height=16, width=16, u0=0.53515625, u1=0.5390625, v0=0.515625, v1=0.51953125}

The blocks I've had this problem with are twilight forest underbricks and chisel voidstone. For underbricks, the item is item:twilightforest:underbrick:0 and the is metastate:twilightforest:underbrick:0. However, when I let mbt infer the texture from the most common block in the design, it gives me the texture error. I'm 99.9% sure it also gives the same error if I use .withTexture on either the item or block form of underbricks.

I glanced over the code (the problem manifests SidedCubeRenderer.java:86) but I don't know the finer points of texture baking. I think it's caused by these blocks not being directly textured, instead they have blockstates which dictate other textures. The texture for underbrick with metadata 0 is really twilightforest:blocks/knightbrick. If I use .withTexture on that resource id the error goes away.

Here's the relevant part of the ct log and my script. About the .withTexture: lines: having no .withTexture line should reproduce the bug, and having the .withTexture(ICubeRenderer.nonSided("twilightforest:blocks/knightbrick")) line should have no error. Ignore the .withTexture(ICubeRenderer.fromBlock(<minecraft:brick_block>)) line.

crafttweaker.log.snip

pizza_oven.zs.snip

Also, the aisle orders are really confusing because the default for the pattern and design are different. In the design, aisles go left to right, arguments go bottom to top, and strings go front to back, but in the pattern, aisles go back to front, arguments go bottom to top, and strings go left to right. Patterns can have the order changed but designs can't.

In World Previews render over Translucent Blocks

Multiblock Tweaker: stable-backcompat-1.0.3
Ender IO: 5.1.55
Forge: 1.12.2-14.23.5.2847

The in world previews of multiblocks render above Ender IO fluid conduits when the fluid conduits are in separate Blockspaces. An image can be seen here:
2020-06-25_15 34 39
In this image, the top right corner of the fluid conduit is seen to be behind the inworld preview. This happens for all blocks in the preview, not just the current erroring block. This also only happens with the fluid conduits, tested with Ender Fluid Conduits and Pressurized Fluid Conduits, and does not occur with item conduits or energy conduits. Not tested with redstone conduits as I forgot at the time I had my game open.

[Suggestion] Add a method to copy recipes

A method to copy recipes from one recipeMap to another without copying the actual recipeMap with count of inputs/outputs would be very useful for "Large" versions of machines or combining several machines into one.

Multiblock generator dont work

It can work on multiblocktweaker-1.12.2-stable-gtceu-1.8.2,however,I update it to multiblocktweaker-1.12.2-stable-gtceu-1.9.0,it dont work anymore.

Add Documentation

As i sad mod is great but we need some help in some aspects. Mayby docs or discord.

Incompatibility with GT CEU 2.5.2

Custom multiblocks do not function when mbt 1.8.2 for gregtech CEU is run with gtCEU version 2.5.2.
When upgrading gregtech version from 2.5.0 to 2.5.2, multiblock controllers cease to be craftable and disappear when placed in the world.
Errors are logged to chat like the file attached.
shortened_crafttweaker.log
A full crafttweaker log is also attached for further context.
crafttweaker (1).log

The multiblock definitions of relevance here are defined in
multiblocks_normal.zs
and
multiblock_dml.zs

Energyless recipes with CEu

ALSON mentioned that you were able to pull something together that would allow recipes to bypass CE's recipe validation checks, allowing recipes to not require energy in any way.

Could get this ported to CEu?

Internal Exception handling: Should go to CT logs

Eutro, mostly a reminder: I ran into a small issue where I was using an incorrect number of expected vs actual inputs, and the exception was thrown to the minecraft standard logs. It would be nice if these were caught and thrown to the CT logs.

good job

Your work is pretty impressive and should be into GTCE and not out of the box. (with the new dev it should be doable)
I dont know if you will maintain your code properly but if you want and if GTCE doesnt wants your code (in case you dont want to code anymore) I can merge your code into mine :).

Crash

Hello i have some crash from making some recipce from Yours example zs script.
latest.log
Idn what's wrong. Maybe it's me being stupid

GTCEu 2.2.0 compatibility

Craftweaker scripts are failling when updating to GTCEu 2.2.0, probably related to some API changes:

[INITIALIZATION][CLIENT][ERROR] [crafttweaker]: Error executing {[98:crafttweaker]: gregtech_greenhouse.zs}: gregtech.api.recipes.Recipe.<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIZ)V
java.lang.NoSuchMethodError: gregtech.api.recipes.Recipe.<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIZ)V
	at eutros.multiblocktweaker.gregtech.recipes.CustomRecipeBuilder.build(CustomRecipeBuilder.java:39)
	at gregtech.api.recipes.RecipeBuilder.buildAndRegister(RecipeBuilder.java:577)
	at gregtech.api.recipes.crafttweaker.CTRecipeBuilder.buildAndRegister(CTRecipeBuilder.java:178)
	at Gregtech_greenhouse.__script__(gregtech_greenhouse.zs:79)
	at __ZenMain__.run(Gregtech_greenhouse)
	at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:240)
	at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:105)
	at youyihj.zenutils.impl.delegate.ZenUtilsTweaker.loadScript(ZenUtilsTweaker.java:47)
	at crafttweaker.mc1120.events.CommonEventHandler.registerRecipes(CommonEventHandler.java:71)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_754_CommonEventHandler_registerRecipes_Register.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
	at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857)
	at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636)
	at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747)
	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336)
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:3931)
	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:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

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.