Giter Club home page Giter Club logo

customblocks's Introduction

Custom Blocks Mod

To learn how to use this mod, go to this link.

Curse page: link

customblocks's People

Contributors

u1timatej7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

customblocks's Issues

crash

when i save the json file in correct location and try to restart the game , The game could not be opened . I'm using fabric v 0.12.8

Future Features

Feature Requests

1: The ability to select drops from a gui, and also allow drops to be a loot table, so you can have random assortments of items and counts.

2: When recipes are implemented, it would be cool if the recipes were done in a gui, you select each item that you want to be able to add into the recipe, and you select the output item.

3: Ability to add NBT data to the files. Would be cool if we can make blocks drop various vanilla items, with different names, custom model datas, tags, etc.

4: More item types. Would be fun to be able to make armor, specific tools, guns that when right clicked, shoot an item that you set up and projectiles that can be thrown like snow balls. It would also be a cool feature to be able to execute a command when those projectile types hit the ground.

5: Executing/effects. Maybe the ability to give a potion effect when holding or wearing. A right click effect that would execute a command or multiple effects when you right clicked.

6: Pack locations. Instead of the packs being created in the config files, it might be better for sharing, if when a pack was created, it was created as an addon instead. And each item, or block, or recipe or whatever, gets its own folder within the pack, instead of everything going inside the pack file.

These are just some suggestions from a mod called "additions" that I think might be dead. It was 1.12.2 and we are now 1.17/1.18 lol. These features and many others, were widely used and I think if they are possible to add, could make this one of the only mods people need to create a bunch of new addon packs. Either way, love the mod! And can't wait to see everything that comes out of it!

Also I know some of these might already be planned since some of them are experimental features right now :)

custom block gui issue

maybe I'm just really really dumb or really really blind..I can't seem to find the in game gui thing ^_^' is there a certain library mod or core mod I need?

The mod cannot be run on the server side.

Describe the bug
The mod crashed on startup when using it on the server-side.
attached log: latest.log

To Reproduce

  1. Download and extract this reproduce.zip environment.
  2. Start the server with java -jar fabric-server.jar nogui command.
  3. Wait for the server to crash.

Versions:
mod: 1.5.0-1.18.1
fabric: 0.12.12
minecraft: 1.18.1
java: 17.0.1

Fabric server crashes on startup when CustomBlocks is installed

Describe the bug
Fabric server crashes on startup when CustomBlocks is installed.

To Reproduce

  1. Download fabric server from official site;
  2. Put CustomBlocks and Fabric API in the mods folder;
  3. Launch server using launch command from the official fabric site.

Versions:

  • Mod Version: 1.5.0
  • MC Version: 1.18.1 fabric server
  • Fabric loader version: 0.13.3
  • Installer version: 0.10.2
 [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'custom_blocks'!
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.13.3.jar:?]
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.13.3.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.13.3.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.13.3.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.13.3.jar:?]
	at net.minecraft.server.Main.main(Main.java:106) [server-intermediary.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) [fabric-loader-0.13.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.13.3.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66) [fabric-loader-0.13.3.jar:?]
	at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:64) [fabric-server-mc.1.18.1-loader.0.13.3-launcher.0.10.2.jar:0.10.2]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_310
	at com.ulto.customblocks.GenerateCustomElements.<clinit>(GenerateCustomElements.java:362) ~[CustomBlocks-1.5.0.1-1.18.1-pre1.jar:?]
	at com.ulto.customblocks.CustomBlocksMod.onInitialize(CustomBlocksMod.java:30) ~[CustomBlocks-1.5.0.1-1.18.1-pre1.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.13.3.jar:?]
	... 16 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_310
	at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:158) ~[fabric-loader-0.13.3.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at com.ulto.customblocks.GenerateCustomElements.<clinit>(GenerateCustomElements.java:362) ~[CustomBlocks-1.5.0.1-1.18.1-pre1.jar:?]
	at com.ulto.customblocks.CustomBlocksMod.onInitialize(CustomBlocksMod.java:30) ~[CustomBlocks-1.5.0.1-1.18.1-pre1.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.13.3.jar:?]
	... 16 more

Custom Blocks Crashes in Fabric

Hi, so I've been having a problem getting Minecraft to load with this mod in Fabric as the loading process crashes each time I use the mod. All I have in my mods folder are Fabric API and the Custom Blocks mod. Here's my crash report of when I tried to use the mod.
crash-2021-09-02_08.49.33-client.txt

  • Mod Version 1.3.0
  • MC Version 1.17.1

Texture Button.

On the block maker screen, pressing the textures folder button does not open a folder.
I am also not clear on how to apply textures to a block after reading the wiki, but that is more than likely not a bug and i am just stupid.

Mod Versions:

  • Mod Version [e.g. 1.5.0.1]
  • MC Version [e.g. 1.18]

Custom block models, and custom rotation

Custom block models would be good to have. If possible, allow them to be larger than a block (I don't know if this is an issue codewise, just pointing it out) so one can have a block that say looks like an animal.
Additionally, some way to rotate these blocks to a full 360ΒΊ degrees. Maybe a right click menu that one can enable when creating the object.

i keep crashing

Uncaught exception in thread "main"
java.lang.RuntimeException: Error creating Mixin config custom_blocks.mixins.json for mod custom_blocks
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:95)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:153)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config custom_blocks.mixins.json
at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153)
at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100)
at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87)
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:93)
... 3 more
Caused by: java.lang.IllegalArgumentException: The requested compatibility level JAVA_16 could not be set. Level is not supported by the active JRE or ASM version (Java 1.8, ASM 9.5 (ASM10_EXPERIMENTAL))
at org.spongepowered.asm.mixin.MixinEnvironment.setCompatibilityLevel(MixinEnvironment.java:1570)
at org.spongepowered.asm.mixin.transformer.MixinConfig.initCompatibilityLevel(MixinConfig.java:557)
at org.spongepowered.asm.mixin.transformer.MixinConfig.postInit(MixinConfig.java:502)
at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:430)
at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1293)
at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148)
... 6 more
these are the only mods i have https://gyazo.com/ac002a913bac00c9d11ccd16996a16c5

create button in block maker is not responding

Describe the bug

Hello, I am not good at English, so the writing may be strange.

There is no response when you press create or add to pack in block maker.

I put all the images needed to make the blocks into a folder that opens by pressing the text folder button
After filling in all settings, the button was pressed, but no block was created.

Why isn't the button responding?

Also, I wrote the json file myself and added a block temporarily, but the transparent part like the leaf was not seen transparently. How should I correct this?


To Reproduce

I wanted to add several new blocks, so I created blocks and created folders in the texture namespace.

I put all the images I'm going to use in the folder (.minecraft\config\custom_blocks\custom_blocks_resources\assets\blocks\textures\block)

After selecting the leaves from the presets, I only filled in the namespace, id, display name, map color, texture namespace, and texture items as I wanted without touching the rest of the items.

in order
namespace : custom
id : leaves
display name : white cherryblossom leaves
map color : white
texture namespace : blocks
texture : plants_leaves_cherryblossom_white_1

However, if you click the Create or add to pack button to create a block, the block is not added.

After making any pack in pack maker, click add to pack in block maker to create a block with glitch texture instead of the texture I specified.

Although adding blocks by creating the json file yourself adds blocks, transparent textures with alpha values like leaves did not apply normally.

I don't know which format is correct by copying and writing json examples posted by others in the curseforge comments.


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


Screenshots
image

-> images in texture folder

image

image

-> block maker setting

image

-> block maker -> add to pack, but texture glitch

image

-> json edit block is not not transparent


Mod Versions:

  • Mod Version [1.6.0]
  • MC Version [1.18.2]

my email
[email protected]

Crash on start-up when ran on Forge server

Describe the bug
On the server-side, one line of code seems to keep crashing at the start-up process. This is the crash report.

To Reproduce
So far I'm using MCProHosting as the server host, I'm not sure if there would be any difference when switching server hosts.

  1. Install Forge, together with all its libraries.
  2. Install mod on server-side.
  3. Initiate server start-up.
  4. Find that it crashes.

Expected behavior
To not crash at start-up.

Mod Versions:

  • Mod Version 1.6.0
  • MC Version 1.18.2
  • Forge Version 40.1.60

Game crashing when adding block?

Describe the bug
When i try to make a block named "textured black concrete" with the stone template as soon as i am done entering parameters (which i have done the same way multiple times with no issues) and press the 'add to pack' button the game crashes with exit code -1. One thing that might or might not matter (i have no idea) is that the pack already has 13 blocks registerred

To Reproduce

  1. open the gui in game
  2. Use stone template to create a block
  3. add needed parameters and click 'add to pack'
  4. crash

Expected behavior
to not crash when adding new blocks

Crash report

// Don't be sad, have a hug! <3

Time: 2/14/23, 2:53 PM
Description: mouseReleased event handler

com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonArray
	at com.google.gson.internal.bind.TypeAdapters$33$1.read(TypeAdapters.java:869)
	at com.google.gson.Gson.fromJson(Gson.java:963)
	at com.google.gson.Gson.fromJson(Gson.java:928)
	at com.google.gson.Gson.fromJson(Gson.java:877)
	at com.google.gson.Gson.fromJson(Gson.java:848)
	at com.ulto.customblocks.gui.BlockMakerGUI.lambda$new$7(BlockMakerGUI.java:388)
	at io.github.cottonmc.cotton.gui.widget.WButton.onClick(WButton.java:138)
	at io.github.cottonmc.cotton.gui.impl.client.MouseInputHandler.lambda$onMouseUp$3(MouseInputHandler.java:57)
	at io.github.cottonmc.cotton.gui.impl.client.MouseInputHandler.runTree(MouseInputHandler.java:123)
	at io.github.cottonmc.cotton.gui.impl.client.MouseInputHandler.onMouseUp(MouseInputHandler.java:55)
	at io.github.cottonmc.cotton.gui.client.CottonClientScreen.method_25406(CottonClientScreen.java:197)
	at net.minecraft.class_312.method_1605(class_312.java:96)
	at net.minecraft.class_437.method_25412(class_437.java:492)
	at net.minecraft.class_312.method_1601(class_312.java:96)
	at net.minecraft.class_312.method_22686(class_312.java:165)
	at net.minecraft.class_1255.execute(class_1255.java:103)
	at net.minecraft.class_312.method_22684(class_312.java:165)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:204)
	at net.minecraft.class_1041.method_15998(class_1041.java:310)
	at net.minecraft.class_310.method_1523(class_310.java:1147)
	at net.minecraft.class_310.method_1514(class_310.java:737)
	at net.minecraft.client.main.Main.main(Main.java:236)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)


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

-- Head --
Thread: Render thread
Stacktrace:
	at com.google.gson.internal.bind.TypeAdapters$33$1.read(TypeAdapters.java:869)
	at com.google.gson.Gson.fromJson(Gson.java:963)
	at com.google.gson.Gson.fromJson(Gson.java:928)
	at com.google.gson.Gson.fromJson(Gson.java:877)
	at com.google.gson.Gson.fromJson(Gson.java:848)
	at com.ulto.customblocks.gui.BlockMakerGUI.lambda$new$7(BlockMakerGUI.java:388)
	at io.github.cottonmc.cotton.gui.widget.WButton.onClick(WButton.java:138)
	at io.github.cottonmc.cotton.gui.impl.client.MouseInputHandler.lambda$onMouseUp$3(MouseInputHandler.java:57)
	at io.github.cottonmc.cotton.gui.impl.client.MouseInputHandler.runTree(MouseInputHandler.java:123)
	at io.github.cottonmc.cotton.gui.impl.client.MouseInputHandler.onMouseUp(MouseInputHandler.java:55)
	at io.github.cottonmc.cotton.gui.client.CottonClientScreen.method_25406(CottonClientScreen.java:197)
	at net.minecraft.class_312.method_1605(class_312.java:96)
	at net.minecraft.class_437.method_25412(class_437.java:492)
	at net.minecraft.class_312.method_1601(class_312.java:96)
	at net.minecraft.class_312.method_22686(class_312.java:165)
	at net.minecraft.class_1255.execute(class_1255.java:103)
	at net.minecraft.class_312.method_22684(class_312.java:165)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:204)

-- Affected screen --
Details:
	Screen name: com.ulto.customblocks.gui.BlockMakerScreen
Stacktrace:
	at net.minecraft.class_437.method_25412(class_437.java:492)
	at net.minecraft.class_312.method_1601(class_312.java:96)
	at net.minecraft.class_312.method_22686(class_312.java:165)
	at net.minecraft.class_1255.execute(class_1255.java:103)
	at net.minecraft.class_312.method_22684(class_312.java:165)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:204)
	at net.minecraft.class_1041.method_15998(class_1041.java:310)
	at net.minecraft.class_310.method_1523(class_310.java:1147)
	at net.minecraft.class_310.method_1514(class_310.java:737)
	at net.minecraft.client.main.Main.main(Main.java:236)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload --
Details:
	Reload number: 1
	Reload reason: initial
	Finished: Yes
	Packs: Default, Fabric Mods, Custom Block Resources
Stacktrace:
	at net.minecraft.class_6360.method_36565(class_6360.java:49)
	at net.minecraft.class_310.method_1587(class_310.java:2383)
	at net.minecraft.class_310.method_1514(class_310.java:756)
	at net.minecraft.client.main.Main.main(Main.java:236)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- System Details --
Details:
	Minecraft Version: 1.18.2
	Minecraft Version ID: 1.18.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.1, Microsoft
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
	Memory: 1132215680 bytes (1079 MiB) / 2336227328 bytes (2228 MiB) up to 4294967296 bytes (4096 MiB)
	CPUs: 12
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
	Identifier: Intel64 Family 6 Model 158 Stepping 10
	Microarchitecture: Coffee Lake
	Frequency (GHz): 2.21
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 12
	Graphics card #0 name: Intel(R) UHD Graphics 630
	Graphics card #0 vendor: Intel Corporation (0x8086)
	Graphics card #0 VRAM (MB): 1024.00
	Graphics card #0 deviceId: 0x3e9b
	Graphics card #0 versionInfo: DriverVersion=31.0.101.2111
	Graphics card #1 name: NVIDIA GeForce GTX 1050
	Graphics card #1 vendor: NVIDIA (0x10de)
	Graphics card #1 VRAM (MB): 2048.00
	Graphics card #1 deviceId: 0x1c8d
	Graphics card #1 versionInfo: DriverVersion=30.0.15.1278
	Graphics card #2 name: DisplayLink USB Device
	Graphics card #2 vendor: DisplayLink (0x17e9)
	Graphics card #2 VRAM (MB): 0.00
	Graphics card #2 deviceId: 0x430f
	Graphics card #2 versionInfo: DriverVersion=9.3.3324.0
	Graphics card #3 name: DisplayLink USB Device
	Graphics card #3 vendor: DisplayLink (0x17e9)
	Graphics card #3 VRAM (MB): 0.00
	Graphics card #3 deviceId: 0x430f
	Graphics card #3 versionInfo: DriverVersion=9.3.3324.0
	Memory slot #0 capacity (MB): 8192.00
	Memory slot #0 clockSpeed (GHz): 2.67
	Memory slot #0 type: DDR4
	Memory slot #1 capacity (MB): 8192.00
	Memory slot #1 clockSpeed (GHz): 2.67
	Memory slot #1 type: DDR4
	Virtual memory max (MB): 19503.63
	Virtual memory used (MB): 16501.93
	Swap memory total (MB): 3312.45
	Swap memory used (MB): 347.34
	JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m
	Fabric Mods: 
		custom_blocks: Custom Blocks 1.6.0
			libgui: LibGui 5.4.0+1.18.2
				jankson: Jankson 4.0.0+j1.2.0
					blue_endless_jankson: jankson 1.2.1
				libninepatch: LibNinePatch 1.1.0
		fabric-api: Fabric API 0.67.1+1.18.2
			fabric-api-base: Fabric API Base 0.4.5+64b7c69360
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.3+2373a54560
			fabric-biome-api-v1: Fabric Biome API (v1) 8.0.6+651bcc5960
			fabric-block-api-v1: Fabric Block API (v1) 1.0.0+ee3621fc60
			fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.13+3ac43d9560
			fabric-command-api-v1: Fabric Command API (v1) 1.1.10+d7c144a860
			fabric-commands-v0: Fabric Commands (v0) 0.2.9+b4f4f6cd60
			fabric-containers-v0: Fabric Containers (v0) 0.1.24+d7c144a860
			fabric-content-registries-v0: Fabric Content Registries (v0) 3.1.2+c85f2e3860
			fabric-convention-tags-v1: Fabric Convention Tags 1.0.2+474e4f7960
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.1+ee261a3e60
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 3.0.3+9fcb91d260
			fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.21+489d6f8260
			fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.9+d7c144a860
			fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.20+d7c144a860
			fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.21+d7c144a860
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.13+d7c144a860
			fabric-item-api-v1: Fabric Item API (v1) 1.6.1+a6f01b2660
			fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.15+91896a4960
			fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.12+54e5b2ec60
			fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.10+b4f4f6cd60
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.1+cc71601c60
			fabric-loot-api-v2: Fabric Loot API (v2) 1.1.1+1997ad1260
			fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.3+e747827960
			fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.5+cc71601c60
			fabric-models-v0: Fabric Models (v0) 0.3.7+d7c144a860
			fabric-networking-api-v1: Fabric Networking API (v1) 1.0.24+2d30af4b60
			fabric-networking-v0: Fabric Networking (v0) 0.3.11+b4f4f6cd60
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 2.1.4+032c981d60
			fabric-particles-v1: Fabric Particles (v1) 0.2.13+526dc1ac60
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.12+bb2e047760
			fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.16+ee3621fc60
			fabric-renderer-indigo: Fabric Renderer - Indigo 0.5.6+41a02c8a60
			fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.12+b4f4f6cd60
			fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.9+ee3621fc60
			fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 2.0.3+54e5b2ec60
			fabric-rendering-v0: Fabric Rendering (v0) 1.1.14+b4f4f6cd60
			fabric-rendering-v1: Fabric Rendering (v1) 1.10.8+54e5b2ec60
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.3+91b7aa6660
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.2+446e059560
			fabric-screen-api-v1: Fabric Screen API (v1) 1.0.11+d882b91560
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.3+1f6558e860
			fabric-textures-v0: Fabric Textures (v0) 1.0.13+3ac43d9560
			fabric-transfer-api-v1: Fabric Transfer API (v1) 1.6.4+f4563ac860
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.0+e747827960
		fabricloader: Fabric Loader 0.14.14
		java: OpenJDK 64-Bit Server VM 17
		minecraft: Minecraft 1.18.2
	Launched Version: fabric-loader-0.14.14-1.18.2
	Backend library: LWJGL version 3.2.2 build 10
	Backend API: NVIDIA GeForce GTX 1050/PCIe/SSE2 GL version 3.2.0 NVIDIA 512.78, NVIDIA Corporation
	Window size: 1920x1009
	GL Caps: Using framebuffer using OpenGL 3.2
	GL debug messages: 
	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fabric'
	Type: Client (map_client.txt)
	Graphics mode: fancy
	Resource Packs: Fabric Mods
	Current Language: English (US)
	CPU: 12x Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz

Mod Versions:

  • Mod Version 1.6.0
  • MC Version 1.18.2

A sort of preset menu for creating blocks

i think that it would be cool to have like a sort of drop-down menu where you can have all sorts of presets nfor blocks. For ezmple, if you pick stone from the list, it will automatically fill out all of the values with the default values that most stone type blocks have.

something else that would be neat is the ability to copy values if you tweaked them and put them into the preset menu, but i'd be more than happy to have just the preset menu, as that would make it easier to create blocks in bulk.

Base Type stairs, crashes the game

Making a block with "base": "stairs" crashes the game when it tries to load resources.

Changing it to slab works fine. Not sure if other bases are broke, but this was something that was working in 1.18.2 version of the mod, that broke in the 1.19 version. Not sure the log is helpful at all, because it doesn't mention stairs where it starts to crash.

Unhandled game exception
java.lang.IllegalStateException: Some intrusive holders were not added to registry: [Reference{null=Block{minecraft:air}}]
at net.minecraft.class_2370.method_40276(class_2370.java:352)
at net.minecraft.class_2378.method_40292(class_2378.java:404)
at net.minecraft.class_310.handler$zjh001$onStart(class_310.java:6403)
at net.minecraft.class_310.method_1514(class_310.java:713)
at net.minecraft.client.main.Main.main(Main.java:237)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
13:17:55.402
Stopping!
13:17:55.542
emissive suffixes loaded: [_e]
13:17:55.544
Shutdown failure!
java.util.ConcurrentModificationException
at java.base/java.util.HashMap.forEach(HashMap.java:1424)
at net.minecraft.class_1060.close(class_1060.java:173)
at net.minecraft.class_310.close(class_310.java:1058)
at net.minecraft.class_310.method_1490(class_310.java:1034)
at net.minecraft.client.main.Main.main(Main.java:253)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

Rotation types y_axis_player and all_player do not work differently than their counterparts

Describe the bug
The rotation types all and y_axis work like with most directional blocks in MC, where the facing: direction is towards the player's facing: direction as seen in f3 mode.
The problem is that giving a block y_axis_player or all_player does not change this behavior, locking the block-maker out of using "observer-style" rotations.

To Reproduce
Make a block with rotation_type all. Place it down in any direction, then place a piston right next to it. You will see that the block and piston have the same facing direction. Now place down an observer. The observer is facing away from where the player is at, towards where the player is looking.
Now change the block to rotation_type all_player in the json file, and restart the MC instance.
The block's placing behavior does not change, even though it should work like an observer now.
Similar behavior is found with rotation_type y_axis_player vs y_axis.

Expected behavior
I was attempting to create some blocks that work similar to magenta glazed terracotta: when placed on the ground in front of you, an arrow on top points in the direction you are looking in. As best I can tell, this is impossible without either messing around with events and commands to rotate the block, or rotating all of my textures to be upside down. Note that the arrow in magenta glazed terracotta's texture within MC's files is pointed towards the top.

Mod Versions:

  • Mod Version 1.5.0
  • MC Version 1.18.1

Custom Item Models are Stored in the Blocks folder.

When trying to add custom models, adding blocks makes sense. You add the models to the folder custom_blocks/blocks/models.

But when adding custom item models, you have to add them to custom_blocks/blocks/item_models, which just doesn't make sense.

Also these folders do not generate on their own. It would be nice to have these auto generate.

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.