Jump to content

(1.14.4 Eclipse) (Solved - After some guidance from my MC coding therapists) No error messages and modded items won't appear?


Recommended Posts

Posted (edited)

So... I have looked at multiple different tutorials for this, and it will load Minecraft with no error messages and my items not appearing in the in the MISC tab like specified in code. I have also tried using a command to see if these items existed in the game also to no success (unsure if that requires additional code). I have also realized that my messages to verify that the modded items and block appear upon loading Minecraft do not appear in the logs. I will post the contents of the logs as well as the code for my mod.

Log:

 

[24Sep2019 18:14:40.763] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.1.0, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, /Users/mattmeans/.gradle/caches/forge_gradle/assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[24Sep2019 18:14:40.767] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 1.8.0_222 by AdoptOpenJDK
[24Sep2019 18:14:40.990] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[24Sep2019 18:14:42.393] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, /Users/mattmeans/.gradle/caches/forge_gradle/assets, --assetIndex, 1.14, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[24Sep2019 18:14:45.873] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
[24Sep2019 18:14:57.664] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer:
[24Sep2019 18:14:57.701] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.2.1 build 12
[24Sep2019 18:14:59.532] [modloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 28.1.0, for MC 1.14.4 with MCP 20190829.143755
[24Sep2019 18:14:59.532] [modloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v28.1.0 Initialized
[24Sep2019 18:15:04.491] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient/]: Could not authorize you against Realms server: Invalid session id
[24Sep2019 18:15:08.406] [modloading-worker-0/INFO] [visionarymod/]: Setup method registered
[24Sep2019 18:15:08.563] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[24Sep2019 18:15:08.568] [modloading-worker-0/INFO] [visionarymod/]: clientRegistries method registered
[24Sep2019 18:15:09.399] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 28.1.0 Target: null
[24Sep2019 18:15:09.399] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [visionarymod] Starting version check at http://myurl.me/
[24Sep2019 18:15:10.039] [Forge Version Check/WARN] [net.minecraftforge.fml.VersionChecker/]: Failed to process update information
java.io.IOException: Server returned HTTP response code: 400 for URL: http://myurl.me/
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_222]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_222]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_222]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945) ~[?:1.8.0_222]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_222]
    at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:189) ~[?:?]
    at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:206) ~[?:?]
    at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_222]
    at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:157) [?:?]
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://myurl.me/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_222]
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_222]
    at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:173) ~[?:?]
    ... 3 more
[24Sep2019 18:15:12.314] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer:
[24Sep2019 18:15:12.318] [Client thread/WARN] [net.minecraft.client.resources.Locale/]: Skipped language file: visionarymod:lang/en_us.json (com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected ':' at line 2 column 34 path $.item.visionarymod.guidebook: )
[24Sep2019 18:15:12.482] [Client thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[24Sep2019 18:15:12.485] [Client thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[24Sep2019 18:15:12.697] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512 textures-atlas
[24Sep2019 18:15:13.468] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/particle-atlas
[24Sep2019 18:15:13.470] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/painting-atlas
[24Sep2019 18:15:13.470] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128 textures/mob_effect-atlas
[24Sep2019 18:15:18.401] [Thread-1/FATAL] [net.minecraftforge.common.ForgeConfig/CORE]: Forge config just got changed on the file system!
[24Sep2019 18:16:16.638] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[24Sep2019 18:16:16.641] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[24Sep2019 18:16:16.641] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[24Sep2019 18:16:16.642] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[24Sep2019 18:16:16.643] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[24Sep2019 18:16:16.779] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Starting integrated minecraft server version 1.14.4
[24Sep2019 18:16:16.779] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Generating keypair
[24Sep2019 18:16:17.067] [Server thread/INFO] [net.minecraftforge.registries.GameData/REGISTRIES]: Injecting existing registry data into this SERVER instance
[24Sep2019 18:16:18.706] [Server thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, main, forge-1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar
[24Sep2019 18:16:19.244] [Server thread/INFO] [net.minecraft.item.crafting.RecipeManager/]: Loaded 6 recipes
[24Sep2019 18:16:20.264] [Server thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 811 advancements
[24Sep2019 18:16:20.827] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Preparing start region for dimension minecraft:overworld
[24Sep2019 18:16:22.485] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[24Sep2019 18:16:22.486] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[24Sep2019 18:16:22.486] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[24Sep2019 18:16:22.486] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[24Sep2019 18:16:22.947] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 82%
[24Sep2019 18:16:24.977] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83%
[24Sep2019 18:16:24.977] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83%
[24Sep2019 18:16:24.978] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83%
[24Sep2019 18:16:24.978] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83%
[24Sep2019 18:16:25.373] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 90%
[24Sep2019 18:16:25.842] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 90%
[24Sep2019 18:16:26.336] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 90%
[24Sep2019 18:16:26.836] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 91%
[24Sep2019 18:16:26.964] [Thread-1/FATAL] [net.minecraftforge.common.ForgeConfig/CORE]: Forge config just got changed on the file system!
[24Sep2019 18:16:27.335] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 94%
[24Sep2019 18:16:27.830] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 96%
[24Sep2019 18:16:27.976] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Time elapsed: 7148 ms
[24Sep2019 18:16:28.649] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[24Sep2019 18:16:28.650] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[24Sep2019 18:16:29.861] [Netty Local Client IO #0/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server.
[24Sep2019 18:16:30.202] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Dev[local:E:5996f581] logged in with entity id 243 at (164.65675406494523, 75.67647087614428, 177.71428892577813)
[24Sep2019 18:16:30.247] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev joined the game
[24Sep2019 18:16:30.500] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Saving and pausing game...
[24Sep2019 18:16:30.512] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld
[24Sep2019 18:16:31.552] [pool-3-thread-1/WARN] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@6d167bf5[id=380df991-f603-344c-a090-369bad2a924a,name=Dev,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[authlib-1.5.25.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) ~[authlib-1.5.25.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) ~[authlib-1.5.25.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) ~[authlib-1.5.25.jar:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:4154) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) ~[guava-21.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) ~[authlib-1.5.25.jar:?]
    at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:1950) ~[?:?]
    at net.minecraft.client.resources.SkinManager.lambda$loadProfileTextures$1(SkinManager.java:111) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
[24Sep2019 18:16:33.128] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 3651ms or 73 ticks behind
[24Sep2019 18:16:33.247] [Client thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 0 advancements
[24Sep2019 18:16:49.177] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Saving and pausing game...
[24Sep2019 18:16:49.181] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld
[24Sep2019 18:16:50.132] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Dev lost connection: Disconnected
[24Sep2019 18:16:50.132] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev left the game
[24Sep2019 18:16:50.138] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Stopping singleplayer server as player logged out
[24Sep2019 18:16:50.170] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server
[24Sep2019 18:16:50.171] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players
[24Sep2019 18:16:50.171] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds
[24Sep2019 18:16:50.171] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld
[24Sep2019 18:16:50.486] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[24Sep2019 18:16:50.495] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[24Sep2019 18:16:52.753] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Stopping!

 

 

 

Mod:

-Main:

 

package theagameplayer.visionarymod;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import net.minecraft.block.Block;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.item.Item.Properties;
import net.minecraft.item.ItemGroup;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

@Mod("visionarymod")
public class VisionaryMod 
{
    public static VisionaryMod instance;
    public static final String MODID = "visionarymod";
    private static final Logger LOGGER = LogManager.getLogger(MODID);
    
    public VisionaryMod() 
    {
        instance = this;
        
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::clientRegistries);
        
        MinecraftForge.EVENT_BUS.register(this);
    }

    private void setup(final FMLCommonSetupEvent event)
    {
        LOGGER.info("Setup method registered");
    }
    
    private void clientRegistries(final FMLClientSetupEvent event)
    {
        LOGGER.info("clientRegistries method registered");
    }
    
    @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)
    public static class RegistryEvents
    {
        @SubscribeEvent
        public void registerItems(RegistryEvent.Register<Item> event)
        {
            event.getRegistry().registerAll();
            {
                ItemList.guidebook = new Item(new Properties().group(ItemGroup.MISC).maxStackSize(1)).setRegistryName(location("guidebook"));
                        
                ItemList.steamvent = new BlockItem(null, new BlockItem.Properties().group(ItemGroup.MISC)).setRegistryName(BlockList.steamvent.getRegistryName());
            };
            
            LOGGER.info("Items registered");
        }
        
        @SubscribeEvent
        public void registerBlocks(RegistryEvent.Register<Block> event)
        {
            event.getRegistry().registerAll();
            {
                BlockList.steamvent = new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(2.0f, 3.0f).lightValue(2).sound(SoundType.STONE)).setRegistryName(location("steamvent"));
            };
            
            LOGGER.info("Blocks registered");
        }
        
        private static ResourceLocation location(String name)
        {
            return new ResourceLocation(MODID, name);
        }
    }
    
    
}
 

 

 

- ItemList:

 

package theagameplayer.visionarymod;

 

import net.minecraft.item.Item;

 

public class ItemList

{

public static Item guidebook;

public static Item steamvent;

 

}

 

 

 

- BlockList:

 

package theagameplayer.visionarymod;

 

import net.minecraft.block.Block;

 

public class BlockList

{

public static Block steamvent;

 

}

 

 

 

Note that these blocks and items are just created to check if Minecraft would load the items in Eclipse. I'd appreciate any help and will do what I can so I can actually start pumping out content of substance.

Edited by A-Game
Posted

Maybe you are missing few ObjectHolders for ItemList:

@ObjectHolder("visionarymod:guidebook")
public static Item guidebook;
@ObjectHolder("visionarymod:steamvent")
public static Item steamvent;

and for BlockList:

@ObjectHolder("visionarymod:steamvent")
public static Block steamvent;

 

Posted
4 hours ago, A-Game said:

 public void registerItems(RegistryEvent.Register<Item> event)

4 hours ago, A-Game said:

public void registerBlocks(RegistryEvent.Register<Block> event)

These need to be static.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted (edited)

I have tried both, neither have worked...

I added the static back to the registerItems and registerBlocks, with no change. I have also added the ObjectHolders also to no success...

Edited by A-Game
Posted
5 minutes ago, A-Game said:

neither have worked...

Please elaborate. Are they all still not appearing or only some not appearing? Is there anything in the console?

 

6 minutes ago, A-Game said:

I added the static back to the registerItems and registerBlocks, with no change. I have also added the ObjectHolders also to no success...

Post your updated code. Preferably in a more readable format than before. There is a code "<>" button where you can put code of you can use the spoiler button that looks like an eye.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

I tried to make formatting more clear, from what I'm seeing is still no errors and neither items or blocks appear in-game when running in Eclipse.

 

New full Log:

 

[25Sep2019 00:32:34.357] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.1.0, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, /Users/mattmeans/.gradle/caches/forge_gradle/assets, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[25Sep2019 00:32:34.360] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 1.8.0_222 by AdoptOpenJDK
[25Sep2019 00:32:34.579] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[25Sep2019 00:32:35.858] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, /Users/mattmeans/.gradle/caches/forge_gradle/assets, --assetIndex, 1.14, --username, Dev, --accessToken, ❄❄❄❄❄❄❄❄, --userProperties, {}]
[25Sep2019 00:32:39.120] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
[25Sep2019 00:32:51.079] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer:
[25Sep2019 00:32:51.124] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.2.1 build 12
[25Sep2019 00:32:53.006] [modloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 28.1.0, for MC 1.14.4 with MCP 20190829.143755
[25Sep2019 00:32:53.006] [modloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v28.1.0 Initialized
[25Sep2019 00:32:53.371] [Client thread/INFO] [visionarymod/]: Blocks registered
[25Sep2019 00:32:53.375] [Client thread/INFO] [visionarymod/]: Items registered
[25Sep2019 00:32:57.212] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient/]: Could not authorize you against Realms server: Invalid session id
[25Sep2019 00:33:00.930] [modloading-worker-0/INFO] [visionarymod/]: Setup method registered
[25Sep2019 00:33:01.044] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[25Sep2019 00:33:01.048] [modloading-worker-3/INFO] [visionarymod/]: clientRegistries method registered
[25Sep2019 00:33:01.457] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 28.1.0 Target: null
[25Sep2019 00:33:01.457] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [visionarymod] Starting version check at http://myurl.me/
[25Sep2019 00:33:02.332] [Forge Version Check/WARN] [net.minecraftforge.fml.VersionChecker/]: Failed to process update information
java.io.IOException: Server returned HTTP response code: 400 for URL: http://myurl.me/
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_222]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_222]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_222]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945) ~[?:1.8.0_222]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_222]
    at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:189) ~[?:?]
    at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:206) ~[?:?]
    at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_222]
    at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:157) [?:?]
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://myurl.me/
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900) ~[?:1.8.0_222]
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_222]
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_222]
    at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:173) ~[?:?]
    ... 3 more
[25Sep2019 00:33:04.934] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer:
[25Sep2019 00:33:04.938] [Client thread/WARN] [net.minecraft.client.resources.Locale/]: Skipped language file: visionarymod:lang/en_us.json (com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected ':' at line 2 column 34 path $.item.visionarymod.guidebook: )
[25Sep2019 00:33:05.026] [Client thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[25Sep2019 00:33:05.030] [Client thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[25Sep2019 00:33:05.282] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512 textures-atlas
[25Sep2019 00:33:06.027] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/particle-atlas
[25Sep2019 00:33:06.029] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/painting-atlas
[25Sep2019 00:33:06.029] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128 textures/mob_effect-atlas
[25Sep2019 00:33:10.927] [Thread-1/FATAL] [net.minecraftforge.common.ForgeConfig/CORE]: Forge config just got changed on the file system!
[25Sep2019 00:33:16.728] [Client thread/INFO] [net.minecraft.world.storage.SaveFormat/]: Deleting level New World
[25Sep2019 00:33:16.729] [Client thread/INFO] [net.minecraft.world.storage.SaveFormat/]: Attempt 1...
[25Sep2019 00:33:19.358] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[25Sep2019 00:33:19.359] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[25Sep2019 00:33:19.360] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[25Sep2019 00:33:19.361] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[25Sep2019 00:33:19.362] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[25Sep2019 00:33:20.479] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Starting integrated minecraft server version 1.14.4
[25Sep2019 00:33:20.479] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Generating keypair
[25Sep2019 00:33:20.606] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file ./saves/New World/serverconfig/forge-server.toml is not correct. Correcting
[25Sep2019 00:33:20.607] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server was corrected from null to SimpleCommentedConfig:{}
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringEntities was corrected from null to false
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringTileEntities was corrected from null to false
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.fullBoundingBoxLadders was corrected from null to false
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.zombieBaseSummonChance was corrected from null to 0.1
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.zombieBabyChance was corrected from null to 0.05
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.logCascadingWorldGeneration was corrected from null to true
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.fixVanillaCascading was corrected from null to false
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.dimensionUnloadQueueDelay was corrected from null to 0
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.clumpingThreshold was corrected from null to 64
[25Sep2019 00:33:20.608] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key server.treatEmptyTagsAsAir was corrected from null to false
[25Sep2019 00:33:20.701] [Server thread/INFO] [net.minecraftforge.registries.GameData/REGISTRIES]: Injecting existing registry data into this SERVER instance
[25Sep2019 00:33:20.999] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Found new data pack vanilla, loading it automatically
[25Sep2019 00:33:21.000] [Server thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, main, forge-1.14.4-28.1.0_mapped_snapshot_20190719-1.14.3-recomp.jar
[25Sep2019 00:33:21.540] [Server thread/INFO] [net.minecraft.item.crafting.RecipeManager/]: Loaded 6 recipes
[25Sep2019 00:33:22.661] [Server thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 811 advancements
[25Sep2019 00:33:27.150] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Preparing start region for dimension minecraft:overworld
[25Sep2019 00:33:27.249] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[25Sep2019 00:33:27.668] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[25Sep2019 00:33:28.170] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[25Sep2019 00:33:28.724] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0%
[25Sep2019 00:33:29.168] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 1%
[25Sep2019 00:33:29.673] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 1%
[25Sep2019 00:33:30.182] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 4%
[25Sep2019 00:33:30.670] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 4%
[25Sep2019 00:33:31.167] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 6%
[25Sep2019 00:33:31.676] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 9%
[25Sep2019 00:33:32.166] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 13%
[25Sep2019 00:33:32.670] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 13%
[25Sep2019 00:33:33.175] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 18%
[25Sep2019 00:33:33.691] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 18%
[25Sep2019 00:33:34.166] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 23%
[25Sep2019 00:33:34.687] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 26%
[25Sep2019 00:33:35.185] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 26%
[25Sep2019 00:33:35.678] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 26%
[25Sep2019 00:33:36.170] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 35%
[25Sep2019 00:33:36.683] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 35%
[25Sep2019 00:33:37.167] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 45%
[25Sep2019 00:33:38.161] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 45%
[25Sep2019 00:33:38.182] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 55%
[25Sep2019 00:33:38.676] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 59%
[25Sep2019 00:33:39.372] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 63%
[25Sep2019 00:33:39.671] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 72%
[25Sep2019 00:33:40.477] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 74%
[25Sep2019 00:33:40.750] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 84%
[25Sep2019 00:33:41.190] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 91%
[25Sep2019 00:33:41.672] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 96%
[25Sep2019 00:33:41.822] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Time elapsed: 14658 ms
[25Sep2019 00:33:42.854] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[25Sep2019 00:33:42.854] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[25Sep2019 00:33:44.529] [Netty Local Client IO #0/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server.
[25Sep2019 00:33:44.899] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Dev[local:E:c3943990] logged in with entity id 204 at (-231.5, 67.0, -77.5)
[25Sep2019 00:33:44.935] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev joined the game
[25Sep2019 00:33:45.183] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Saving and pausing game...
[25Sep2019 00:33:45.213] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld
[25Sep2019 00:33:46.207] [pool-3-thread-1/WARN] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@4c640332[id=380df991-f603-344c-a090-369bad2a924a,name=Dev,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
    at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:79) ~[authlib-1.5.25.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) ~[authlib-1.5.25.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) ~[authlib-1.5.25.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) ~[authlib-1.5.25.jar:?]
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache.get(LocalCache.java:4154) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) ~[guava-21.0.jar:?]
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) ~[guava-21.0.jar:?]
    at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) ~[authlib-1.5.25.jar:?]
    at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:1950) ~[?:?]
    at net.minecraft.client.resources.SkinManager.lambda$loadProfileTextures$1(SkinManager.java:111) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
[25Sep2019 00:33:49.180] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 4570ms or 91 ticks behind
[25Sep2019 00:33:49.545] [Client thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 0 advancements
[25Sep2019 00:34:07.346] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev has made the advancement [Ol' Betsy]
[25Sep2019 00:34:07.360] [Client thread/INFO] [net.minecraft.client.gui.NewChatGui/]: [CHAT] Dev has made the advancement [Ol' Betsy]
[25Sep2019 00:34:07.385] [Client thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 4 advancements
[25Sep2019 00:35:13.229] [Client thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 11 advancements
[25Sep2019 00:36:17.812] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Saving and pausing game...
[25Sep2019 00:36:17.815] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld
[25Sep2019 00:36:20.852] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2989ms or 59 ticks behind
[25Sep2019 00:36:20.865] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Dev lost connection: Disconnected
[25Sep2019 00:36:20.866] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev left the game
[25Sep2019 00:36:20.870] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Stopping singleplayer server as player logged out
[25Sep2019 00:36:20.887] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server
[25Sep2019 00:36:20.889] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players
[25Sep2019 00:36:20.889] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds
[25Sep2019 00:36:20.889] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld
[25Sep2019 00:36:21.278] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[25Sep2019 00:36:21.286] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (New World): All chunks are saved
[25Sep2019 00:36:22.985] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Stopping!

 

 

new ItemList code:

 

package theagameplayer.visionarymod;

 

import net.minecraft.item.Item;

import net.minecraftforge.registries.ObjectHolder;

 

public class ItemList

{

@ObjectHolder("visionarymod:guidebook")

public static Item guidebook;

@ObjectHolder("visionarymod:steamvent")

public static Item steamvent;

 

}

 

 

new BlockList code:

 

package theagameplayer.visionarymod;

 

import net.minecraft.block.Block;

import net.minecraftforge.registries.ObjectHolder;

 

public class BlockList

{

@ObjectHolder("visionarymod:steamvent")

public static Block steamvent;

 

}

 

 

New Visionary Mod main code:

 

@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)

public static class RegistryEvents

{

@SubscribeEvent

public static void registerItems(RegistryEvent.Register<Item> event)

{

event.getRegistry().registerAll();

{

ItemList.guidebook = new Item(new Properties().group(ItemGroup.MISC).maxStackSize(1)).setRegistryName(location("guidebook"));

 

ItemList.steamvent = new BlockItem(null, new BlockItem.Properties().group(ItemGroup.MISC)).setRegistryName(BlockList.steamvent.getRegistryName());

};

 

LOGGER.info("Items registered");

}

 

@SubscribeEvent

public static void registerBlocks(RegistryEvent.Register<Block> event)

{

event.getRegistry().registerAll();

{

BlockList.steamvent = new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(2.0f, 3.0f).lightValue(2).sound(SoundType.STONE)).setRegistryName(location("steamvent"));

};

 

LOGGER.info("Blocks registered");

}

 

private static ResourceLocation location(String name)

{

return new ResourceLocation(MODID, name);

}

}

 

 

}

Posted
7 minutes ago, A-Game said:

Cause clearly after last time, Harry's tutorials are proving to be rather problematic ;/ 

I assume you had been warned.

7 minutes ago, A-Game said:

What do you recommend as a fix?

That method accepts an endless number of arguments. Those arguments are your Block or item values.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)

public static class RegistryEvents

{

@SubscribeEvent

public static void registerItems(RegistryEvent.Register<Item> event, Item guidebook, Item steamvent)

{

event.getRegistry().registerAll(guidebook, steamvent);

{

ItemList.guidebook = new Item(new Properties().group(ItemGroup.MISC).maxStackSize(1)).setRegistryName(location("guidebook"));

 

ItemList.steamvent = new BlockItem(null, new BlockItem.Properties().group(ItemGroup.MISC)).setRegistryName(BlockList.steamvent.getRegistryName());

}

 

LOGGER.info("Items registered");

}

 

@SubscribeEvent

public static void registerBlocks(RegistryEvent.Register<Block> event, Block steamvent)

{

event.getRegistry().registerAll(steamvent);

{

BlockList.steamvent = new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(2.0f, 3.0f).lightValue(2).sound(SoundType.STONE)).setRegistryName(location("steamvent"));

}

 

LOGGER.info("Blocks registered");

}

 

private static ResourceLocation location(String name)

{

return new ResourceLocation(MODID, name);

}

}

 

 

}

 

I changed the code to match the format shown in https://mcforge.readthedocs.io/en/1.13.x/concepts/registries/

to again no success, I know I am clearly doing something wrong and someone may as well be slapping me in the face with the solution. Heres the logs again, sorry if I'm coming across as a pain. There are once again no errors and no items or blocks appearing, and the log that was generated was too big to paste... (crashed google :v)

 

Posted

I realized I set them as a parameter before... Yet another failed attempt -_-

 

@Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD)

public static class RegistryEvents

{

@SubscribeEvent

public static void registerItems(RegistryEvent.Register<Item> event)

{

 

 

 

Item guidebook = null;

Item steamvent = null;

event.getRegistry().registerAll(guidebook, steamvent);

{

ItemList.guidebook = new Item(new Properties().group(ItemGroup.MISC).maxStackSize(1)).setRegistryName(location("guidebook"));

ItemList.steamvent = new BlockItem(null, new BlockItem.Properties().group(ItemGroup.MISC)).setRegistryName(BlockList.steamvent.getRegistryName());

}

 

LOGGER.info("Items registered");

}

 

@SubscribeEvent

public static void registerBlocks(RegistryEvent.Register<Block> event)

{

Block steamvent = null;

event.getRegistry().registerAll(steamvent);

{

BlockList.steamvent = new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(2.0f, 3.0f).lightValue(2).sound(SoundType.STONE)).setRegistryName(location("steamvent"));

}

 

LOGGER.info("Blocks registered");

}

 

private static ResourceLocation location(String name)

{

return new ResourceLocation(MODID, name);

}

}

 

 

}

Posted

Welp... I did it with dieseiben07's making me realize my stupid errors and a relook at Anime's tutorial for like the third time... , but only to come across crash reports involving my block :P (which I can take from here)

Thank you both for putting up with my half-brain efforts

-From the guy that brought you feelings of being dumbfounded and made you likely shake your head

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.