Lets Go Gambling

A mod that introduces Gambling to the game

File Details

letsgogambling-1.0.1

  • B
  • Mar 15, 2026
  • 123.58 KB
  • 245
  • 1.21.1
  • Fabric

File Name

letsgogambling-1.0.1.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:letsgogambling-1481038:7759651"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

🎰 Slot Machine Overhaul & Big Button Update

This major update introduces a complete architectural rewrite of the Slot Machine, transitioning from a standard block to an interactive multi-block structure, alongside the introduction of a brand-new, physics-based activation block: the Big Button.

🔴 NEW: The Big Button (Kinetic Activation)

  • Jump-to-Activate Mechanics: Unlike standard pressure plates that trigger on a simple step, the Big Button requires kinetic force! Players must physically jump and land on the button to compress it and trigger its signal.
  • Dynamic Hitboxes: The button physically compresses when activated, dynamically updating its VoxelShape and collision box in real-time.
  • Full Redstone Integration: Fully registered as a redstone-emitting block. It outputs both weak and strong redstone power (Level 15) while compressed.
  • Strict Placement Validation: Built with robust terrain validation. It can only be placed on the solid top face of a block. If the supporting block is broken, the button will automatically pop off and drop as an item, preventing floating buttons.
  • Slot Machine Synergy: Can be placed directly adjacent to a Slot Machine to trigger it remotely upon landing.

🏗️ Slot Machine: Multi-Block Architecture

  • Double-Block Structure: The Slot Machine is now a tall, 2-block structure (Upper and Lower halves), providing a much more realistic physical presence in the world.
  • Advanced Hitboxes & Rendering: Custom VoxelShapes have been applied to both halves independently, ensuring accurate raycasting and collision detection depending on where the player interacts.
  • New Usage: Now, to roll when the machine is full, you have to jump over an adjacent Big Button.

⚙️ Slot Machine: Placement & Generation Mechanics

  • Iron Block Foundation: The Slot Machine can no longer be placed randomly. It must now be constructed directly on top of a standard Iron Block.
  • Dynamic Placement: When placed on an Iron Block, the base is consumed, and the machine automatically constructs its upper and lower halves based on the player's facing direction.

🔨 Advanced Breaking Logic (Game Feel)

Breaking the machine now reacts dynamically depending on which half is targeted:

  • Breaking the Top Half: The screen shatters, the machine drops its loot (including all stored currency), and the bottom half seamlessly reverts back into a solid Iron Block.
  • Breaking the Bottom Half: The entire machine collapses, dropping the Slot Machine item, scattering the stored currency, and leaving an Iron Block on the floor.
  • Creative Mode Protection: Safely breaks the entire structure without dropping redundant items or overflowing the inventory when broken by a player in Creative mode.

💻 Codebase & Performance

  • Migrated from a standard Block to implementing BlockEntityProvider only on the lower half to optimize server tick rates and memory footprint.
  • Improved BlockEntity state replacement logic to completely prevent item duplication and memory leaks upon destruction.

Notes

  • DANGER: The Slot Machine have a HIGH RTP, about 160%.
  • Is recommended to quit the placed Slot Machines from the alpha update before updating.