Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ratismal

Forge Modder
  • Content Count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ratismal

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  • Location
    Everywhere you don't want me to be
  • Personal Text
    Meow, I'm a cat.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. public BlockRetaw(Fluid fluid, Material material) { super(ModFluids.retaw, materialRetaw, Reference.MODID + ":" + "retaw"); setUnlocalizedName("retaw"); setHardness(1F); setQuantaPerBlock(LEVELS); setTickRate(20); } You've set the name to "retaw". It looks for retaw.json. That file doesn't exist. It returns an error.
  2. With Blender, you would export the model as a OBJ file, and then import it into your game. As for moving around, I can only suggesting looking up some Blender tutorials. However, after doing more research, an OBJ is more for advanced modelling. If you're making a more of a blocky entity, this may be of some interest to you (rendering manually). That tutorial was made for 1.7.10, but it still should be mostly applicable for 1.8.9.
  3. I don't have much experience with modelling entities, but as for modelling software, Blender is a pretty decent free modelling program. I know you can make OBJ files from it, not sure what else or if that's applicable for entities.
  4. ratismal

    Forum Karma

    Hey, I've been lurking around the Modder Support forums, trying the best I can to help others as well as ask my own questions as they come up. However, for my efforts I've ended up with more negative karma than positive. I don't really care who has pressed the smite button on me, it was obviously their opinion that I was being a dick or something and I deserved negative karma. I'm making this thread because I've been wondering if it's possible to figure out which post I received negative karma on, so I know what to avoid doing in the future. If someone could get back to me on this, I'd be
  5. A Tick is 1/20 of a second. It is the base operation time in Minecraft. Everything the game is updated once a tick. A Handler is something that handles things, usually events. (EventHandler, KeyHandler, etc). Therefore, a TickHandler is a Handler that handles Ticks.
  6. KeyBinding.setKeyBindState(bind.getKeyCode(), false); is used to "depress" the button. Essentially, when you press the button by setting it's state to true, it will remain pressed until something depresses it. For example, if you set the state to true, the act of physically using the button will depress it. Otherwise, you have to set the state to false or the button will remain pressed and will continue to break things. This is why you need the TickHandler. You need it to check if the player is still looking at the block to determine if the block has been broken. When the playe
  7. Yes, getting the "only break that block" done might take a bit of work. If you don't mind me asking @oznecniV97, what do you need this for? If you're only breaking a single block, it might be easier just to manually hold down left click. If you're trying to make a mod to make mining easier, it would be far easier to just toggle left mouse button on and off yourself and not worry about only breaking a single block.
  8. Ok, I figured out what was wrong with the model. I was using "all" as the variable name for my model, but the game was interpreting me to mean that I wanted to ignore the texture in my model and replace it with my "all" texture. I have fixed this by renaming the variable to "sides". I would still like to know how texture priorities work, if someone would be kind enough to grace me with an answer.
  9. Option B is relatively simple to execute. What I would do is find the KeyBinding of the left click button, and press it. I'm assuming this is the left click KeyBinding: KeyBinding bind = FMLClientHandler.instance().getClient().gameSettings.keyBindAttack; I'm assuming you want to stop once the block is broken. You also have to consider the player looking away from it. I would do a raytrace to see which block the player is looking at, store it's BlockPos, and compare it to the BlockPos the player is currently looking at. I'll let you figure out that part on your own. After, do s
  10. I'd assume you could do a if (blkst.getProperties().containsKey(HINGE)) { // do stuff here } to check if the block has that property. You could also probably make a function like public static boolean hasProperty(IBlockState state, IProperty property) { return state.getProperties().containsKey(property); } and put it in a helper class so you can run it from anywhere.
  11. What's the answer to this? If it's a .jar, you just have to associate .jars with Java again. If it's a .exe, you'll have to do some RegEdit witchcraft like what Mrredstone231 suggested. EDIT: For example, if it's a .jar:
  12. I'm having a little bit of a hard time understanding this sentence. Which of these scenarios are you trying to achieve? a) You press the button. The block instantly breaks, and the pickaxe takes damage. b) You press the button. This causes the player to dig the block until it breaks, like as you would with left clicking. c) Other. Please clarify? EDIT: What Failender mentioned is also very good. You should always be aware of which side you are working on; client or server. Any Minecraft functions are exclusively client side, so calling them on the server will result in a cr
  13. Hi, I've been trying to get my block to render the way I want it to, but have been getting nothing but grief. I have the JSON file for the block here (Github). What I want to achieve is this: The block has two Properties in it's BlockState. One to determine what mode the block is on, and the other to determine if the block is visible. The block's texture differs depending on it's mode. Currently, the Properties are changing correctly, and the texture differs correctly based on the mode. The part I'm having difficulties with is the visible part. Initially, I tried to over
  14. Glad you got it working! Don't forget to mark the thread "solved".
  15. Not exactly sure where you're coming from here. Here's EnderIO's blocks: EnderIO's Github Here's PneumaticCraft's blocks: PneumaticCraft's Github Out of the three examples you gave, only Immersive Engineering actually has blocks returning multiple TileEntities. It's definitely possible, but it's not a something that is widely practiced.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.