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

trying to install 1.17 forge instead brings up a extraction window (mutiple file viewers and java reinstalls tried)


Recommended Posts

12 minutes ago, ImNotJahan said:

Make sure you're opening it with java and not 7zip or something like that

thats the one thing I should have mentioned, in the "open with" menu java isnt there unless I put it there, and even then it does either nothing happens or java says it cant open the application

Link to comment
Share on other sites

10 minutes ago, ImNotJahan said:

What's the path you're using for java when trying to add java to the "open with" menu

Edit: also what is the name of the forge installer you're using

C; (kept going to emoji so I put ; instead) > program files (x86) > java, then I picked a few files with the java logo since those made the most sense to me

and the name of the installer is forge-1.17.1-37.0.0-installer from the official site

Edited by saitama
Link to comment
Share on other sites

3 minutes ago, ImNotJahan said:

Well that's the right java, it just looks like the installer is to large for some reason. This probably is a problem with cache or something so I'd first try restarting your computer if you haven't done that yet

just restarted didnt change

Link to comment
Share on other sites

6 hours ago, diesieben07 said:

You cannot use jar files with the "Open with" menu (it also looks like you picked "Open with javaws" instead of "Open with java"). You must double click them.

If double clicking the jar file does not work, use Jarfix.

Make sure you have Java installed and try running Jarfix once, then try the installer again.

dude I love you I finally got to the install menu, if I could hug you right now I would

Link to comment
Share on other sites

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.

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.


  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • 1.17 is no longer a supported version. Please update to a supported version to receive support.
    • package com.SkyWarsFun2019.moreblock.init; import java.util.function.Supplier; import com.SkyWarsFun2019.moreblock.RandomFhings; import com.SkyWarsFun2019.moreblock.blockentity.StorageBlockEntity; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.fmllegacy.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class ModBlockEntity { public static DeferredRegister<BlockEntityType<?>> BLOCK_ENTITYS = DeferredRegister.create(ForgeRegistries.BLOCK_ENTITIES, RandomFhings.MOD_ID); public static RegistryObject<BlockEntityType<StorageBlockEntity>> CHEST = register("storage", StorageBlockEntity::new, () -> new Block[] {}); public static void register(IEventBus bus) { BLOCK_ENTITYS.register(bus); } private static <T extends BlockEntity> RegistryObject<BlockEntityType<T>> register(String name, BlockEntityType.BlockEntitySupplier<T> supplier, Supplier<Block[]> validBlocksSupplier) { return BLOCK_ENTITYS.register(name, () -> BlockEntityType.Builder.of(supplier, validBlocksSupplier.get()).build(null)); } } This is my registry class so far however the error reported is as follows. The type StorageBlockEntity does not define StorageBlockEntity(BlockPos, BlocState) that is applicable here package com.SkyWarsFun2019.moreblock.blockentity; import net.minecraft.core.BlockPos; import net.minecraft.network.chat.Component; import net.minecraft.network.chat.TranslatableComponent; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.inventory.AbstractContainerMenu; import net.minecraft.world.inventory.ChestMenu; import net.minecraft.world.inventory.MenuType; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.state.BlockState; public class StorageBlockEntity extends StorageBlockEntityBase { public StorageBlockEntity(BlockEntityType<?> pType, BlockPos pWorldPosition, BlockState pBlockState) { super(pType, pWorldPosition, pBlockState); } @Override public int getContainerSize() { return 27; } @Override protected Component getDefaultName() { return new TranslatableComponent("container.mbs.storage"); } @Override protected AbstractContainerMenu createMenu(int pContainerId, Inventory pInventory) { return new ChestMenu(MenuType.GENERIC_9x3, pContainerId, pInventory, pInventory, pContainerId); } } That is the BlockEntity Class that im trying to register however its super class is below package com.SkyWarsFun2019.moreblock.blockentity; import net.minecraft.core.BlockPos; import net.minecraft.core.NonNullList; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.chat.Component; import net.minecraft.world.ContainerHelper; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.inventory.AbstractContainerMenu; import net.minecraft.world.inventory.ChestMenu; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity; import net.minecraft.world.level.block.state.BlockState; public abstract class StorageBlockEntityBase extends RandomizableContainerBlockEntity { protected NonNullList<ItemStack> items; public StorageBlockEntityBase(BlockEntityType<?> pType, BlockPos pWorldPosition, BlockState pBlockState) { super(pType, pWorldPosition, pBlockState); this.items = NonNullList.withSize(getContainerSize(), ItemStack.EMPTY); } public boolean isMatchingContainerMenu(AbstractContainerMenu menu) { return menu instanceof ChestMenu chestMenu && chestMenu.getContainer() == this; } @Override public abstract int getContainerSize(); @Override protected NonNullList<ItemStack> getItems() { return items; } @Override protected void setItems(NonNullList<ItemStack> pItemStacks) { this.items = pItemStacks; } @Override protected abstract Component getDefaultName(); @Override protected abstract AbstractContainerMenu createMenu(int pContainerId, Inventory pInventory); @Override public boolean canPlaceItem(int pIndex, ItemStack pStack) { return true; } public boolean isFull() { for(ItemStack stack : this.items) { if(stack.isEmpty()) { return false; } } return true; } protected boolean addItem(ItemStack stack) { for(int i = 0; i < this.getContainerSize(); i++) { if(this.getItem(i).isEmpty()) { this.setItem(i, stack); return true; } } return false; } //NBT @Override public CompoundTag save(CompoundTag pCompound) { super.save(pCompound); if(!this.trySaveLootTable(pCompound)) { ContainerHelper.saveAllItems(pCompound, this.items); } return pCompound; } @Override public void load(CompoundTag pTag) { super.load(pTag); this.items = NonNullList.withSize(this.getContainerSize(), ItemStack.EMPTY); if(!this.tryLoadLootTable(pTag)) { ContainerHelper.loadAllItems(pTag, this.items); } } } Any help is greatly appreciated.
    • You can use start.bat. Just run it from the command line and post the output.
    • Not sure what version you are referring to. Regardless, IDs should not be used at all. Simply use the Item constants in the Items class for vanilla or your own class for your own items.
    • These plugins will use the "generic" menus (MenuType.GENERIC_9x1 - GENERIC_9x6). These are used in vanilla for chests. As the client has no idea that it must not remove items from such a menu, it will happily do so and there is no way to prevent it. You have to detect it removing something (i.e. the player picking something up) and undo the action server side immediately. However because Forge allows client side mods there are much better options using a custom GUI.
  • Topics

  • Who's Online (See full list)

  • Create New...

Important Information

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