Code Monkey home page Code Monkey logo

Comments (7)

TheMrMilchmann avatar TheMrMilchmann commented on September 24, 2024

I originally planned to document the configuration options but never got around to doing that, so you have a point. However, I'm not sure what is happening in your case specifically.

If this is the only mod you are using, you shouldn't have to touch the configuration at all. If you are using other mods, you might have to add some entities to the allow-/blocklist manually. To understand why, let me explain the settings:

The allowlist and blocklist are straightforward. Entities in these lists are always allowed to or blocked from passing through fence gates. If an entity is not in either of those lists, the defaultBehavior is used. The three values for the default behavior are:

  • ALLOW, to allow passthrough,
  • BLOCK, to block passthrough, and
  • CHECK, to check whether an entity should be able to pass through on a best-effort basis.

The CHECK behavior typically only blocks animal-like entities from passing through and works perfectly with vanilla mobs. However, it might not correctly identify some modded entities (e.g. MineColonies' citizens).

from thefenceunleashed.

SivartMcDorf avatar SivartMcDorf commented on September 24, 2024

from thefenceunleashed.

SivartMcDorf avatar SivartMcDorf commented on September 24, 2024

from thefenceunleashed.

TheMrMilchmann avatar TheMrMilchmann commented on September 24, 2024

Please paste your full config file and the versions of The Fence Unleashed and MinecraftForge.

from thefenceunleashed.

SivartMcDorf avatar SivartMcDorf commented on September 24, 2024

from thefenceunleashed.

TheMrMilchmann avatar TheMrMilchmann commented on September 24, 2024

I cannot reproduce your issues with those versions. The default configuration lets the player pass and blocks animals as expected. This is either a configuration issue or a mod incompatibility issue. I suggest trying out this configuration:

#The default behavior for entities trying to pass through fence gates.
#Allowed Values: ALLOW, BLOCK, CHECK
defaultBehavior = "CHECK"
#Entities that are always blocked from passing through fence gates.
blocklist = []
#Entities that are always allowed to pass through fence gates.
allowlist = [ "minecolonies:citizen" ]

Keep in mind though, that not using the required Forge version or a later is unsupported and could cause all kinds of issues down the road.

from thefenceunleashed.

SivartMcDorf avatar SivartMcDorf commented on September 24, 2024

Thanks, we can't upgrade to 18.2 without starting the world over so we are kind of stuck.

from thefenceunleashed.

Related Issues (8)

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.