promotional bannermobile promotional banner

IC2 Price Guard

Configurable payment limits for the IC2 Classic trading station to prevent overpaying in automatic villager trades.

IC2 Price Guard adds configurable payment limits to the Villager-O-Mat trading station in IC2 Classic.

With a continuous supply of items, the station can keep trading until villagers stop accepting trades. Repeated trading can quickly increase prices. This addon lets you set how much you are willing to pay and automatically skips trades above that limit.

Features:

  • Default payment limit: 1 item.

  • Adjustable limits from 1 to 64, or unlimited.

  • Rules for all villagers, a profession, an individual villager, or a specific trade.

  • Separate identification of enchanted book trades.

  • Settings saved separately for each station.

The limit controls how many items you give to the villager per trade, whether you pay with emeralds, carrots, or another item. If a trade requires two types of payment, the limit applies only to the first payment slot; the second payment is still required. The quantity you receive is not restricted.

The addon does not prevent price increases. It skips trades whose current payment exceeds your configured limit.

Requirements:

  • Minecraft Java Edition 1.19.2

  • Forge 43.x

  • IC2 Classic 1.19.2-2.1.2.1

  • Install on both client and server for multiplayer.

Installation:
Place the addon JAR in the mods folder alongside IC2 Classic. Remove any previous version of Price Guard first.

Controls:

  • Use the station selector to choose all villagers, a profession, or an individual villager.

  • The top row sets the default limit for the selected scope.

  • Buttons beside a trade set its individual rule.

  • − / + adjusts the limit; hold Shift for steps of 8.

  • Left-click the center on-screen button to toggle unlimited / limit 1.

  • Shift + left-click the center on-screen button to remove an exception and inherit the broader rule.

  • An asterisk (*) indicates an inherited value.

More specific rules take priority. Changing a general rule preserves existing exceptions for professions and individual villagers.

Early experimental release. The interface and trading behavior have been tested by the author in their own Minecraft setup. Compatibility with other modpacks and multiplayer behavior have not been fully tested. Station settings may not survive breaking and replacing the station. Back up your world before trying it.

Developed with assistance from ChatGPT/Codex and tested by the author in-game.

An addon for IC2 Classic

Русский

IC2 Price Guard добавляет настраиваемые ограничения оплаты для торговой станции Villager-O-Mat из IC2 Classic.

При бесперебойной поставке предметов станция продолжает торговлю до исчерпания доступных сделок, что может быстро повышать цены. Аддон позволяет задать приемлемую стоимость и автоматически пропускать слишком дорогие сделки.

Возможности:

  • По умолчанию лимит — 1 предмет.

  • Можно установить значение от 1 до 64 или включить безлимит.

  • Доступны правила для всех жителей, профессии, отдельного жителя и конкретной сделки.

  • Сделки с разными зачарованными книгами учитываются отдельно.

  • Настройки сохраняются отдельно для каждой станции.

Лимит задаёт максимальное количество предметов, которые вы отдаёте жителю за одну сделку: изумрудов, моркови или другого предмета. Если для сделки нужны два вида оплаты, лимит действует только на первый слот оплаты; второй по-прежнему требуется. Количество получаемых предметов не ограничивается.

Аддон не останавливает рост цен — он пропускает сделки, превышающие установленный предел.

Требования:

  • Minecraft Java Edition 1.19.2

  • Forge 43.x

  • IC2 Classic 1.19.2-2.1.2.1

  • В мультиплеере аддон нужен на клиенте и сервере.

Установка:
Поместите JAR аддона в папку mods рядом с IC2 Classic, предварительно удалив старую версию Price Guard.

Управление:

  • Обычным переключателем станции выберите всех жителей, профессию или отдельного жителя.

  • Верхний ряд задаёт общий лимит для выбранной области.

  • Кнопки рядом со сделкой задают правило для этой сделки.

  • Кнопки −/+ меняют лимит, с Shift — шагом 8.

  • Левый клик по центральной кнопке в интерфейсе переключает безлимит / лимит 1.

  • Shift + левый клик по центральной кнопке сбрасывает исключение и возвращает наследование общего правила.

  • Звёздочка (*) означает унаследованное значение.

Более конкретные правила имеют приоритет над общими. Изменение общего правила сохраняет существующие исключения для профессий и отдельных жителей.

Это ранняя экспериментальная версия. Автор проверил интерфейс и торговлю в своей игре; полноценная проверка мультиплеера и других сборок не проводилась. При разрушении и повторной установке станции настройки могут потеряться. Перед использованием сделайте резервную копию мира.

Разработано с помощью ChatGPT/Codex и проверено автором в игре.

Дополнение к IC2 Classic

IC2 Price Guard Team

profile avatar
  • 1
    Projects
  • 22
    Downloads