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

thecodewarrior

Forge Modder
  • Content Count

    13
  • Joined

  • Last visited

Everything posted by thecodewarrior

  1. For anyone who comes across this in the future, running with `--no-daemon` seems to solve it https://github.com/MinecraftForge/ForgeGradle/issues/563
  2. Super duuuuper necro post, but for anyone who finds themselves here after trying the srgExtra line, it's been changed in newer versions of gradle (2.2-SNAPSHOT I know, but maybe even earlier). Now instead of doing: minecraft { ... srgExtra "PK: ..." } You have to do: reobf { jar { extraLine "PK: ..." } } Relevant XKCD: https://xkcd.com/979/
  3. The dropdowns on the downloads page will clobber each other. When you hover over 1.9 and move your mouse down it'll trigger the 1.8 dropdown. It's a pretty simple fix: Add/change the following in style.css .versions .links > li .versions-info - width: 0; - transition: max-height 0.2s ease-in-out, width 0s linear 0.2s; .versions .links > li:hover .versions-info - width: 150px; - transition: max-height 0.2s ease-in-out, width 0s linear 0s; .downloads div.download .links .link:hover .promo-download-info - width: 150px; - transition: max-height 0.2s ease-
  4. A bit of a necropost, but I got something that looks ok. YMMV on the Y translation, as my block isn't exactly normally sized. "thirdperson": { "translation": [ 0, 0.125, -0.1 ], "rotation": [ {"x":0}, {"y":-45}, {"z":180} ], "scale": [ 0.375, 0.375, 0.375 ] }
  5. Mainly to test how my mod will deal with it. It does player movement and I want to know if the client will properly simulate the motion client side with server latency, and if the server will complain if there is latency and it thinks the player is flying. On a related note. If I have motion simulated on the server as well as the client and the player is mid-air, will the server complain that the player is flying?
  6. Is there any mod out there for creating lag on purpose? I need to cause server-client latency, but I'm sure tick and framerate lag would be useful for some people.
  7. I can't seem to get the NEI API working. The closest I've gotten is adding NotEnoughItems-1.7.10-x.xx.xxx-dev.jar as a referenced library, but that requires me to add CodeChickenCore and CodeChickenLib as referenced libraries before it'll launch without errors. It also essentially bundles NEI with my mod when building from eclipse. It doesn't export (gradle build) with NEI bundled, but then the NEI integration just plain doesn't work. I just wanted to hide some items! *throws computer at wall* I've spent several hours trying to find a tutorial that doesn't effectively say "add it as
  8. So, I figured out how to do it: Normal tracks: (extends BlockRail) - Nothing special, just extend and you're good to go. Detector track: (extends BlockRailDetector) - Nothing special, just extend and you're good to go. Booster tracks: (extends BlockRailPowered) - Add this method, it'll deal with the boosting stuff (this is stolen from the bottom of EntityMinecart#func_145821_a) public void onMinecartPass(World world, EntityMinecart cart, int x, int y, int z) { int railMeta = this.getBasicRailMetadata(world, cart, x, y, z); int meta = world.getB
  9. 1.7.10, did you get booster tracks to work too?
  10. Is there any way to add custom minecart tracks that behave identically to the vanilla tracks without having to re-implement the minecart logic in some event handler somewhere? I looked at the minecart code and it's all using == checks and not instanceof, so I can't just inherit from the track I want to mimic. I'm trying to make tracks that don't need a supporting block by inheriting from BlockRailBase, but the tracks stop the minecart almost immediately after it goes onto them, and the player can only inch forward when in the minecart. I even set the max speed to 1.0 (20 blocks/sec) and i
  11. Thanks! That did the trick. (Excuse me while I bang my head against my desk a few dozen times. *WACK* *WACK* ... *WACK* *WACK* *sigh* Ok, I'm all better)
  12. I have two blocks that don't seem to mark sub chunks as containing anything, so when there aren't any other blocks in the sub chunk it doesn't render. My block classes: BlockCatwalk package com.thecodewarrior.catwalks; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Set; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingB
×
×
  • Create New...

Important Information

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