Search results

From Forge Community Wiki

Page title matches

  • #REDIRECT [[Block Interaction/1.18|Block Interaction]] [[Category:Blocks/1.18|Category:Blocks]]
    97 bytes (9 words) - 07:44, 10 June 2022
  • ...want to add some blocks. This page will guide you through the creation of blocks, and some of the things you can do with them. ===Basic Blocks===
    5 KB (862 words) - 07:45, 10 June 2022

Page text matches

  • #REDIRECT [[BlockStates/1.18|BlockStates]] [[Category:Blocks/1.18|Category:Blocks]]
    85 bytes (7 words) - 07:46, 10 June 2022
  • #REDIRECT [[Block Interaction/1.18|Block Interaction]] [[Category:Blocks/1.18|Category:Blocks]]
    97 bytes (9 words) - 07:44, 10 June 2022
  • Please read the [[FCWMeta:Wiki Policy/1.18|wiki policy]] before editing! * [[Getting Started/1.18|Getting Started]]
    4 KB (505 words) - 08:03, 10 June 2022
  • ...de>ItemTagsProvider</code> for Items or <code>BlockTagsProvider</code> for Blocks. For Custom Objects you would need to expand <code>TagsProvider</code> and ...ormation|content=You can still use <code>TagsProvider</code> for Items and Blocks but you would need to implement a lot of stuff that is already done in <cod
    1 KB (233 words) - 07:44, 10 June 2022
  • ...want to add some blocks. This page will guide you through the creation of blocks, and some of the things you can do with them. ===Basic Blocks===
    5 KB (862 words) - 07:45, 10 June 2022
  • Along with blocks, items are a key component of most mods. While blocks make up the world around you, items are what let you change it. Items must be [[Registration/1.18|registered]] to function.
    2 KB (316 words) - 07:45, 10 June 2022
  • ...mod that adds items or blocks also contains a mini-resource pack for their blocks and items. [[Category:Models/1.18|Category:Models]]
    2 KB (384 words) - 07:44, 10 June 2022
  • ...evelopers to write code to programmatically generate the [[Using Resources/1.18|assets and data]] files of mods. ...odels]], [[BlockState JSONs/1.18|blockstate JSONs]], [[Datageneration/I18n/1.18|language files]], etc.
    4 KB (589 words) - 07:44, 10 June 2022
  • ...logic, such as comparing if two blocks are equal. Use their [[Registration/1.18|registry names]] instead.}} == Usage with Blocks and Items ==
    4 KB (670 words) - 07:44, 10 June 2022
  • ...have a common purpose. For example, your blocks classes can be under <code>blocks</code>, your entities classes can be under <code>entities</code>, your help ...de> subpackage under your main package. This helps to isolate your [[Sides/1.18|client-only code]] from the rest, such as your Screens and renderers.
    4 KB (717 words) - 07:45, 10 June 2022
  • ...s should only encompass those blocks which are specific for this tier. Any blocks below this tier will be declared while registering. The naming convention o ...operties have already been explained in this and within the [[Making Items/1.18|item]] docs. Attack damage specifies how much damage to do above the curren
    6 KB (981 words) - 07:45, 10 June 2022
  • <code>ModelProvider</code> provides methods to define models for blocks and items alike: cubes, single textures, doors, slabs, and even custom non- For blocks, it is recommended to use <code>BlockStateProvider</code> to define the blo
    2 KB (304 words) - 07:44, 10 June 2022
  • ...and item models differ in a few ways, the major one being [[Item Overrides/1.18|item property overrides]]. ...mod:blocks/test</nowiki></code> → <code><nowiki>assets/examplemod/textures/blocks/test.png</nowiki></code>). Additionally, in Minecraft, the [https://en.wiki
    4 KB (680 words) - 07:45, 10 June 2022
  • There are many different ways players (and other things) can interact with blocks, such as right clicking, left clicking, colliding, walking on, and of cours This page will cover the basics of the most common types of interaction with blocks.
    10 KB (1,350 words) - 07:43, 10 June 2022
  • ...the coordinates of the player relative to the closest structure within 200 blocks of the player. The command will export the relative position as a copyable ...code>#register</code>. The event listener must be [[Events#Event Listeners/1.18|added]] to the mod event bus. Test methods registered this way must supply
    13 KB (1,943 words) - 07:44, 10 June 2022
  • ...bda is commonly used. The variable <code>validBlocks</code> is one or more blocks (<code><nowiki>BlockEntityType$Builder::of</nowiki></code> is varargs) that ...much data you might be able to use the methods out of the [[#storing data/1.18|Storing Data]] section.
    8 KB (1,170 words) - 07:43, 10 June 2022
  • ...la sapling tag, you would specify it in <code><nowiki>/data/minecraft/tags/blocks/saplings.json</nowiki></code>, and Vanilla will merge everything into one t ...orge can be seen on [https://github.com/MinecraftForge/MinecraftForge/tree/1.18.x/src/generated/resources/data/forge/tags GitHub].
    29 KB (4,350 words) - 07:45, 10 June 2022
  • ...ents which are fired at different stages during the [[Stages of Modloading/1.18|modloading process]]. Most of these events are fired on both physical sides ...rom one logical side to another, you must '''always''' use [[SimpleChannel/1.18|network packets]]. It is incredibly tempting, when in a single player scena
    12 KB (1,878 words) - 07:45, 10 June 2022
  • ...happen to be a great way to uniquely identify objects (e.g. [[Registration/1.18|registries]]). ...e the loot table drops from (e.g. a block's loot table is in <code><nowiki>blocks</nowiki></code>).
    6 KB (885 words) - 07:45, 10 June 2022
  • ...object through a "registry name" via a [[Using Resources#ResourceLocation/1.18|ResourceLocation]]. This "registry name" can be accessed with its respectiv ...l DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, MODID);
    28 KB (3,539 words) - 07:45, 10 June 2022

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)