Skip 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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. And yet you expect support.
  2. Sorry, somehow missed that
  3. Don't register an ItemBlock for it...?
  4. Of course Eclipse has its own compiler. How did you think the run button worked?
  5. Q: why are you creating a new Item here?
  6. Or rather: you only need one proxy and so not need to know which one it is.
  7. Question: why isn't your unlocalized name also the registry name?
  8. Edge is literally Internet Explorer (v11, IIRC), the worst browser ever. If it doesn't know how to run that javascript, something is fucked up. Royally. Get any other browser ever. Now.
  9. Also there is no need to preface getRegistryName with your mod ID because getRegistryName already does that.
  10. Because the class is loaded . Merely by being called into existence, the JVM needs to load up every class that it then references before ANY method can be run.
  11. 1.6.4 is so old you can't even download and set up the workspace any more: the location of several files moved and the URLs in the setup config are no longer valid.
  12. My guess would be this: @Override protected void entityInit() { if(!worldObj.isRemote) //why is this here? this.dataWatcher.addObject(fuseID, Integer.valueOf(fuse)); } Based on looking at what Vanilla does, e.g. minecarts: protected void entityInit() { this.dataManager.register(ROLLING_AMPLITUDE, Integer.valueOf(0)); this.dataManager.register(ROLLING_DIRECTION, Integer.valueOf(1)); this.dataManager.register(DAMAGE, Float.valueOf(0.0F)); this.dataManager.register(DISPLAY_TILE, Integer.valueOf(0)); this.dataManager.register(DISPLAY_TILE_OFFSET, Integer.valueOf(6)); this.dataManager.register(SHOW_BLOCK, Boolean.valueOf(false)); }
  13. By the way, why is this in the Common proxy? https://github.com/archery2000/Mod/blob/master/core/CommonProxy.java#L48
  14. There's also public boolean removedByPlayer(IBlockState state, World world, BlockPos pos, EntityPlayer player, boolean willHarvest) or public void harvestBlock(World worldIn, EntityPlayer player, BlockPos pos, IBlockState state, @Nullable TileEntity te, @Nullable ItemStack stack) ?
  15. ....Try clicking on them? They're buttons...?
  16. So I took a look at your pick-block method (I don't know much about collision boxes right now). And gah! What is this mess!? @Override public ItemStack getPickBlock(IBlockState blockState, RayTraceResult rayTraceResult, World world, BlockPos blockPos, EntityPlayer entityPlayer) { return new ItemStack(Block.getBlockFromName("trafficstuffmod:sidewalk_normal_" + StringUtils.substringAfterLast(getUnlocalizedName(), "_")), 1, blockState.getValue(HEIGHT) - 1); } You're requesting a block from the Blocks array by name rather than using this or a static MainMod.blockRef and then combine it with the unlocalized name!?[/t] WHY?
  17. Ok, so tell me what's wrong here: //new function public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) { //open paren //new function private void effectPlayer(EntityPlayer player1, Potion potionIn, int amplifier) { //open paren
  18. "It produces errors" I see. Let me just use my crystal ball to divine what those errors are....
  19. Also, I don't know why you'd want a separate file for each variant. So much nicer to have one json file.
  20. Are you including the Hypixel library in your mods folder when you run via Minecraft?
  21. You know that x and z block positions are on the corner of the block, right?

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.