Giter VIP home page Giter VIP logo

wailaharvestability's Introduction

Waila Harvestability

An add-on for Waila that adds information about the harvestability of what you are looking at

Minecraft Forum Thread

###Building

  1. Clone this repository into a folder named WailaHarvestability
  2. If you have Gradle installed, open a command line in the WailaHarvestability folder and execute: gradle build. To give the build a version number, use gradle build -Pversion=<version> instead (example: gradle build -Pversion=1.0.0)
  • If you don't have Gradle installed, you can use ForgeGradle's gradlew/gradlew.bat instead

wailaharvestability's People

Contributors

adaptivity avatar animadoria avatar bigibas123 avatar girafistudios avatar guro2 avatar hugoalh avatar kagaribi172 avatar liskoslayer63 avatar makertim avatar mazdallier avatar nalimleinad avatar renemuetti avatar sb023612 avatar sinusoidalc avatar squeek502 avatar thevikingwarrior avatar tonius avatar vexatos avatar x00la avatar xxcoolgamesxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wailaharvestability's Issues

Build problem

After clone the project, at build time:
image

I using the following gradle version:
image

But, when i change gradle version to:
image

I obtains the following:
image

Then I do it:
image

But now, after run the build command, i obtains the following error:
image

Can someone help me? I need to make some changes to the code and compile for minecraft version 1.16.2.

Tooltip alignment

When I align the tooltip to the top right left corner of my screen the alignment of the tooltip elements stays centered so if the tooltip is long(e.g. the name of the item is a lot of characters), some of the tooltip goes off screen(not visible). It would be nice to add an option to choose the alignment of the elements inside of the tooltip - left, center, right and also top and bottom so the tooltip boundary grown in an opposite direction. It must be an option and not automatic, because there's cases where you would want to place the tooltip in one of the corners(or sides) of the screen but you would want elements to stay aligned to the center of the tooltip. Also simple presets for the placement of tooltip - 4 corners and 4 sides of the screen.

NPE soft crash in 1.12

Versions:
Minecraft 1.12.1
Forge-1.12.1-14.22.1.2480
Hwyla-1.8.20-B35_1.12
Wawla-1.12.1-2.5.243
WailaHarvestability-mc1.12-1.1.11

Occasionally while looking over a block, the tooltip reads "<ERROR>" where the harvest data should be. It only seems to occur while holding a tool. So far, I've only tested this with vanilla tools and in minimal mode. It doesn't happen 100% of the time, but is fairly often.

This stacktrace appears in WailaErrorOutput.txt
09/18/2017 - 11:49:15 class squeek.wailaharvestability.WailaHandler java.lang.NullPointerException at net.minecraft.item.ItemTool.getHarvestLevel(ItemTool.java:124) at squeek.wailaharvestability.helpers.ToolHelper.canToolHarvestLevel(ToolHelper.java:40) at squeek.wailaharvestability.WailaHandler.getHarvestability(WailaHandler.java:121) at squeek.wailaharvestability.WailaHandler.getWailaBody(WailaHandler.java:62) at mcp.mobius.waila.api.impl.MetaDataProvider.handleBlockTextData(MetaDataProvider.java:120) at mcp.mobius.waila.overlay.WailaTickHandler.tickClient(WailaTickHandler.java:86) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_459_WailaTickHandler_tickClient_ClientTickEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) at net.minecraftforge.fml.common.FMLCommonHandler.onPostClientTick(FMLCommonHandler.java:347) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1909) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1096) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

[1.10.2] <ERROR> in tooltip with Tinkers tools

Mod Versions:
Minecraft: 1.10.2
Tinkers: 1.10.2-2.5.2
WAILA: 1.7.0-B3_1.9.4
WAILA Harvestibility: 1.10.2-1.1.8

When I have any Tinkers tool equipped and look at nearly any block, I get the WAILA tooltip, then says , then the source underneath.

waila harvest tinkers error

Any point to installing serverside?

Hello, I was wondering if like waila there is any usefulness to installing it on the serverside?

I have noticed that if I install it on the server, it will then require the clients to also have the mod and not allow them in. Any reason behind that?

Harvest level show only number on Hwyla

Harvest level shows only harvest level number (not iron, etc) regardless of harvest level no option.

1.11.2
Hwyla-1.8.13-B26_1.11.jar
WailaHarvestability-mc1.11-1.1.9.jar
Forge 2265

[1.11.2] Hwyla tooltip errors

I'm getting errors when looking at some machines and blocks and the errors seem to be related to harvestability.
Any ideas what may be causing it?
Should I make an issue at Whyla instead of here?

Appreciate any help :)
Thanks

Mod versions:
WailaHarvestability-mc1.11-1.1.10.jar
Hwyla-1.8.17-B31_1.11.jar
Wawla-1.11.2-2.4.0.233.jar

WailaErrorOutput.txt
https://paste.ee/p/mB2fy

Complete list of installed mods:
https://paste.ee/p/sIeiF

Extra server->client dependency

Waila itself doesn't need to be installed if the server has it, but this mod requires it. Fixing it would require something along the lines of setting acceptableRemoteVersions = "*" in @mod and potentially also making sure it's still compatible/detecting if versions are mismatched then.

Being able to remove Waila is quite important for some users to simply not see it, save bandwidth or work around issues.

Crash when looking at a mob spawner

MC version: 1.7.10
Forge Version: 10.13.0.1180
Waila version: 1.5.2a
WH version: 1.0.4

Specifically a spawner placed by Roguelike Dungeons. Error occurs at 22:41:23 (and at least 2 times before this, was verifying error). Verified also happens with same error with a spawner pulled from NEI.

Client did not crash, but lost connection to internal server (was playing SSP creative mode in normal world).

Error log: https://www.dropbox.com/s/5peidrnru9le9re/fml-client-latest.log

Edit: Apologies, I forgot to test without WH, and it appears it is probably a Waila error instead, feel free to close this issue.

QUestion

Whos over Waila for mc version 1.12.2

PC Crash when using wailaharvestability

I have been having an issue with my computer crashing while playing modded Minecraft since they updated Windows 10 (about a month and a halfish) to the newer version. I have traced the issue to this mod. When I have this mod installed, it crashes (randomly) and when this mod is removed I can play for hours without any issues. I have tried 1.7.10 versions and 1.10.2 versions and even 1.8.9 versions and they seem to do the same thing. It makes no difference what other mods exist in the pack. I have no logs as the computer literally freezes and I have to force reboot in order to recover. There was no issues before windows updated. I really enjoy this mod and I hope a resolution can be found so that I can use it once again. If you need any further information, feel free to message me.

Add mining level tooltips to vanilla tools

Could potentially help with some confusion about how mining levels are presented, as it doesn't make a whole lot of sense unless you are aware of the mining level of your tools.

Galacticraft not displaying

I'm missing the harvestability information when looking at various Galacticraft machines. Normal Waila works, and harvestability information for Galacticraft ores does work normally.

It isn't really necessary, since you already have iron tools when starting with Galacticraft, I was just wondering.

Greetings, IHH

Player unable to connect to server

I have a player that was attempting to harvest an edelwood tree from forbidden arcanus in my pack The Cosmic Tree that crashed and is now unable to connect to my server.
They are getting this every time:

https://pastebin.com/1jyRFmXi

Minecraft 1.15.2
forge-31.2.45
WailaHarvestability-mc1.15.2-1.1.12
Hwyla-forge-1.10.8-B72_1.15.2
WAWLA-1.15.2-3.0.4

Possible to add JEI integration?

Hi,

would it be possible to add the harvest level tooltip to tools in JEI? Say, what Mining Level is X tool.

In large Modpacks it is hard to remember (and tidious to try them all out) what Pickaxe variant can mine X ore.

Thx in advance and br
Mauricio

Needs a updated version of WailaHarvestability for 1.16.5

WailaHarvestability-mc1.16.x-forge-1.1.14 is no longer compatible with version TConstruct-1.16.5-3.0.3.126 or forge 36.1.13
not sure if its the forge update or tinkers but it will show a msg saying that WailaHarvestability is for TConstruct no version list and then says what the installed version of TConstruct is was working before forge update tho so i think it mighty be a issue with forge

Minecraft 1.1.6.5
Forge 36.1.13
TConstruct-1.16.5-3.0.3.126
WailaHarvestability-mc1.16.x-forge-1.1.14

image

1.12 double-height flowers say you need shears

WailaHarvestability-mc1.12-1.1.11
Hwyla-1.8.19-B33_1.12

Double-height flowers (sun flower, rosebush, etc) say you need shears but you can collect them by hand - single-height flowers are fine.

Silk Touch information not shown in 1.14+

Warped and Crimson Nylium require Silk Touch in order for the blocks to drop themselves, but this is not shown. WailaHaervestability Version 1.1.13, using Minecraft 1.16.5.

This was a change made in 20w22a, so it's been the case for all Minecraft 1.16 versions.

Request: option to show harvest level โ„–

So, if it's possible, config option to show โ„– of harvest level after it's name in tooltip would be cool
For example- Harvest level: Copper (1)
In 1.6.4 it was doable via TiC tweaks with renaming level names to whatever i want, but now it uses only exact material names :(

Gravel Silk Touchability Icon Flickers in WAILA

I saw this everywhere. Like in AS2 ME^4, My Modpack that I am making, Infinity, etc.
The problem is in the title, the Silk Touchability Icon Flickers right next to the Currently Harvestable text.
Youtube Video Link

WAILA Version: 1.5.10
WAILA Harvestability Version: 1.1.2

Thanks for the help!
If you need modlist, forge log or anything like that, tell me.

will not load

waila harvestability will not load. I have both wawla and hwyla so why no load?

Camouflaged blocks give an <Error>

My mod Dark Utilities has several blocks which can be camouflaged to look like other blocks. To help maintain the illusion while Waila is installed, I override the getWailaStack method to return the held camouflage block. When Waila Harvestability is installed, this will cause the mod to throw an exception which is caught by Waila. The following is the exception that is caught.

[19:57:59] [Client thread/WARN] [Waila]: net.minecraft.block.state.BlockState$StateImplementation.getValue:137
[19:57:59] [Client thread/WARN] [Waila]: net.minecraft.block.BlockStone.getMetaFromState:89
[19:57:59] [Client thread/WARN] [Waila]: net.minecraft.block.Block.getHarvestTool:2300
[19:57:59] [Client thread/WARN] [Waila]: net.minecraftforge.common.ForgeHooks.canHarvestBlock:136
[19:57:59] [Client thread/WARN] [Waila]: squeek.wailaharvestability.WailaHandler.getHarvestability:123
[19:57:59] [Client thread/WARN] [Waila]: Catched unhandled exception : [class squeek.wailaharvestability.WailaHandler] java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=variant, clazz=class net.minecraft.block.BlockStone$EnumType, values=[stone, granite, smooth_granite, diorite, smooth_diorite, andesite, smooth_andesite]} as it does not exist in ExtendedBlockState{block=darkutils:sneaky_ghost, properties=[]}

Extra space following shearability text

There is an extra space following the text saying a block is or isn't shearable. In comparison, unbreakable blocks lack the space. I've changed the unicode icons into the word "String" so that it is easier to see.
2019-07-03_18 16 30
2019-07-03_18 16 31

gregtech effective tool wrong

The effective tool for gregtech cables is wrong.

It should be a wirecutter instead of a wrench.

The effective tool for gregtech wooden fluid pipes is wrong too.

The tool for all pipes is a wrench except when its made out of wood then you need an axe.

gregtech-5.09.26
Waila-1.5.10_1.7.10
WailaHarvestability-mc1.7.10-1.1.6

Possible issue

Hi I am having a problem which appears to be either from your mod or a combination of 2 mods including yours, what I seem to have come up with is through looking at my game log and crash report they all paint a strange picture ones has a tooltip issue with agricraft which maybe your waila tooltip bugging out but here are the 2 reports http://pastebin.com/90W1nxAS http://pastebin.com/c5sXhnC8 (Crash report second one) (First one is game log) If it is not a mod problem with yours could you point me in the direction of what it could be.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.