Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Abastro

Abastro

Forge Modder
 View Profile  See their activity
  • Content Count

    1075
  • Joined

    July 13, 2013
  • Last visited

    August 21, 2018
  • Days Won

    2

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by Abastro

  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Next
  • Page 5 of 43  
  1. Abastro

    Breaking Doors and Avoiding water[1.10.2]

    Abastro replied to hackcr1258's topic in Modder Support

    Please post what you've tried.
    • May 11, 2017
    • 7 replies
  2. Abastro

    Update comparator signal when inventory changes

    Abastro replied to BlameTaw's topic in Modder Support

    Yes, you have to pass the tileentity reference to the inventory capability. Usually item is inserted/extracted through the capability including hoppers and modded pipes, so it's the best place to check for inventory change and apply the comparator update. Besides, forget about doFill. It was about fluids.
    • May 11, 2017
    • 7 replies
  3. Abastro

    [1.11.2] Can't seem to restrict my ore generation

    Abastro replied to splatterdodge's topic in Modder Support

    I didn't notice that =P Then you'll find an ore vain in a chunk with probability of 6/100, since each ore has generation probability of 1/100 in a chunk, and they are mutually exclusive. Do you get more than that? Also there is a minor issue: you need to use 100 instead of 99, as Random::nextInt(x) gives 0~x-1.
    • May 11, 2017
    • 4 replies
  4. Abastro

    Update comparator signal when inventory changes

    Abastro replied to BlameTaw's topic in Modder Support

    I think you should override ItemStackHandler, and call the comparator update on any method which changes the inventory contents. (On drain/fill call when doDrain/doFill is true)
    • May 11, 2017
    • 7 replies
  5. Abastro

    [Solved] [1.10.2] Transparent layered BakedModel

    Abastro replied to oa10712's topic in Modder Support

    You need to use CUTOUT layer for that. More information about layers, great article from TGG: http://greyminecraftcoder.blogspot.kr/2014/12/block-rendering-18.html?m=1 Even though it was written for 1.8, it shouldn't be changed much.
    • May 11, 2017
    • 2 replies
  6. Abastro

    [1.11.2] Can't seem to restrict my ore generation

    Abastro replied to splatterdodge's topic in Modder Support

    You're calling runGenerator on every chunk, which will generate at least one vein on the chunk. So just don't call it on 99/100 of the chunk. (Or only call it in 1% chance)
    • May 11, 2017
    • 4 replies
  7. Abastro

    [1.11.2] Change Slot Size ?

    Abastro replied to DjCtavia's topic in Modder Support

    This should be tricky, as items placed in slot are rendered in fixed size. I'm afraid that you might have to override the rendering code of GuiContainer.
    • May 11, 2017
    • 2 replies
      • 1
      • Like
  8. Abastro

    Update comparator signal when inventory changes

    Abastro replied to BlameTaw's topic in Modder Support

    Using capability system for the inventory (Hence ItemStackHandler) is highly recommended, but not required. Please post the relevant code. (Block, TileEntity, probably the inventory as well) + here's the explanation on capability system; https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ There are many utility classes in net.minecraftforge.items package which are useful for setting up inventory as capability.
    • May 11, 2017
    • 7 replies
  9. Abastro

    [1.11.2] Modyfing tile entity data from client gui & TESR rendering

    Abastro replied to grand_gibus's topic in Modder Support

    So it's client->server update from the gui. You need to implement tileentity syncing. I think this post will cover your case. You can manually read the data from the update packet with TileEntity#onDataPacket. Use it if you don't want readFromNBT to do the work. (e.g. update packet has a different format)
    • May 11, 2017
    • 8 replies
      • 1
      • Like
  10. Abastro

    [1.11.2] Injecting custom MovementInput

    Abastro replied to BeardlessBrady's topic in Modder Support

    Would you check if the method is actually called? It seems that it might not be properly replaced.
    • May 11, 2017
    • 9 replies
  11. Abastro

    [1.11.2] Modyfing tile entity data from client gui & TESR rendering

    Abastro replied to grand_gibus's topic in Modder Support

    It should work on either side, as it sends the update packet. How and where did you call it? Also how are you syncing the tileentity? Please post the relevant code.
    • May 10, 2017
    • 8 replies
  12. Abastro

    [1.11.2] Injecting custom MovementInput

    Abastro replied to BeardlessBrady's topic in Modder Support

    Sorry about the blind guess. Would you post your current code? Specifically, did you override MovementInput#updatePlayerMoveState() to block the left/right movement? Also it's about blocking the strafe control input, right?
    • May 10, 2017
    • 9 replies
  13. Abastro

    [1.11.2] Modyfing tile entity data from client gui & TESR rendering

    Abastro replied to grand_gibus's topic in Modder Support

    Override TileEntity::getRenderBoundingBox to return appropriate size of the rendered object. If it's about rendering, you are not marking the TE as updated for rendering. I think you should call World#markAndNotifyBlock. (The flag parameter is explained on World#setBlockState)
    • May 10, 2017
    • 8 replies
      • 2
      • Like
  14. Abastro

    [1.11.2] Injecting custom MovementInput

    Abastro replied to BeardlessBrady's topic in Modder Support

    So you want to prohibit certain movement of player? Why? If it is for anti-cheat server, there is always a way to break it with another mod or something. It's better to do it on server by checking for it.
    • May 10, 2017
    • 9 replies
  15. Abastro

    NoSuchMethodExceptions on world load

    Abastro replied to SirWindfield's topic in Modder Support

    It seems that the part of the code is not obfuscated. Could you post your build.gradle file and the log from the gradle build command?
    • May 10, 2017
    • 3 replies
  16. Abastro

    [1.11.2] FluidHandler capability on buckets

    Abastro replied to Tschipp's topic in Modder Support

    Well, I recalled it incorrectly What did you get as return from the method?
    • May 9, 2017
    • 14 replies
  17. Abastro

    [1.11.2] FluidHandler capability on buckets

    Abastro replied to Tschipp's topic in Modder Support

    If I recall correctly, the second parameter of the drain method is about whether it'll be simulated(to check the validity) or the change is actually applied. So it should be false in your csse.
    • May 9, 2017
    • 14 replies
  18. Abastro

    How can I get Video Card details?

    Abastro replied to TheASTRO's topic in Modder Support

    It depends on your platform. What's your OS? Do you know the graphic driver manufacturer? Here's what I got with quick Google search: http://m.wikihow.com/Find-Out-What-Graphics-Card-You-Have
    • May 9, 2017
    • 6 replies
  19. Abastro

    [1.11.2] Injecting custom MovementInput

    Abastro replied to BeardlessBrady's topic in Modder Support

    1. You should not reference Minecraft on the event like that, especially when it could be called from both client and server. Create an event handler dedicated for client, and register it on the client proxy. 2. The event is called whenever an entity is created. You should check if the entity is a player, and cast the entity as EntityPlayer.(or EntityPlayerSP) 3. What kind of behavior do you want with it? This approach does not look fine.
    • May 9, 2017
    • 9 replies
  20. Abastro

    [1.11.2] Animating a block model

    Abastro replied to DrLogiq's topic in Modder Support

    There are overwhelming amounts of great documentations on opengl lut there, so I guess you won't have much problem with it. I found this post from quick Google search on FastTESR. Based on the answers, you can specify the vertex positions, uvs and colors on FastTESR. (There are more props but these are basically what you would need) Figure out the math for your case, i.e. calculating the positions of each vertice of the block. Then it's just matter of notifying vertexbuffer about the vertices in right order. (Give every information -pos,uv,color- for a vertex and move over to the next one) Don't forget to stitch textures on the texture map. As far as I know, you can't overlap TESR(or FastTESR) and normal model. So I guess you should render other 3 parts with FastTESR as well.
    • May 9, 2017
    • 5 replies
  21. Abastro

    [1.11.2] Set max player health

    Abastro replied to Terrails's topic in Modder Support

    It's usually a bad idea to set the base value of health. Is there a reason you can't do this with multiplier attribute modifier? If you can't to it, setting the event priority to LOWEST might work. It marks the event subscribing method to get called on the last pass.
    • May 9, 2017
    • 1 reply
      • 1
      • Like
  22. Abastro

    [1.11.2] how caj i make a force mod that communicates with bukkit plugin (like moreplayermodelsmod)?

    Abastro replied to lukas2005's topic in Modder Support

    I think this tutorial will cover your case: It's old tutorial, but the basic concept shouldn't be changed.
    • May 9, 2017
    • 2 replies
      • 1
      • Like
  23. Abastro

    [1.10.2] FastTESR/IBakedModel Setup

    Abastro replied to oa10712's topic in Modder Support

    You only need tint(color), right? Then it is feasible only with Json model and Block#getColor(Or something similar). Look at the model code of vanilla spawn egg to figure out the tint, and wool code for specifying the color. (As far as I know you can reference world and position there)
    • May 9, 2017
    • 6 replies
  24. Abastro

    [1.10.2] Obj model renders solid black

    Abastro replied to KeeganDeathman's topic in Modder Support

    That one is obvious, since BlockModelRenderer#renderModelBrightness will call VertexBuffer#begin() in its own, you shouldn't call the begin method yourself. Same will apply for Tessellator#draw(). It seems that there's problem with lighting texture settings while in the TESR.
    • October 18, 2016
    • 15 replies
  25. Abastro

    [1.10][Solved] Tile Entity Synchronization

    Abastro replied to codebycody's topic in Modder Support

    Use World#notifyBlockUpdate(BlockPos pos, IBlockState oldState, IBlockState newState, int flags) instead of worldObj.scheduleBlockUpdate(pos,this.getBlockType(),0,0); For rendering update, you will need 3 as flag.
    • August 11, 2016
    • 3 replies
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • Next
  • Page 5 of 43  
  • All Activity
  • Home
  • Abastro
  • Theme

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