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

SamTebbs33

Forge Modder
  • Joined

  • Last visited

Everything posted by SamTebbs33

  1. Thanks! I'll try using your tips - Viva
  2. Hi! I'm making a numpad for my mod, which should be about a third of a block thick and 0.75 of a block in length. I got the blockBounds right after some trial and error, but the block doesn't get placed on the side of the block that you right-click on, it's always rotated in the same way. I tried using the setDoorRotation method and its subsequent methods in the net.minecraft.block.BlockDoor class, but to no avail. Does anyone have any idea of how I could make the placed block face the right way? Here's my NumpadBlock class: package vivadaylight3.interlock.blocks; import java.util.Random; import vivadaylight3.interlock.Interlock; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; public class NumpadBlock extends Block { public NumpadBlock(int par1, Material par2Material) { super(par1, par2Material); setUnlocalizedName("numpadBlock"); setBlockBounds(0.0F, 0.0F, 0.0F, 0.25F, 1.0F, 0.75F); setCreativeTab(CreativeTabs.tabRedstone); } public void registerIcons(IconRegister iconRegister){ blockIcon = iconRegister.registerIcon("Interlock:numpadBlock"); } public int idDropped(int par1, Random par2Random, int par3) { return Interlock.numpadBlock.blockID; } public int idPicked(World par1World, int par2, int par3, int par4) { return Interlock.numpadBlock.blockID; } } Here's how the block acts now (I'm not sure why it's showing those blocks underground): http://i1059.photobucket.com/albums/t425/CascadeRP/2013-05-13_234558_zps975079fd.png[/img] If anyone knows the Nuclear Monitor from the Nuclear Control add-on for IndustrialCraft 2, my intention is for it to look similar and act the same way when placed. Thanks!
  3. Hi! I'm new to Minecraft modding, but I do have some experience when it comes to the wonderful language that is Java I've been making a door block for my mod, but I can't seem to get the texture to work. I'm met with the "Missing texture" phenomenon when placing or holding the block in-game. Here's a paste link to my block class: http://paste.minecraftforge.net/view/1f7b5d4f Here's the texture (very WIP ): http://i1059.photobucket.com/albums/t425/CascadeRP/doorcopy_zps072bf068.png[/img] It's located in "mcp/src/minecraft/vivadaylight3/interlock/textures/blocks" and is called "door.png" I appreciate any and all help!

Important Information

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

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.