Giter VIP home page Giter VIP logo

hookt's People

Contributors

codetaylor avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

tmetcalfe89-zz

hookt's Issues

Drop removal possible?

I know this mod can replace fishing drops with other items, but what about eliminating or reducing the possibility of getting certain drops or any drops at all under certain conditions?

To be more specific about my goal, I want to make it so that no fishing loot of any kind can be acquired outside of river/ocean biomes, and to make rivers only yield a smaller amount of salmon, and oceans to yield a slightly reduced chance of only the four types of fish.

Industrial Foregoing Compatibility

The "Resources Fisher" block from Industrial Foregoing is not affected by hookt's scripts and will always return fish from the default list.

Weight being ignored?

Heya,

was trying out a few test examples but it seems like weight is either being ignored, or i'm doing something wrong/misunderstand the use of it;.

This is the script i'm using:

{
  "rules": [
    {
      "drops": [
        {
          "item": {
            "selector": {
              "weight": {
                "value": 1000
              }
            },
            "items": [
              "minecraft:diamond"
            ]
          }
        },
        {
          "item": {
            "items": [
              "minecraft:string"
            ]
          }
        }
      ]
    }
  ]
}

I do get both items, but pretty much at a 50:50 chance. I tried to add a weight selector to the string entry with a weight value of 1 as well, but that didn't make a difference. Shouldn't this make the diamond show up much more often than the string?

The example should be similar to the example on this page.

Wasn't sure if you are still planning on working on this mod (really hope you do heh), but figured i'll post it anyway, just in case.

Thanks a lot,
SC

[Suggestion] Add liquid-detection support

It would be awesome if there was a method that allowed us to detect which fluid we are fishing in! Would make very intresting and creative packs with more depth!

[suggestion] zenscript support like dropt

I've had a good experience with dropt adding zenscript functionality as it's easier to work with in my opinion and arguably cleaner in a lot of ways and I think that if it's possible to do the same with hookt, it'd be a welcome improvement.

Overriding/Adding to Aquaculture (or other fish mods) loot list not working

Heya,

just discovered this mod and always wanted something like this, so this is great to see!

Was trying to add/replace loot to other mods such as "Just a few fish" or "Aquaculture", but i don't seem to get it to replace the drops.

I used the example script but changed the item to the vanilla rod, to see if the table even loads properly, and everything seemed fine. Then i inverted the item list to a blacklist, so that any other fishing rod should get those drops, but i still only get the default ones added by Aquaculture (i also tried to add the aquaculture rod to it the items list and remove the blacklist type, no luck):

{
  "rules": [
    {
      "match": {
        "angler": {
          "heldItemMainHand": {
            "type": "BLACKLIST",
            "items": ["minecraft:fishing_rod:*"]
          }
        }
      },
      "drops": [
        {
          "item": {
            "selector": {
              "weight": {
                "value": 1000
              },
              "luckLevelRequired": 1
            },
            "items": [
              "minecraft:diamond"
            ]
          }
        },
        {
          "item": {
            "items": [
              "minecraft:string"
            ]
          }
        }
      ]
    }
  ]
}

Am i misunderstanding how the mod works, or is it currently not able to override/add to existing ones from other mods?

Cheers,
SC

[Suggestion] Allow "summon" or "command" for drops list entries

Heya,

was wondering if it would be possible to not only fish items, but also have mobs spawn or execute a command as a loot/drop entry?
So for example a drops list could contain a list of items, but also a list of summons/command, to sometimes spawn a boss mob, or execute a command to give the player an effect, make it day, etc.

Mostly i would use this to rarely spawn a boss mob similar to terraria's Duke Fishron.

Possible to add a flag to make fished items unburnable?

Hey,

i'm trying to use the mod Combustion Fishing with hookt, to get a way of fishing in the nether/lava. The loottables seem to work fine, but the items would burn up in the lava once you reel them in.
I believe Combustion Fishing marks their items as setEntityInvulnerable(true) to prevent this.

Would it be possible to get an extra entry in "IRuleDropItem" (or whereever it makes the most sense) to mark items as invulnerable? Was checking if there is a way to do it with NBT alone, but afaik, there isn't unfortunately.

Cheers,
SC

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.