Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling the Bone Meal Properties section of a block causes build errors #541

Open
3 tasks done
PanPanda1 opened this issue Jun 6, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@PanPanda1
Copy link

PanPanda1 commented Jun 6, 2024

Issue tracker rule checks (please read carefully)

Issue description

When enabling the Bone Meal Properties section of a block in advanced properties, it will cause build errors in the latest version of the fabric generator.

How to reproduce this issue?

Step 1: Create any block
Step 2: Enable bone meal properties
Step 3 Save mod element
Step 4: Error

Operating system

Windows

Details

Mcreator 2023.4, Fabric Generator 1.10

Example workspace

No response

Logs

Executing Gradle task: build
Build info: MCreator 2023.4.52316, fabric-1.20.1, 64-bit, 32675 MB, Windows 10, JVM 17.0.9, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-06-06-12:52:11
 
> Configure project :
Fabric Loom: 1.4.6
> Task :compileJava FAILED
C:\Users\Panda\MCreatorWorkspaces\tree_test\src\main\java\net\mcreator\treetest\block\BonemealtestBlock.java:28: error: BonemealtestBlock is not abstract and does not override abstract method performBonemeal(ServerLevel,RandomSource,BlockPos,BlockState) in BonemealableBlock 
public class BonemealtestBlock extends Block implements BonemealableBlock {
  ^
C:\Users\Panda\MCreatorWorkspaces\tree_test\src\main\java\net\mcreator\treetest\block\BonemealtestBlock.java:48: error: method does not override or implement a method from a supertype 
@Override
 ^
C:\Users\Panda\MCreatorWorkspaces\tree_test\src\main\java\net\mcreator\treetest\block\BonemealtestBlock.java:53: error: method does not override or implement a method from a supertype 
@Override
 ^
C:\Users\Panda\MCreatorWorkspaces\tree_test\src\main\java\net\mcreator\treetest\block\BonemealtestBlock.java:58: error: method does not override or implement a method from a supertype 
@Override
 ^
4 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 2s
1 actionable task: 1 executed
 
BUILD FAILED
Task completed in 2 minutes and 42 seconds
@PanPanda1 PanPanda1 added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant