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.

Reygok

Members
  • Joined

  • Last visited

Everything posted by Reygok

  1. How common it will be depends on how much people will use it ^^ It will never generate naturally. And there is only one .png used, for every possible combination.
  2. Hi I created a block, which is supposed to have 255 different possible textures. That sounds like an awful lot, but most of these are just rotations. In fact it's 24 different ones (if I didn't miss any). The problem I'm facing is the metadata of a block. Since it is only 4 bits, I can only have 16 different states, or am I missing something? If it's the case, is there an alternative, or simply a way to use perhaps a bit more ? If not, I also thought about a second class, one for, say, 12 states and one for the next 12, and somehow merge them.. But it's my second mod, and it already took me 2 days to get 2 different variants placed, based on where on the block you click (like slabs, which can be on the top or bottom half of a block). Thanks in advance for all answers Reygok
  3. Yeah I'm sorry I just googled a bit more and found out about HarvestDropsEvent, thanks anyway As for the second part, I know about .json files, as I made a new Ore and a new Block for my other mod, but those I made only contain one line, I didn't see where this could change the actual rendering process. This link looks great, thanks again And yeah I mean 8 sub-blocks, so 2x2x2 make up a big one - 512 is now what I want to achieve haha ^^ And I know about LittleBlocks, that's something completely different, as it just scales all the existing blocks, which even allows for tiny redstone circuits and everything. I just want to build stairs from dirt for example. That's the main purpose Thanks a lot for all the tips! Reygok
  4. Hello all! I had the idea to divide almost every block in the game by 8, which gives a lot more building possibilites. I already made another mod before, a pretty simple one, where I just created new blocks and items and tools. This, however, is a whole new level, as it changes the game as it is, and doesn't only add new stuff. So I'm facing two problems: first, I can't figure out how to let an existing block drop something else, for example let Dirt drop my custom smaller dirt block. Second, I tried to render my small block of dirt, but it always renders at full size. I looked at the BlockSlab and BlockStairs classes, and also BlockFence, but the only thing I found, that seems to relate to this is setBaseCollisionBounds() and addCollisionBoxesToList(), but I changed the parameters of setBlockBounds() all to 0.5, but the collisionbox is still full. And also this does not apply to rendering, and I don't know how to render smaller than a full block. I searched quite a bit, but the biggest problem is that 95% of the tutorials are outdated, since I'm modding on 1.8. Thanks in advance for any help Reygok

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.