User Tools

Site Tools


tutorial:blockappearance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:blockappearance [2021/09/09 15:57] – Link client-sided mod initializer to documentation:entrypoint daomephstatutorial:blockappearance [2021/09/26 12:28] – Add reminder to add the client mod initializer to fabric.mod.json skullition
Line 26: Line 26:
  
 If you do not mark your block as non-opaque like this, then block faces behind the block will not render and you will be able to see through the world. If you do not mark your block as non-opaque like this, then block faces behind the block will not render and you will be able to see through the world.
 +
 +Be sure to add your client entrypoint to fabric.mod.json.
 +You can do this like so:
 +<code json>
 +
 +  "entrypoints": {
 +    "main": [
 +      "mod.fabricmc.examplemod.ExampleMod"
 +    ],
 +    "client": [
 +      "mod.fabricmc.examplemod.ExampleModClient"
 +    ]
 +  },
 +</code>
  
 ===== Making a block invisible ===== ===== Making a block invisible =====
tutorial/blockappearance.txt · Last modified: 2024/02/05 16:03 by haykam