Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.14.4] problem in loading of minecraft
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
matt1999rd

[1.14.4] problem in loading of minecraft

By matt1999rd, July 21, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

matt1999rd    3

matt1999rd

matt1999rd    3

  • Creeper Killer
  • matt1999rd
  • Members
  • 3
  • 126 posts
Posted July 21, 2020

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

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 22, 2020

Your block has a lot of block state properties. All combinations are pre-computed.

  • Quote

Share this post


Link to post
Share on other sites

matt1999rd    3

matt1999rd

matt1999rd    3

  • Creeper Killer
  • matt1999rd
  • Members
  • 3
  • 126 posts
Posted July 24, 2020 (edited)

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 July 24, 2020 by matt1999rd
no problem at all : two textures
  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted just now

      but if I use the snowball class it will be like im shooting snowballs not bullets. you know mr crayfishes gun mod? i want my gun to be somewhat like that
    • e2rifia
      (1.16.2) Making a new capability(2)

      By e2rifia · Posted 1 minute ago

      .OrElse(null) worked! Thanks!
    • diesieben07
      [1.16] Custom Sign won't render

      By diesieben07 · Posted 2 minutes ago

      Override getType.
    • kiou.23
      [1.16] Custom Sign won't render

      By kiou.23 · Posted 8 minutes ago

      Okay, so my Custom Sign Tile Entity has to extend SignTileEntity, because PlayerEntity#openSignEditor() expects a SignTileEntity. but from there I can't call super() and pass in my custom Tile Entity Type, because the TileEntityType for SignTileEntity is hardcoded in the constructor. How to proceed?
    • diesieben07
      (1.16.2) Making a new capability(2)

      By diesieben07 · Posted 9 minutes ago

      Have you looked at the methods that LazyOptional offers?  
  • Topics

    • Somonestolemyusername
      13
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

    • e2rifia
      2
      (1.16.2) Making a new capability(2)

      By e2rifia
      Started 17 minutes ago

    • kiou.23
      13
      [1.16] Custom Sign won't render

      By kiou.23
      Started 9 hours ago

    • Bailym
      12
      Cant Get a Config File Working 1.16.5

      By Bailym
      Started 2 hours ago

    • gamer650xd
      2
      whenever I join a server it shows me this error

      By gamer650xd
      Started 46 minutes ago

  • Who's Online (See full list)

    • Bailym
    • kiou.23
    • Somonestolemyusername
    • tf2_mandeokyi
    • diesieben07
    • loordgek
    • e2rifia
    • Tolecampa
    • Redpo
    • JackRaidenPH
    • Ipsissimus418
    • Gabbyboy1233539
    • Lellian
    • kreezxil
    • qwepo
    • Caaruzo
    • Telmoun
    • st4s1k
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.14.4] problem in loading of minecraft
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community