A weird Dimension Bug

Started by PokePhil5280 on Sun, 05/03/2020 - 15:11

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:18, 22. Aug 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
A weird Dimension Bug
Sun, 05/03/2020 - 15:11

I have a little Bug in my Dimension

 

 

 

Executing Gradle task: build
Build info: MCreator 2020.2.14217, 1.12.2, 64-bit, 16250 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: D:\MCreator\jdk
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:deobfCompileDummyTask
:getVersionJson
:extractUserdev UP-TO-DATE
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:applyBinaryPatches SKIPPED
:deobfProvidedDummyTask
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:deobfMcMCP SKIPPED
:sourceApiJava UP-TO-DATE
:compileApiJava NO-SOURCE
:processApiResources NO-SOURCE
:apiClasses UP-TO-DATE
:sourceMainJava UP-TO-DATE
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:85: error: no suitable method found for add(()->new Bl[...]tal())       elements.blocks.add(() -> new BlockCustomPortal());
                     ^
    method Collection.add(Supplier<Block>) is not applicable
      (argument mismatch; bad return type in lambda expression
          BlockCustomPortal cannot be converted to Block)
    method List.add(Supplier<Block>) is not applicable
      (argument mismatch; bad return type in lambda expression
          BlockCustomPortal cannot be converted to Block)
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:86: error: cannot find symbol       elements.items.add(() -> new ItemBlock(portal).setRegistryName(portal.getRegistryName()));
                                                                           ^
  symbol:   method getRegistryName()
  location: variable portal of type BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:86: error: incompatible types: BlockCustomPortal cannot be converted to Block       elements.items.add(() -> new ItemBlock(portal).setRegistryName(portal.getRegistryName()));
                                             ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:314: error: cannot find symbol          IBlockState iblockstate = portal.getDefaultState().withProperty(BlockPortal.AXIS, l6 == 0 ? EnumFacing.Axis.Z : EnumFacing.Axis.X);
                                                                                    ^
  symbol:   variable AXIS
  location: class BlockPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:314: error: cannot find symbol          IBlockState iblockstate = portal.getDefaultState().withProperty(BlockPortal.AXIS, l6 == 0 ? EnumFacing.Axis.Z : EnumFacing.Axis.X);
                                         ^
  symbol:   method getDefaultState()
  location: variable portal of type BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:394: error: incomparable types: Block and BlockCustomPortal                      if (this.world.getBlockState(blockpos1).getBlock() == portal) {
                                                                        ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:395: error: incomparable types: Block and BlockCustomPortal                         for (blockpos2 = blockpos1.down(); this.world.getBlockState(blockpos2).getBlock() == portal; blockpos2 = blockpos2
                                                                                                          ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:468: error: constructor BlockPortal in class BlockPortal cannot be applied to given types;       public BlockCustomPortal() {
                                 ^
  required: ElementsPixelmonaddon
  found: no arguments
  reason: actual and formal argument lists differ in length
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:469: error: cannot find symbol          setHardness(-1.0F);
         ^
  symbol:   method setHardness(float)
  location: class BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:470: error: cannot find symbol          setUnlocalizedName("distortion_portal");
         ^
  symbol:   method setUnlocalizedName(String)
  location: class BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:471: error: cannot find symbol          setRegistryName("distortion_portal");
         ^
  symbol:   method setRegistryName(String)
  location: class BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:472: error: cannot find symbol          setLightLevel(0F);
         ^
  symbol:   method setLightLevel(float)
  location: class BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:475: error: method does not override or implement a method from a supertype       @Override
      ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:490: error: method does not override or implement a method from a supertype       @Override
      ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:536: error: method does not override or implement a method from a supertype       @Override /**
      ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:543: error: cannot find symbol          EnumFacing.Axis enumfacing$axis = (EnumFacing.Axis) state.getValue(AXIS);
                                                                            ^
  symbol:   variable AXIS
  location: class BlockCustomPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:558: error: method does not override or implement a method from a supertype       @Override
      ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:568: error: incomparable types: Block and BlockCustomPortal             if (world.getBlockState(pos.west()).getBlock() != this && world.getBlockState(pos.east()).getBlock() != this) {
                                                           ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:568: error: incomparable types: Block and BlockCustomPortal             if (world.getBlockState(pos.west()).getBlock() != this && world.getBlockState(pos.east()).getBlock() != this) {
                                                                                                                 ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:679: error: incomparable types: Block and BlockCustomPortal                   if (block == portal) {
                            ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:713: error: incomparable types: Block and BlockCustomPortal             return blockIn.getDefaultState().getMaterial() == Material.AIR || blockIn == Blocks.FIRE || blockIn == portal;
                                                                                                                ^
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:724: error: cannot find symbol                   this.world.setBlockState(blockpos.up(j), portal.getDefaultState().withProperty(BlockPortal.AXIS, this.axis), 2);
                                                                                                            ^
  symbol:   variable AXIS
  location: class BlockPortal
C:\Users\Phil\MCreatorWorkspaces\pixelmonaddon\build\sources\main\java\net\mcreator\pixelmonaddon\world\WorldDistortion.java:724: error: cannot find symbol                   this.world.setBlockState(blockpos.up(j), portal.getDefaultState().withProperty(BlockPortal.AXIS, this.axis), 2);
                                                                 ^
  symbol:   method getDefaultState()
  location: variable portal of type BlockCustomPortal
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
23 errors
:compileJava FAILED
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 --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 7s
7 actionable tasks: 4 executed, 3 up-to-date
BUILD FAILED
Task completed in 9757 milliseconds

Last seen on 11:46, 15. Jun 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think it’s due to your…
Tue, 05/05/2020 - 13:16

I think it’s due to your portal frames. You selected air block, so it’s can cause the crash.