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.

riley19280

Members
  • Joined

  • Last visited

Everything posted by riley19280

  1. which part and aren't textures client side only?
  2. i have a block that when you click on it it changes the texture but when i click on it the texture is not updating package com.riley.coolerStuff; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; public class CamouflageBlock extends Block { public CamouflageBlock(Material material) { super(material); setBlockName("camouflageBlock"); setCreativeTab(CreativeTabs.tabBlock); setBlockTextureName("sand"); } @Override public boolean onBlockActivated(World world, int X,int Y, int Z, EntityPlayer player,int p_149727_6_, float p_149727_7_, float p_149727_8_,float p_149727_9_) { //player.getHeldItem().getIconIndex().getIconName(); //System.out.println©; setBlockTextureName("dirt"); return super.onBlockActivated(world, X, Y,Z, player, p_149727_6_, p_149727_7_, p_149727_8_,p_149727_9_); } }
  3. you are passing in the material air instead of a solid block like ground

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.