Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bedwa

Members
  • Joined

  • Last visited

  1. LexManos Ok but, do u know how to get the server jars for it?
  2. I ran it like 22h ago and it hasn't changed
  3. How do I get server jars so MCP can decompile?
  4. Then why is 1.16.5 Supported?
  5. Why... Also Luis_ST so it is new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item.properties() instead?
  6. Mc Version: 1.17.1 Forge: 37.1.1 Eclipse: 2021-06 new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC)) When I hover over the line, eclipse says that the constructer BlockItem(Block, Item) is not defined
  7. Title Code : package io.github.wallibed.magicalmod.core.init; import io.github.wallibed.magicalmod.MagicalMod; import net.minecraftforge.fmllegacy.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.Item; import net.minecraftforge.registries.ForgeRegistries; import java.util.List; import java.util.Map; import javax.annotation.Nullable; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.core.BlockPos; import net.minecraft.core.NonNullList; import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.ListTag; import net.minecraft.network.chat.Component; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.sounds.SoundEvent; import net.minecraft.sounds.SoundSource; import net.minecraft.world.InteractionResult; import net.minecraft.world.entity.item.ItemEntity; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.context.BlockPlaceContext; import net.minecraft.world.item.context.UseOnContext; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.ShulkerBoxBlock; import net.minecraft.world.level.block.SoundType; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.block.state.StateDefinition; import net.minecraft.world.level.block.state.properties.Property; import net.minecraft.world.level.gameevent.GameEvent; import net.minecraft.world.phys.shapes.CollisionContext; public final class ItemInit { private ItemInit() {} public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, MagicalMod.MODID); static final RegistryObject<Item> SOULS = ITEMS.register("souls", () -> new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC).fireResistant())); //Block Items public static final RegistryObject<BlockItem> SOUL_BLOCK_ITEM = ITEMS.register("compressed_souls_block", () -> new BlockItem(BlockInit.COMPRESSED_SOULS_BLOCK.get(), new Item(new Item.Properties().tab(CreativeModeTab.TAB_MISC)))); } NO ONE CARES THAT I IMPORTED 35 THINGS
  8. Ummm. Turns out i spelled it wrong.................
  9. I want to make an etheral like block but if I use material.AIR, will it become like air block? I want it breakable
  10. trying to import net.minecraft.world.level.block.state.BlockBehavior Won't let me import img so https://ibb.co/wJB11Fh Code: package io.github.wallibed.magicalmod.core.init; import io.github.wallibed.magicalmod.MagicalMod; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.level.block.state.BlockBehavior; import net.minecraft.world.level.material.Material; import net.minecraft.world.level.material.MaterialColor; import net.minecraftforge.fmllegacy.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public final class BlockInit { private BlockInit() { } public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, MagicalMod.MODID); public static final RegistryObject<Block> SOUL_BLOCK = BLOCKS.register("soul_block", () -> new Block(BlockBehavior.Properties.of(Material.AIR, MaterialColor.COLOR_LIGHT_BLUE))); }
  11. Edit: NVM Uhhhhh, the cmd froze it froze saying [42m 22s]

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.