Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Eliwood

Members
  • Posts

    13
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    In space. Somewhere.
  • Personal Text
    I LIIIIIIIVE!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Eliwood's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I wish it were that easy, but I can't even find a createBlockState method. And to be more specific, I've looked inside the source code for Block and cannot locate said method. I updated my Forge to the latest build on 1.13, with the same results. The most relevant bit of code I think I can find is this bit: StateContainer.Builder<Block, IBlockState> builder = new StateContainer.Builder<>(this); this.fillStateContainer(builder); this.stateContainer = builder.create(BlockState::new); this.setDefaultState(this.stateContainer.getBaseState()); Thank you for the help, I do appreciate it.
  2. I'm attempting to add an axis property to my block, but I encounter this error: "Cannot set property EnumProperty{name=axis, clazz=class net.minecraft.util.EnumFacing$Axis, values=[x,y,z]} as it does not exist in Block{null}." The source for my Block: public class BlockAxle extends Block { public BlockAxle(String registryName) { super(Block.Properties.create(Material.IRON).sound(SoundType.ANVIL).hardnessAndResistance(3f, 3f)); this.setDefaultState(this.getDefaultState().with(BlockStateProperties.AXIS, EnumFacing.Axis.X)); this.setRegistryName(Assemblia.MOD_ID, registryName); } @Override public TileEntity createTileEntity(IBlockState state, IBlockReader world) { return new TileAxle(); } } In case it's due to how I've structured my mod, and not the block, the entire mod is hosted at https://github.com/Eliwood/Assemblia EDIT: Oh, right. The log: [14Apr2019 07:28:29.510] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher starting: java version 1.8.0_201 [14Apr2019 07:28:29.589] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.forgeVersion, 25.0.48, --fml.mcpVersion, 20190213.203750, --fml.mcpMappings, snapshot_20190222-1.13.1, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --accessToken, ????????, --version, FMLDev, --assetIndex, 1.13.1, --assetsDir, C:\Users\Patrick Hansberry\.gradle\caches\forge_gradle\assets, --userProperties, {}] [14Apr2019 07:28:29.916] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [14Apr2019 07:28:30.655] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--gameDir, ., --launchTarget, fmluserdevclient, --fml.forgeVersion, 25.0.48, --fml.mcpVersion, 20190213.203750, --fml.mcpMappings, snapshot_20190222-1.13.1, --fml.mcVersion, 1.13.2, --fml.forgeGroup, net.minecraftforge, --accessToken, ????????, --version, FMLDev, --assetIndex, 1.13.1, --assetsDir, C:\Users\Patrick Hansberry\.gradle\caches\forge_gradle\assets, --userProperties, {}] [14Apr2019 07:28:32.722] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Player794 [14Apr2019 07:28:41.664] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:block' was empty after loading [14Apr2019 07:28:41.685] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:potion' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:biome' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:block_entity_type' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:enchantment' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:entity_type' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:item' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:mob_effect' was empty after loading [14Apr2019 07:28:41.686] [Client thread/ERROR] [net.minecraft.util.registry.IRegistry/]: Registry 'minecraft:sound_event' was empty after loading [14Apr2019 07:28:41.858] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer: [14Apr2019 07:28:42.033] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.1.6 build 14 [14Apr2019 07:28:44.307] [modloading-worker-2/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 25.0.48, for MC 1.13.2 with MCP 20190213.203750 [14Apr2019 07:28:44.307] [modloading-worker-2/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v25.0.48 Initialized [14Apr2019 07:28:44.782] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: Cannot set property EnumProperty{name=axis, clazz=class net.minecraft.util.EnumFacing$Axis, values=[x, y, z]} as it does not exist in Block{null} Index: 2 Listeners: 0: NORMAL 1: ASM: class eli.assemblia.init.ModEventSubscriber onRegisterTileEntities(Lnet/minecraftforge/event/RegistryEvent$Register;)V 2: ASM: class eli.assemblia.init.ModEventSubscriber onRegisterBlocks(Lnet/minecraftforge/event/RegistryEvent$Register;)V 3: ASM: class eli.assemblia.init.ModEventSubscriber onRegisterItems(Lnet/minecraftforge/event/RegistryEvent$Register;)V java.lang.IllegalArgumentException: Cannot set property EnumProperty{name=axis, clazz=class net.minecraft.util.EnumFacing$Axis, values=[x, y, z]} as it does not exist in Block{null} at net.minecraft.state.AbstractStateHolder.with(SourceFile:106) at eli.assemblia.block.BlockAxle.<init>(BlockAxle.java:18) at eli.assemblia.init.ModEventSubscriber.onRegisterBlocks(ModEventSubscriber.java:26) at net.minecraftforge.eventbus.ASMEventHandler_1_ModEventSubscriber_onRegisterBlocks_Register.invoke(.dynamic) at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:257) at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:105) at java.util.function.Consumer.lambda$andThen$0(Unknown Source) at java.util.function.Consumer.lambda$andThen$0(Unknown Source) at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:100) at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$4(ModList.java:111) at java.util.ArrayList.forEach(Unknown Source) at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:111) at net.minecraftforge.fml.ModList.lambda$static$0(ModList.java:82) at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:70) at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:145) at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:814) at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:133) at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:52) at net.minecraft.client.Minecraft.init(Minecraft.java:411) at net.minecraft.client.Minecraft.run(Minecraft.java:344) at net.minecraft.client.main.Main.main(SourceFile:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:35) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at cpw.mods.modlauncher.Launcher.run(Launcher.java:58) at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) at net.minecraftforge.userdev.UserdevLauncher.main(UserdevLauncher.java:77) [14Apr2019 07:28:44.784] [Client thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event RegistryEvent.Register<minecraft:blocks> dispatch for modid assemblia java.lang.IllegalArgumentException: Cannot set property EnumProperty{name=axis, clazz=class net.minecraft.util.EnumFacing$Axis, values=[x, y, z]} as it does not exist in Block{null} at net.minecraft.state.AbstractStateHolder.with(SourceFile:106) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at eli.assemblia.block.BlockAxle.<init>(BlockAxle.java:18) ~[main/:?] at eli.assemblia.init.ModEventSubscriber.onRegisterBlocks(ModEventSubscriber.java:26) ~[main/:?] at net.minecraftforge.eventbus.ASMEventHandler_1_ModEventSubscriber_onRegisterBlocks_Register.invoke(.dynamic) ~[?:?] at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-0.7.2-service.jar:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:257) ~[eventbus-0.7.2-service.jar:?] at net.minecraftforge.fml.javafmlmod.FMLModContainer.fireEvent(FMLModContainer.java:105) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:25.0] at java.util.function.Consumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_201] at java.util.function.Consumer.lambda$andThen$0(Unknown Source) ~[?:1.8.0_201] at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:100) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.fml.ModList.lambda$dispatchSynchronousEvent$4(ModList.java:111) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at java.util.ArrayList.forEach(Unknown Source) ~[?:1.8.0_201] at net.minecraftforge.fml.ModList.dispatchSynchronousEvent(ModList.java:111) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.fml.ModList.lambda$static$0(ModList.java:82) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:70) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:145) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:814) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.fml.ModLoader.loadMods(ModLoader.java:133) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:52) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraft.client.Minecraft.init(Minecraft.java:411) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:344) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at net.minecraft.client.main.Main.main(SourceFile:144) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-0.9.5.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:35) [modlauncher-0.9.5.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-0.9.5.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:58) [modlauncher-0.9.5.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-0.9.5.jar:?] at net.minecraftforge.userdev.UserdevLauncher.main(UserdevLauncher.java:77) [forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1-recomp.jar:?] [14Apr2019 07:28:44.801] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/]: Failed to complete lifecycle event LOAD_REGISTRIES, 1 errors found [14Apr2019 07:28:44.816] [Client thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: forge-1.13.2-25.0.48_mapped_snapshot_20190222-1.13.1.jar, main, Default [14Apr2019 07:28:45.986] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/]: Starting up SoundSystem version 201809301515... [14Apr2019 07:28:46.201] [Thread-4/INFO] [net.minecraft.client.audio.SoundManager/]: Initializing No Sound [14Apr2019 07:28:46.202] [Thread-4/INFO] [net.minecraft.client.audio.SoundManager/]: (Silent Mode) [14Apr2019 07:28:46.253] [Thread-4/INFO] [net.minecraft.client.audio.SoundManager/]: OpenAL initialized. [14Apr2019 07:28:46.593] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Preloading sound minecraft:sounds/ambient/underwater/underwater_ambience.ogg [14Apr2019 07:28:46.606] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started [14Apr2019 07:28:49.781] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384 [14Apr2019 07:28:51.298] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas [14Apr2019 07:28:54.223] [Client thread/ERROR] [net.minecraftforge.fml.ModLoader/]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found. [14Apr2019 07:28:54.223] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found [14Apr2019 07:28:54.224] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer: [14Apr2019 07:28:54.275] [Client thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [14Apr2019 07:28:55.051] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient/]: Could not authorize you against Realms server: Invalid session id
  3. So, much like many others, I'm having issues with my updating. However, I didn't see the particular error I'm having around. So, here it is: -- blah blah :genSrgs SKIPPED :makeStart FAILED * What went wrong: Execution failed for task ':makeStart'. > A problem occurred starting process 'command 'javac'' This likely has a simple solution that I'm not seeing, but does anyone know for sure? [EDIT} It seems that resetting my PATH variable fixed the problem. Ignore this!
  4. I'm very confused about the method onItemUse; it has ten parameters, and while I understand the first six, the last four are unknown to me. I'm trying to make an item that, when right clicked, checks to see if there is an entity that's clicked on, and if so, if it is a particular type. Can anyone explain how to do this?
  5. Wow, now I feel dumb. I was indeed on peaceful. Hurr.
  6. So I have my mob, and an egg for it. I right click with the egg, and as soon as the mob appears, it disappears an extremely short time later. Can anyone explain why? Here's the code that I have to this point: Main mod class entity register method: RenderWispBasic: EntityWispBasic: ModelWispBasic: Feedback is much appreciated! If any other files are needed, please let me know.
  7. This might be a relatively newbie question, but is there a way that I can "compress" my code by making the list of all my declarations into a singular method? What I'm talking about is taking all of this: and putting it into a method.
  8. All right, the only error I'm getting now is with that method, LoadImageFromTexturePack. Any pointers there?
  9. Does anyone know what I need to do here?
  10. Thank you for the help so far, I'm getting it pretty well. One question, however, I'm still not entirely sure what to do with the BufferedImage. I've constructed most of the parameters, but it's asking me for a RenderEngine, and that's not something that I've looked into, so what am I supposed to be using for it? EDIT: Here is what I have so far pertaining to this particular subject. The only error I'm getting is from the RenderEngine thing.
  11. So, I'm playing around with this newer thing to me, and I've managed to figure out three of the variables, but the one that requires a BufferedImage eludes me. How am I supposed to implement an image for that? Can anyone post an example of the constructor with the 4 variables? That way, I can get to understand it much better. EDIT: Also, am I supposed to put this in the java file for the block itself, or inside the main mod file?
  12. I'm not the greatest with this sort of thing; I simply copied over the mods from a multiMC instance, and the config, nothing else; I don't really know what the issue is. And here is the forge modloader-server_02.txt file, which is pretty massive, though most of it is just loading stuff: Help is greatly appreciated. I did read the EAQ and all, and either I missed it or it's a different error.
  13. Terrafirmacraft is a wonderful mod emulating Dwarf Fortress, an ASCII-visual game that's famed for it's complexity. TFC uses Wrought Iron bars, though, and I'm also using Trains and Zepplins as well as Railcraft. Trains and Zepplins requires regular iron bars, so I'm curious as to how I could make a recipe modification or change something to fix this discrepancy; maybe for every wrought iron bar you can get an iron bar or two in return. Dunno. Can anyone help me?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.