Started by
McModder112
on
Topic category: Troubleshooting, bugs, and solutions
Umm So I was Just Peacefully Re Editing One Of My Entities So That The Spawn Rate Would Lower. And Then Boom After Im Done Editing It Says My Elements Didnt Compile. It Was the Two Entities The One I Was Editing And The Other. I Thought It Was Because The Spawn Weight Was The Same So I Changed The Entities Spawn Weight Back To 20 And Bam Again It Said Mod Elements Didint Compile And The Elements Had Nothing In Common And I Didnt Do Anything With Them. And It Was like 18 Things So Klemen Can You Take A Look At The Bug? Thanks!
Edited by McModder112 on Sun, 06/07/2020 - 18:46
Please don't type in all caps without punctuation it is a pain to read.
Also please provide the console log so people can help you.
i cant read
is it that my eyes exploded or is it because of your weird typing?
Ok Sorry
Oh and heres the console log:
Executing
Gradle task: build
Build
info: MCreator 2020.3.22116, forge-1.15.2, 64-bit, 8097 MB, Windows 10,
JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
>
Configure project :
New
Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
>
Task :compileJava
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\block\GalaxyOreBlock.java:69:
error: cannot find symbol
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES,
Biome.createDecoratedFeature(new OreFeature(OreFeatureConfig::deserialize)
{
^
symbol: method createDecoratedFeature(<anonymous
OreFeature>,OreFeatureConfig,Placement<CountRangeConfig>,CountRangeConfig)
location: class Biome
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\block\IridiumBlock.java:68:
error: cannot find symbol
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES,
Biome.createDecoratedFeature(new OreFeature(OreFeatureConfig::deserialize)
{
^
symbol: method createDecoratedFeature(<anonymous
OreFeature>,OreFeatureConfig,Placement<CountRangeConfig>,CountRangeConfig)
location: class Biome
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\block\MoonStoneOreBlock.java:69:
error: cannot find symbol
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES,
Biome.createDecoratedFeature(new OreFeature(OreFeatureConfig::deserialize)
{
^
symbol: method createDecoratedFeature(<anonymous
OreFeature>,OreFeatureConfig,Placement<CountRangeConfig>,CountRangeConfig)
location: class Biome
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\block\PowerBreakerOreBlock.java:69:
error: cannot find symbol
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES,
Biome.createDecoratedFeature(new OreFeature(OreFeatureConfig::deserialize)
{
^
symbol: method createDecoratedFeature(<anonymous
OreFeature>,OreFeatureConfig,Placement<CountRangeConfig>,CountRangeConfig)
location: class Biome
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\block\TreasureChest2Block.java:67:
error: cannot find symbol
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES,
Biome.createDecoratedFeature(new OreFeature(OreFeatureConfig::deserialize)
{
^
symbol: method createDecoratedFeature(<anonymous
OreFeature>,OreFeatureConfig,Placement<CountRangeConfig>,CountRangeConfig)
location: class Biome
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\block\TreasureChestBlock.java:66:
error: cannot find symbol
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES,
Biome.createDecoratedFeature(new OreFeature(OreFeatureConfig::deserialize)
{
^
symbol: method createDecoratedFeature(<anonymous
OreFeature>,OreFeatureConfig,Placement<CountRangeConfig>,CountRangeConfig)
location: class Biome
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:67:
error: method registerEntityRenderingHandler in class RenderingRegistry
cannot be applied to given types;
RenderingRegistry.registerEntityRenderingHandler(ArrowCustomEntity.class,
^
required: EntityType<T>,IRenderFactory<? super T>
found: Class<ArrowCustomEntity>,(renderMan[...]er())
reason: cannot infer type-variable(s) T
(argument mismatch; Class<ArrowCustomEntity> cannot be converted to
EntityType<T>)
where T is a type-variable:
T extends Entity declared in method
<T>registerEntityRenderingHandler(EntityType<T>,IRenderFactory<? super T>)
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:158:
error: posX has private access in Entity
int x = (int) this.posX;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:159:
error: posY has private access in Entity
int y = (int) this.posY;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:160:
error: posZ has private access in Entity
int z = (int) this.posZ;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:176:
error: posX has private access in Entity
int x = (int) entity.posX;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:177:
error: posY has private access in Entity
int y = (int) entity.posY;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:178:
error: posZ has private access in Entity
int z = (int) entity.posZ;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:187:
error: posY has private access in Entity
double d0 = target.posY + (double) target.getEyeHeight() - 1.1;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:188:
error: posX has private access in Entity
double d1 = target.posX - entity.posX;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:188:
error: posX has private access in Entity
double d1 = target.posX - entity.posX;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:189:
error: posZ has private access in Entity
double d3 = target.posZ - entity.posZ;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:189:
error: posZ has private access in Entity
double d3 = target.posZ - entity.posZ;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:190:
error: posY has private access in Entity
entityarrow.shoot(d1, d0 - entityarrow.posY + (double)
MathHelper.sqrt(d1 * d1 + d3 * d3) * 0.2F, d3, 1.6F, 12.0F);
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:194:
error: posX has private access in Entity
int x = (int) entity.posX;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:195:
error: posY has private access in Entity
int y = (int) entity.posY;
^
C:\Users\natha\MCreatorWorkspaces\lootandoresmod\src\main\java\net\mcreator\looterandoresmod\item\OverWorldStaffFullItem.java:196:
error: posZ has private access in Entity
int z = (int) entity.posZ;
^
22
errors
>
Task :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
Deprecated
Gradle features were used in this build, making it incompatible with
Gradle 5.0.
Use
'--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD
FAILED in 19s
1
actionable task: 1 executed
BUILD
FAILED
Task
completed in 27278 milliseconds
You have very likely locked code and changed MC version.
Also don't ping me in titles, you did a clear TOS violation here.
Is there any way to load up the workspace in a previous version? Im pretty sure i cant load it because its for 1.15.2 .