-
[SOLVED] [1.15.1] Translucent blocks with see-through bottoms
Hey! try to use this in your block properties: Block.Properties#func_226896_b_() Is to set the block to none solid. To look like this: public class BlockGobberGlass extends GlassBlock { public BlockGobberGlass(Properties properties) { super(properties.func_226896_b_()); } @OnlyIn(Dist.CLIENT) public void addInformation(ItemStack stack, @Nullable IBlockReader world, List<ITextComponent> tooltip, ITooltipFlag flag) { super.addInformation(stack, world, tooltip, flag); tooltip.add(new StringTextComponent(TextFormatting.BLUE + "A very sturdy glass block, drops the block when broken")); } }
-
[Solved] [1.14.3] Entity Renderer not rendering
This solved the problem for me First register your entity with custom client factory like this .setCustomClientFactory((spawnEntity, world) -> new ExempleEntity(world)) And then use NetworkHooks#getEntitySpawningPacket to get Entity Spawning Packet @Override public IPacket<?> createSpawnPacket() { return NetworkHooks.getEntitySpawningPacket(this); } that's it ?
-
How to fix intelji idea not updating code during debug
Goto: File > Settings > Build, Execution, Deployment > Debugger > HotSwap and set "Reload classes after compilation" to "Always"
-
ForgeGradle completely broke out of nowhere while working on mod / Even a brand new workspace is giving problems
Yes, i just changed the version back to 3.+ and it worked! You have to refresh the dependencies with: ./gradlew --refresh-dependencies BTW this is the commit from LexManos: Fix inverted logic
-
ForgeGradle completely broke out of nowhere while working on mod / Even a brand new workspace is giving problems
LexManos has fixed the problem, now no need for the downgrade, just change ForgeGradle version back to '3.+'.
-
ForgeGradle completely broke out of nowhere while working on mod / Even a brand new workspace is giving problems
In build.gradle change the version from '3.+' to '3.0.105' classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true should look like: classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.0.105', changing: true
-
ForgeGradle completely broke out of nowhere while working on mod / Even a brand new workspace is giving problems
Same problem, downgrading to ForgeGradle 3.0.105 will solve the problem ?
-
xieao changed their profile photo
-
Get Container (Position) from gui?
Try to use this to sync your tileentity to the client side: IBlockState state = getWorld().getBlockState(getPos()); getWorld().notifyBlockUpdate(getPos(), state, state, 3);
IPS spam blocked by CleanTalk.