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.

Featured Replies

Posted

Hello everyone, I am doing a mod involving a panel block class. This block has multiple blockstateproperties

@Override
protected void fillStateContainer(StateContainer.Builder<Block, BlockState> builder) {
    builder.add(
            BlockStateProperties.HORIZONTAL_FACING,
            GridSupport.ROTATED,
            GRID,
            NORTH_EAST,
            NORTH_WEST,
            SOUTH_EAST,
            SOUTH_WEST,
            BlockStateProperties.NORTH,
            BlockStateProperties.SOUTH,
            BlockStateProperties.WEST,
            BlockStateProperties.EAST
    );
}

I decided to add a new properties scale that do not change rendering of block. this property is a integer property that allow 4 values : 0,1,2,3 each for modifying pixel length when modifying panel image. Before doing it, minecraft was launching normally but after that it is not working at all and minecraft stop launching after this line :

[18:43:11] [Client thread/INFO] [minecraft/AtlasTexture]: Created: 512x512 textures-atlas

I don't know if there is any reason why it is suddenly lagging. Here is the commit of my code before adding scale with all others features implying it : https://github.com/matt1999rd/SignMod

  • Author

what do you mean by pre-computed ? is a tab with model for each possibilities created when using multipart ? for my mod I deleted the attributes.

Another strange bug happened with lag in loading in minecraft : when I add .doesnotblockmovement to my blocks it is loading really slowly.

Edited by matt1999rd
no problem at all : two textures

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.