[FIXED! finally] I put a 1.12 forge in the launcher and now it wont work...
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
I am trying to make a Biome(and plan to make multiple more) But I can't figure out what's wrong with my registry, It gives me a red line for this code BIOMES.register("chocolate_forest", ChocolateForest::new); it tells me that "no instance(s) of type variable(s) exist so that ChocolateForest conforms to Biome inference variable I has incompatible bounds: equality constraints: Biome lower bounds: ChocolateForest" here's the full code public class ModBiomes { public static final DeferredRegister<Biome> BIOMES = DeferredRegister.create(ForgeRegistries.BIOMES, chocolate.MODID); public static void init() { BIOMES.register(FMLJavaModLoadingContext.get().getModEventBus()); } public static final RegistryObject<Biome> CHOCOLATE_FOREST = BIOMES.register("chocolate_forest", ChocolateForest::new); } I have tried to extend Biome to my ChocolateForest class as was shown in an 1.15 tutorial, but I guess something was switched around since then as it tells me that Biome doesn't have a default constructor to take from. I have also tried looking for something similar and possibly renamed in the code but without any luck. And heres my ChocolateForest class just in case you need it. public class ChocolateForest{ protected ChocolateForest() { super(); } protected void configureBiome(Biome.Builder builder) { builder.precipitation(Biome.RainType.RAIN).category(Biome.Category.FOREST).depth(-0.1F).temperature(0.6F).downfall(0.9F); builder.setEffects((new BiomeAmbience.Builder()).setWaterColor(329011).setWaterFogColor(329011).setFogColor(12638463).withSkyColor(5).withGrassColor(0x85CE71).withFoliageColor(0x63BF66).build()); } protected void configureGeneration(BiomeGenerationSettings.Builder builder) { builder.withSurfaceBuilder(ConfiguredSurfaceBuilders.GRASS); DefaultBiomeFeatures.withOverworldOres(builder); DefaultBiomeFeatures.withCavesAndCanyons(builder); DefaultBiomeFeatures.withLavaAndWaterLakes(builder); DefaultBiomeFeatures.withMonsterRoom(builder); } protected void configureMobSpawns(MobSpawnInfo.Builder builder) { builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SHEEP, 12, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.PIG, 10, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.CHICKEN, 10, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.COW, 8, 4, 4)); builder.withSpawner(EntityClassification.AMBIENT, new MobSpawnInfo.Spawners(EntityType.BAT, 10, 8, 8)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SPIDER, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ZOMBIE, 95, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ZOMBIE_VILLAGER, 5, 1, 1)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SKELETON, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.CREEPER, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SLIME, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ENDERMAN, 10, 1, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.WITCH, 5, 1, 1)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(ModEntities.CHOCOLATE_SLIME.get(), 100, 3, 7)); } } I haven't completely finished it as of yet because I've been trying to work out the registry problem.
-
By JulesJules · Posted
Hey! When logging onto my new Valhelsia server I got this error message. Unexpected custom data from client. Please help. Here is the console data. It is on apex server hosting. Please help. 14.04 18:59:12 [Server] Netty Epoll Server IO #8/INFO [co.li.co.ConfigSyncManager/]: Skipping config sync, No mods have registered a syncable config. 14.04 18:59:13 [Server] User Authenticator #3/INFO UUID of player Julesiac669 is fbbbf514-f3d4-49f1-8847-134097e88ddd 14.04 18:59:13 [Server] Netty Epoll Server IO #8/ERROR [ne.mi.fm.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake 14.04 18:59:13 [Server] Netty Epoll Server IO #8/INFO Disconnecting com.mojang.authlib.GameProfile@41363519[id=fbbbf514-f3d4-49f1-8847-134097e88ddd,name=Julesiac669,properties={textures=[com.mojang.authlib.properties.Property@4e635308]},legacy=false] (/67.180.183.224:56122): Unexpected custom data from client 14.04 18:59:13 [Disconnect] User com.mojang.authlib.GameProfile@41363519[id=fbbbf514-f3d4-49f1-8847-134097e88ddd,name=Julesiac669,properties={textures=[com.mojang.authlib.properties.Property@4e635308]},legacy=false] (/67.180.183.224:56122) has disconnected, reason: Unexpected custom data from client -
By JulesJules · Posted
How do you make sure the same mods are installed on your client? I have the same issue please help.
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.